1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libvsgpt 20210207. 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='libvsgpt' 592PACKAGE_TARNAME='libvsgpt' 593PACKAGE_VERSION='20210207' 594PACKAGE_STRING='libvsgpt 20210207' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libvsgpt.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 642libvsgpt_spec_requires 643LIB_FUZZING_ENGINE 644HAVE_LIB_FUZZING_ENGINE_FALSE 645HAVE_LIB_FUZZING_ENGINE_TRUE 646LIBVSGPT_DLL_IMPORT 647LIBVSGPT_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_libfguid_spec_build_requires 693ax_libfguid_spec_requires 694ax_libfguid_pc_libs_private 695LIBFGUID_LIBADD 696LIBFGUID_CPPFLAGS 697HAVE_LOCAL_LIBFGUID_FALSE 698HAVE_LOCAL_LIBFGUID_TRUE 699HAVE_LOCAL_LIBFGUID 700HAVE_LIBFGUID 701libfguid_LIBS 702libfguid_CFLAGS 703ax_libfdata_spec_build_requires 704ax_libfdata_spec_requires 705ax_libfdata_pc_libs_private 706LIBFDATA_LIBADD 707LIBFDATA_CPPFLAGS 708HAVE_LOCAL_LIBFDATA_FALSE 709HAVE_LOCAL_LIBFDATA_TRUE 710HAVE_LOCAL_LIBFDATA 711HAVE_LIBFDATA 712libfdata_LIBS 713libfdata_CFLAGS 714ax_libfcache_spec_build_requires 715ax_libfcache_spec_requires 716ax_libfcache_pc_libs_private 717LIBFCACHE_LIBADD 718LIBFCACHE_CPPFLAGS 719HAVE_LOCAL_LIBFCACHE_FALSE 720HAVE_LOCAL_LIBFCACHE_TRUE 721HAVE_LOCAL_LIBFCACHE 722HAVE_LIBFCACHE 723libfcache_LIBS 724libfcache_CFLAGS 725ax_libbfio_spec_build_requires 726ax_libbfio_spec_requires 727ax_libbfio_pc_libs_private 728LIBBFIO_LIBADD 729LIBBFIO_CPPFLAGS 730HAVE_LOCAL_LIBBFIO_FALSE 731HAVE_LOCAL_LIBBFIO_TRUE 732HAVE_LOCAL_LIBBFIO 733HAVE_LIBBFIO 734libbfio_LIBS 735libbfio_CFLAGS 736ax_libcpath_spec_build_requires 737ax_libcpath_spec_requires 738ax_libcpath_pc_libs_private 739LIBCPATH_LIBADD 740LIBCPATH_CPPFLAGS 741HAVE_LOCAL_LIBCPATH_FALSE 742HAVE_LOCAL_LIBCPATH_TRUE 743HAVE_LOCAL_LIBCPATH 744HAVE_LIBCPATH 745libcpath_LIBS 746libcpath_CFLAGS 747ax_libcfile_spec_build_requires 748ax_libcfile_spec_requires 749ax_libcfile_pc_libs_private 750LIBCFILE_LIBADD 751LIBCFILE_CPPFLAGS 752HAVE_LOCAL_LIBCFILE_FALSE 753HAVE_LOCAL_LIBCFILE_TRUE 754HAVE_LOCAL_LIBCFILE 755HAVE_LIBCFILE 756libcfile_LIBS 757libcfile_CFLAGS 758ax_libuna_spec_build_requires 759ax_libuna_spec_requires 760ax_libuna_pc_libs_private 761LIBUNA_LIBADD 762LIBUNA_CPPFLAGS 763HAVE_LOCAL_LIBUNA_FALSE 764HAVE_LOCAL_LIBUNA_TRUE 765HAVE_LOCAL_LIBUNA 766HAVE_LIBUNA 767libuna_LIBS 768libuna_CFLAGS 769ax_libcsplit_spec_build_requires 770ax_libcsplit_spec_requires 771ax_libcsplit_pc_libs_private 772LIBCSPLIT_LIBADD 773LIBCSPLIT_CPPFLAGS 774HAVE_LOCAL_LIBCSPLIT_FALSE 775HAVE_LOCAL_LIBCSPLIT_TRUE 776HAVE_LOCAL_LIBCSPLIT 777HAVE_LIBCSPLIT 778libcsplit_LIBS 779libcsplit_CFLAGS 780ax_libcnotify_spec_build_requires 781ax_libcnotify_spec_requires 782ax_libcnotify_pc_libs_private 783LIBCNOTIFY_LIBADD 784LIBCNOTIFY_CPPFLAGS 785HAVE_LOCAL_LIBCNOTIFY_FALSE 786HAVE_LOCAL_LIBCNOTIFY_TRUE 787HAVE_LOCAL_LIBCNOTIFY 788HAVE_LIBCNOTIFY 789libcnotify_LIBS 790libcnotify_CFLAGS 791ax_libclocale_spec_build_requires 792ax_libclocale_spec_requires 793ax_libclocale_pc_libs_private 794LIBCLOCALE_LIBADD 795LIBCLOCALE_CPPFLAGS 796HAVE_LOCAL_LIBCLOCALE_FALSE 797HAVE_LOCAL_LIBCLOCALE_TRUE 798HAVE_LOCAL_LIBCLOCALE 799HAVE_LIBCLOCALE 800libclocale_LIBS 801libclocale_CFLAGS 802ax_libcdata_spec_build_requires 803ax_libcdata_spec_requires 804ax_libcdata_pc_libs_private 805LIBCDATA_LIBADD 806LIBCDATA_CPPFLAGS 807HAVE_LOCAL_LIBCDATA_FALSE 808HAVE_LOCAL_LIBCDATA_TRUE 809HAVE_LOCAL_LIBCDATA 810HAVE_LIBCDATA 811libcdata_LIBS 812libcdata_CFLAGS 813ax_libcthreads_spec_build_requires 814ax_libcthreads_spec_requires 815ax_libcthreads_pc_libs_private 816HAVE_MULTI_THREAD_SUPPORT 817LIBCTHREADS_LIBADD 818LIBCTHREADS_CPPFLAGS 819HAVE_LOCAL_LIBCTHREADS_FALSE 820HAVE_LOCAL_LIBCTHREADS_TRUE 821HAVE_LOCAL_LIBCTHREADS 822ax_pthread_pc_libs_private 823PTHREAD_LIBADD 824PTHREAD_CPPFLAGS 825HAVE_PTHREAD 826HAVE_LIBCTHREADS 827libcthreads_LIBS 828libcthreads_CFLAGS 829ax_libcerror_spec_build_requires 830ax_libcerror_spec_requires 831ax_libcerror_pc_libs_private 832LIBCERROR_LIBADD 833LIBCERROR_CPPFLAGS 834HAVE_LOCAL_LIBCERROR_FALSE 835HAVE_LOCAL_LIBCERROR_TRUE 836HAVE_LOCAL_LIBCERROR 837HAVE_LIBCERROR 838libcerror_LIBS 839libcerror_CFLAGS 840PKG_CONFIG_LIBDIR 841PKG_CONFIG_PATH 842PKG_CONFIG 843HAVE_OFF64_T 844HAVE_SSIZE64_T 845HAVE_SIZE64_T 846HAVE_SSIZE32_T 847HAVE_SIZE32_T 848HAVE_WCHAR_H 849HAVE_STDINT_H 850HAVE_INTTYPES_H 851HAVE_SYS_TYPES_H 852HAVE_WIDE_CHARACTER_TYPE 853STATIC_LDFLAGS 854POSUB 855LTLIBINTL 856LIBINTL 857INTLLIBS 858LTLIBICONV 859LIBICONV 860INTL_MACOSX_LIBS 861XGETTEXT_EXTRA_OPTIONS 862MSGMERGE 863XGETTEXT_015 864XGETTEXT 865GMSGFMT_015 866MSGFMT_015 867GMSGFMT 868MSGFMT 869GETTEXT_MACRO_VERSION 870USE_NLS 871PKGCONFIG 872LIBTOOL_DEPS 873CXXCPP 874LT_SYS_LIBRARY_PATH 875OTOOL64 876OTOOL 877LIPO 878NMEDIT 879DSYMUTIL 880MANIFEST_TOOL 881RANLIB 882ac_ct_AR 883AR 884LN_S 885NM 886ac_ct_DUMPBIN 887DUMPBIN 888LD 889FGREP 890SED 891LIBTOOL 892am__fastdepCXX_FALSE 893am__fastdepCXX_TRUE 894CXXDEPMODE 895ac_ct_CXX 896CXXFLAGS 897CXX 898EGREP 899GREP 900CPP 901am__fastdepCC_FALSE 902am__fastdepCC_TRUE 903CCDEPMODE 904am__nodep 905AMDEPBACKSLASH 906AMDEP_FALSE 907AMDEP_TRUE 908am__include 909DEPDIR 910OBJEXT 911EXEEXT 912ac_ct_CC 913CPPFLAGS 914LDFLAGS 915CFLAGS 916CC 917OBJDUMP 918DLLTOOL 919AS 920host_os 921host_vendor 922host_cpu 923host 924build_os 925build_vendor 926build_cpu 927build 928AM_BACKSLASH 929AM_DEFAULT_VERBOSITY 930AM_DEFAULT_V 931AM_V 932am__untar 933am__tar 934AMTAR 935am__leading_dot 936SET_MAKE 937AWK 938mkdir_p 939MKDIR_P 940INSTALL_STRIP_PROGRAM 941STRIP 942install_sh 943MAKEINFO 944AUTOHEADER 945AUTOMAKE 946AUTOCONF 947ACLOCAL 948VERSION 949PACKAGE 950CYGPATH_W 951am__isrc 952INSTALL_DATA 953INSTALL_SCRIPT 954INSTALL_PROGRAM 955target_alias 956host_alias 957build_alias 958LIBS 959ECHO_T 960ECHO_N 961ECHO_C 962DEFS 963mandir 964localedir 965libdir 966psdir 967pdfdir 968dvidir 969htmldir 970infodir 971docdir 972oldincludedir 973includedir 974localstatedir 975sharedstatedir 976sysconfdir 977datadir 978datarootdir 979libexecdir 980sbindir 981bindir 982program_transform_name 983prefix 984exec_prefix 985PACKAGE_URL 986PACKAGE_BUGREPORT 987PACKAGE_STRING 988PACKAGE_VERSION 989PACKAGE_TARNAME 990PACKAGE_NAME 991PATH_SEPARATOR 992SHELL 993am__quote' 994ac_subst_files='' 995ac_user_opts=' 996enable_option_checking 997enable_silent_rules 998enable_dependency_tracking 999enable_shared 1000enable_static 1001with_pic 1002enable_fast_install 1003with_aix_soname 1004with_gnu_ld 1005with_sysroot 1006enable_libtool_lock 1007enable_nls 1008enable_rpath 1009with_libiconv_prefix 1010with_libintl_prefix 1011enable_largefile 1012enable_shared_libs 1013enable_static_executables 1014enable_winapi 1015enable_wide_character_type 1016enable_verbose_output 1017enable_debug_output 1018with_libcerror 1019enable_multi_threading_support 1020with_libcthreads 1021with_pthread 1022with_libcdata 1023with_libclocale 1024with_libcnotify 1025with_libcsplit 1026with_libuna 1027with_libcfile 1028with_libcpath 1029with_libbfio 1030with_libfcache 1031with_libfdata 1032with_libfguid 1033with_pyprefix 1034enable_python 1035with_pythondir 1036enable_python2 1037with_pythondir2 1038enable_python3 1039with_pythondir3 1040' 1041 ac_precious_vars='build_alias 1042host_alias 1043target_alias 1044CC 1045CFLAGS 1046LDFLAGS 1047LIBS 1048CPPFLAGS 1049CPP 1050CXX 1051CXXFLAGS 1052CCC 1053LT_SYS_LIBRARY_PATH 1054CXXCPP 1055PKG_CONFIG 1056PKG_CONFIG_PATH 1057PKG_CONFIG_LIBDIR 1058libcerror_CFLAGS 1059libcerror_LIBS 1060libcthreads_CFLAGS 1061libcthreads_LIBS 1062libcdata_CFLAGS 1063libcdata_LIBS 1064libclocale_CFLAGS 1065libclocale_LIBS 1066libcnotify_CFLAGS 1067libcnotify_LIBS 1068libcsplit_CFLAGS 1069libcsplit_LIBS 1070libuna_CFLAGS 1071libuna_LIBS 1072libcfile_CFLAGS 1073libcfile_LIBS 1074libcpath_CFLAGS 1075libcpath_LIBS 1076libbfio_CFLAGS 1077libbfio_LIBS 1078libfcache_CFLAGS 1079libfcache_LIBS 1080libfdata_CFLAGS 1081libfdata_LIBS 1082libfguid_CFLAGS 1083libfguid_LIBS' 1084 1085 1086# Initialize some variables set by options. 1087ac_init_help= 1088ac_init_version=false 1089ac_unrecognized_opts= 1090ac_unrecognized_sep= 1091# The variables have the same names as the options, with 1092# dashes changed to underlines. 1093cache_file=/dev/null 1094exec_prefix=NONE 1095no_create= 1096no_recursion= 1097prefix=NONE 1098program_prefix=NONE 1099program_suffix=NONE 1100program_transform_name=s,x,x, 1101silent= 1102site= 1103srcdir= 1104verbose= 1105x_includes=NONE 1106x_libraries=NONE 1107 1108# Installation directory options. 1109# These are left unexpanded so users can "make install exec_prefix=/foo" 1110# and all the variables that are supposed to be based on exec_prefix 1111# by default will actually change. 1112# Use braces instead of parens because sh, perl, etc. also accept them. 1113# (The list follows the same order as the GNU Coding Standards.) 1114bindir='${exec_prefix}/bin' 1115sbindir='${exec_prefix}/sbin' 1116libexecdir='${exec_prefix}/libexec' 1117datarootdir='${prefix}/share' 1118datadir='${datarootdir}' 1119sysconfdir='${prefix}/etc' 1120sharedstatedir='${prefix}/com' 1121localstatedir='${prefix}/var' 1122includedir='${prefix}/include' 1123oldincludedir='/usr/include' 1124docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1125infodir='${datarootdir}/info' 1126htmldir='${docdir}' 1127dvidir='${docdir}' 1128pdfdir='${docdir}' 1129psdir='${docdir}' 1130libdir='${exec_prefix}/lib' 1131localedir='${datarootdir}/locale' 1132mandir='${datarootdir}/man' 1133 1134ac_prev= 1135ac_dashdash= 1136for ac_option 1137do 1138 # If the previous option needs an argument, assign it. 1139 if test -n "$ac_prev"; then 1140 eval $ac_prev=\$ac_option 1141 ac_prev= 1142 continue 1143 fi 1144 1145 case $ac_option in 1146 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1147 *=) ac_optarg= ;; 1148 *) ac_optarg=yes ;; 1149 esac 1150 1151 # Accept the important Cygnus configure options, so we can diagnose typos. 1152 1153 case $ac_dashdash$ac_option in 1154 --) 1155 ac_dashdash=yes ;; 1156 1157 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1158 ac_prev=bindir ;; 1159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1160 bindir=$ac_optarg ;; 1161 1162 -build | --build | --buil | --bui | --bu) 1163 ac_prev=build_alias ;; 1164 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1165 build_alias=$ac_optarg ;; 1166 1167 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1169 ac_prev=cache_file ;; 1170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1172 cache_file=$ac_optarg ;; 1173 1174 --config-cache | -C) 1175 cache_file=config.cache ;; 1176 1177 -datadir | --datadir | --datadi | --datad) 1178 ac_prev=datadir ;; 1179 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1180 datadir=$ac_optarg ;; 1181 1182 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1183 | --dataroo | --dataro | --datar) 1184 ac_prev=datarootdir ;; 1185 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1186 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1187 datarootdir=$ac_optarg ;; 1188 1189 -disable-* | --disable-*) 1190 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1191 # Reject names that are not valid shell variable names. 1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1193 as_fn_error $? "invalid feature name: $ac_useropt" 1194 ac_useropt_orig=$ac_useropt 1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1196 case $ac_user_opts in 1197 *" 1198"enable_$ac_useropt" 1199"*) ;; 1200 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1201 ac_unrecognized_sep=', ';; 1202 esac 1203 eval enable_$ac_useropt=no ;; 1204 1205 -docdir | --docdir | --docdi | --doc | --do) 1206 ac_prev=docdir ;; 1207 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1208 docdir=$ac_optarg ;; 1209 1210 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1211 ac_prev=dvidir ;; 1212 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1213 dvidir=$ac_optarg ;; 1214 1215 -enable-* | --enable-*) 1216 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1217 # Reject names that are not valid shell variable names. 1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1219 as_fn_error $? "invalid feature name: $ac_useropt" 1220 ac_useropt_orig=$ac_useropt 1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1222 case $ac_user_opts in 1223 *" 1224"enable_$ac_useropt" 1225"*) ;; 1226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1227 ac_unrecognized_sep=', ';; 1228 esac 1229 eval enable_$ac_useropt=\$ac_optarg ;; 1230 1231 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1232 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1233 | --exec | --exe | --ex) 1234 ac_prev=exec_prefix ;; 1235 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1236 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1237 | --exec=* | --exe=* | --ex=*) 1238 exec_prefix=$ac_optarg ;; 1239 1240 -gas | --gas | --ga | --g) 1241 # Obsolete; use --with-gas. 1242 with_gas=yes ;; 1243 1244 -help | --help | --hel | --he | -h) 1245 ac_init_help=long ;; 1246 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1247 ac_init_help=recursive ;; 1248 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1249 ac_init_help=short ;; 1250 1251 -host | --host | --hos | --ho) 1252 ac_prev=host_alias ;; 1253 -host=* | --host=* | --hos=* | --ho=*) 1254 host_alias=$ac_optarg ;; 1255 1256 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1257 ac_prev=htmldir ;; 1258 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1259 | --ht=*) 1260 htmldir=$ac_optarg ;; 1261 1262 -includedir | --includedir | --includedi | --included | --include \ 1263 | --includ | --inclu | --incl | --inc) 1264 ac_prev=includedir ;; 1265 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1266 | --includ=* | --inclu=* | --incl=* | --inc=*) 1267 includedir=$ac_optarg ;; 1268 1269 -infodir | --infodir | --infodi | --infod | --info | --inf) 1270 ac_prev=infodir ;; 1271 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1272 infodir=$ac_optarg ;; 1273 1274 -libdir | --libdir | --libdi | --libd) 1275 ac_prev=libdir ;; 1276 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1277 libdir=$ac_optarg ;; 1278 1279 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1280 | --libexe | --libex | --libe) 1281 ac_prev=libexecdir ;; 1282 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1283 | --libexe=* | --libex=* | --libe=*) 1284 libexecdir=$ac_optarg ;; 1285 1286 -localedir | --localedir | --localedi | --localed | --locale) 1287 ac_prev=localedir ;; 1288 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1289 localedir=$ac_optarg ;; 1290 1291 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1292 | --localstate | --localstat | --localsta | --localst | --locals) 1293 ac_prev=localstatedir ;; 1294 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1295 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1296 localstatedir=$ac_optarg ;; 1297 1298 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1299 ac_prev=mandir ;; 1300 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1301 mandir=$ac_optarg ;; 1302 1303 -nfp | --nfp | --nf) 1304 # Obsolete; use --without-fp. 1305 with_fp=no ;; 1306 1307 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1308 | --no-cr | --no-c | -n) 1309 no_create=yes ;; 1310 1311 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1312 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1313 no_recursion=yes ;; 1314 1315 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1316 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1317 | --oldin | --oldi | --old | --ol | --o) 1318 ac_prev=oldincludedir ;; 1319 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1320 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1321 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1322 oldincludedir=$ac_optarg ;; 1323 1324 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1325 ac_prev=prefix ;; 1326 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1327 prefix=$ac_optarg ;; 1328 1329 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1330 | --program-pre | --program-pr | --program-p) 1331 ac_prev=program_prefix ;; 1332 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1333 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1334 program_prefix=$ac_optarg ;; 1335 1336 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1337 | --program-suf | --program-su | --program-s) 1338 ac_prev=program_suffix ;; 1339 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1340 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1341 program_suffix=$ac_optarg ;; 1342 1343 -program-transform-name | --program-transform-name \ 1344 | --program-transform-nam | --program-transform-na \ 1345 | --program-transform-n | --program-transform- \ 1346 | --program-transform | --program-transfor \ 1347 | --program-transfo | --program-transf \ 1348 | --program-trans | --program-tran \ 1349 | --progr-tra | --program-tr | --program-t) 1350 ac_prev=program_transform_name ;; 1351 -program-transform-name=* | --program-transform-name=* \ 1352 | --program-transform-nam=* | --program-transform-na=* \ 1353 | --program-transform-n=* | --program-transform-=* \ 1354 | --program-transform=* | --program-transfor=* \ 1355 | --program-transfo=* | --program-transf=* \ 1356 | --program-trans=* | --program-tran=* \ 1357 | --progr-tra=* | --program-tr=* | --program-t=*) 1358 program_transform_name=$ac_optarg ;; 1359 1360 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1361 ac_prev=pdfdir ;; 1362 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1363 pdfdir=$ac_optarg ;; 1364 1365 -psdir | --psdir | --psdi | --psd | --ps) 1366 ac_prev=psdir ;; 1367 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1368 psdir=$ac_optarg ;; 1369 1370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1371 | -silent | --silent | --silen | --sile | --sil) 1372 silent=yes ;; 1373 1374 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1375 ac_prev=sbindir ;; 1376 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1377 | --sbi=* | --sb=*) 1378 sbindir=$ac_optarg ;; 1379 1380 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1381 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1382 | --sharedst | --shareds | --shared | --share | --shar \ 1383 | --sha | --sh) 1384 ac_prev=sharedstatedir ;; 1385 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1386 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1387 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1388 | --sha=* | --sh=*) 1389 sharedstatedir=$ac_optarg ;; 1390 1391 -site | --site | --sit) 1392 ac_prev=site ;; 1393 -site=* | --site=* | --sit=*) 1394 site=$ac_optarg ;; 1395 1396 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1397 ac_prev=srcdir ;; 1398 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1399 srcdir=$ac_optarg ;; 1400 1401 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1402 | --syscon | --sysco | --sysc | --sys | --sy) 1403 ac_prev=sysconfdir ;; 1404 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1405 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1406 sysconfdir=$ac_optarg ;; 1407 1408 -target | --target | --targe | --targ | --tar | --ta | --t) 1409 ac_prev=target_alias ;; 1410 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1411 target_alias=$ac_optarg ;; 1412 1413 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1414 verbose=yes ;; 1415 1416 -version | --version | --versio | --versi | --vers | -V) 1417 ac_init_version=: ;; 1418 1419 -with-* | --with-*) 1420 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1421 # Reject names that are not valid shell variable names. 1422 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1423 as_fn_error $? "invalid package name: $ac_useropt" 1424 ac_useropt_orig=$ac_useropt 1425 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1426 case $ac_user_opts in 1427 *" 1428"with_$ac_useropt" 1429"*) ;; 1430 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1431 ac_unrecognized_sep=', ';; 1432 esac 1433 eval with_$ac_useropt=\$ac_optarg ;; 1434 1435 -without-* | --without-*) 1436 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1437 # Reject names that are not valid shell variable names. 1438 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1439 as_fn_error $? "invalid package name: $ac_useropt" 1440 ac_useropt_orig=$ac_useropt 1441 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1442 case $ac_user_opts in 1443 *" 1444"with_$ac_useropt" 1445"*) ;; 1446 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1447 ac_unrecognized_sep=', ';; 1448 esac 1449 eval with_$ac_useropt=no ;; 1450 1451 --x) 1452 # Obsolete; use --with-x. 1453 with_x=yes ;; 1454 1455 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1456 | --x-incl | --x-inc | --x-in | --x-i) 1457 ac_prev=x_includes ;; 1458 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1459 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1460 x_includes=$ac_optarg ;; 1461 1462 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1463 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1464 ac_prev=x_libraries ;; 1465 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1466 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1467 x_libraries=$ac_optarg ;; 1468 1469 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1470Try \`$0 --help' for more information" 1471 ;; 1472 1473 *=*) 1474 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1475 # Reject names that are not valid shell variable names. 1476 case $ac_envvar in #( 1477 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1478 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1479 esac 1480 eval $ac_envvar=\$ac_optarg 1481 export $ac_envvar ;; 1482 1483 *) 1484 # FIXME: should be removed in autoconf 3.0. 1485 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1486 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1487 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1488 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1489 ;; 1490 1491 esac 1492done 1493 1494if test -n "$ac_prev"; then 1495 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1496 as_fn_error $? "missing argument to $ac_option" 1497fi 1498 1499if test -n "$ac_unrecognized_opts"; then 1500 case $enable_option_checking in 1501 no) ;; 1502 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1503 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1504 esac 1505fi 1506 1507# Check all directory arguments for consistency. 1508for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1509 datadir sysconfdir sharedstatedir localstatedir includedir \ 1510 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1511 libdir localedir mandir 1512do 1513 eval ac_val=\$$ac_var 1514 # Remove trailing slashes. 1515 case $ac_val in 1516 */ ) 1517 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1518 eval $ac_var=\$ac_val;; 1519 esac 1520 # Be sure to have absolute directory names. 1521 case $ac_val in 1522 [\\/$]* | ?:[\\/]* ) continue;; 1523 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1524 esac 1525 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1526done 1527 1528# There might be people who depend on the old broken behavior: `$host' 1529# used to hold the argument of --host etc. 1530# FIXME: To remove some day. 1531build=$build_alias 1532host=$host_alias 1533target=$target_alias 1534 1535# FIXME: To remove some day. 1536if test "x$host_alias" != x; then 1537 if test "x$build_alias" = x; then 1538 cross_compiling=maybe 1539 elif test "x$build_alias" != "x$host_alias"; then 1540 cross_compiling=yes 1541 fi 1542fi 1543 1544ac_tool_prefix= 1545test -n "$host_alias" && ac_tool_prefix=$host_alias- 1546 1547test "$silent" = yes && exec 6>/dev/null 1548 1549 1550ac_pwd=`pwd` && test -n "$ac_pwd" && 1551ac_ls_di=`ls -di .` && 1552ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1553 as_fn_error $? "working directory cannot be determined" 1554test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1555 as_fn_error $? "pwd does not report name of working directory" 1556 1557 1558# Find the source files, if location was not specified. 1559if test -z "$srcdir"; then 1560 ac_srcdir_defaulted=yes 1561 # Try the directory containing this script, then the parent directory. 1562 ac_confdir=`$as_dirname -- "$as_myself" || 1563$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1564 X"$as_myself" : 'X\(//\)[^/]' \| \ 1565 X"$as_myself" : 'X\(//\)$' \| \ 1566 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1567$as_echo X"$as_myself" | 1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1569 s//\1/ 1570 q 1571 } 1572 /^X\(\/\/\)[^/].*/{ 1573 s//\1/ 1574 q 1575 } 1576 /^X\(\/\/\)$/{ 1577 s//\1/ 1578 q 1579 } 1580 /^X\(\/\).*/{ 1581 s//\1/ 1582 q 1583 } 1584 s/.*/./; q'` 1585 srcdir=$ac_confdir 1586 if test ! -r "$srcdir/$ac_unique_file"; then 1587 srcdir=.. 1588 fi 1589else 1590 ac_srcdir_defaulted=no 1591fi 1592if test ! -r "$srcdir/$ac_unique_file"; then 1593 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1594 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1595fi 1596ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1597ac_abs_confdir=`( 1598 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1599 pwd)` 1600# When building in place, set srcdir=. 1601if test "$ac_abs_confdir" = "$ac_pwd"; then 1602 srcdir=. 1603fi 1604# Remove unnecessary trailing slashes from srcdir. 1605# Double slashes in file names in object file debugging info 1606# mess up M-x gdb in Emacs. 1607case $srcdir in 1608*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1609esac 1610for ac_var in $ac_precious_vars; do 1611 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1612 eval ac_env_${ac_var}_value=\$${ac_var} 1613 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1614 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1615done 1616 1617# 1618# Report the --help message. 1619# 1620if test "$ac_init_help" = "long"; then 1621 # Omit some internal or obsolete options to make the list less imposing. 1622 # This message is too long to be a string in the A/UX 3.1 sh. 1623 cat <<_ACEOF 1624\`configure' configures libvsgpt 20210207 to adapt to many kinds of systems. 1625 1626Usage: $0 [OPTION]... [VAR=VALUE]... 1627 1628To assign environment variables (e.g., CC, CFLAGS...), specify them as 1629VAR=VALUE. See below for descriptions of some of the useful variables. 1630 1631Defaults for the options are specified in brackets. 1632 1633Configuration: 1634 -h, --help display this help and exit 1635 --help=short display options specific to this package 1636 --help=recursive display the short help of all the included packages 1637 -V, --version display version information and exit 1638 -q, --quiet, --silent do not print \`checking ...' messages 1639 --cache-file=FILE cache test results in FILE [disabled] 1640 -C, --config-cache alias for \`--cache-file=config.cache' 1641 -n, --no-create do not create output files 1642 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1643 1644Installation directories: 1645 --prefix=PREFIX install architecture-independent files in PREFIX 1646 [$ac_default_prefix] 1647 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1648 [PREFIX] 1649 1650By default, \`make install' will install all the files in 1651\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1652an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1653for instance \`--prefix=\$HOME'. 1654 1655For better control, use the options below. 1656 1657Fine tuning of the installation directories: 1658 --bindir=DIR user executables [EPREFIX/bin] 1659 --sbindir=DIR system admin executables [EPREFIX/sbin] 1660 --libexecdir=DIR program executables [EPREFIX/libexec] 1661 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1662 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1663 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1664 --libdir=DIR object code libraries [EPREFIX/lib] 1665 --includedir=DIR C header files [PREFIX/include] 1666 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1667 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1668 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1669 --infodir=DIR info documentation [DATAROOTDIR/info] 1670 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1671 --mandir=DIR man documentation [DATAROOTDIR/man] 1672 --docdir=DIR documentation root [DATAROOTDIR/doc/libvsgpt] 1673 --htmldir=DIR html documentation [DOCDIR] 1674 --dvidir=DIR dvi documentation [DOCDIR] 1675 --pdfdir=DIR pdf documentation [DOCDIR] 1676 --psdir=DIR ps documentation [DOCDIR] 1677_ACEOF 1678 1679 cat <<\_ACEOF 1680 1681Program names: 1682 --program-prefix=PREFIX prepend PREFIX to installed program names 1683 --program-suffix=SUFFIX append SUFFIX to installed program names 1684 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1685 1686System types: 1687 --build=BUILD configure for building on BUILD [guessed] 1688 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1689_ACEOF 1690fi 1691 1692if test -n "$ac_init_help"; then 1693 case $ac_init_help in 1694 short | recursive ) echo "Configuration of libvsgpt 20210207:";; 1695 esac 1696 cat <<\_ACEOF 1697 1698Optional Features: 1699 --disable-option-checking ignore unrecognized --enable/--with options 1700 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1701 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1702 --enable-silent-rules less verbose build output (undo: "make V=1") 1703 --disable-silent-rules verbose build output (undo: "make V=0") 1704 --enable-dependency-tracking 1705 do not reject slow dependency extractors 1706 --disable-dependency-tracking 1707 speeds up one-time build 1708 --enable-shared[=PKGS] build shared libraries [default=yes] 1709 --enable-static[=PKGS] build static libraries [default=yes] 1710 --enable-fast-install[=PKGS] 1711 optimize for fast installation [default=yes] 1712 --disable-libtool-lock avoid locking (might break parallel builds) 1713 --disable-nls do not use Native Language Support 1714 --disable-rpath do not hardcode runtime library paths 1715 --disable-largefile omit support for large files 1716 --disable-shared-libs disable shared library support 1717 --enable-static-executables 1718 build static executables (binaries) [default=no] 1719 --enable-winapi enable WINAPI support for cross-compilation 1720 [default=auto-detect] 1721 --enable-wide-character-type 1722 enable wide character type support [default=no] 1723 --enable-verbose-output enable verbose output [default=no] 1724 --enable-debug-output enable debug output [default=no] 1725 --enable-multi-threading-support 1726 enable multi-threading support [default=yes] 1727 --enable-python build Python bindings [default=no] 1728 --enable-python2 build Python 2 bindings [default=no] 1729 --enable-python3 build Python 3 bindings [default=no] 1730 1731Optional Packages: 1732 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1733 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1734 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1735 both] 1736 --with-aix-soname=aix|svr4|both 1737 shared library versioning (aka "SONAME") variant to 1738 provide on AIX, [default=aix]. 1739 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1740 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1741 compiler's sysroot if not specified). 1742 --with-gnu-ld assume the C compiler uses GNU ld default=no 1743 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1744 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1745 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1746 --without-libintl-prefix don't search for libintl in includedir and libdir 1747 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1748 the specified DIR, or no if to use local version 1749 [default=auto-detect] 1750 --with-libcthreads[=DIR] 1751 search for libcthreads in includedir and libdir or 1752 in the specified DIR, or no if to use local version 1753 [default=auto-detect] 1754 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1755 the specified DIR, or no if not to use pthread 1756 [default=auto-detect] 1757 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1758 the specified DIR, or no if to use local version 1759 [default=auto-detect] 1760 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1761 the specified DIR, or no if to use local version 1762 [default=auto-detect] 1763 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1764 the specified DIR, or no if to use local version 1765 [default=auto-detect] 1766 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1767 the specified DIR, or no if to use local version 1768 [default=auto-detect] 1769 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1770 specified DIR, or no if to use local version 1771 [default=auto-detect] 1772 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1773 the specified DIR, or no if to use local version 1774 [default=auto-detect] 1775 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1776 the specified DIR, or no if to use local version 1777 [default=auto-detect] 1778 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1779 the specified DIR, or no if to use local version 1780 [default=auto-detect] 1781 --with-libfcache[=DIR] search for libfcache in includedir and libdir or in 1782 the specified DIR, or no if to use local version 1783 [default=auto-detect] 1784 --with-libfdata[=DIR] search for libfdata in includedir and libdir or in 1785 the specified DIR, or no if to use local version 1786 [default=auto-detect] 1787 --with-libfguid[=DIR] search for libfguid in includedir and libdir or in 1788 the specified DIR, or no if to use local version 1789 [default=auto-detect] 1790 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1791 of pythondir instead of --prefix [default=no] 1792 --with-pythondir[=no] use to specify the Python directory (pythondir) 1793 [default=no] 1794 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1795 [default=no] 1796 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1797 [default=no] 1798 1799Some influential environment variables: 1800 CC C compiler command 1801 CFLAGS C compiler flags 1802 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1803 nonstandard directory <lib dir> 1804 LIBS libraries to pass to the linker, e.g. -l<library> 1805 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1806 you have headers in a nonstandard directory <include dir> 1807 CPP C preprocessor 1808 CXX C++ compiler command 1809 CXXFLAGS C++ compiler flags 1810 LT_SYS_LIBRARY_PATH 1811 User-defined run-time library search path. 1812 CXXCPP C++ preprocessor 1813 PKG_CONFIG path to pkg-config utility 1814 PKG_CONFIG_PATH 1815 directories to add to pkg-config's search path 1816 PKG_CONFIG_LIBDIR 1817 path overriding pkg-config's built-in search path 1818 libcerror_CFLAGS 1819 C compiler flags for libcerror, overriding pkg-config 1820 libcerror_LIBS 1821 linker flags for libcerror, overriding pkg-config 1822 libcthreads_CFLAGS 1823 C compiler flags for libcthreads, overriding pkg-config 1824 libcthreads_LIBS 1825 linker flags for libcthreads, overriding pkg-config 1826 libcdata_CFLAGS 1827 C compiler flags for libcdata, overriding pkg-config 1828 libcdata_LIBS 1829 linker flags for libcdata, overriding pkg-config 1830 libclocale_CFLAGS 1831 C compiler flags for libclocale, overriding pkg-config 1832 libclocale_LIBS 1833 linker flags for libclocale, overriding pkg-config 1834 libcnotify_CFLAGS 1835 C compiler flags for libcnotify, overriding pkg-config 1836 libcnotify_LIBS 1837 linker flags for libcnotify, overriding pkg-config 1838 libcsplit_CFLAGS 1839 C compiler flags for libcsplit, overriding pkg-config 1840 libcsplit_LIBS 1841 linker flags for libcsplit, overriding pkg-config 1842 libuna_CFLAGS 1843 C compiler flags for libuna, overriding pkg-config 1844 libuna_LIBS linker flags for libuna, overriding pkg-config 1845 libcfile_CFLAGS 1846 C compiler flags for libcfile, overriding pkg-config 1847 libcfile_LIBS 1848 linker flags for libcfile, overriding pkg-config 1849 libcpath_CFLAGS 1850 C compiler flags for libcpath, overriding pkg-config 1851 libcpath_LIBS 1852 linker flags for libcpath, overriding pkg-config 1853 libbfio_CFLAGS 1854 C compiler flags for libbfio, overriding pkg-config 1855 libbfio_LIBS 1856 linker flags for libbfio, overriding pkg-config 1857 libfcache_CFLAGS 1858 C compiler flags for libfcache, overriding pkg-config 1859 libfcache_LIBS 1860 linker flags for libfcache, overriding pkg-config 1861 libfdata_CFLAGS 1862 C compiler flags for libfdata, overriding pkg-config 1863 libfdata_LIBS 1864 linker flags for libfdata, overriding pkg-config 1865 libfguid_CFLAGS 1866 C compiler flags for libfguid, overriding pkg-config 1867 libfguid_LIBS 1868 linker flags for libfguid, overriding pkg-config 1869 1870Use these variables to override the choices made by `configure' or to help 1871it to find libraries and programs with nonstandard names/locations. 1872 1873Report bugs to <joachim.metz@gmail.com>. 1874_ACEOF 1875ac_status=$? 1876fi 1877 1878if test "$ac_init_help" = "recursive"; then 1879 # If there are subdirs, report their specific --help. 1880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1881 test -d "$ac_dir" || 1882 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1883 continue 1884 ac_builddir=. 1885 1886case "$ac_dir" in 1887.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1888*) 1889 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1890 # A ".." for each directory in $ac_dir_suffix. 1891 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1892 case $ac_top_builddir_sub in 1893 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1894 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1895 esac ;; 1896esac 1897ac_abs_top_builddir=$ac_pwd 1898ac_abs_builddir=$ac_pwd$ac_dir_suffix 1899# for backward compatibility: 1900ac_top_builddir=$ac_top_build_prefix 1901 1902case $srcdir in 1903 .) # We are building in place. 1904 ac_srcdir=. 1905 ac_top_srcdir=$ac_top_builddir_sub 1906 ac_abs_top_srcdir=$ac_pwd ;; 1907 [\\/]* | ?:[\\/]* ) # Absolute name. 1908 ac_srcdir=$srcdir$ac_dir_suffix; 1909 ac_top_srcdir=$srcdir 1910 ac_abs_top_srcdir=$srcdir ;; 1911 *) # Relative name. 1912 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1913 ac_top_srcdir=$ac_top_build_prefix$srcdir 1914 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1915esac 1916ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1917 1918 cd "$ac_dir" || { ac_status=$?; continue; } 1919 # Check for guested configure. 1920 if test -f "$ac_srcdir/configure.gnu"; then 1921 echo && 1922 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1923 elif test -f "$ac_srcdir/configure"; then 1924 echo && 1925 $SHELL "$ac_srcdir/configure" --help=recursive 1926 else 1927 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1928 fi || ac_status=$? 1929 cd "$ac_pwd" || { ac_status=$?; break; } 1930 done 1931fi 1932 1933test -n "$ac_init_help" && exit $ac_status 1934if $ac_init_version; then 1935 cat <<\_ACEOF 1936libvsgpt configure 20210207 1937generated by GNU Autoconf 2.69 1938 1939Copyright (C) 2012 Free Software Foundation, Inc. 1940This configure script is free software; the Free Software Foundation 1941gives unlimited permission to copy, distribute and modify it. 1942_ACEOF 1943 exit 1944fi 1945 1946## ------------------------ ## 1947## Autoconf initialization. ## 1948## ------------------------ ## 1949 1950# ac_fn_c_try_compile LINENO 1951# -------------------------- 1952# Try to compile conftest.$ac_ext, and return whether this succeeded. 1953ac_fn_c_try_compile () 1954{ 1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1956 rm -f conftest.$ac_objext 1957 if { { ac_try="$ac_compile" 1958case "(($ac_try" in 1959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1960 *) ac_try_echo=$ac_try;; 1961esac 1962eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1963$as_echo "$ac_try_echo"; } >&5 1964 (eval "$ac_compile") 2>conftest.err 1965 ac_status=$? 1966 if test -s conftest.err; then 1967 grep -v '^ *+' conftest.err >conftest.er1 1968 cat conftest.er1 >&5 1969 mv -f conftest.er1 conftest.err 1970 fi 1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1972 test $ac_status = 0; } && { 1973 test -z "$ac_c_werror_flag" || 1974 test ! -s conftest.err 1975 } && test -s conftest.$ac_objext; then : 1976 ac_retval=0 1977else 1978 $as_echo "$as_me: failed program was:" >&5 1979sed 's/^/| /' conftest.$ac_ext >&5 1980 1981 ac_retval=1 1982fi 1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1984 as_fn_set_status $ac_retval 1985 1986} # ac_fn_c_try_compile 1987 1988# ac_fn_c_try_cpp LINENO 1989# ---------------------- 1990# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1991ac_fn_c_try_cpp () 1992{ 1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1994 if { { ac_try="$ac_cpp conftest.$ac_ext" 1995case "(($ac_try" in 1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1997 *) ac_try_echo=$ac_try;; 1998esac 1999eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2000$as_echo "$ac_try_echo"; } >&5 2001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2002 ac_status=$? 2003 if test -s conftest.err; then 2004 grep -v '^ *+' conftest.err >conftest.er1 2005 cat conftest.er1 >&5 2006 mv -f conftest.er1 conftest.err 2007 fi 2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2009 test $ac_status = 0; } > conftest.i && { 2010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2011 test ! -s conftest.err 2012 }; then : 2013 ac_retval=0 2014else 2015 $as_echo "$as_me: failed program was:" >&5 2016sed 's/^/| /' conftest.$ac_ext >&5 2017 2018 ac_retval=1 2019fi 2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2021 as_fn_set_status $ac_retval 2022 2023} # ac_fn_c_try_cpp 2024 2025# ac_fn_cxx_try_compile LINENO 2026# ---------------------------- 2027# Try to compile conftest.$ac_ext, and return whether this succeeded. 2028ac_fn_cxx_try_compile () 2029{ 2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2031 rm -f conftest.$ac_objext 2032 if { { ac_try="$ac_compile" 2033case "(($ac_try" in 2034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2035 *) ac_try_echo=$ac_try;; 2036esac 2037eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2038$as_echo "$ac_try_echo"; } >&5 2039 (eval "$ac_compile") 2>conftest.err 2040 ac_status=$? 2041 if test -s conftest.err; then 2042 grep -v '^ *+' conftest.err >conftest.er1 2043 cat conftest.er1 >&5 2044 mv -f conftest.er1 conftest.err 2045 fi 2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2047 test $ac_status = 0; } && { 2048 test -z "$ac_cxx_werror_flag" || 2049 test ! -s conftest.err 2050 } && test -s conftest.$ac_objext; then : 2051 ac_retval=0 2052else 2053 $as_echo "$as_me: failed program was:" >&5 2054sed 's/^/| /' conftest.$ac_ext >&5 2055 2056 ac_retval=1 2057fi 2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2059 as_fn_set_status $ac_retval 2060 2061} # ac_fn_cxx_try_compile 2062 2063# ac_fn_c_try_link LINENO 2064# ----------------------- 2065# Try to link conftest.$ac_ext, and return whether this succeeded. 2066ac_fn_c_try_link () 2067{ 2068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2069 rm -f conftest.$ac_objext conftest$ac_exeext 2070 if { { ac_try="$ac_link" 2071case "(($ac_try" in 2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2073 *) ac_try_echo=$ac_try;; 2074esac 2075eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2076$as_echo "$ac_try_echo"; } >&5 2077 (eval "$ac_link") 2>conftest.err 2078 ac_status=$? 2079 if test -s conftest.err; then 2080 grep -v '^ *+' conftest.err >conftest.er1 2081 cat conftest.er1 >&5 2082 mv -f conftest.er1 conftest.err 2083 fi 2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2085 test $ac_status = 0; } && { 2086 test -z "$ac_c_werror_flag" || 2087 test ! -s conftest.err 2088 } && test -s conftest$ac_exeext && { 2089 test "$cross_compiling" = yes || 2090 test -x conftest$ac_exeext 2091 }; then : 2092 ac_retval=0 2093else 2094 $as_echo "$as_me: failed program was:" >&5 2095sed 's/^/| /' conftest.$ac_ext >&5 2096 2097 ac_retval=1 2098fi 2099 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2100 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2101 # interfere with the next link command; also delete a directory that is 2102 # left behind by Apple's compiler. We do this before executing the actions. 2103 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2105 as_fn_set_status $ac_retval 2106 2107} # ac_fn_c_try_link 2108 2109# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2110# ------------------------------------------------------- 2111# Tests whether HEADER exists and can be compiled using the include files in 2112# INCLUDES, setting the cache variable VAR accordingly. 2113ac_fn_c_check_header_compile () 2114{ 2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2117$as_echo_n "checking for $2... " >&6; } 2118if eval \${$3+:} false; then : 2119 $as_echo_n "(cached) " >&6 2120else 2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2122/* end confdefs.h. */ 2123$4 2124#include <$2> 2125_ACEOF 2126if ac_fn_c_try_compile "$LINENO"; then : 2127 eval "$3=yes" 2128else 2129 eval "$3=no" 2130fi 2131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2132fi 2133eval ac_res=\$$3 2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2135$as_echo "$ac_res" >&6; } 2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2137 2138} # ac_fn_c_check_header_compile 2139 2140# ac_fn_c_try_run LINENO 2141# ---------------------- 2142# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2143# that executables *can* be run. 2144ac_fn_c_try_run () 2145{ 2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2147 if { { ac_try="$ac_link" 2148case "(($ac_try" in 2149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2150 *) ac_try_echo=$ac_try;; 2151esac 2152eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2153$as_echo "$ac_try_echo"; } >&5 2154 (eval "$ac_link") 2>&5 2155 ac_status=$? 2156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2157 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2158 { { case "(($ac_try" in 2159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2160 *) ac_try_echo=$ac_try;; 2161esac 2162eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2163$as_echo "$ac_try_echo"; } >&5 2164 (eval "$ac_try") 2>&5 2165 ac_status=$? 2166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2167 test $ac_status = 0; }; }; then : 2168 ac_retval=0 2169else 2170 $as_echo "$as_me: program exited with status $ac_status" >&5 2171 $as_echo "$as_me: failed program was:" >&5 2172sed 's/^/| /' conftest.$ac_ext >&5 2173 2174 ac_retval=$ac_status 2175fi 2176 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2178 as_fn_set_status $ac_retval 2179 2180} # ac_fn_c_try_run 2181 2182# ac_fn_c_check_func LINENO FUNC VAR 2183# ---------------------------------- 2184# Tests whether FUNC exists, setting the cache variable VAR accordingly 2185ac_fn_c_check_func () 2186{ 2187 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2189$as_echo_n "checking for $2... " >&6; } 2190if eval \${$3+:} false; then : 2191 $as_echo_n "(cached) " >&6 2192else 2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2194/* end confdefs.h. */ 2195/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2196 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2197#define $2 innocuous_$2 2198 2199/* System header to define __stub macros and hopefully few prototypes, 2200 which can conflict with char $2 (); below. 2201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2202 <limits.h> exists even on freestanding compilers. */ 2203 2204#ifdef __STDC__ 2205# include <limits.h> 2206#else 2207# include <assert.h> 2208#endif 2209 2210#undef $2 2211 2212/* Override any GCC internal prototype to avoid an error. 2213 Use char because int might match the return type of a GCC 2214 builtin and then its argument prototype would still apply. */ 2215#ifdef __cplusplus 2216extern "C" 2217#endif 2218char $2 (); 2219/* The GNU C library defines this for functions which it implements 2220 to always fail with ENOSYS. Some functions are actually named 2221 something starting with __ and the normal name is an alias. */ 2222#if defined __stub_$2 || defined __stub___$2 2223choke me 2224#endif 2225 2226int 2227main () 2228{ 2229return $2 (); 2230 ; 2231 return 0; 2232} 2233_ACEOF 2234if ac_fn_c_try_link "$LINENO"; then : 2235 eval "$3=yes" 2236else 2237 eval "$3=no" 2238fi 2239rm -f core conftest.err conftest.$ac_objext \ 2240 conftest$ac_exeext conftest.$ac_ext 2241fi 2242eval ac_res=\$$3 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2244$as_echo "$ac_res" >&6; } 2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2246 2247} # ac_fn_c_check_func 2248 2249# ac_fn_cxx_try_cpp LINENO 2250# ------------------------ 2251# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2252ac_fn_cxx_try_cpp () 2253{ 2254 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2255 if { { ac_try="$ac_cpp conftest.$ac_ext" 2256case "(($ac_try" in 2257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2258 *) ac_try_echo=$ac_try;; 2259esac 2260eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2261$as_echo "$ac_try_echo"; } >&5 2262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2263 ac_status=$? 2264 if test -s conftest.err; then 2265 grep -v '^ *+' conftest.err >conftest.er1 2266 cat conftest.er1 >&5 2267 mv -f conftest.er1 conftest.err 2268 fi 2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2270 test $ac_status = 0; } > conftest.i && { 2271 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2272 test ! -s conftest.err 2273 }; then : 2274 ac_retval=0 2275else 2276 $as_echo "$as_me: failed program was:" >&5 2277sed 's/^/| /' conftest.$ac_ext >&5 2278 2279 ac_retval=1 2280fi 2281 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2282 as_fn_set_status $ac_retval 2283 2284} # ac_fn_cxx_try_cpp 2285 2286# ac_fn_cxx_try_link LINENO 2287# ------------------------- 2288# Try to link conftest.$ac_ext, and return whether this succeeded. 2289ac_fn_cxx_try_link () 2290{ 2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2292 rm -f conftest.$ac_objext conftest$ac_exeext 2293 if { { ac_try="$ac_link" 2294case "(($ac_try" in 2295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2296 *) ac_try_echo=$ac_try;; 2297esac 2298eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2299$as_echo "$ac_try_echo"; } >&5 2300 (eval "$ac_link") 2>conftest.err 2301 ac_status=$? 2302 if test -s conftest.err; then 2303 grep -v '^ *+' conftest.err >conftest.er1 2304 cat conftest.er1 >&5 2305 mv -f conftest.er1 conftest.err 2306 fi 2307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2308 test $ac_status = 0; } && { 2309 test -z "$ac_cxx_werror_flag" || 2310 test ! -s conftest.err 2311 } && test -s conftest$ac_exeext && { 2312 test "$cross_compiling" = yes || 2313 test -x conftest$ac_exeext 2314 }; then : 2315 ac_retval=0 2316else 2317 $as_echo "$as_me: failed program was:" >&5 2318sed 's/^/| /' conftest.$ac_ext >&5 2319 2320 ac_retval=1 2321fi 2322 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2323 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2324 # interfere with the next link command; also delete a directory that is 2325 # left behind by Apple's compiler. We do this before executing the actions. 2326 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2328 as_fn_set_status $ac_retval 2329 2330} # ac_fn_cxx_try_link 2331 2332# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2333# ------------------------------------------------------- 2334# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2335# the include files in INCLUDES and setting the cache variable VAR 2336# accordingly. 2337ac_fn_c_check_header_mongrel () 2338{ 2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2340 if eval \${$3+:} false; then : 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2342$as_echo_n "checking for $2... " >&6; } 2343if eval \${$3+:} false; then : 2344 $as_echo_n "(cached) " >&6 2345fi 2346eval ac_res=\$$3 2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2348$as_echo "$ac_res" >&6; } 2349else 2350 # Is the header compilable? 2351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2352$as_echo_n "checking $2 usability... " >&6; } 2353cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2354/* end confdefs.h. */ 2355$4 2356#include <$2> 2357_ACEOF 2358if ac_fn_c_try_compile "$LINENO"; then : 2359 ac_header_compiler=yes 2360else 2361 ac_header_compiler=no 2362fi 2363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2365$as_echo "$ac_header_compiler" >&6; } 2366 2367# Is the header present? 2368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2369$as_echo_n "checking $2 presence... " >&6; } 2370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2371/* end confdefs.h. */ 2372#include <$2> 2373_ACEOF 2374if ac_fn_c_try_cpp "$LINENO"; then : 2375 ac_header_preproc=yes 2376else 2377 ac_header_preproc=no 2378fi 2379rm -f conftest.err conftest.i conftest.$ac_ext 2380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2381$as_echo "$ac_header_preproc" >&6; } 2382 2383# So? What about this header? 2384case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2385 yes:no: ) 2386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2387$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2389$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2390 ;; 2391 no:yes:* ) 2392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2393$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2395$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2397$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2399$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2401$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2402( $as_echo "## ------------------------------------- ## 2403## Report this to joachim.metz@gmail.com ## 2404## ------------------------------------- ##" 2405 ) | sed "s/^/$as_me: WARNING: /" >&2 2406 ;; 2407esac 2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2409$as_echo_n "checking for $2... " >&6; } 2410if eval \${$3+:} false; then : 2411 $as_echo_n "(cached) " >&6 2412else 2413 eval "$3=\$ac_header_compiler" 2414fi 2415eval ac_res=\$$3 2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2417$as_echo "$ac_res" >&6; } 2418fi 2419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2420 2421} # ac_fn_c_check_header_mongrel 2422 2423# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2424# ------------------------------------------- 2425# Tests whether TYPE exists after having included INCLUDES, setting cache 2426# variable VAR accordingly. 2427ac_fn_c_check_type () 2428{ 2429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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=no" 2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2437/* end confdefs.h. */ 2438$4 2439int 2440main () 2441{ 2442if (sizeof ($2)) 2443 return 0; 2444 ; 2445 return 0; 2446} 2447_ACEOF 2448if ac_fn_c_try_compile "$LINENO"; then : 2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2450/* end confdefs.h. */ 2451$4 2452int 2453main () 2454{ 2455if (sizeof (($2))) 2456 return 0; 2457 ; 2458 return 0; 2459} 2460_ACEOF 2461if ac_fn_c_try_compile "$LINENO"; then : 2462 2463else 2464 eval "$3=yes" 2465fi 2466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2467fi 2468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2469fi 2470eval ac_res=\$$3 2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2472$as_echo "$ac_res" >&6; } 2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2474 2475} # ac_fn_c_check_type 2476 2477# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2478# -------------------------------------------- 2479# Tries to find the compile-time value of EXPR in a program that includes 2480# INCLUDES, setting VAR accordingly. Returns whether the value could be 2481# computed 2482ac_fn_c_compute_int () 2483{ 2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2485 if test "$cross_compiling" = yes; then 2486 # Depending upon the size, compute the lo and hi bounds. 2487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2488/* end confdefs.h. */ 2489$4 2490int 2491main () 2492{ 2493static int test_array [1 - 2 * !(($2) >= 0)]; 2494test_array [0] = 0; 2495return test_array [0]; 2496 2497 ; 2498 return 0; 2499} 2500_ACEOF 2501if ac_fn_c_try_compile "$LINENO"; then : 2502 ac_lo=0 ac_mid=0 2503 while :; do 2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2505/* end confdefs.h. */ 2506$4 2507int 2508main () 2509{ 2510static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2511test_array [0] = 0; 2512return test_array [0]; 2513 2514 ; 2515 return 0; 2516} 2517_ACEOF 2518if ac_fn_c_try_compile "$LINENO"; then : 2519 ac_hi=$ac_mid; break 2520else 2521 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2522 if test $ac_lo -le $ac_mid; then 2523 ac_lo= ac_hi= 2524 break 2525 fi 2526 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2527fi 2528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2529 done 2530else 2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2532/* end confdefs.h. */ 2533$4 2534int 2535main () 2536{ 2537static int test_array [1 - 2 * !(($2) < 0)]; 2538test_array [0] = 0; 2539return test_array [0]; 2540 2541 ; 2542 return 0; 2543} 2544_ACEOF 2545if ac_fn_c_try_compile "$LINENO"; then : 2546 ac_hi=-1 ac_mid=-1 2547 while :; do 2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2549/* end confdefs.h. */ 2550$4 2551int 2552main () 2553{ 2554static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2555test_array [0] = 0; 2556return test_array [0]; 2557 2558 ; 2559 return 0; 2560} 2561_ACEOF 2562if ac_fn_c_try_compile "$LINENO"; then : 2563 ac_lo=$ac_mid; break 2564else 2565 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2566 if test $ac_mid -le $ac_hi; then 2567 ac_lo= ac_hi= 2568 break 2569 fi 2570 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2571fi 2572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2573 done 2574else 2575 ac_lo= ac_hi= 2576fi 2577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2578fi 2579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2580# Binary search between lo and hi bounds. 2581while test "x$ac_lo" != "x$ac_hi"; do 2582 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2584/* end confdefs.h. */ 2585$4 2586int 2587main () 2588{ 2589static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2590test_array [0] = 0; 2591return test_array [0]; 2592 2593 ; 2594 return 0; 2595} 2596_ACEOF 2597if ac_fn_c_try_compile "$LINENO"; then : 2598 ac_hi=$ac_mid 2599else 2600 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2601fi 2602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2603done 2604case $ac_lo in #(( 2605?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2606'') ac_retval=1 ;; 2607esac 2608 else 2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2610/* end confdefs.h. */ 2611$4 2612static long int longval () { return $2; } 2613static unsigned long int ulongval () { return $2; } 2614#include <stdio.h> 2615#include <stdlib.h> 2616int 2617main () 2618{ 2619 2620 FILE *f = fopen ("conftest.val", "w"); 2621 if (! f) 2622 return 1; 2623 if (($2) < 0) 2624 { 2625 long int i = longval (); 2626 if (i != ($2)) 2627 return 1; 2628 fprintf (f, "%ld", i); 2629 } 2630 else 2631 { 2632 unsigned long int i = ulongval (); 2633 if (i != ($2)) 2634 return 1; 2635 fprintf (f, "%lu", i); 2636 } 2637 /* Do not output a trailing newline, as this causes \r\n confusion 2638 on some platforms. */ 2639 return ferror (f) || fclose (f) != 0; 2640 2641 ; 2642 return 0; 2643} 2644_ACEOF 2645if ac_fn_c_try_run "$LINENO"; then : 2646 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2647else 2648 ac_retval=1 2649fi 2650rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2651 conftest.$ac_objext conftest.beam conftest.$ac_ext 2652rm -f conftest.val 2653 2654 fi 2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2656 as_fn_set_status $ac_retval 2657 2658} # ac_fn_c_compute_int 2659 2660# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2661# --------------------------------------------- 2662# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2663# accordingly. 2664ac_fn_c_check_decl () 2665{ 2666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2667 as_decl_name=`echo $2|sed 's/ *(.*//'` 2668 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2670$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2671if eval \${$3+:} false; then : 2672 $as_echo_n "(cached) " >&6 2673else 2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675/* end confdefs.h. */ 2676$4 2677int 2678main () 2679{ 2680#ifndef $as_decl_name 2681#ifdef __cplusplus 2682 (void) $as_decl_use; 2683#else 2684 (void) $as_decl_name; 2685#endif 2686#endif 2687 2688 ; 2689 return 0; 2690} 2691_ACEOF 2692if ac_fn_c_try_compile "$LINENO"; then : 2693 eval "$3=yes" 2694else 2695 eval "$3=no" 2696fi 2697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2698fi 2699eval ac_res=\$$3 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2701$as_echo "$ac_res" >&6; } 2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2703 2704} # ac_fn_c_check_decl 2705cat >config.log <<_ACEOF 2706This file contains any messages produced by compilers while 2707running configure, to aid debugging if configure makes a mistake. 2708 2709It was created by libvsgpt $as_me 20210207, which was 2710generated by GNU Autoconf 2.69. Invocation command line was 2711 2712 $ $0 $@ 2713 2714_ACEOF 2715exec 5>>config.log 2716{ 2717cat <<_ASUNAME 2718## --------- ## 2719## Platform. ## 2720## --------- ## 2721 2722hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2723uname -m = `(uname -m) 2>/dev/null || echo unknown` 2724uname -r = `(uname -r) 2>/dev/null || echo unknown` 2725uname -s = `(uname -s) 2>/dev/null || echo unknown` 2726uname -v = `(uname -v) 2>/dev/null || echo unknown` 2727 2728/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2729/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2730 2731/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2732/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2733/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2734/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2735/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2736/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2737/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2738 2739_ASUNAME 2740 2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2742for as_dir in $PATH 2743do 2744 IFS=$as_save_IFS 2745 test -z "$as_dir" && as_dir=. 2746 $as_echo "PATH: $as_dir" 2747 done 2748IFS=$as_save_IFS 2749 2750} >&5 2751 2752cat >&5 <<_ACEOF 2753 2754 2755## ----------- ## 2756## Core tests. ## 2757## ----------- ## 2758 2759_ACEOF 2760 2761 2762# Keep a trace of the command line. 2763# Strip out --no-create and --no-recursion so they do not pile up. 2764# Strip out --silent because we don't want to record it for future runs. 2765# Also quote any args containing shell meta-characters. 2766# Make two passes to allow for proper duplicate-argument suppression. 2767ac_configure_args= 2768ac_configure_args0= 2769ac_configure_args1= 2770ac_must_keep_next=false 2771for ac_pass in 1 2 2772do 2773 for ac_arg 2774 do 2775 case $ac_arg in 2776 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2777 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2778 | -silent | --silent | --silen | --sile | --sil) 2779 continue ;; 2780 *\'*) 2781 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2782 esac 2783 case $ac_pass in 2784 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2785 2) 2786 as_fn_append ac_configure_args1 " '$ac_arg'" 2787 if test $ac_must_keep_next = true; then 2788 ac_must_keep_next=false # Got value, back to normal. 2789 else 2790 case $ac_arg in 2791 *=* | --config-cache | -C | -disable-* | --disable-* \ 2792 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2793 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2794 | -with-* | --with-* | -without-* | --without-* | --x) 2795 case "$ac_configure_args0 " in 2796 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2797 esac 2798 ;; 2799 -* ) ac_must_keep_next=true ;; 2800 esac 2801 fi 2802 as_fn_append ac_configure_args " '$ac_arg'" 2803 ;; 2804 esac 2805 done 2806done 2807{ ac_configure_args0=; unset ac_configure_args0;} 2808{ ac_configure_args1=; unset ac_configure_args1;} 2809 2810# When interrupted or exit'd, cleanup temporary files, and complete 2811# config.log. We remove comments because anyway the quotes in there 2812# would cause problems or look ugly. 2813# WARNING: Use '\'' to represent an apostrophe within the trap. 2814# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2815trap 'exit_status=$? 2816 # Save into config.log some information that might help in debugging. 2817 { 2818 echo 2819 2820 $as_echo "## ---------------- ## 2821## Cache variables. ## 2822## ---------------- ##" 2823 echo 2824 # The following way of writing the cache mishandles newlines in values, 2825( 2826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2827 eval ac_val=\$$ac_var 2828 case $ac_val in #( 2829 *${as_nl}*) 2830 case $ac_var in #( 2831 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2832$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2833 esac 2834 case $ac_var in #( 2835 _ | IFS | as_nl) ;; #( 2836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2837 *) { eval $ac_var=; unset $ac_var;} ;; 2838 esac ;; 2839 esac 2840 done 2841 (set) 2>&1 | 2842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2843 *${as_nl}ac_space=\ *) 2844 sed -n \ 2845 "s/'\''/'\''\\\\'\'''\''/g; 2846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2847 ;; #( 2848 *) 2849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2850 ;; 2851 esac | 2852 sort 2853) 2854 echo 2855 2856 $as_echo "## ----------------- ## 2857## Output variables. ## 2858## ----------------- ##" 2859 echo 2860 for ac_var in $ac_subst_vars 2861 do 2862 eval ac_val=\$$ac_var 2863 case $ac_val in 2864 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2865 esac 2866 $as_echo "$ac_var='\''$ac_val'\''" 2867 done | sort 2868 echo 2869 2870 if test -n "$ac_subst_files"; then 2871 $as_echo "## ------------------- ## 2872## File substitutions. ## 2873## ------------------- ##" 2874 echo 2875 for ac_var in $ac_subst_files 2876 do 2877 eval ac_val=\$$ac_var 2878 case $ac_val in 2879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2880 esac 2881 $as_echo "$ac_var='\''$ac_val'\''" 2882 done | sort 2883 echo 2884 fi 2885 2886 if test -s confdefs.h; then 2887 $as_echo "## ----------- ## 2888## confdefs.h. ## 2889## ----------- ##" 2890 echo 2891 cat confdefs.h 2892 echo 2893 fi 2894 test "$ac_signal" != 0 && 2895 $as_echo "$as_me: caught signal $ac_signal" 2896 $as_echo "$as_me: exit $exit_status" 2897 } >&5 2898 rm -f core *.core core.conftest.* && 2899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2900 exit $exit_status 2901' 0 2902for ac_signal in 1 2 13 15; do 2903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2904done 2905ac_signal=0 2906 2907# confdefs.h avoids OS command line length limits that DEFS can exceed. 2908rm -f -r conftest* confdefs.h 2909 2910$as_echo "/* confdefs.h */" > confdefs.h 2911 2912# Predefined preprocessor variables. 2913 2914cat >>confdefs.h <<_ACEOF 2915#define PACKAGE_NAME "$PACKAGE_NAME" 2916_ACEOF 2917 2918cat >>confdefs.h <<_ACEOF 2919#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2920_ACEOF 2921 2922cat >>confdefs.h <<_ACEOF 2923#define PACKAGE_VERSION "$PACKAGE_VERSION" 2924_ACEOF 2925 2926cat >>confdefs.h <<_ACEOF 2927#define PACKAGE_STRING "$PACKAGE_STRING" 2928_ACEOF 2929 2930cat >>confdefs.h <<_ACEOF 2931#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2932_ACEOF 2933 2934cat >>confdefs.h <<_ACEOF 2935#define PACKAGE_URL "$PACKAGE_URL" 2936_ACEOF 2937 2938 2939# Let the site file select an alternate cache file if it wants to. 2940# Prefer an explicitly selected file to automatically selected ones. 2941ac_site_file1=NONE 2942ac_site_file2=NONE 2943if test -n "$CONFIG_SITE"; then 2944 # We do not want a PATH search for config.site. 2945 case $CONFIG_SITE in #(( 2946 -*) ac_site_file1=./$CONFIG_SITE;; 2947 */*) ac_site_file1=$CONFIG_SITE;; 2948 *) ac_site_file1=./$CONFIG_SITE;; 2949 esac 2950elif test "x$prefix" != xNONE; then 2951 ac_site_file1=$prefix/share/config.site 2952 ac_site_file2=$prefix/etc/config.site 2953else 2954 ac_site_file1=$ac_default_prefix/share/config.site 2955 ac_site_file2=$ac_default_prefix/etc/config.site 2956fi 2957for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2958do 2959 test "x$ac_site_file" = xNONE && continue 2960 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2962$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2963 sed 's/^/| /' "$ac_site_file" >&5 2964 . "$ac_site_file" \ 2965 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2966$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2967as_fn_error $? "failed to load site script $ac_site_file 2968See \`config.log' for more details" "$LINENO" 5; } 2969 fi 2970done 2971 2972if test -r "$cache_file"; then 2973 # Some versions of bash will fail to source /dev/null (special files 2974 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2975 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2977$as_echo "$as_me: loading cache $cache_file" >&6;} 2978 case $cache_file in 2979 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2980 *) . "./$cache_file";; 2981 esac 2982 fi 2983else 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2985$as_echo "$as_me: creating cache $cache_file" >&6;} 2986 >$cache_file 2987fi 2988 2989gt_needs="$gt_needs " 2990# Check that the precious variables saved in the cache have kept the same 2991# value. 2992ac_cache_corrupted=false 2993for ac_var in $ac_precious_vars; do 2994 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2995 eval ac_new_set=\$ac_env_${ac_var}_set 2996 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2997 eval ac_new_val=\$ac_env_${ac_var}_value 2998 case $ac_old_set,$ac_new_set in 2999 set,) 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3001$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3002 ac_cache_corrupted=: ;; 3003 ,set) 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3005$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3006 ac_cache_corrupted=: ;; 3007 ,);; 3008 *) 3009 if test "x$ac_old_val" != "x$ac_new_val"; then 3010 # differences in whitespace do not lead to failure. 3011 ac_old_val_w=`echo x $ac_old_val` 3012 ac_new_val_w=`echo x $ac_new_val` 3013 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3015$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3016 ac_cache_corrupted=: 3017 else 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3019$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3020 eval $ac_var=\$ac_old_val 3021 fi 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3023$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3025$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3026 fi;; 3027 esac 3028 # Pass precious variables to config.status. 3029 if test "$ac_new_set" = set; then 3030 case $ac_new_val in 3031 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3032 *) ac_arg=$ac_var=$ac_new_val ;; 3033 esac 3034 case " $ac_configure_args " in 3035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3036 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3037 esac 3038 fi 3039done 3040if $ac_cache_corrupted; then 3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3044$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3045 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3046fi 3047## -------------------- ## 3048## Main body of script. ## 3049## -------------------- ## 3050 3051ac_ext=c 3052ac_cpp='$CPP $CPPFLAGS' 3053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3055ac_compiler_gnu=$ac_cv_c_compiler_gnu 3056 3057 3058 3059 3060 3061am__api_version='1.16' 3062 3063ac_aux_dir= 3064for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3065 if test -f "$ac_dir/install-sh"; then 3066 ac_aux_dir=$ac_dir 3067 ac_install_sh="$ac_aux_dir/install-sh -c" 3068 break 3069 elif test -f "$ac_dir/install.sh"; then 3070 ac_aux_dir=$ac_dir 3071 ac_install_sh="$ac_aux_dir/install.sh -c" 3072 break 3073 elif test -f "$ac_dir/shtool"; then 3074 ac_aux_dir=$ac_dir 3075 ac_install_sh="$ac_aux_dir/shtool install -c" 3076 break 3077 fi 3078done 3079if test -z "$ac_aux_dir"; then 3080 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3081fi 3082 3083# These three variables are undocumented and unsupported, 3084# and are intended to be withdrawn in a future Autoconf release. 3085# They can cause serious problems if a builder's source tree is in a directory 3086# whose full name contains unusual characters. 3087ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3088ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3089ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3090 3091 3092# Find a good install program. We prefer a C program (faster), 3093# so one script is as good as another. But avoid the broken or 3094# incompatible versions: 3095# SysV /etc/install, /usr/sbin/install 3096# SunOS /usr/etc/install 3097# IRIX /sbin/install 3098# AIX /bin/install 3099# AmigaOS /C/install, which installs bootblocks on floppy discs 3100# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3101# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3102# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3103# OS/2's system install, which has a completely different semantic 3104# ./install, which can be erroneously created by make from ./install.sh. 3105# Reject install programs that cannot install multiple files. 3106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3107$as_echo_n "checking for a BSD-compatible install... " >&6; } 3108if test -z "$INSTALL"; then 3109if ${ac_cv_path_install+:} false; then : 3110 $as_echo_n "(cached) " >&6 3111else 3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3113for as_dir in $PATH 3114do 3115 IFS=$as_save_IFS 3116 test -z "$as_dir" && as_dir=. 3117 # Account for people who put trailing slashes in PATH elements. 3118case $as_dir/ in #(( 3119 ./ | .// | /[cC]/* | \ 3120 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3121 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3122 /usr/ucb/* ) ;; 3123 *) 3124 # OSF1 and SCO ODT 3.0 have their own names for install. 3125 # Don't use installbsd from OSF since it installs stuff as root 3126 # by default. 3127 for ac_prog in ginstall scoinst install; do 3128 for ac_exec_ext in '' $ac_executable_extensions; do 3129 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3130 if test $ac_prog = install && 3131 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3132 # AIX install. It has an incompatible calling convention. 3133 : 3134 elif test $ac_prog = install && 3135 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3136 # program-specific install script used by HP pwplus--don't use. 3137 : 3138 else 3139 rm -rf conftest.one conftest.two conftest.dir 3140 echo one > conftest.one 3141 echo two > conftest.two 3142 mkdir conftest.dir 3143 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3144 test -s conftest.one && test -s conftest.two && 3145 test -s conftest.dir/conftest.one && 3146 test -s conftest.dir/conftest.two 3147 then 3148 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3149 break 3 3150 fi 3151 fi 3152 fi 3153 done 3154 done 3155 ;; 3156esac 3157 3158 done 3159IFS=$as_save_IFS 3160 3161rm -rf conftest.one conftest.two conftest.dir 3162 3163fi 3164 if test "${ac_cv_path_install+set}" = set; then 3165 INSTALL=$ac_cv_path_install 3166 else 3167 # As a last resort, use the slow shell script. Don't cache a 3168 # value for INSTALL within a source directory, because that will 3169 # break other packages using the cache if that directory is 3170 # removed, or if the value is a relative name. 3171 INSTALL=$ac_install_sh 3172 fi 3173fi 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3175$as_echo "$INSTALL" >&6; } 3176 3177# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3178# It thinks the first close brace ends the variable substitution. 3179test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3180 3181test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3182 3183test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3184 3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3186$as_echo_n "checking whether build environment is sane... " >&6; } 3187# Reject unsafe characters in $srcdir or the absolute working directory 3188# name. Accept space and tab only in the latter. 3189am_lf=' 3190' 3191case `pwd` in 3192 *[\\\"\#\$\&\'\`$am_lf]*) 3193 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3194esac 3195case $srcdir in 3196 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3197 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3198esac 3199 3200# Do 'set' in a subshell so we don't clobber the current shell's 3201# arguments. Must try -L first in case configure is actually a 3202# symlink; some systems play weird games with the mod time of symlinks 3203# (eg FreeBSD returns the mod time of the symlink's containing 3204# directory). 3205if ( 3206 am_has_slept=no 3207 for am_try in 1 2; do 3208 echo "timestamp, slept: $am_has_slept" > conftest.file 3209 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3210 if test "$*" = "X"; then 3211 # -L didn't work. 3212 set X `ls -t "$srcdir/configure" conftest.file` 3213 fi 3214 if test "$*" != "X $srcdir/configure conftest.file" \ 3215 && test "$*" != "X conftest.file $srcdir/configure"; then 3216 3217 # If neither matched, then we have a broken ls. This can happen 3218 # if, for instance, CONFIG_SHELL is bash and it inherits a 3219 # broken ls alias from the environment. This has actually 3220 # happened. Such a system could not be considered "sane". 3221 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3222 alias in your environment" "$LINENO" 5 3223 fi 3224 if test "$2" = conftest.file || test $am_try -eq 2; then 3225 break 3226 fi 3227 # Just in case. 3228 sleep 1 3229 am_has_slept=yes 3230 done 3231 test "$2" = conftest.file 3232 ) 3233then 3234 # Ok. 3235 : 3236else 3237 as_fn_error $? "newly created file is older than distributed files! 3238Check your system clock" "$LINENO" 5 3239fi 3240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3241$as_echo "yes" >&6; } 3242# If we didn't sleep, we still need to ensure time stamps of config.status and 3243# generated files are strictly newer. 3244am_sleep_pid= 3245if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3246 ( sleep 1 ) & 3247 am_sleep_pid=$! 3248fi 3249 3250rm -f conftest.file 3251 3252test "$program_prefix" != NONE && 3253 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3254# Use a double $ so make ignores it. 3255test "$program_suffix" != NONE && 3256 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3257# Double any \ or $. 3258# By default was `s,x,x', remove it if useless. 3259ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3260program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3261 3262# Expand $ac_aux_dir to an absolute path. 3263am_aux_dir=`cd "$ac_aux_dir" && pwd` 3264 3265if test x"${MISSING+set}" != xset; then 3266 case $am_aux_dir in 3267 *\ * | *\ *) 3268 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3269 *) 3270 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3271 esac 3272fi 3273# Use eval to expand $SHELL 3274if eval "$MISSING --is-lightweight"; then 3275 am_missing_run="$MISSING " 3276else 3277 am_missing_run= 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3279$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3280fi 3281 3282if test x"${install_sh+set}" != xset; then 3283 case $am_aux_dir in 3284 *\ * | *\ *) 3285 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3286 *) 3287 install_sh="\${SHELL} $am_aux_dir/install-sh" 3288 esac 3289fi 3290 3291# Installed binaries are usually stripped using 'strip' when the user 3292# run "make install-strip". However 'strip' might not be the right 3293# tool to use in cross-compilation environments, therefore Automake 3294# will honor the 'STRIP' environment variable to overrule this program. 3295if test "$cross_compiling" != no; then 3296 if test -n "$ac_tool_prefix"; then 3297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3298set dummy ${ac_tool_prefix}strip; ac_word=$2 3299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3300$as_echo_n "checking for $ac_word... " >&6; } 3301if ${ac_cv_prog_STRIP+:} false; then : 3302 $as_echo_n "(cached) " >&6 3303else 3304 if test -n "$STRIP"; then 3305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3306else 3307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3308for as_dir in $PATH 3309do 3310 IFS=$as_save_IFS 3311 test -z "$as_dir" && as_dir=. 3312 for ac_exec_ext in '' $ac_executable_extensions; do 3313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3314 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3316 break 2 3317 fi 3318done 3319 done 3320IFS=$as_save_IFS 3321 3322fi 3323fi 3324STRIP=$ac_cv_prog_STRIP 3325if test -n "$STRIP"; then 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3327$as_echo "$STRIP" >&6; } 3328else 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3330$as_echo "no" >&6; } 3331fi 3332 3333 3334fi 3335if test -z "$ac_cv_prog_STRIP"; then 3336 ac_ct_STRIP=$STRIP 3337 # Extract the first word of "strip", so it can be a program name with args. 3338set dummy strip; ac_word=$2 3339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3340$as_echo_n "checking for $ac_word... " >&6; } 3341if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3342 $as_echo_n "(cached) " >&6 3343else 3344 if test -n "$ac_ct_STRIP"; then 3345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3346else 3347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3348for as_dir in $PATH 3349do 3350 IFS=$as_save_IFS 3351 test -z "$as_dir" && as_dir=. 3352 for ac_exec_ext in '' $ac_executable_extensions; do 3353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3354 ac_cv_prog_ac_ct_STRIP="strip" 3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3356 break 2 3357 fi 3358done 3359 done 3360IFS=$as_save_IFS 3361 3362fi 3363fi 3364ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3365if test -n "$ac_ct_STRIP"; then 3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3367$as_echo "$ac_ct_STRIP" >&6; } 3368else 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3370$as_echo "no" >&6; } 3371fi 3372 3373 if test "x$ac_ct_STRIP" = x; then 3374 STRIP=":" 3375 else 3376 case $cross_compiling:$ac_tool_warned in 3377yes:) 3378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3380ac_tool_warned=yes ;; 3381esac 3382 STRIP=$ac_ct_STRIP 3383 fi 3384else 3385 STRIP="$ac_cv_prog_STRIP" 3386fi 3387 3388fi 3389INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3390 3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3392$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3393if test -z "$MKDIR_P"; then 3394 if ${ac_cv_path_mkdir+:} false; then : 3395 $as_echo_n "(cached) " >&6 3396else 3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3398for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3399do 3400 IFS=$as_save_IFS 3401 test -z "$as_dir" && as_dir=. 3402 for ac_prog in mkdir gmkdir; do 3403 for ac_exec_ext in '' $ac_executable_extensions; do 3404 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3405 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3406 'mkdir (GNU coreutils) '* | \ 3407 'mkdir (coreutils) '* | \ 3408 'mkdir (fileutils) '4.1*) 3409 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3410 break 3;; 3411 esac 3412 done 3413 done 3414 done 3415IFS=$as_save_IFS 3416 3417fi 3418 3419 test -d ./--version && rmdir ./--version 3420 if test "${ac_cv_path_mkdir+set}" = set; then 3421 MKDIR_P="$ac_cv_path_mkdir -p" 3422 else 3423 # As a last resort, use the slow shell script. Don't cache a 3424 # value for MKDIR_P within a source directory, because that will 3425 # break other packages using the cache if that directory is 3426 # removed, or if the value is a relative name. 3427 MKDIR_P="$ac_install_sh -d" 3428 fi 3429fi 3430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3431$as_echo "$MKDIR_P" >&6; } 3432 3433for ac_prog in gawk mawk nawk awk 3434do 3435 # Extract the first word of "$ac_prog", so it can be a program name with args. 3436set dummy $ac_prog; ac_word=$2 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3438$as_echo_n "checking for $ac_word... " >&6; } 3439if ${ac_cv_prog_AWK+:} false; then : 3440 $as_echo_n "(cached) " >&6 3441else 3442 if test -n "$AWK"; then 3443 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3444else 3445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3446for as_dir in $PATH 3447do 3448 IFS=$as_save_IFS 3449 test -z "$as_dir" && as_dir=. 3450 for ac_exec_ext in '' $ac_executable_extensions; do 3451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3452 ac_cv_prog_AWK="$ac_prog" 3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3454 break 2 3455 fi 3456done 3457 done 3458IFS=$as_save_IFS 3459 3460fi 3461fi 3462AWK=$ac_cv_prog_AWK 3463if test -n "$AWK"; then 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3465$as_echo "$AWK" >&6; } 3466else 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3468$as_echo "no" >&6; } 3469fi 3470 3471 3472 test -n "$AWK" && break 3473done 3474 3475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3476$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3477set x ${MAKE-make} 3478ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3479if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3480 $as_echo_n "(cached) " >&6 3481else 3482 cat >conftest.make <<\_ACEOF 3483SHELL = /bin/sh 3484all: 3485 @echo '@@@%%%=$(MAKE)=@@@%%%' 3486_ACEOF 3487# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3488case `${MAKE-make} -f conftest.make 2>/dev/null` in 3489 *@@@%%%=?*=@@@%%%*) 3490 eval ac_cv_prog_make_${ac_make}_set=yes;; 3491 *) 3492 eval ac_cv_prog_make_${ac_make}_set=no;; 3493esac 3494rm -f conftest.make 3495fi 3496if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3498$as_echo "yes" >&6; } 3499 SET_MAKE= 3500else 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3502$as_echo "no" >&6; } 3503 SET_MAKE="MAKE=${MAKE-make}" 3504fi 3505 3506rm -rf .tst 2>/dev/null 3507mkdir .tst 2>/dev/null 3508if test -d .tst; then 3509 am__leading_dot=. 3510else 3511 am__leading_dot=_ 3512fi 3513rmdir .tst 2>/dev/null 3514 3515# Check whether --enable-silent-rules was given. 3516if test "${enable_silent_rules+set}" = set; then : 3517 enableval=$enable_silent_rules; 3518fi 3519 3520case $enable_silent_rules in # ((( 3521 yes) AM_DEFAULT_VERBOSITY=0;; 3522 no) AM_DEFAULT_VERBOSITY=1;; 3523 *) AM_DEFAULT_VERBOSITY=1;; 3524esac 3525am_make=${MAKE-make} 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3527$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3528if ${am_cv_make_support_nested_variables+:} false; then : 3529 $as_echo_n "(cached) " >&6 3530else 3531 if $as_echo 'TRUE=$(BAR$(V)) 3532BAR0=false 3533BAR1=true 3534V=1 3535am__doit: 3536 @$(TRUE) 3537.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3538 am_cv_make_support_nested_variables=yes 3539else 3540 am_cv_make_support_nested_variables=no 3541fi 3542fi 3543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3544$as_echo "$am_cv_make_support_nested_variables" >&6; } 3545if test $am_cv_make_support_nested_variables = yes; then 3546 AM_V='$(V)' 3547 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3548else 3549 AM_V=$AM_DEFAULT_VERBOSITY 3550 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3551fi 3552AM_BACKSLASH='\' 3553 3554if test "`cd $srcdir && pwd`" != "`pwd`"; then 3555 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3556 # is not polluted with repeated "-I." 3557 am__isrc=' -I$(srcdir)' 3558 # test to see if srcdir already configured 3559 if test -f $srcdir/config.status; then 3560 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3561 fi 3562fi 3563 3564# test whether we have cygpath 3565if test -z "$CYGPATH_W"; then 3566 if (cygpath --version) >/dev/null 2>/dev/null; then 3567 CYGPATH_W='cygpath -w' 3568 else 3569 CYGPATH_W=echo 3570 fi 3571fi 3572 3573 3574# Define the identity of the package. 3575 PACKAGE='libvsgpt' 3576 VERSION='20210207' 3577 3578 3579cat >>confdefs.h <<_ACEOF 3580#define PACKAGE "$PACKAGE" 3581_ACEOF 3582 3583 3584cat >>confdefs.h <<_ACEOF 3585#define VERSION "$VERSION" 3586_ACEOF 3587 3588# Some tools Automake needs. 3589 3590ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3591 3592 3593AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3594 3595 3596AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3597 3598 3599AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3600 3601 3602MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3603 3604# For better backward compatibility. To be removed once Automake 1.9.x 3605# dies out for good. For more background, see: 3606# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3607# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3608mkdir_p='$(MKDIR_P)' 3609 3610# We need awk for the "check" target (and possibly the TAP driver). The 3611# system "awk" is bad on some platforms. 3612# Always define AMTAR for backward compatibility. Yes, it's still used 3613# in the wild :-( We should find a proper way to deprecate it ... 3614AMTAR='$${TAR-tar}' 3615 3616 3617# We'll loop over all known methods to create a tar archive until one works. 3618_am_tools='gnutar plaintar pax cpio none' 3619 3620# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3621 # There is notably a 21 bits limit for the UID and the GID. In fact, 3622 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3623 # and bug#13588). 3624 am_max_uid=2097151 # 2^21 - 1 3625 am_max_gid=$am_max_uid 3626 # The $UID and $GID variables are not portable, so we need to resort 3627 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3628 # below are definitely unexpected, so allow the users to see them 3629 # (that is, avoid stderr redirection). 3630 am_uid=`id -u || echo unknown` 3631 am_gid=`id -g || echo unknown` 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3633$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3634 if test $am_uid -le $am_max_uid; then 3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3636$as_echo "yes" >&6; } 3637 else 3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3639$as_echo "no" >&6; } 3640 _am_tools=none 3641 fi 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3643$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3644 if test $am_gid -le $am_max_gid; then 3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3646$as_echo "yes" >&6; } 3647 else 3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3649$as_echo "no" >&6; } 3650 _am_tools=none 3651 fi 3652 3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3654$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3655 3656 # Go ahead even if we have the value already cached. We do so because we 3657 # need to set the values for the 'am__tar' and 'am__untar' variables. 3658 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3659 3660 for _am_tool in $_am_tools; do 3661 case $_am_tool in 3662 gnutar) 3663 for _am_tar in tar gnutar gtar; do 3664 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3665 ($_am_tar --version) >&5 2>&5 3666 ac_status=$? 3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3668 (exit $ac_status); } && break 3669 done 3670 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3671 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3672 am__untar="$_am_tar -xf -" 3673 ;; 3674 plaintar) 3675 # Must skip GNU tar: if it does not support --format= it doesn't create 3676 # ustar tarball either. 3677 (tar --version) >/dev/null 2>&1 && continue 3678 am__tar='tar chf - "$$tardir"' 3679 am__tar_='tar chf - "$tardir"' 3680 am__untar='tar xf -' 3681 ;; 3682 pax) 3683 am__tar='pax -L -x ustar -w "$$tardir"' 3684 am__tar_='pax -L -x ustar -w "$tardir"' 3685 am__untar='pax -r' 3686 ;; 3687 cpio) 3688 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3689 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3690 am__untar='cpio -i -H ustar -d' 3691 ;; 3692 none) 3693 am__tar=false 3694 am__tar_=false 3695 am__untar=false 3696 ;; 3697 esac 3698 3699 # If the value was cached, stop now. We just wanted to have am__tar 3700 # and am__untar set. 3701 test -n "${am_cv_prog_tar_ustar}" && break 3702 3703 # tar/untar a dummy directory, and stop if the command works. 3704 rm -rf conftest.dir 3705 mkdir conftest.dir 3706 echo GrepMe > conftest.dir/file 3707 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3708 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3709 ac_status=$? 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); } 3712 rm -rf conftest.dir 3713 if test -s conftest.tar; then 3714 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3715 ($am__untar <conftest.tar) >&5 2>&5 3716 ac_status=$? 3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3718 (exit $ac_status); } 3719 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3720 (cat conftest.dir/file) >&5 2>&5 3721 ac_status=$? 3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3723 (exit $ac_status); } 3724 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3725 fi 3726 done 3727 rm -rf conftest.dir 3728 3729 if ${am_cv_prog_tar_ustar+:} false; then : 3730 $as_echo_n "(cached) " >&6 3731else 3732 am_cv_prog_tar_ustar=$_am_tool 3733fi 3734 3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3736$as_echo "$am_cv_prog_tar_ustar" >&6; } 3737 3738 3739 3740 3741 3742 3743# POSIX will say in a future version that running "rm -f" with no argument 3744# is OK; and we want to be able to make that assumption in our Makefile 3745# recipes. So use an aggressive probe to check that the usage we want is 3746# actually supported "in the wild" to an acceptable degree. 3747# See automake bug#10828. 3748# To make any issue more visible, cause the running configure to be aborted 3749# by default if the 'rm' program in use doesn't match our expectations; the 3750# user can still override this though. 3751if rm -f && rm -fr && rm -rf; then : OK; else 3752 cat >&2 <<'END' 3753Oops! 3754 3755Your 'rm' program seems unable to run without file operands specified 3756on the command line, even when the '-f' option is present. This is contrary 3757to the behaviour of most rm programs out there, and not conforming with 3758the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3759 3760Please tell bug-automake@gnu.org about your system, including the value 3761of your $PATH and any error possibly output before this message. This 3762can help us improve future automake versions. 3763 3764END 3765 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3766 echo 'Configuration will proceed anyway, since you have set the' >&2 3767 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3768 echo >&2 3769 else 3770 cat >&2 <<'END' 3771Aborting the configuration process, to ensure you take notice of the issue. 3772 3773You can download and install GNU coreutils to get an 'rm' implementation 3774that behaves properly: <https://www.gnu.org/software/coreutils/>. 3775 3776If you want to complete the configuration process using your problematic 3777'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3778to "yes", and re-run configure. 3779 3780END 3781 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3782 fi 3783fi 3784 3785 3786 3787 3788# Make sure we can run config.sub. 3789$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3790 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3791 3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3793$as_echo_n "checking build system type... " >&6; } 3794if ${ac_cv_build+:} false; then : 3795 $as_echo_n "(cached) " >&6 3796else 3797 ac_build_alias=$build_alias 3798test "x$ac_build_alias" = x && 3799 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3800test "x$ac_build_alias" = x && 3801 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3802ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3803 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3804 3805fi 3806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3807$as_echo "$ac_cv_build" >&6; } 3808case $ac_cv_build in 3809*-*-*) ;; 3810*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3811esac 3812build=$ac_cv_build 3813ac_save_IFS=$IFS; IFS='-' 3814set x $ac_cv_build 3815shift 3816build_cpu=$1 3817build_vendor=$2 3818shift; shift 3819# Remember, the first character of IFS is used to create $*, 3820# except with old shells: 3821build_os=$* 3822IFS=$ac_save_IFS 3823case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3824 3825 3826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3827$as_echo_n "checking host system type... " >&6; } 3828if ${ac_cv_host+:} false; then : 3829 $as_echo_n "(cached) " >&6 3830else 3831 if test "x$host_alias" = x; then 3832 ac_cv_host=$ac_cv_build 3833else 3834 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3835 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3836fi 3837 3838fi 3839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3840$as_echo "$ac_cv_host" >&6; } 3841case $ac_cv_host in 3842*-*-*) ;; 3843*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3844esac 3845host=$ac_cv_host 3846ac_save_IFS=$IFS; IFS='-' 3847set x $ac_cv_host 3848shift 3849host_cpu=$1 3850host_vendor=$2 3851shift; shift 3852# Remember, the first character of IFS is used to create $*, 3853# except with old shells: 3854host_os=$* 3855IFS=$ac_save_IFS 3856case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3857 3858 3859 3860enable_win32_dll=yes 3861 3862case $host in 3863*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3864 if test -n "$ac_tool_prefix"; then 3865 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3866set dummy ${ac_tool_prefix}as; ac_word=$2 3867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3868$as_echo_n "checking for $ac_word... " >&6; } 3869if ${ac_cv_prog_AS+:} false; then : 3870 $as_echo_n "(cached) " >&6 3871else 3872 if test -n "$AS"; then 3873 ac_cv_prog_AS="$AS" # Let the user override the test. 3874else 3875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3876for as_dir in $PATH 3877do 3878 IFS=$as_save_IFS 3879 test -z "$as_dir" && as_dir=. 3880 for ac_exec_ext in '' $ac_executable_extensions; do 3881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3882 ac_cv_prog_AS="${ac_tool_prefix}as" 3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3884 break 2 3885 fi 3886done 3887 done 3888IFS=$as_save_IFS 3889 3890fi 3891fi 3892AS=$ac_cv_prog_AS 3893if test -n "$AS"; then 3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3895$as_echo "$AS" >&6; } 3896else 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3898$as_echo "no" >&6; } 3899fi 3900 3901 3902fi 3903if test -z "$ac_cv_prog_AS"; then 3904 ac_ct_AS=$AS 3905 # Extract the first word of "as", so it can be a program name with args. 3906set dummy as; ac_word=$2 3907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3908$as_echo_n "checking for $ac_word... " >&6; } 3909if ${ac_cv_prog_ac_ct_AS+:} false; then : 3910 $as_echo_n "(cached) " >&6 3911else 3912 if test -n "$ac_ct_AS"; then 3913 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3914else 3915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3916for as_dir in $PATH 3917do 3918 IFS=$as_save_IFS 3919 test -z "$as_dir" && as_dir=. 3920 for ac_exec_ext in '' $ac_executable_extensions; do 3921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3922 ac_cv_prog_ac_ct_AS="as" 3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3924 break 2 3925 fi 3926done 3927 done 3928IFS=$as_save_IFS 3929 3930fi 3931fi 3932ac_ct_AS=$ac_cv_prog_ac_ct_AS 3933if test -n "$ac_ct_AS"; then 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3935$as_echo "$ac_ct_AS" >&6; } 3936else 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3938$as_echo "no" >&6; } 3939fi 3940 3941 if test "x$ac_ct_AS" = x; then 3942 AS="false" 3943 else 3944 case $cross_compiling:$ac_tool_warned in 3945yes:) 3946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3948ac_tool_warned=yes ;; 3949esac 3950 AS=$ac_ct_AS 3951 fi 3952else 3953 AS="$ac_cv_prog_AS" 3954fi 3955 3956 if test -n "$ac_tool_prefix"; then 3957 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 3958set dummy ${ac_tool_prefix}dlltool; ac_word=$2 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3960$as_echo_n "checking for $ac_word... " >&6; } 3961if ${ac_cv_prog_DLLTOOL+:} false; then : 3962 $as_echo_n "(cached) " >&6 3963else 3964 if test -n "$DLLTOOL"; then 3965 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 3966else 3967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3968for as_dir in $PATH 3969do 3970 IFS=$as_save_IFS 3971 test -z "$as_dir" && as_dir=. 3972 for ac_exec_ext in '' $ac_executable_extensions; do 3973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3974 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3976 break 2 3977 fi 3978done 3979 done 3980IFS=$as_save_IFS 3981 3982fi 3983fi 3984DLLTOOL=$ac_cv_prog_DLLTOOL 3985if test -n "$DLLTOOL"; then 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 3987$as_echo "$DLLTOOL" >&6; } 3988else 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3990$as_echo "no" >&6; } 3991fi 3992 3993 3994fi 3995if test -z "$ac_cv_prog_DLLTOOL"; then 3996 ac_ct_DLLTOOL=$DLLTOOL 3997 # Extract the first word of "dlltool", so it can be a program name with args. 3998set dummy dlltool; ac_word=$2 3999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4000$as_echo_n "checking for $ac_word... " >&6; } 4001if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4002 $as_echo_n "(cached) " >&6 4003else 4004 if test -n "$ac_ct_DLLTOOL"; then 4005 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4006else 4007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4008for as_dir in $PATH 4009do 4010 IFS=$as_save_IFS 4011 test -z "$as_dir" && as_dir=. 4012 for ac_exec_ext in '' $ac_executable_extensions; do 4013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4014 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4016 break 2 4017 fi 4018done 4019 done 4020IFS=$as_save_IFS 4021 4022fi 4023fi 4024ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4025if test -n "$ac_ct_DLLTOOL"; then 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4027$as_echo "$ac_ct_DLLTOOL" >&6; } 4028else 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4030$as_echo "no" >&6; } 4031fi 4032 4033 if test "x$ac_ct_DLLTOOL" = x; then 4034 DLLTOOL="false" 4035 else 4036 case $cross_compiling:$ac_tool_warned in 4037yes:) 4038{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4039$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4040ac_tool_warned=yes ;; 4041esac 4042 DLLTOOL=$ac_ct_DLLTOOL 4043 fi 4044else 4045 DLLTOOL="$ac_cv_prog_DLLTOOL" 4046fi 4047 4048 if test -n "$ac_tool_prefix"; then 4049 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4050set dummy ${ac_tool_prefix}objdump; ac_word=$2 4051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4052$as_echo_n "checking for $ac_word... " >&6; } 4053if ${ac_cv_prog_OBJDUMP+:} false; then : 4054 $as_echo_n "(cached) " >&6 4055else 4056 if test -n "$OBJDUMP"; then 4057 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4058else 4059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4060for as_dir in $PATH 4061do 4062 IFS=$as_save_IFS 4063 test -z "$as_dir" && as_dir=. 4064 for ac_exec_ext in '' $ac_executable_extensions; do 4065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4066 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4068 break 2 4069 fi 4070done 4071 done 4072IFS=$as_save_IFS 4073 4074fi 4075fi 4076OBJDUMP=$ac_cv_prog_OBJDUMP 4077if test -n "$OBJDUMP"; then 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4079$as_echo "$OBJDUMP" >&6; } 4080else 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4082$as_echo "no" >&6; } 4083fi 4084 4085 4086fi 4087if test -z "$ac_cv_prog_OBJDUMP"; then 4088 ac_ct_OBJDUMP=$OBJDUMP 4089 # Extract the first word of "objdump", so it can be a program name with args. 4090set dummy objdump; ac_word=$2 4091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4092$as_echo_n "checking for $ac_word... " >&6; } 4093if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4094 $as_echo_n "(cached) " >&6 4095else 4096 if test -n "$ac_ct_OBJDUMP"; then 4097 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4098else 4099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4100for as_dir in $PATH 4101do 4102 IFS=$as_save_IFS 4103 test -z "$as_dir" && as_dir=. 4104 for ac_exec_ext in '' $ac_executable_extensions; do 4105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4106 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4108 break 2 4109 fi 4110done 4111 done 4112IFS=$as_save_IFS 4113 4114fi 4115fi 4116ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4117if test -n "$ac_ct_OBJDUMP"; then 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4119$as_echo "$ac_ct_OBJDUMP" >&6; } 4120else 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4122$as_echo "no" >&6; } 4123fi 4124 4125 if test "x$ac_ct_OBJDUMP" = x; then 4126 OBJDUMP="false" 4127 else 4128 case $cross_compiling:$ac_tool_warned in 4129yes:) 4130{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4131$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4132ac_tool_warned=yes ;; 4133esac 4134 OBJDUMP=$ac_ct_OBJDUMP 4135 fi 4136else 4137 OBJDUMP="$ac_cv_prog_OBJDUMP" 4138fi 4139 4140 ;; 4141esac 4142 4143test -z "$AS" && AS=as 4144 4145 4146 4147 4148 4149test -z "$DLLTOOL" && DLLTOOL=dlltool 4150 4151 4152 4153 4154 4155test -z "$OBJDUMP" && OBJDUMP=objdump 4156 4157 4158 4159 4160 4161 4162 4163 4164ac_ext=c 4165ac_cpp='$CPP $CPPFLAGS' 4166ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4167ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4168ac_compiler_gnu=$ac_cv_c_compiler_gnu 4169if test -n "$ac_tool_prefix"; then 4170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4171set dummy ${ac_tool_prefix}gcc; ac_word=$2 4172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4173$as_echo_n "checking for $ac_word... " >&6; } 4174if ${ac_cv_prog_CC+:} false; then : 4175 $as_echo_n "(cached) " >&6 4176else 4177 if test -n "$CC"; then 4178 ac_cv_prog_CC="$CC" # Let the user override the test. 4179else 4180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4181for as_dir in $PATH 4182do 4183 IFS=$as_save_IFS 4184 test -z "$as_dir" && as_dir=. 4185 for ac_exec_ext in '' $ac_executable_extensions; do 4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4187 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4189 break 2 4190 fi 4191done 4192 done 4193IFS=$as_save_IFS 4194 4195fi 4196fi 4197CC=$ac_cv_prog_CC 4198if test -n "$CC"; then 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4200$as_echo "$CC" >&6; } 4201else 4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4203$as_echo "no" >&6; } 4204fi 4205 4206 4207fi 4208if test -z "$ac_cv_prog_CC"; then 4209 ac_ct_CC=$CC 4210 # Extract the first word of "gcc", so it can be a program name with args. 4211set dummy gcc; ac_word=$2 4212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4213$as_echo_n "checking for $ac_word... " >&6; } 4214if ${ac_cv_prog_ac_ct_CC+:} false; then : 4215 $as_echo_n "(cached) " >&6 4216else 4217 if test -n "$ac_ct_CC"; then 4218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4219else 4220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4221for as_dir in $PATH 4222do 4223 IFS=$as_save_IFS 4224 test -z "$as_dir" && as_dir=. 4225 for ac_exec_ext in '' $ac_executable_extensions; do 4226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4227 ac_cv_prog_ac_ct_CC="gcc" 4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4229 break 2 4230 fi 4231done 4232 done 4233IFS=$as_save_IFS 4234 4235fi 4236fi 4237ac_ct_CC=$ac_cv_prog_ac_ct_CC 4238if test -n "$ac_ct_CC"; then 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4240$as_echo "$ac_ct_CC" >&6; } 4241else 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4243$as_echo "no" >&6; } 4244fi 4245 4246 if test "x$ac_ct_CC" = x; then 4247 CC="" 4248 else 4249 case $cross_compiling:$ac_tool_warned in 4250yes:) 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4252$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4253ac_tool_warned=yes ;; 4254esac 4255 CC=$ac_ct_CC 4256 fi 4257else 4258 CC="$ac_cv_prog_CC" 4259fi 4260 4261if test -z "$CC"; then 4262 if test -n "$ac_tool_prefix"; then 4263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4264set dummy ${ac_tool_prefix}cc; ac_word=$2 4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4266$as_echo_n "checking for $ac_word... " >&6; } 4267if ${ac_cv_prog_CC+:} false; then : 4268 $as_echo_n "(cached) " >&6 4269else 4270 if test -n "$CC"; then 4271 ac_cv_prog_CC="$CC" # Let the user override the test. 4272else 4273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4274for as_dir in $PATH 4275do 4276 IFS=$as_save_IFS 4277 test -z "$as_dir" && as_dir=. 4278 for ac_exec_ext in '' $ac_executable_extensions; do 4279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4280 ac_cv_prog_CC="${ac_tool_prefix}cc" 4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4282 break 2 4283 fi 4284done 4285 done 4286IFS=$as_save_IFS 4287 4288fi 4289fi 4290CC=$ac_cv_prog_CC 4291if test -n "$CC"; then 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4293$as_echo "$CC" >&6; } 4294else 4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4296$as_echo "no" >&6; } 4297fi 4298 4299 4300 fi 4301fi 4302if test -z "$CC"; then 4303 # Extract the first word of "cc", so it can be a program name with args. 4304set dummy cc; ac_word=$2 4305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4306$as_echo_n "checking for $ac_word... " >&6; } 4307if ${ac_cv_prog_CC+:} false; then : 4308 $as_echo_n "(cached) " >&6 4309else 4310 if test -n "$CC"; then 4311 ac_cv_prog_CC="$CC" # Let the user override the test. 4312else 4313 ac_prog_rejected=no 4314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4315for as_dir in $PATH 4316do 4317 IFS=$as_save_IFS 4318 test -z "$as_dir" && as_dir=. 4319 for ac_exec_ext in '' $ac_executable_extensions; do 4320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4321 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4322 ac_prog_rejected=yes 4323 continue 4324 fi 4325 ac_cv_prog_CC="cc" 4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4327 break 2 4328 fi 4329done 4330 done 4331IFS=$as_save_IFS 4332 4333if test $ac_prog_rejected = yes; then 4334 # We found a bogon in the path, so make sure we never use it. 4335 set dummy $ac_cv_prog_CC 4336 shift 4337 if test $# != 0; then 4338 # We chose a different compiler from the bogus one. 4339 # However, it has the same basename, so the bogon will be chosen 4340 # first if we set CC to just the basename; use the full file name. 4341 shift 4342 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4343 fi 4344fi 4345fi 4346fi 4347CC=$ac_cv_prog_CC 4348if test -n "$CC"; then 4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4350$as_echo "$CC" >&6; } 4351else 4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4353$as_echo "no" >&6; } 4354fi 4355 4356 4357fi 4358if test -z "$CC"; then 4359 if test -n "$ac_tool_prefix"; then 4360 for ac_prog in cl.exe 4361 do 4362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4363set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4365$as_echo_n "checking for $ac_word... " >&6; } 4366if ${ac_cv_prog_CC+:} false; then : 4367 $as_echo_n "(cached) " >&6 4368else 4369 if test -n "$CC"; then 4370 ac_cv_prog_CC="$CC" # Let the user override the test. 4371else 4372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4373for as_dir in $PATH 4374do 4375 IFS=$as_save_IFS 4376 test -z "$as_dir" && as_dir=. 4377 for ac_exec_ext in '' $ac_executable_extensions; do 4378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4379 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4381 break 2 4382 fi 4383done 4384 done 4385IFS=$as_save_IFS 4386 4387fi 4388fi 4389CC=$ac_cv_prog_CC 4390if test -n "$CC"; then 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4392$as_echo "$CC" >&6; } 4393else 4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4395$as_echo "no" >&6; } 4396fi 4397 4398 4399 test -n "$CC" && break 4400 done 4401fi 4402if test -z "$CC"; then 4403 ac_ct_CC=$CC 4404 for ac_prog in cl.exe 4405do 4406 # Extract the first word of "$ac_prog", so it can be a program name with args. 4407set dummy $ac_prog; ac_word=$2 4408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4409$as_echo_n "checking for $ac_word... " >&6; } 4410if ${ac_cv_prog_ac_ct_CC+:} false; then : 4411 $as_echo_n "(cached) " >&6 4412else 4413 if test -n "$ac_ct_CC"; then 4414 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4415else 4416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4417for as_dir in $PATH 4418do 4419 IFS=$as_save_IFS 4420 test -z "$as_dir" && as_dir=. 4421 for ac_exec_ext in '' $ac_executable_extensions; do 4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4423 ac_cv_prog_ac_ct_CC="$ac_prog" 4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4425 break 2 4426 fi 4427done 4428 done 4429IFS=$as_save_IFS 4430 4431fi 4432fi 4433ac_ct_CC=$ac_cv_prog_ac_ct_CC 4434if test -n "$ac_ct_CC"; then 4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4436$as_echo "$ac_ct_CC" >&6; } 4437else 4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4439$as_echo "no" >&6; } 4440fi 4441 4442 4443 test -n "$ac_ct_CC" && break 4444done 4445 4446 if test "x$ac_ct_CC" = x; then 4447 CC="" 4448 else 4449 case $cross_compiling:$ac_tool_warned in 4450yes:) 4451{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4452$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4453ac_tool_warned=yes ;; 4454esac 4455 CC=$ac_ct_CC 4456 fi 4457fi 4458 4459fi 4460 4461 4462test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4463$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4464as_fn_error $? "no acceptable C compiler found in \$PATH 4465See \`config.log' for more details" "$LINENO" 5; } 4466 4467# Provide some information about the compiler. 4468$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4469set X $ac_compile 4470ac_compiler=$2 4471for ac_option in --version -v -V -qversion; do 4472 { { ac_try="$ac_compiler $ac_option >&5" 4473case "(($ac_try" in 4474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4475 *) ac_try_echo=$ac_try;; 4476esac 4477eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4478$as_echo "$ac_try_echo"; } >&5 4479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4480 ac_status=$? 4481 if test -s conftest.err; then 4482 sed '10a\ 4483... rest of stderr output deleted ... 4484 10q' conftest.err >conftest.er1 4485 cat conftest.er1 >&5 4486 fi 4487 rm -f conftest.er1 conftest.err 4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4489 test $ac_status = 0; } 4490done 4491 4492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4493/* end confdefs.h. */ 4494 4495int 4496main () 4497{ 4498 4499 ; 4500 return 0; 4501} 4502_ACEOF 4503ac_clean_files_save=$ac_clean_files 4504ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4505# Try to create an executable without -o first, disregard a.out. 4506# It will help us diagnose broken compilers, and finding out an intuition 4507# of exeext. 4508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4509$as_echo_n "checking whether the C compiler works... " >&6; } 4510ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4511 4512# The possible output files: 4513ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4514 4515ac_rmfiles= 4516for ac_file in $ac_files 4517do 4518 case $ac_file in 4519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4520 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4521 esac 4522done 4523rm -f $ac_rmfiles 4524 4525if { { ac_try="$ac_link_default" 4526case "(($ac_try" in 4527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4528 *) ac_try_echo=$ac_try;; 4529esac 4530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4531$as_echo "$ac_try_echo"; } >&5 4532 (eval "$ac_link_default") 2>&5 4533 ac_status=$? 4534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4535 test $ac_status = 0; }; then : 4536 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4537# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4538# in a Makefile. We should not override ac_cv_exeext if it was cached, 4539# so that the user can short-circuit this test for compilers unknown to 4540# Autoconf. 4541for ac_file in $ac_files '' 4542do 4543 test -f "$ac_file" || continue 4544 case $ac_file in 4545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4546 ;; 4547 [ab].out ) 4548 # We found the default executable, but exeext='' is most 4549 # certainly right. 4550 break;; 4551 *.* ) 4552 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4553 then :; else 4554 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4555 fi 4556 # We set ac_cv_exeext here because the later test for it is not 4557 # safe: cross compilers may not add the suffix if given an `-o' 4558 # argument, so we may need to know it at that point already. 4559 # Even if this section looks crufty: it has the advantage of 4560 # actually working. 4561 break;; 4562 * ) 4563 break;; 4564 esac 4565done 4566test "$ac_cv_exeext" = no && ac_cv_exeext= 4567 4568else 4569 ac_file='' 4570fi 4571if test -z "$ac_file"; then : 4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4573$as_echo "no" >&6; } 4574$as_echo "$as_me: failed program was:" >&5 4575sed 's/^/| /' conftest.$ac_ext >&5 4576 4577{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4578$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4579as_fn_error 77 "C compiler cannot create executables 4580See \`config.log' for more details" "$LINENO" 5; } 4581else 4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4583$as_echo "yes" >&6; } 4584fi 4585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4586$as_echo_n "checking for C compiler default output file name... " >&6; } 4587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4588$as_echo "$ac_file" >&6; } 4589ac_exeext=$ac_cv_exeext 4590 4591rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4592ac_clean_files=$ac_clean_files_save 4593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4594$as_echo_n "checking for suffix of executables... " >&6; } 4595if { { ac_try="$ac_link" 4596case "(($ac_try" in 4597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4598 *) ac_try_echo=$ac_try;; 4599esac 4600eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4601$as_echo "$ac_try_echo"; } >&5 4602 (eval "$ac_link") 2>&5 4603 ac_status=$? 4604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4605 test $ac_status = 0; }; then : 4606 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4607# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4608# work properly (i.e., refer to `conftest.exe'), while it won't with 4609# `rm'. 4610for ac_file in conftest.exe conftest conftest.*; do 4611 test -f "$ac_file" || continue 4612 case $ac_file in 4613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4614 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4615 break;; 4616 * ) break;; 4617 esac 4618done 4619else 4620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4621$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4622as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4623See \`config.log' for more details" "$LINENO" 5; } 4624fi 4625rm -f conftest conftest$ac_cv_exeext 4626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4627$as_echo "$ac_cv_exeext" >&6; } 4628 4629rm -f conftest.$ac_ext 4630EXEEXT=$ac_cv_exeext 4631ac_exeext=$EXEEXT 4632cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4633/* end confdefs.h. */ 4634#include <stdio.h> 4635int 4636main () 4637{ 4638FILE *f = fopen ("conftest.out", "w"); 4639 return ferror (f) || fclose (f) != 0; 4640 4641 ; 4642 return 0; 4643} 4644_ACEOF 4645ac_clean_files="$ac_clean_files conftest.out" 4646# Check that the compiler produces executables we can run. If not, either 4647# the compiler is broken, or we cross compile. 4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4649$as_echo_n "checking whether we are cross compiling... " >&6; } 4650if test "$cross_compiling" != yes; then 4651 { { ac_try="$ac_link" 4652case "(($ac_try" in 4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4654 *) ac_try_echo=$ac_try;; 4655esac 4656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4657$as_echo "$ac_try_echo"; } >&5 4658 (eval "$ac_link") 2>&5 4659 ac_status=$? 4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4661 test $ac_status = 0; } 4662 if { ac_try='./conftest$ac_cv_exeext' 4663 { { case "(($ac_try" in 4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4665 *) ac_try_echo=$ac_try;; 4666esac 4667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4668$as_echo "$ac_try_echo"; } >&5 4669 (eval "$ac_try") 2>&5 4670 ac_status=$? 4671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4672 test $ac_status = 0; }; }; then 4673 cross_compiling=no 4674 else 4675 if test "$cross_compiling" = maybe; then 4676 cross_compiling=yes 4677 else 4678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4680as_fn_error $? "cannot run C compiled programs. 4681If you meant to cross compile, use \`--host'. 4682See \`config.log' for more details" "$LINENO" 5; } 4683 fi 4684 fi 4685fi 4686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4687$as_echo "$cross_compiling" >&6; } 4688 4689rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4690ac_clean_files=$ac_clean_files_save 4691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4692$as_echo_n "checking for suffix of object files... " >&6; } 4693if ${ac_cv_objext+:} false; then : 4694 $as_echo_n "(cached) " >&6 4695else 4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4697/* end confdefs.h. */ 4698 4699int 4700main () 4701{ 4702 4703 ; 4704 return 0; 4705} 4706_ACEOF 4707rm -f conftest.o conftest.obj 4708if { { ac_try="$ac_compile" 4709case "(($ac_try" in 4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4711 *) ac_try_echo=$ac_try;; 4712esac 4713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4714$as_echo "$ac_try_echo"; } >&5 4715 (eval "$ac_compile") 2>&5 4716 ac_status=$? 4717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4718 test $ac_status = 0; }; then : 4719 for ac_file in conftest.o conftest.obj conftest.*; do 4720 test -f "$ac_file" || continue; 4721 case $ac_file in 4722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4724 break;; 4725 esac 4726done 4727else 4728 $as_echo "$as_me: failed program was:" >&5 4729sed 's/^/| /' conftest.$ac_ext >&5 4730 4731{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4733as_fn_error $? "cannot compute suffix of object files: cannot compile 4734See \`config.log' for more details" "$LINENO" 5; } 4735fi 4736rm -f conftest.$ac_cv_objext conftest.$ac_ext 4737fi 4738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4739$as_echo "$ac_cv_objext" >&6; } 4740OBJEXT=$ac_cv_objext 4741ac_objext=$OBJEXT 4742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4743$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4744if ${ac_cv_c_compiler_gnu+:} false; then : 4745 $as_echo_n "(cached) " >&6 4746else 4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4748/* end confdefs.h. */ 4749 4750int 4751main () 4752{ 4753#ifndef __GNUC__ 4754 choke me 4755#endif 4756 4757 ; 4758 return 0; 4759} 4760_ACEOF 4761if ac_fn_c_try_compile "$LINENO"; then : 4762 ac_compiler_gnu=yes 4763else 4764 ac_compiler_gnu=no 4765fi 4766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4767ac_cv_c_compiler_gnu=$ac_compiler_gnu 4768 4769fi 4770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4771$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4772if test $ac_compiler_gnu = yes; then 4773 GCC=yes 4774else 4775 GCC= 4776fi 4777ac_test_CFLAGS=${CFLAGS+set} 4778ac_save_CFLAGS=$CFLAGS 4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4780$as_echo_n "checking whether $CC accepts -g... " >&6; } 4781if ${ac_cv_prog_cc_g+:} false; then : 4782 $as_echo_n "(cached) " >&6 4783else 4784 ac_save_c_werror_flag=$ac_c_werror_flag 4785 ac_c_werror_flag=yes 4786 ac_cv_prog_cc_g=no 4787 CFLAGS="-g" 4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4789/* end confdefs.h. */ 4790 4791int 4792main () 4793{ 4794 4795 ; 4796 return 0; 4797} 4798_ACEOF 4799if ac_fn_c_try_compile "$LINENO"; then : 4800 ac_cv_prog_cc_g=yes 4801else 4802 CFLAGS="" 4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4804/* end confdefs.h. */ 4805 4806int 4807main () 4808{ 4809 4810 ; 4811 return 0; 4812} 4813_ACEOF 4814if ac_fn_c_try_compile "$LINENO"; then : 4815 4816else 4817 ac_c_werror_flag=$ac_save_c_werror_flag 4818 CFLAGS="-g" 4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4820/* end confdefs.h. */ 4821 4822int 4823main () 4824{ 4825 4826 ; 4827 return 0; 4828} 4829_ACEOF 4830if ac_fn_c_try_compile "$LINENO"; then : 4831 ac_cv_prog_cc_g=yes 4832fi 4833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4834fi 4835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4836fi 4837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4838 ac_c_werror_flag=$ac_save_c_werror_flag 4839fi 4840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4841$as_echo "$ac_cv_prog_cc_g" >&6; } 4842if test "$ac_test_CFLAGS" = set; then 4843 CFLAGS=$ac_save_CFLAGS 4844elif test $ac_cv_prog_cc_g = yes; then 4845 if test "$GCC" = yes; then 4846 CFLAGS="-g -O2" 4847 else 4848 CFLAGS="-g" 4849 fi 4850else 4851 if test "$GCC" = yes; then 4852 CFLAGS="-O2" 4853 else 4854 CFLAGS= 4855 fi 4856fi 4857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4858$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4859if ${ac_cv_prog_cc_c89+:} false; then : 4860 $as_echo_n "(cached) " >&6 4861else 4862 ac_cv_prog_cc_c89=no 4863ac_save_CC=$CC 4864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4865/* end confdefs.h. */ 4866#include <stdarg.h> 4867#include <stdio.h> 4868struct stat; 4869/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4870struct buf { int x; }; 4871FILE * (*rcsopen) (struct buf *, struct stat *, int); 4872static char *e (p, i) 4873 char **p; 4874 int i; 4875{ 4876 return p[i]; 4877} 4878static char *f (char * (*g) (char **, int), char **p, ...) 4879{ 4880 char *s; 4881 va_list v; 4882 va_start (v,p); 4883 s = g (p, va_arg (v,int)); 4884 va_end (v); 4885 return s; 4886} 4887 4888/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4889 function prototypes and stuff, but not '\xHH' hex character constants. 4890 These don't provoke an error unfortunately, instead are silently treated 4891 as 'x'. The following induces an error, until -std is added to get 4892 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4893 array size at least. It's necessary to write '\x00'==0 to get something 4894 that's true only with -std. */ 4895int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4896 4897/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4898 inside strings and character constants. */ 4899#define FOO(x) 'x' 4900int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4901 4902int test (int i, double x); 4903struct s1 {int (*f) (int a);}; 4904struct s2 {int (*f) (double a);}; 4905int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4906int argc; 4907char **argv; 4908int 4909main () 4910{ 4911return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4912 ; 4913 return 0; 4914} 4915_ACEOF 4916for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4917 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4918do 4919 CC="$ac_save_CC $ac_arg" 4920 if ac_fn_c_try_compile "$LINENO"; then : 4921 ac_cv_prog_cc_c89=$ac_arg 4922fi 4923rm -f core conftest.err conftest.$ac_objext 4924 test "x$ac_cv_prog_cc_c89" != "xno" && break 4925done 4926rm -f conftest.$ac_ext 4927CC=$ac_save_CC 4928 4929fi 4930# AC_CACHE_VAL 4931case "x$ac_cv_prog_cc_c89" in 4932 x) 4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4934$as_echo "none needed" >&6; } ;; 4935 xno) 4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4937$as_echo "unsupported" >&6; } ;; 4938 *) 4939 CC="$CC $ac_cv_prog_cc_c89" 4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4941$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4942esac 4943if test "x$ac_cv_prog_cc_c89" != xno; then : 4944 4945fi 4946 4947ac_ext=c 4948ac_cpp='$CPP $CPPFLAGS' 4949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4951ac_compiler_gnu=$ac_cv_c_compiler_gnu 4952 4953ac_ext=c 4954ac_cpp='$CPP $CPPFLAGS' 4955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4957ac_compiler_gnu=$ac_cv_c_compiler_gnu 4958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4959$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4960if ${am_cv_prog_cc_c_o+:} false; then : 4961 $as_echo_n "(cached) " >&6 4962else 4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4964/* end confdefs.h. */ 4965 4966int 4967main () 4968{ 4969 4970 ; 4971 return 0; 4972} 4973_ACEOF 4974 # Make sure it works both with $CC and with simple cc. 4975 # Following AC_PROG_CC_C_O, we do the test twice because some 4976 # compilers refuse to overwrite an existing .o file with -o, 4977 # though they will create one. 4978 am_cv_prog_cc_c_o=yes 4979 for am_i in 1 2; do 4980 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4981 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4982 ac_status=$? 4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4984 (exit $ac_status); } \ 4985 && test -f conftest2.$ac_objext; then 4986 : OK 4987 else 4988 am_cv_prog_cc_c_o=no 4989 break 4990 fi 4991 done 4992 rm -f core conftest* 4993 unset am_i 4994fi 4995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4996$as_echo "$am_cv_prog_cc_c_o" >&6; } 4997if test "$am_cv_prog_cc_c_o" != yes; then 4998 # Losing compiler, so override with the script. 4999 # FIXME: It is wrong to rewrite CC. 5000 # But if we don't then we get into trouble of one sort or another. 5001 # A longer-term fix would be to have automake use am__CC in this case, 5002 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5003 CC="$am_aux_dir/compile $CC" 5004fi 5005ac_ext=c 5006ac_cpp='$CPP $CPPFLAGS' 5007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5009ac_compiler_gnu=$ac_cv_c_compiler_gnu 5010 5011DEPDIR="${am__leading_dot}deps" 5012 5013ac_config_commands="$ac_config_commands depfiles" 5014 5015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5016$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5017cat > confinc.mk << 'END' 5018am__doit: 5019 @echo this is the am__doit target >confinc.out 5020.PHONY: am__doit 5021END 5022am__include="#" 5023am__quote= 5024# BSD make does it like this. 5025echo '.include "confinc.mk" # ignored' > confmf.BSD 5026# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5027echo 'include confinc.mk # ignored' > confmf.GNU 5028_am_result=no 5029for s in GNU BSD; do 5030 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5031 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5032 ac_status=$? 5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5034 (exit $ac_status); } 5035 case $?:`cat confinc.out 2>/dev/null` in #( 5036 '0:this is the am__doit target') : 5037 case $s in #( 5038 BSD) : 5039 am__include='.include' am__quote='"' ;; #( 5040 *) : 5041 am__include='include' am__quote='' ;; 5042esac ;; #( 5043 *) : 5044 ;; 5045esac 5046 if test "$am__include" != "#"; then 5047 _am_result="yes ($s style)" 5048 break 5049 fi 5050done 5051rm -f confinc.* confmf.* 5052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5053$as_echo "${_am_result}" >&6; } 5054 5055# Check whether --enable-dependency-tracking was given. 5056if test "${enable_dependency_tracking+set}" = set; then : 5057 enableval=$enable_dependency_tracking; 5058fi 5059 5060if test "x$enable_dependency_tracking" != xno; then 5061 am_depcomp="$ac_aux_dir/depcomp" 5062 AMDEPBACKSLASH='\' 5063 am__nodep='_no' 5064fi 5065 if test "x$enable_dependency_tracking" != xno; then 5066 AMDEP_TRUE= 5067 AMDEP_FALSE='#' 5068else 5069 AMDEP_TRUE='#' 5070 AMDEP_FALSE= 5071fi 5072 5073 5074 5075depcc="$CC" am_compiler_list= 5076 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5078$as_echo_n "checking dependency style of $depcc... " >&6; } 5079if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5080 $as_echo_n "(cached) " >&6 5081else 5082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5083 # We make a subdir and do the tests there. Otherwise we can end up 5084 # making bogus files that we don't know about and never remove. For 5085 # instance it was reported that on HP-UX the gcc test will end up 5086 # making a dummy file named 'D' -- because '-MD' means "put the output 5087 # in D". 5088 rm -rf conftest.dir 5089 mkdir conftest.dir 5090 # Copy depcomp to subdir because otherwise we won't find it if we're 5091 # using a relative directory. 5092 cp "$am_depcomp" conftest.dir 5093 cd conftest.dir 5094 # We will build objects and dependencies in a subdirectory because 5095 # it helps to detect inapplicable dependency modes. For instance 5096 # both Tru64's cc and ICC support -MD to output dependencies as a 5097 # side effect of compilation, but ICC will put the dependencies in 5098 # the current directory while Tru64 will put them in the object 5099 # directory. 5100 mkdir sub 5101 5102 am_cv_CC_dependencies_compiler_type=none 5103 if test "$am_compiler_list" = ""; then 5104 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5105 fi 5106 am__universal=false 5107 case " $depcc " in #( 5108 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5109 esac 5110 5111 for depmode in $am_compiler_list; do 5112 # Setup a source with many dependencies, because some compilers 5113 # like to wrap large dependency lists on column 80 (with \), and 5114 # we should not choose a depcomp mode which is confused by this. 5115 # 5116 # We need to recreate these files for each test, as the compiler may 5117 # overwrite some of them when testing with obscure command lines. 5118 # This happens at least with the AIX C compiler. 5119 : > sub/conftest.c 5120 for i in 1 2 3 4 5 6; do 5121 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5122 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5123 # Solaris 10 /bin/sh. 5124 echo '/* dummy */' > sub/conftst$i.h 5125 done 5126 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5127 5128 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5129 # mode. It turns out that the SunPro C++ compiler does not properly 5130 # handle '-M -o', and we need to detect this. Also, some Intel 5131 # versions had trouble with output in subdirs. 5132 am__obj=sub/conftest.${OBJEXT-o} 5133 am__minus_obj="-o $am__obj" 5134 case $depmode in 5135 gcc) 5136 # This depmode causes a compiler race in universal mode. 5137 test "$am__universal" = false || continue 5138 ;; 5139 nosideeffect) 5140 # After this tag, mechanisms are not by side-effect, so they'll 5141 # only be used when explicitly requested. 5142 if test "x$enable_dependency_tracking" = xyes; then 5143 continue 5144 else 5145 break 5146 fi 5147 ;; 5148 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5149 # This compiler won't grok '-c -o', but also, the minuso test has 5150 # not run yet. These depmodes are late enough in the game, and 5151 # so weak that their functioning should not be impacted. 5152 am__obj=conftest.${OBJEXT-o} 5153 am__minus_obj= 5154 ;; 5155 none) break ;; 5156 esac 5157 if depmode=$depmode \ 5158 source=sub/conftest.c object=$am__obj \ 5159 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5160 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5161 >/dev/null 2>conftest.err && 5162 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5163 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5164 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5165 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5166 # icc doesn't choke on unknown options, it will just issue warnings 5167 # or remarks (even with -Werror). So we grep stderr for any message 5168 # that says an option was ignored or not supported. 5169 # When given -MP, icc 7.0 and 7.1 complain thusly: 5170 # icc: Command line warning: ignoring option '-M'; no argument required 5171 # The diagnosis changed in icc 8.0: 5172 # icc: Command line remark: option '-MP' not supported 5173 if (grep 'ignoring option' conftest.err || 5174 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5175 am_cv_CC_dependencies_compiler_type=$depmode 5176 break 5177 fi 5178 fi 5179 done 5180 5181 cd .. 5182 rm -rf conftest.dir 5183else 5184 am_cv_CC_dependencies_compiler_type=none 5185fi 5186 5187fi 5188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5189$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5190CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5191 5192 if 5193 test "x$enable_dependency_tracking" != xno \ 5194 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5195 am__fastdepCC_TRUE= 5196 am__fastdepCC_FALSE='#' 5197else 5198 am__fastdepCC_TRUE='#' 5199 am__fastdepCC_FALSE= 5200fi 5201 5202 5203 5204ac_ext=c 5205ac_cpp='$CPP $CPPFLAGS' 5206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5208ac_compiler_gnu=$ac_cv_c_compiler_gnu 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5210$as_echo_n "checking how to run the C preprocessor... " >&6; } 5211# On Suns, sometimes $CPP names a directory. 5212if test -n "$CPP" && test -d "$CPP"; then 5213 CPP= 5214fi 5215if test -z "$CPP"; then 5216 if ${ac_cv_prog_CPP+:} false; then : 5217 $as_echo_n "(cached) " >&6 5218else 5219 # Double quotes because CPP needs to be expanded 5220 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5221 do 5222 ac_preproc_ok=false 5223for ac_c_preproc_warn_flag in '' yes 5224do 5225 # Use a header file that comes with gcc, so configuring glibc 5226 # with a fresh cross-compiler works. 5227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5228 # <limits.h> exists even on freestanding compilers. 5229 # On the NeXT, cc -E runs the code through the compiler's parser, 5230 # not just through cpp. "Syntax error" is here to catch this case. 5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5232/* end confdefs.h. */ 5233#ifdef __STDC__ 5234# include <limits.h> 5235#else 5236# include <assert.h> 5237#endif 5238 Syntax error 5239_ACEOF 5240if ac_fn_c_try_cpp "$LINENO"; then : 5241 5242else 5243 # Broken: fails on valid input. 5244continue 5245fi 5246rm -f conftest.err conftest.i conftest.$ac_ext 5247 5248 # OK, works on sane cases. Now check whether nonexistent headers 5249 # can be detected and how. 5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5251/* end confdefs.h. */ 5252#include <ac_nonexistent.h> 5253_ACEOF 5254if ac_fn_c_try_cpp "$LINENO"; then : 5255 # Broken: success on invalid input. 5256continue 5257else 5258 # Passes both tests. 5259ac_preproc_ok=: 5260break 5261fi 5262rm -f conftest.err conftest.i conftest.$ac_ext 5263 5264done 5265# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5266rm -f conftest.i conftest.err conftest.$ac_ext 5267if $ac_preproc_ok; then : 5268 break 5269fi 5270 5271 done 5272 ac_cv_prog_CPP=$CPP 5273 5274fi 5275 CPP=$ac_cv_prog_CPP 5276else 5277 ac_cv_prog_CPP=$CPP 5278fi 5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5280$as_echo "$CPP" >&6; } 5281ac_preproc_ok=false 5282for ac_c_preproc_warn_flag in '' yes 5283do 5284 # Use a header file that comes with gcc, so configuring glibc 5285 # with a fresh cross-compiler works. 5286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5287 # <limits.h> exists even on freestanding compilers. 5288 # On the NeXT, cc -E runs the code through the compiler's parser, 5289 # not just through cpp. "Syntax error" is here to catch this case. 5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5291/* end confdefs.h. */ 5292#ifdef __STDC__ 5293# include <limits.h> 5294#else 5295# include <assert.h> 5296#endif 5297 Syntax error 5298_ACEOF 5299if ac_fn_c_try_cpp "$LINENO"; then : 5300 5301else 5302 # Broken: fails on valid input. 5303continue 5304fi 5305rm -f conftest.err conftest.i conftest.$ac_ext 5306 5307 # OK, works on sane cases. Now check whether nonexistent headers 5308 # can be detected and how. 5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5310/* end confdefs.h. */ 5311#include <ac_nonexistent.h> 5312_ACEOF 5313if ac_fn_c_try_cpp "$LINENO"; then : 5314 # Broken: success on invalid input. 5315continue 5316else 5317 # Passes both tests. 5318ac_preproc_ok=: 5319break 5320fi 5321rm -f conftest.err conftest.i conftest.$ac_ext 5322 5323done 5324# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5325rm -f conftest.i conftest.err conftest.$ac_ext 5326if $ac_preproc_ok; then : 5327 5328else 5329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5330$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5331as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5332See \`config.log' for more details" "$LINENO" 5; } 5333fi 5334 5335ac_ext=c 5336ac_cpp='$CPP $CPPFLAGS' 5337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5339ac_compiler_gnu=$ac_cv_c_compiler_gnu 5340 5341 5342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5343$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5344if ${ac_cv_path_GREP+:} false; then : 5345 $as_echo_n "(cached) " >&6 5346else 5347 if test -z "$GREP"; then 5348 ac_path_GREP_found=false 5349 # Loop through the user's path and test for each of PROGNAME-LIST 5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5351for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5352do 5353 IFS=$as_save_IFS 5354 test -z "$as_dir" && as_dir=. 5355 for ac_prog in grep ggrep; do 5356 for ac_exec_ext in '' $ac_executable_extensions; do 5357 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5358 as_fn_executable_p "$ac_path_GREP" || continue 5359# Check for GNU ac_path_GREP and select it if it is found. 5360 # Check for GNU $ac_path_GREP 5361case `"$ac_path_GREP" --version 2>&1` in 5362*GNU*) 5363 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5364*) 5365 ac_count=0 5366 $as_echo_n 0123456789 >"conftest.in" 5367 while : 5368 do 5369 cat "conftest.in" "conftest.in" >"conftest.tmp" 5370 mv "conftest.tmp" "conftest.in" 5371 cp "conftest.in" "conftest.nl" 5372 $as_echo 'GREP' >> "conftest.nl" 5373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5375 as_fn_arith $ac_count + 1 && ac_count=$as_val 5376 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5377 # Best one so far, save it but keep looking for a better one 5378 ac_cv_path_GREP="$ac_path_GREP" 5379 ac_path_GREP_max=$ac_count 5380 fi 5381 # 10*(2^10) chars as input seems more than enough 5382 test $ac_count -gt 10 && break 5383 done 5384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5385esac 5386 5387 $ac_path_GREP_found && break 3 5388 done 5389 done 5390 done 5391IFS=$as_save_IFS 5392 if test -z "$ac_cv_path_GREP"; then 5393 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5394 fi 5395else 5396 ac_cv_path_GREP=$GREP 5397fi 5398 5399fi 5400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5401$as_echo "$ac_cv_path_GREP" >&6; } 5402 GREP="$ac_cv_path_GREP" 5403 5404 5405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5406$as_echo_n "checking for egrep... " >&6; } 5407if ${ac_cv_path_EGREP+:} false; then : 5408 $as_echo_n "(cached) " >&6 5409else 5410 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5411 then ac_cv_path_EGREP="$GREP -E" 5412 else 5413 if test -z "$EGREP"; then 5414 ac_path_EGREP_found=false 5415 # Loop through the user's path and test for each of PROGNAME-LIST 5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5417for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5418do 5419 IFS=$as_save_IFS 5420 test -z "$as_dir" && as_dir=. 5421 for ac_prog in egrep; do 5422 for ac_exec_ext in '' $ac_executable_extensions; do 5423 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5424 as_fn_executable_p "$ac_path_EGREP" || continue 5425# Check for GNU ac_path_EGREP and select it if it is found. 5426 # Check for GNU $ac_path_EGREP 5427case `"$ac_path_EGREP" --version 2>&1` in 5428*GNU*) 5429 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5430*) 5431 ac_count=0 5432 $as_echo_n 0123456789 >"conftest.in" 5433 while : 5434 do 5435 cat "conftest.in" "conftest.in" >"conftest.tmp" 5436 mv "conftest.tmp" "conftest.in" 5437 cp "conftest.in" "conftest.nl" 5438 $as_echo 'EGREP' >> "conftest.nl" 5439 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5440 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5441 as_fn_arith $ac_count + 1 && ac_count=$as_val 5442 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5443 # Best one so far, save it but keep looking for a better one 5444 ac_cv_path_EGREP="$ac_path_EGREP" 5445 ac_path_EGREP_max=$ac_count 5446 fi 5447 # 10*(2^10) chars as input seems more than enough 5448 test $ac_count -gt 10 && break 5449 done 5450 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5451esac 5452 5453 $ac_path_EGREP_found && break 3 5454 done 5455 done 5456 done 5457IFS=$as_save_IFS 5458 if test -z "$ac_cv_path_EGREP"; then 5459 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5460 fi 5461else 5462 ac_cv_path_EGREP=$EGREP 5463fi 5464 5465 fi 5466fi 5467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5468$as_echo "$ac_cv_path_EGREP" >&6; } 5469 EGREP="$ac_cv_path_EGREP" 5470 5471 5472if test $ac_cv_c_compiler_gnu = yes; then 5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5474$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5475if ${ac_cv_prog_gcc_traditional+:} false; then : 5476 $as_echo_n "(cached) " >&6 5477else 5478 ac_pattern="Autoconf.*'x'" 5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5480/* end confdefs.h. */ 5481#include <sgtty.h> 5482Autoconf TIOCGETP 5483_ACEOF 5484if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5485 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5486 ac_cv_prog_gcc_traditional=yes 5487else 5488 ac_cv_prog_gcc_traditional=no 5489fi 5490rm -f conftest* 5491 5492 5493 if test $ac_cv_prog_gcc_traditional = no; then 5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5495/* end confdefs.h. */ 5496#include <termio.h> 5497Autoconf TCGETA 5498_ACEOF 5499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5500 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5501 ac_cv_prog_gcc_traditional=yes 5502fi 5503rm -f conftest* 5504 5505 fi 5506fi 5507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5508$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5509 if test $ac_cv_prog_gcc_traditional = yes; then 5510 CC="$CC -traditional" 5511 fi 5512fi 5513 5514ac_ext=cpp 5515ac_cpp='$CXXCPP $CPPFLAGS' 5516ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5517ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5518ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5519if test -z "$CXX"; then 5520 if test -n "$CCC"; then 5521 CXX=$CCC 5522 else 5523 if test -n "$ac_tool_prefix"; then 5524 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5525 do 5526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5527set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5529$as_echo_n "checking for $ac_word... " >&6; } 5530if ${ac_cv_prog_CXX+:} false; then : 5531 $as_echo_n "(cached) " >&6 5532else 5533 if test -n "$CXX"; then 5534 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5535else 5536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5537for as_dir in $PATH 5538do 5539 IFS=$as_save_IFS 5540 test -z "$as_dir" && as_dir=. 5541 for ac_exec_ext in '' $ac_executable_extensions; do 5542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5543 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5545 break 2 5546 fi 5547done 5548 done 5549IFS=$as_save_IFS 5550 5551fi 5552fi 5553CXX=$ac_cv_prog_CXX 5554if test -n "$CXX"; then 5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5556$as_echo "$CXX" >&6; } 5557else 5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5559$as_echo "no" >&6; } 5560fi 5561 5562 5563 test -n "$CXX" && break 5564 done 5565fi 5566if test -z "$CXX"; then 5567 ac_ct_CXX=$CXX 5568 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5569do 5570 # Extract the first word of "$ac_prog", so it can be a program name with args. 5571set dummy $ac_prog; ac_word=$2 5572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5573$as_echo_n "checking for $ac_word... " >&6; } 5574if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5575 $as_echo_n "(cached) " >&6 5576else 5577 if test -n "$ac_ct_CXX"; then 5578 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5579else 5580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5581for as_dir in $PATH 5582do 5583 IFS=$as_save_IFS 5584 test -z "$as_dir" && as_dir=. 5585 for ac_exec_ext in '' $ac_executable_extensions; do 5586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5587 ac_cv_prog_ac_ct_CXX="$ac_prog" 5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5589 break 2 5590 fi 5591done 5592 done 5593IFS=$as_save_IFS 5594 5595fi 5596fi 5597ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5598if test -n "$ac_ct_CXX"; then 5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5600$as_echo "$ac_ct_CXX" >&6; } 5601else 5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5603$as_echo "no" >&6; } 5604fi 5605 5606 5607 test -n "$ac_ct_CXX" && break 5608done 5609 5610 if test "x$ac_ct_CXX" = x; then 5611 CXX="g++" 5612 else 5613 case $cross_compiling:$ac_tool_warned in 5614yes:) 5615{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5616$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5617ac_tool_warned=yes ;; 5618esac 5619 CXX=$ac_ct_CXX 5620 fi 5621fi 5622 5623 fi 5624fi 5625# Provide some information about the compiler. 5626$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5627set X $ac_compile 5628ac_compiler=$2 5629for ac_option in --version -v -V -qversion; do 5630 { { ac_try="$ac_compiler $ac_option >&5" 5631case "(($ac_try" in 5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5633 *) ac_try_echo=$ac_try;; 5634esac 5635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5636$as_echo "$ac_try_echo"; } >&5 5637 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5638 ac_status=$? 5639 if test -s conftest.err; then 5640 sed '10a\ 5641... rest of stderr output deleted ... 5642 10q' conftest.err >conftest.er1 5643 cat conftest.er1 >&5 5644 fi 5645 rm -f conftest.er1 conftest.err 5646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5647 test $ac_status = 0; } 5648done 5649 5650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5651$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5652if ${ac_cv_cxx_compiler_gnu+:} false; then : 5653 $as_echo_n "(cached) " >&6 5654else 5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5656/* end confdefs.h. */ 5657 5658int 5659main () 5660{ 5661#ifndef __GNUC__ 5662 choke me 5663#endif 5664 5665 ; 5666 return 0; 5667} 5668_ACEOF 5669if ac_fn_cxx_try_compile "$LINENO"; then : 5670 ac_compiler_gnu=yes 5671else 5672 ac_compiler_gnu=no 5673fi 5674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5675ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5676 5677fi 5678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5679$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5680if test $ac_compiler_gnu = yes; then 5681 GXX=yes 5682else 5683 GXX= 5684fi 5685ac_test_CXXFLAGS=${CXXFLAGS+set} 5686ac_save_CXXFLAGS=$CXXFLAGS 5687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5688$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5689if ${ac_cv_prog_cxx_g+:} false; then : 5690 $as_echo_n "(cached) " >&6 5691else 5692 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5693 ac_cxx_werror_flag=yes 5694 ac_cv_prog_cxx_g=no 5695 CXXFLAGS="-g" 5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5697/* end confdefs.h. */ 5698 5699int 5700main () 5701{ 5702 5703 ; 5704 return 0; 5705} 5706_ACEOF 5707if ac_fn_cxx_try_compile "$LINENO"; then : 5708 ac_cv_prog_cxx_g=yes 5709else 5710 CXXFLAGS="" 5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5712/* end confdefs.h. */ 5713 5714int 5715main () 5716{ 5717 5718 ; 5719 return 0; 5720} 5721_ACEOF 5722if ac_fn_cxx_try_compile "$LINENO"; then : 5723 5724else 5725 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5726 CXXFLAGS="-g" 5727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5728/* end confdefs.h. */ 5729 5730int 5731main () 5732{ 5733 5734 ; 5735 return 0; 5736} 5737_ACEOF 5738if ac_fn_cxx_try_compile "$LINENO"; then : 5739 ac_cv_prog_cxx_g=yes 5740fi 5741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5742fi 5743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5744fi 5745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5746 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5747fi 5748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5749$as_echo "$ac_cv_prog_cxx_g" >&6; } 5750if test "$ac_test_CXXFLAGS" = set; then 5751 CXXFLAGS=$ac_save_CXXFLAGS 5752elif test $ac_cv_prog_cxx_g = yes; then 5753 if test "$GXX" = yes; then 5754 CXXFLAGS="-g -O2" 5755 else 5756 CXXFLAGS="-g" 5757 fi 5758else 5759 if test "$GXX" = yes; then 5760 CXXFLAGS="-O2" 5761 else 5762 CXXFLAGS= 5763 fi 5764fi 5765ac_ext=c 5766ac_cpp='$CPP $CPPFLAGS' 5767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5769ac_compiler_gnu=$ac_cv_c_compiler_gnu 5770 5771depcc="$CXX" am_compiler_list= 5772 5773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5774$as_echo_n "checking dependency style of $depcc... " >&6; } 5775if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5776 $as_echo_n "(cached) " >&6 5777else 5778 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5779 # We make a subdir and do the tests there. Otherwise we can end up 5780 # making bogus files that we don't know about and never remove. For 5781 # instance it was reported that on HP-UX the gcc test will end up 5782 # making a dummy file named 'D' -- because '-MD' means "put the output 5783 # in D". 5784 rm -rf conftest.dir 5785 mkdir conftest.dir 5786 # Copy depcomp to subdir because otherwise we won't find it if we're 5787 # using a relative directory. 5788 cp "$am_depcomp" conftest.dir 5789 cd conftest.dir 5790 # We will build objects and dependencies in a subdirectory because 5791 # it helps to detect inapplicable dependency modes. For instance 5792 # both Tru64's cc and ICC support -MD to output dependencies as a 5793 # side effect of compilation, but ICC will put the dependencies in 5794 # the current directory while Tru64 will put them in the object 5795 # directory. 5796 mkdir sub 5797 5798 am_cv_CXX_dependencies_compiler_type=none 5799 if test "$am_compiler_list" = ""; then 5800 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5801 fi 5802 am__universal=false 5803 case " $depcc " in #( 5804 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5805 esac 5806 5807 for depmode in $am_compiler_list; do 5808 # Setup a source with many dependencies, because some compilers 5809 # like to wrap large dependency lists on column 80 (with \), and 5810 # we should not choose a depcomp mode which is confused by this. 5811 # 5812 # We need to recreate these files for each test, as the compiler may 5813 # overwrite some of them when testing with obscure command lines. 5814 # This happens at least with the AIX C compiler. 5815 : > sub/conftest.c 5816 for i in 1 2 3 4 5 6; do 5817 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5818 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5819 # Solaris 10 /bin/sh. 5820 echo '/* dummy */' > sub/conftst$i.h 5821 done 5822 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5823 5824 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5825 # mode. It turns out that the SunPro C++ compiler does not properly 5826 # handle '-M -o', and we need to detect this. Also, some Intel 5827 # versions had trouble with output in subdirs. 5828 am__obj=sub/conftest.${OBJEXT-o} 5829 am__minus_obj="-o $am__obj" 5830 case $depmode in 5831 gcc) 5832 # This depmode causes a compiler race in universal mode. 5833 test "$am__universal" = false || continue 5834 ;; 5835 nosideeffect) 5836 # After this tag, mechanisms are not by side-effect, so they'll 5837 # only be used when explicitly requested. 5838 if test "x$enable_dependency_tracking" = xyes; then 5839 continue 5840 else 5841 break 5842 fi 5843 ;; 5844 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5845 # This compiler won't grok '-c -o', but also, the minuso test has 5846 # not run yet. These depmodes are late enough in the game, and 5847 # so weak that their functioning should not be impacted. 5848 am__obj=conftest.${OBJEXT-o} 5849 am__minus_obj= 5850 ;; 5851 none) break ;; 5852 esac 5853 if depmode=$depmode \ 5854 source=sub/conftest.c object=$am__obj \ 5855 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5856 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5857 >/dev/null 2>conftest.err && 5858 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5859 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5860 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5861 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5862 # icc doesn't choke on unknown options, it will just issue warnings 5863 # or remarks (even with -Werror). So we grep stderr for any message 5864 # that says an option was ignored or not supported. 5865 # When given -MP, icc 7.0 and 7.1 complain thusly: 5866 # icc: Command line warning: ignoring option '-M'; no argument required 5867 # The diagnosis changed in icc 8.0: 5868 # icc: Command line remark: option '-MP' not supported 5869 if (grep 'ignoring option' conftest.err || 5870 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5871 am_cv_CXX_dependencies_compiler_type=$depmode 5872 break 5873 fi 5874 fi 5875 done 5876 5877 cd .. 5878 rm -rf conftest.dir 5879else 5880 am_cv_CXX_dependencies_compiler_type=none 5881fi 5882 5883fi 5884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5885$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5886CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5887 5888 if 5889 test "x$enable_dependency_tracking" != xno \ 5890 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5891 am__fastdepCXX_TRUE= 5892 am__fastdepCXX_FALSE='#' 5893else 5894 am__fastdepCXX_TRUE='#' 5895 am__fastdepCXX_FALSE= 5896fi 5897 5898 5899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5900$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5901set x ${MAKE-make} 5902ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5903if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5904 $as_echo_n "(cached) " >&6 5905else 5906 cat >conftest.make <<\_ACEOF 5907SHELL = /bin/sh 5908all: 5909 @echo '@@@%%%=$(MAKE)=@@@%%%' 5910_ACEOF 5911# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5912case `${MAKE-make} -f conftest.make 2>/dev/null` in 5913 *@@@%%%=?*=@@@%%%*) 5914 eval ac_cv_prog_make_${ac_make}_set=yes;; 5915 *) 5916 eval ac_cv_prog_make_${ac_make}_set=no;; 5917esac 5918rm -f conftest.make 5919fi 5920if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5922$as_echo "yes" >&6; } 5923 SET_MAKE= 5924else 5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5926$as_echo "no" >&6; } 5927 SET_MAKE="MAKE=${MAKE-make}" 5928fi 5929 5930 5931 5932case `pwd` in 5933 *\ * | *\ *) 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5935$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5936esac 5937 5938 5939 5940macro_version='2.4.6' 5941macro_revision='2.4.6' 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955ltmain=$ac_aux_dir/ltmain.sh 5956 5957# Backslashify metacharacters that are still active within 5958# double-quoted strings. 5959sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5960 5961# Same as above, but do not quote variable references. 5962double_quote_subst='s/\(["`\\]\)/\\\1/g' 5963 5964# Sed substitution to delay expansion of an escaped shell variable in a 5965# double_quote_subst'ed string. 5966delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5967 5968# Sed substitution to delay expansion of an escaped single quote. 5969delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5970 5971# Sed substitution to avoid accidental globbing in evaled expressions 5972no_glob_subst='s/\*/\\\*/g' 5973 5974ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5975ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5976ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5977 5978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5979$as_echo_n "checking how to print strings... " >&6; } 5980# Test print first, because it will be a builtin if present. 5981if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5982 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5983 ECHO='print -r --' 5984elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5985 ECHO='printf %s\n' 5986else 5987 # Use this function as a fallback that always works. 5988 func_fallback_echo () 5989 { 5990 eval 'cat <<_LTECHO_EOF 5991$1 5992_LTECHO_EOF' 5993 } 5994 ECHO='func_fallback_echo' 5995fi 5996 5997# func_echo_all arg... 5998# Invoke $ECHO with all args, space-separated. 5999func_echo_all () 6000{ 6001 $ECHO "" 6002} 6003 6004case $ECHO in 6005 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6006$as_echo "printf" >&6; } ;; 6007 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6008$as_echo "print -r" >&6; } ;; 6009 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6010$as_echo "cat" >&6; } ;; 6011esac 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6027$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6028if ${ac_cv_path_SED+:} false; then : 6029 $as_echo_n "(cached) " >&6 6030else 6031 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6032 for ac_i in 1 2 3 4 5 6 7; do 6033 ac_script="$ac_script$as_nl$ac_script" 6034 done 6035 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6036 { ac_script=; unset ac_script;} 6037 if test -z "$SED"; then 6038 ac_path_SED_found=false 6039 # Loop through the user's path and test for each of PROGNAME-LIST 6040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6041for as_dir in $PATH 6042do 6043 IFS=$as_save_IFS 6044 test -z "$as_dir" && as_dir=. 6045 for ac_prog in sed gsed; do 6046 for ac_exec_ext in '' $ac_executable_extensions; do 6047 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6048 as_fn_executable_p "$ac_path_SED" || continue 6049# Check for GNU ac_path_SED and select it if it is found. 6050 # Check for GNU $ac_path_SED 6051case `"$ac_path_SED" --version 2>&1` in 6052*GNU*) 6053 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6054*) 6055 ac_count=0 6056 $as_echo_n 0123456789 >"conftest.in" 6057 while : 6058 do 6059 cat "conftest.in" "conftest.in" >"conftest.tmp" 6060 mv "conftest.tmp" "conftest.in" 6061 cp "conftest.in" "conftest.nl" 6062 $as_echo '' >> "conftest.nl" 6063 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6064 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6065 as_fn_arith $ac_count + 1 && ac_count=$as_val 6066 if test $ac_count -gt ${ac_path_SED_max-0}; then 6067 # Best one so far, save it but keep looking for a better one 6068 ac_cv_path_SED="$ac_path_SED" 6069 ac_path_SED_max=$ac_count 6070 fi 6071 # 10*(2^10) chars as input seems more than enough 6072 test $ac_count -gt 10 && break 6073 done 6074 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6075esac 6076 6077 $ac_path_SED_found && break 3 6078 done 6079 done 6080 done 6081IFS=$as_save_IFS 6082 if test -z "$ac_cv_path_SED"; then 6083 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6084 fi 6085else 6086 ac_cv_path_SED=$SED 6087fi 6088 6089fi 6090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6091$as_echo "$ac_cv_path_SED" >&6; } 6092 SED="$ac_cv_path_SED" 6093 rm -f conftest.sed 6094 6095test -z "$SED" && SED=sed 6096Xsed="$SED -e 1s/^X//" 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6109$as_echo_n "checking for fgrep... " >&6; } 6110if ${ac_cv_path_FGREP+:} false; then : 6111 $as_echo_n "(cached) " >&6 6112else 6113 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6114 then ac_cv_path_FGREP="$GREP -F" 6115 else 6116 if test -z "$FGREP"; then 6117 ac_path_FGREP_found=false 6118 # Loop through the user's path and test for each of PROGNAME-LIST 6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6120for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6121do 6122 IFS=$as_save_IFS 6123 test -z "$as_dir" && as_dir=. 6124 for ac_prog in fgrep; do 6125 for ac_exec_ext in '' $ac_executable_extensions; do 6126 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6127 as_fn_executable_p "$ac_path_FGREP" || continue 6128# Check for GNU ac_path_FGREP and select it if it is found. 6129 # Check for GNU $ac_path_FGREP 6130case `"$ac_path_FGREP" --version 2>&1` in 6131*GNU*) 6132 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6133*) 6134 ac_count=0 6135 $as_echo_n 0123456789 >"conftest.in" 6136 while : 6137 do 6138 cat "conftest.in" "conftest.in" >"conftest.tmp" 6139 mv "conftest.tmp" "conftest.in" 6140 cp "conftest.in" "conftest.nl" 6141 $as_echo 'FGREP' >> "conftest.nl" 6142 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6143 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6144 as_fn_arith $ac_count + 1 && ac_count=$as_val 6145 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6146 # Best one so far, save it but keep looking for a better one 6147 ac_cv_path_FGREP="$ac_path_FGREP" 6148 ac_path_FGREP_max=$ac_count 6149 fi 6150 # 10*(2^10) chars as input seems more than enough 6151 test $ac_count -gt 10 && break 6152 done 6153 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6154esac 6155 6156 $ac_path_FGREP_found && break 3 6157 done 6158 done 6159 done 6160IFS=$as_save_IFS 6161 if test -z "$ac_cv_path_FGREP"; then 6162 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6163 fi 6164else 6165 ac_cv_path_FGREP=$FGREP 6166fi 6167 6168 fi 6169fi 6170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6171$as_echo "$ac_cv_path_FGREP" >&6; } 6172 FGREP="$ac_cv_path_FGREP" 6173 6174 6175test -z "$GREP" && GREP=grep 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195# Check whether --with-gnu-ld was given. 6196if test "${with_gnu_ld+set}" = set; then : 6197 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6198else 6199 with_gnu_ld=no 6200fi 6201 6202ac_prog=ld 6203if test yes = "$GCC"; then 6204 # Check if gcc -print-prog-name=ld gives a path. 6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6206$as_echo_n "checking for ld used by $CC... " >&6; } 6207 case $host in 6208 *-*-mingw*) 6209 # gcc leaves a trailing carriage return, which upsets mingw 6210 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6211 *) 6212 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6213 esac 6214 case $ac_prog in 6215 # Accept absolute paths. 6216 [\\/]* | ?:[\\/]*) 6217 re_direlt='/[^/][^/]*/\.\./' 6218 # Canonicalize the pathname of ld 6219 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6220 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6221 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6222 done 6223 test -z "$LD" && LD=$ac_prog 6224 ;; 6225 "") 6226 # If it fails, then pretend we aren't using GCC. 6227 ac_prog=ld 6228 ;; 6229 *) 6230 # If it is relative, then search for the first ld in PATH. 6231 with_gnu_ld=unknown 6232 ;; 6233 esac 6234elif test yes = "$with_gnu_ld"; then 6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6236$as_echo_n "checking for GNU ld... " >&6; } 6237else 6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6239$as_echo_n "checking for non-GNU ld... " >&6; } 6240fi 6241if ${lt_cv_path_LD+:} false; then : 6242 $as_echo_n "(cached) " >&6 6243else 6244 if test -z "$LD"; then 6245 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6246 for ac_dir in $PATH; do 6247 IFS=$lt_save_ifs 6248 test -z "$ac_dir" && ac_dir=. 6249 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6250 lt_cv_path_LD=$ac_dir/$ac_prog 6251 # Check to see if the program is GNU ld. I'd rather use --version, 6252 # but apparently some variants of GNU ld only accept -v. 6253 # Break only if it was the GNU/non-GNU ld that we prefer. 6254 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6255 *GNU* | *'with BFD'*) 6256 test no != "$with_gnu_ld" && break 6257 ;; 6258 *) 6259 test yes != "$with_gnu_ld" && break 6260 ;; 6261 esac 6262 fi 6263 done 6264 IFS=$lt_save_ifs 6265else 6266 lt_cv_path_LD=$LD # Let the user override the test with a path. 6267fi 6268fi 6269 6270LD=$lt_cv_path_LD 6271if test -n "$LD"; then 6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6273$as_echo "$LD" >&6; } 6274else 6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6276$as_echo "no" >&6; } 6277fi 6278test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6280$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6281if ${lt_cv_prog_gnu_ld+:} false; then : 6282 $as_echo_n "(cached) " >&6 6283else 6284 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6285case `$LD -v 2>&1 </dev/null` in 6286*GNU* | *'with BFD'*) 6287 lt_cv_prog_gnu_ld=yes 6288 ;; 6289*) 6290 lt_cv_prog_gnu_ld=no 6291 ;; 6292esac 6293fi 6294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6295$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6296with_gnu_ld=$lt_cv_prog_gnu_ld 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6307$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6308if ${lt_cv_path_NM+:} false; then : 6309 $as_echo_n "(cached) " >&6 6310else 6311 if test -n "$NM"; then 6312 # Let the user override the test. 6313 lt_cv_path_NM=$NM 6314else 6315 lt_nm_to_check=${ac_tool_prefix}nm 6316 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6317 lt_nm_to_check="$lt_nm_to_check nm" 6318 fi 6319 for lt_tmp_nm in $lt_nm_to_check; do 6320 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6321 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6322 IFS=$lt_save_ifs 6323 test -z "$ac_dir" && ac_dir=. 6324 tmp_nm=$ac_dir/$lt_tmp_nm 6325 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6326 # Check to see if the nm accepts a BSD-compat flag. 6327 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6328 # nm: unknown option "B" ignored 6329 # Tru64's nm complains that /dev/null is an invalid object file 6330 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6331 case $build_os in 6332 mingw*) lt_bad_file=conftest.nm/nofile ;; 6333 *) lt_bad_file=/dev/null ;; 6334 esac 6335 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6336 *$lt_bad_file* | *'Invalid file or object type'*) 6337 lt_cv_path_NM="$tmp_nm -B" 6338 break 2 6339 ;; 6340 *) 6341 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6342 */dev/null*) 6343 lt_cv_path_NM="$tmp_nm -p" 6344 break 2 6345 ;; 6346 *) 6347 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6348 continue # so that we can try to find one that supports BSD flags 6349 ;; 6350 esac 6351 ;; 6352 esac 6353 fi 6354 done 6355 IFS=$lt_save_ifs 6356 done 6357 : ${lt_cv_path_NM=no} 6358fi 6359fi 6360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6361$as_echo "$lt_cv_path_NM" >&6; } 6362if test no != "$lt_cv_path_NM"; then 6363 NM=$lt_cv_path_NM 6364else 6365 # Didn't find any BSD compatible name lister, look for dumpbin. 6366 if test -n "$DUMPBIN"; then : 6367 # Let the user override the test. 6368 else 6369 if test -n "$ac_tool_prefix"; then 6370 for ac_prog in dumpbin "link -dump" 6371 do 6372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6373set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6375$as_echo_n "checking for $ac_word... " >&6; } 6376if ${ac_cv_prog_DUMPBIN+:} false; then : 6377 $as_echo_n "(cached) " >&6 6378else 6379 if test -n "$DUMPBIN"; then 6380 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6381else 6382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6383for as_dir in $PATH 6384do 6385 IFS=$as_save_IFS 6386 test -z "$as_dir" && as_dir=. 6387 for ac_exec_ext in '' $ac_executable_extensions; do 6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6389 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6391 break 2 6392 fi 6393done 6394 done 6395IFS=$as_save_IFS 6396 6397fi 6398fi 6399DUMPBIN=$ac_cv_prog_DUMPBIN 6400if test -n "$DUMPBIN"; then 6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6402$as_echo "$DUMPBIN" >&6; } 6403else 6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6405$as_echo "no" >&6; } 6406fi 6407 6408 6409 test -n "$DUMPBIN" && break 6410 done 6411fi 6412if test -z "$DUMPBIN"; then 6413 ac_ct_DUMPBIN=$DUMPBIN 6414 for ac_prog in dumpbin "link -dump" 6415do 6416 # Extract the first word of "$ac_prog", so it can be a program name with args. 6417set dummy $ac_prog; ac_word=$2 6418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6419$as_echo_n "checking for $ac_word... " >&6; } 6420if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6421 $as_echo_n "(cached) " >&6 6422else 6423 if test -n "$ac_ct_DUMPBIN"; then 6424 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6425else 6426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6427for as_dir in $PATH 6428do 6429 IFS=$as_save_IFS 6430 test -z "$as_dir" && as_dir=. 6431 for ac_exec_ext in '' $ac_executable_extensions; do 6432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6433 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6435 break 2 6436 fi 6437done 6438 done 6439IFS=$as_save_IFS 6440 6441fi 6442fi 6443ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6444if test -n "$ac_ct_DUMPBIN"; then 6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6446$as_echo "$ac_ct_DUMPBIN" >&6; } 6447else 6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6449$as_echo "no" >&6; } 6450fi 6451 6452 6453 test -n "$ac_ct_DUMPBIN" && break 6454done 6455 6456 if test "x$ac_ct_DUMPBIN" = x; then 6457 DUMPBIN=":" 6458 else 6459 case $cross_compiling:$ac_tool_warned in 6460yes:) 6461{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6462$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6463ac_tool_warned=yes ;; 6464esac 6465 DUMPBIN=$ac_ct_DUMPBIN 6466 fi 6467fi 6468 6469 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6470 *COFF*) 6471 DUMPBIN="$DUMPBIN -symbols -headers" 6472 ;; 6473 *) 6474 DUMPBIN=: 6475 ;; 6476 esac 6477 fi 6478 6479 if test : != "$DUMPBIN"; then 6480 NM=$DUMPBIN 6481 fi 6482fi 6483test -z "$NM" && NM=nm 6484 6485 6486 6487 6488 6489 6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6491$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6492if ${lt_cv_nm_interface+:} false; then : 6493 $as_echo_n "(cached) " >&6 6494else 6495 lt_cv_nm_interface="BSD nm" 6496 echo "int some_variable = 0;" > conftest.$ac_ext 6497 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6498 (eval "$ac_compile" 2>conftest.err) 6499 cat conftest.err >&5 6500 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6501 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6502 cat conftest.err >&5 6503 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6504 cat conftest.out >&5 6505 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6506 lt_cv_nm_interface="MS dumpbin" 6507 fi 6508 rm -f conftest* 6509fi 6510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6511$as_echo "$lt_cv_nm_interface" >&6; } 6512 6513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6514$as_echo_n "checking whether ln -s works... " >&6; } 6515LN_S=$as_ln_s 6516if test "$LN_S" = "ln -s"; then 6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6518$as_echo "yes" >&6; } 6519else 6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6521$as_echo "no, using $LN_S" >&6; } 6522fi 6523 6524# find the maximum length of command line arguments 6525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6526$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6527if ${lt_cv_sys_max_cmd_len+:} false; then : 6528 $as_echo_n "(cached) " >&6 6529else 6530 i=0 6531 teststring=ABCD 6532 6533 case $build_os in 6534 msdosdjgpp*) 6535 # On DJGPP, this test can blow up pretty badly due to problems in libc 6536 # (any single argument exceeding 2000 bytes causes a buffer overrun 6537 # during glob expansion). Even if it were fixed, the result of this 6538 # check would be larger than it should be. 6539 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6540 ;; 6541 6542 gnu*) 6543 # Under GNU Hurd, this test is not required because there is 6544 # no limit to the length of command line arguments. 6545 # Libtool will interpret -1 as no limit whatsoever 6546 lt_cv_sys_max_cmd_len=-1; 6547 ;; 6548 6549 cygwin* | mingw* | cegcc*) 6550 # On Win9x/ME, this test blows up -- it succeeds, but takes 6551 # about 5 minutes as the teststring grows exponentially. 6552 # Worse, since 9x/ME are not pre-emptively multitasking, 6553 # you end up with a "frozen" computer, even though with patience 6554 # the test eventually succeeds (with a max line length of 256k). 6555 # Instead, let's just punt: use the minimum linelength reported by 6556 # all of the supported platforms: 8192 (on NT/2K/XP). 6557 lt_cv_sys_max_cmd_len=8192; 6558 ;; 6559 6560 mint*) 6561 # On MiNT this can take a long time and run out of memory. 6562 lt_cv_sys_max_cmd_len=8192; 6563 ;; 6564 6565 amigaos*) 6566 # On AmigaOS with pdksh, this test takes hours, literally. 6567 # So we just punt and use a minimum line length of 8192. 6568 lt_cv_sys_max_cmd_len=8192; 6569 ;; 6570 6571 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6572 # This has been around since 386BSD, at least. Likely further. 6573 if test -x /sbin/sysctl; then 6574 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6575 elif test -x /usr/sbin/sysctl; then 6576 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6577 else 6578 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6579 fi 6580 # And add a safety zone 6581 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6583 ;; 6584 6585 interix*) 6586 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6587 lt_cv_sys_max_cmd_len=196608 6588 ;; 6589 6590 os2*) 6591 # The test takes a long time on OS/2. 6592 lt_cv_sys_max_cmd_len=8192 6593 ;; 6594 6595 osf*) 6596 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6597 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6598 # nice to cause kernel panics so lets avoid the loop below. 6599 # First set a reasonable default. 6600 lt_cv_sys_max_cmd_len=16384 6601 # 6602 if test -x /sbin/sysconfig; then 6603 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6604 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6605 esac 6606 fi 6607 ;; 6608 sco3.2v5*) 6609 lt_cv_sys_max_cmd_len=102400 6610 ;; 6611 sysv5* | sco5v6* | sysv4.2uw2*) 6612 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6613 if test -n "$kargmax"; then 6614 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6615 else 6616 lt_cv_sys_max_cmd_len=32768 6617 fi 6618 ;; 6619 *) 6620 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6621 if test -n "$lt_cv_sys_max_cmd_len" && \ 6622 test undefined != "$lt_cv_sys_max_cmd_len"; then 6623 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6625 else 6626 # Make teststring a little bigger before we do anything with it. 6627 # a 1K string should be a reasonable start. 6628 for i in 1 2 3 4 5 6 7 8; do 6629 teststring=$teststring$teststring 6630 done 6631 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6632 # If test is not a shell built-in, we'll probably end up computing a 6633 # maximum length that is only half of the actual maximum length, but 6634 # we can't tell. 6635 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6636 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6637 test 17 != "$i" # 1/2 MB should be enough 6638 do 6639 i=`expr $i + 1` 6640 teststring=$teststring$teststring 6641 done 6642 # Only check the string length outside the loop. 6643 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6644 teststring= 6645 # Add a significant safety factor because C++ compilers can tack on 6646 # massive amounts of additional arguments before passing them to the 6647 # linker. It appears as though 1/2 is a usable value. 6648 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6649 fi 6650 ;; 6651 esac 6652 6653fi 6654 6655if test -n "$lt_cv_sys_max_cmd_len"; then 6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6657$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6658else 6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6660$as_echo "none" >&6; } 6661fi 6662max_cmd_len=$lt_cv_sys_max_cmd_len 6663 6664 6665 6666 6667 6668 6669: ${CP="cp -f"} 6670: ${MV="mv -f"} 6671: ${RM="rm -f"} 6672 6673if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6674 lt_unset=unset 6675else 6676 lt_unset=false 6677fi 6678 6679 6680 6681 6682 6683# test EBCDIC or ASCII 6684case `echo X|tr X '\101'` in 6685 A) # ASCII based system 6686 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6687 lt_SP2NL='tr \040 \012' 6688 lt_NL2SP='tr \015\012 \040\040' 6689 ;; 6690 *) # EBCDIC based system 6691 lt_SP2NL='tr \100 \n' 6692 lt_NL2SP='tr \r\n \100\100' 6693 ;; 6694esac 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6705$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6706if ${lt_cv_to_host_file_cmd+:} false; then : 6707 $as_echo_n "(cached) " >&6 6708else 6709 case $host in 6710 *-*-mingw* ) 6711 case $build in 6712 *-*-mingw* ) # actually msys 6713 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6714 ;; 6715 *-*-cygwin* ) 6716 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6717 ;; 6718 * ) # otherwise, assume *nix 6719 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6720 ;; 6721 esac 6722 ;; 6723 *-*-cygwin* ) 6724 case $build in 6725 *-*-mingw* ) # actually msys 6726 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6727 ;; 6728 *-*-cygwin* ) 6729 lt_cv_to_host_file_cmd=func_convert_file_noop 6730 ;; 6731 * ) # otherwise, assume *nix 6732 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6733 ;; 6734 esac 6735 ;; 6736 * ) # unhandled hosts (and "normal" native builds) 6737 lt_cv_to_host_file_cmd=func_convert_file_noop 6738 ;; 6739esac 6740 6741fi 6742 6743to_host_file_cmd=$lt_cv_to_host_file_cmd 6744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6745$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6746 6747 6748 6749 6750 6751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6752$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6753if ${lt_cv_to_tool_file_cmd+:} false; then : 6754 $as_echo_n "(cached) " >&6 6755else 6756 #assume ordinary cross tools, or native build. 6757lt_cv_to_tool_file_cmd=func_convert_file_noop 6758case $host in 6759 *-*-mingw* ) 6760 case $build in 6761 *-*-mingw* ) # actually msys 6762 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6763 ;; 6764 esac 6765 ;; 6766esac 6767 6768fi 6769 6770to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6772$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6773 6774 6775 6776 6777 6778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6779$as_echo_n "checking for $LD option to reload object files... " >&6; } 6780if ${lt_cv_ld_reload_flag+:} false; then : 6781 $as_echo_n "(cached) " >&6 6782else 6783 lt_cv_ld_reload_flag='-r' 6784fi 6785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6786$as_echo "$lt_cv_ld_reload_flag" >&6; } 6787reload_flag=$lt_cv_ld_reload_flag 6788case $reload_flag in 6789"" | " "*) ;; 6790*) reload_flag=" $reload_flag" ;; 6791esac 6792reload_cmds='$LD$reload_flag -o $output$reload_objs' 6793case $host_os in 6794 cygwin* | mingw* | pw32* | cegcc*) 6795 if test yes != "$GCC"; then 6796 reload_cmds=false 6797 fi 6798 ;; 6799 darwin*) 6800 if test yes = "$GCC"; then 6801 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6802 else 6803 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6804 fi 6805 ;; 6806esac 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816if test -n "$ac_tool_prefix"; then 6817 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6818set dummy ${ac_tool_prefix}objdump; ac_word=$2 6819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6820$as_echo_n "checking for $ac_word... " >&6; } 6821if ${ac_cv_prog_OBJDUMP+:} false; then : 6822 $as_echo_n "(cached) " >&6 6823else 6824 if test -n "$OBJDUMP"; then 6825 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6826else 6827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6828for as_dir in $PATH 6829do 6830 IFS=$as_save_IFS 6831 test -z "$as_dir" && as_dir=. 6832 for ac_exec_ext in '' $ac_executable_extensions; do 6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6834 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6836 break 2 6837 fi 6838done 6839 done 6840IFS=$as_save_IFS 6841 6842fi 6843fi 6844OBJDUMP=$ac_cv_prog_OBJDUMP 6845if test -n "$OBJDUMP"; then 6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6847$as_echo "$OBJDUMP" >&6; } 6848else 6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6850$as_echo "no" >&6; } 6851fi 6852 6853 6854fi 6855if test -z "$ac_cv_prog_OBJDUMP"; then 6856 ac_ct_OBJDUMP=$OBJDUMP 6857 # Extract the first word of "objdump", so it can be a program name with args. 6858set dummy objdump; ac_word=$2 6859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6860$as_echo_n "checking for $ac_word... " >&6; } 6861if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6862 $as_echo_n "(cached) " >&6 6863else 6864 if test -n "$ac_ct_OBJDUMP"; then 6865 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6866else 6867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6868for as_dir in $PATH 6869do 6870 IFS=$as_save_IFS 6871 test -z "$as_dir" && as_dir=. 6872 for ac_exec_ext in '' $ac_executable_extensions; do 6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6874 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6876 break 2 6877 fi 6878done 6879 done 6880IFS=$as_save_IFS 6881 6882fi 6883fi 6884ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6885if test -n "$ac_ct_OBJDUMP"; then 6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6887$as_echo "$ac_ct_OBJDUMP" >&6; } 6888else 6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6890$as_echo "no" >&6; } 6891fi 6892 6893 if test "x$ac_ct_OBJDUMP" = x; then 6894 OBJDUMP="false" 6895 else 6896 case $cross_compiling:$ac_tool_warned in 6897yes:) 6898{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6899$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6900ac_tool_warned=yes ;; 6901esac 6902 OBJDUMP=$ac_ct_OBJDUMP 6903 fi 6904else 6905 OBJDUMP="$ac_cv_prog_OBJDUMP" 6906fi 6907 6908test -z "$OBJDUMP" && OBJDUMP=objdump 6909 6910 6911 6912 6913 6914 6915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6916$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6917if ${lt_cv_deplibs_check_method+:} false; then : 6918 $as_echo_n "(cached) " >&6 6919else 6920 lt_cv_file_magic_cmd='$MAGIC_CMD' 6921lt_cv_file_magic_test_file= 6922lt_cv_deplibs_check_method='unknown' 6923# Need to set the preceding variable on all platforms that support 6924# interlibrary dependencies. 6925# 'none' -- dependencies not supported. 6926# 'unknown' -- same as none, but documents that we really don't know. 6927# 'pass_all' -- all dependencies passed with no checks. 6928# 'test_compile' -- check by making test program. 6929# 'file_magic [[regex]]' -- check by looking for files in library path 6930# that responds to the $file_magic_cmd with a given extended regex. 6931# If you have 'file' or equivalent on your system and you're not sure 6932# whether 'pass_all' will *always* work, you probably want this one. 6933 6934case $host_os in 6935aix[4-9]*) 6936 lt_cv_deplibs_check_method=pass_all 6937 ;; 6938 6939beos*) 6940 lt_cv_deplibs_check_method=pass_all 6941 ;; 6942 6943bsdi[45]*) 6944 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6945 lt_cv_file_magic_cmd='/usr/bin/file -L' 6946 lt_cv_file_magic_test_file=/shlib/libc.so 6947 ;; 6948 6949cygwin*) 6950 # func_win32_libid is a shell function defined in ltmain.sh 6951 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6952 lt_cv_file_magic_cmd='func_win32_libid' 6953 ;; 6954 6955mingw* | pw32*) 6956 # Base MSYS/MinGW do not provide the 'file' command needed by 6957 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6958 # unless we find 'file', for example because we are cross-compiling. 6959 if ( file / ) >/dev/null 2>&1; then 6960 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6961 lt_cv_file_magic_cmd='func_win32_libid' 6962 else 6963 # Keep this pattern in sync with the one in func_win32_libid. 6964 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6965 lt_cv_file_magic_cmd='$OBJDUMP -f' 6966 fi 6967 ;; 6968 6969cegcc*) 6970 # use the weaker test based on 'objdump'. See mingw*. 6971 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6972 lt_cv_file_magic_cmd='$OBJDUMP -f' 6973 ;; 6974 6975darwin* | rhapsody*) 6976 lt_cv_deplibs_check_method=pass_all 6977 ;; 6978 6979freebsd* | dragonfly*) 6980 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6981 case $host_cpu in 6982 i*86 ) 6983 # Not sure whether the presence of OpenBSD here was a mistake. 6984 # Let's accept both of them until this is cleared up. 6985 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6986 lt_cv_file_magic_cmd=/usr/bin/file 6987 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6988 ;; 6989 esac 6990 else 6991 lt_cv_deplibs_check_method=pass_all 6992 fi 6993 ;; 6994 6995haiku*) 6996 lt_cv_deplibs_check_method=pass_all 6997 ;; 6998 6999hpux10.20* | hpux11*) 7000 lt_cv_file_magic_cmd=/usr/bin/file 7001 case $host_cpu in 7002 ia64*) 7003 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7004 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7005 ;; 7006 hppa*64*) 7007 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]' 7008 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7009 ;; 7010 *) 7011 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7012 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7013 ;; 7014 esac 7015 ;; 7016 7017interix[3-9]*) 7018 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7020 ;; 7021 7022irix5* | irix6* | nonstopux*) 7023 case $LD in 7024 *-32|*"-32 ") libmagic=32-bit;; 7025 *-n32|*"-n32 ") libmagic=N32;; 7026 *-64|*"-64 ") libmagic=64-bit;; 7027 *) libmagic=never-match;; 7028 esac 7029 lt_cv_deplibs_check_method=pass_all 7030 ;; 7031 7032# This must be glibc/ELF. 7033linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7034 lt_cv_deplibs_check_method=pass_all 7035 ;; 7036 7037netbsd*) 7038 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7040 else 7041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7042 fi 7043 ;; 7044 7045newos6*) 7046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7047 lt_cv_file_magic_cmd=/usr/bin/file 7048 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7049 ;; 7050 7051*nto* | *qnx*) 7052 lt_cv_deplibs_check_method=pass_all 7053 ;; 7054 7055openbsd* | bitrig*) 7056 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7058 else 7059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7060 fi 7061 ;; 7062 7063osf3* | osf4* | osf5*) 7064 lt_cv_deplibs_check_method=pass_all 7065 ;; 7066 7067rdos*) 7068 lt_cv_deplibs_check_method=pass_all 7069 ;; 7070 7071solaris*) 7072 lt_cv_deplibs_check_method=pass_all 7073 ;; 7074 7075sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7076 lt_cv_deplibs_check_method=pass_all 7077 ;; 7078 7079sysv4 | sysv4.3*) 7080 case $host_vendor in 7081 motorola) 7082 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]' 7083 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7084 ;; 7085 ncr) 7086 lt_cv_deplibs_check_method=pass_all 7087 ;; 7088 sequent) 7089 lt_cv_file_magic_cmd='/bin/file' 7090 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7091 ;; 7092 sni) 7093 lt_cv_file_magic_cmd='/bin/file' 7094 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7095 lt_cv_file_magic_test_file=/lib/libc.so 7096 ;; 7097 siemens) 7098 lt_cv_deplibs_check_method=pass_all 7099 ;; 7100 pc) 7101 lt_cv_deplibs_check_method=pass_all 7102 ;; 7103 esac 7104 ;; 7105 7106tpf*) 7107 lt_cv_deplibs_check_method=pass_all 7108 ;; 7109os2*) 7110 lt_cv_deplibs_check_method=pass_all 7111 ;; 7112esac 7113 7114fi 7115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7116$as_echo "$lt_cv_deplibs_check_method" >&6; } 7117 7118file_magic_glob= 7119want_nocaseglob=no 7120if test "$build" = "$host"; then 7121 case $host_os in 7122 mingw* | pw32*) 7123 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7124 want_nocaseglob=yes 7125 else 7126 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7127 fi 7128 ;; 7129 esac 7130fi 7131 7132file_magic_cmd=$lt_cv_file_magic_cmd 7133deplibs_check_method=$lt_cv_deplibs_check_method 7134test -z "$deplibs_check_method" && deplibs_check_method=unknown 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157if test -n "$ac_tool_prefix"; then 7158 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7159set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7161$as_echo_n "checking for $ac_word... " >&6; } 7162if ${ac_cv_prog_DLLTOOL+:} false; then : 7163 $as_echo_n "(cached) " >&6 7164else 7165 if test -n "$DLLTOOL"; then 7166 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7167else 7168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7169for as_dir in $PATH 7170do 7171 IFS=$as_save_IFS 7172 test -z "$as_dir" && as_dir=. 7173 for ac_exec_ext in '' $ac_executable_extensions; do 7174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7175 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7177 break 2 7178 fi 7179done 7180 done 7181IFS=$as_save_IFS 7182 7183fi 7184fi 7185DLLTOOL=$ac_cv_prog_DLLTOOL 7186if test -n "$DLLTOOL"; then 7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7188$as_echo "$DLLTOOL" >&6; } 7189else 7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7191$as_echo "no" >&6; } 7192fi 7193 7194 7195fi 7196if test -z "$ac_cv_prog_DLLTOOL"; then 7197 ac_ct_DLLTOOL=$DLLTOOL 7198 # Extract the first word of "dlltool", so it can be a program name with args. 7199set dummy dlltool; ac_word=$2 7200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7201$as_echo_n "checking for $ac_word... " >&6; } 7202if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7203 $as_echo_n "(cached) " >&6 7204else 7205 if test -n "$ac_ct_DLLTOOL"; then 7206 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7207else 7208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7209for as_dir in $PATH 7210do 7211 IFS=$as_save_IFS 7212 test -z "$as_dir" && as_dir=. 7213 for ac_exec_ext in '' $ac_executable_extensions; do 7214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7215 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7217 break 2 7218 fi 7219done 7220 done 7221IFS=$as_save_IFS 7222 7223fi 7224fi 7225ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7226if test -n "$ac_ct_DLLTOOL"; then 7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7228$as_echo "$ac_ct_DLLTOOL" >&6; } 7229else 7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7231$as_echo "no" >&6; } 7232fi 7233 7234 if test "x$ac_ct_DLLTOOL" = x; then 7235 DLLTOOL="false" 7236 else 7237 case $cross_compiling:$ac_tool_warned in 7238yes:) 7239{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7240$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7241ac_tool_warned=yes ;; 7242esac 7243 DLLTOOL=$ac_ct_DLLTOOL 7244 fi 7245else 7246 DLLTOOL="$ac_cv_prog_DLLTOOL" 7247fi 7248 7249test -z "$DLLTOOL" && DLLTOOL=dlltool 7250 7251 7252 7253 7254 7255 7256 7257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7258$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7259if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7260 $as_echo_n "(cached) " >&6 7261else 7262 lt_cv_sharedlib_from_linklib_cmd='unknown' 7263 7264case $host_os in 7265cygwin* | mingw* | pw32* | cegcc*) 7266 # two different shell functions defined in ltmain.sh; 7267 # decide which one to use based on capabilities of $DLLTOOL 7268 case `$DLLTOOL --help 2>&1` in 7269 *--identify-strict*) 7270 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7271 ;; 7272 *) 7273 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7274 ;; 7275 esac 7276 ;; 7277*) 7278 # fallback: assume linklib IS sharedlib 7279 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7280 ;; 7281esac 7282 7283fi 7284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7285$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7286sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7287test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7288 7289 7290 7291 7292 7293 7294 7295if test -n "$ac_tool_prefix"; then 7296 for ac_prog in ar 7297 do 7298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7299set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7301$as_echo_n "checking for $ac_word... " >&6; } 7302if ${ac_cv_prog_AR+:} false; then : 7303 $as_echo_n "(cached) " >&6 7304else 7305 if test -n "$AR"; then 7306 ac_cv_prog_AR="$AR" # Let the user override the test. 7307else 7308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7309for as_dir in $PATH 7310do 7311 IFS=$as_save_IFS 7312 test -z "$as_dir" && as_dir=. 7313 for ac_exec_ext in '' $ac_executable_extensions; do 7314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7315 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7317 break 2 7318 fi 7319done 7320 done 7321IFS=$as_save_IFS 7322 7323fi 7324fi 7325AR=$ac_cv_prog_AR 7326if test -n "$AR"; then 7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7328$as_echo "$AR" >&6; } 7329else 7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7331$as_echo "no" >&6; } 7332fi 7333 7334 7335 test -n "$AR" && break 7336 done 7337fi 7338if test -z "$AR"; then 7339 ac_ct_AR=$AR 7340 for ac_prog in ar 7341do 7342 # Extract the first word of "$ac_prog", so it can be a program name with args. 7343set dummy $ac_prog; ac_word=$2 7344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7345$as_echo_n "checking for $ac_word... " >&6; } 7346if ${ac_cv_prog_ac_ct_AR+:} false; then : 7347 $as_echo_n "(cached) " >&6 7348else 7349 if test -n "$ac_ct_AR"; then 7350 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7351else 7352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7353for as_dir in $PATH 7354do 7355 IFS=$as_save_IFS 7356 test -z "$as_dir" && as_dir=. 7357 for ac_exec_ext in '' $ac_executable_extensions; do 7358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7359 ac_cv_prog_ac_ct_AR="$ac_prog" 7360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7361 break 2 7362 fi 7363done 7364 done 7365IFS=$as_save_IFS 7366 7367fi 7368fi 7369ac_ct_AR=$ac_cv_prog_ac_ct_AR 7370if test -n "$ac_ct_AR"; then 7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7372$as_echo "$ac_ct_AR" >&6; } 7373else 7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7375$as_echo "no" >&6; } 7376fi 7377 7378 7379 test -n "$ac_ct_AR" && break 7380done 7381 7382 if test "x$ac_ct_AR" = x; then 7383 AR="false" 7384 else 7385 case $cross_compiling:$ac_tool_warned in 7386yes:) 7387{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7388$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7389ac_tool_warned=yes ;; 7390esac 7391 AR=$ac_ct_AR 7392 fi 7393fi 7394 7395: ${AR=ar} 7396: ${AR_FLAGS=cru} 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7409$as_echo_n "checking for archiver @FILE support... " >&6; } 7410if ${lt_cv_ar_at_file+:} false; then : 7411 $as_echo_n "(cached) " >&6 7412else 7413 lt_cv_ar_at_file=no 7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7415/* end confdefs.h. */ 7416 7417int 7418main () 7419{ 7420 7421 ; 7422 return 0; 7423} 7424_ACEOF 7425if ac_fn_c_try_compile "$LINENO"; then : 7426 echo conftest.$ac_objext > conftest.lst 7427 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7428 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7429 (eval $lt_ar_try) 2>&5 7430 ac_status=$? 7431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7432 test $ac_status = 0; } 7433 if test 0 -eq "$ac_status"; then 7434 # Ensure the archiver fails upon bogus file names. 7435 rm -f conftest.$ac_objext libconftest.a 7436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7437 (eval $lt_ar_try) 2>&5 7438 ac_status=$? 7439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7440 test $ac_status = 0; } 7441 if test 0 -ne "$ac_status"; then 7442 lt_cv_ar_at_file=@ 7443 fi 7444 fi 7445 rm -f conftest.* libconftest.a 7446 7447fi 7448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7449 7450fi 7451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7452$as_echo "$lt_cv_ar_at_file" >&6; } 7453 7454if test no = "$lt_cv_ar_at_file"; then 7455 archiver_list_spec= 7456else 7457 archiver_list_spec=$lt_cv_ar_at_file 7458fi 7459 7460 7461 7462 7463 7464 7465 7466if test -n "$ac_tool_prefix"; then 7467 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7468set dummy ${ac_tool_prefix}strip; ac_word=$2 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7470$as_echo_n "checking for $ac_word... " >&6; } 7471if ${ac_cv_prog_STRIP+:} false; then : 7472 $as_echo_n "(cached) " >&6 7473else 7474 if test -n "$STRIP"; then 7475 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7476else 7477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7478for as_dir in $PATH 7479do 7480 IFS=$as_save_IFS 7481 test -z "$as_dir" && as_dir=. 7482 for ac_exec_ext in '' $ac_executable_extensions; do 7483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7484 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7486 break 2 7487 fi 7488done 7489 done 7490IFS=$as_save_IFS 7491 7492fi 7493fi 7494STRIP=$ac_cv_prog_STRIP 7495if test -n "$STRIP"; then 7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7497$as_echo "$STRIP" >&6; } 7498else 7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7500$as_echo "no" >&6; } 7501fi 7502 7503 7504fi 7505if test -z "$ac_cv_prog_STRIP"; then 7506 ac_ct_STRIP=$STRIP 7507 # Extract the first word of "strip", so it can be a program name with args. 7508set dummy strip; ac_word=$2 7509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7510$as_echo_n "checking for $ac_word... " >&6; } 7511if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7512 $as_echo_n "(cached) " >&6 7513else 7514 if test -n "$ac_ct_STRIP"; then 7515 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7516else 7517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7518for as_dir in $PATH 7519do 7520 IFS=$as_save_IFS 7521 test -z "$as_dir" && as_dir=. 7522 for ac_exec_ext in '' $ac_executable_extensions; do 7523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7524 ac_cv_prog_ac_ct_STRIP="strip" 7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7526 break 2 7527 fi 7528done 7529 done 7530IFS=$as_save_IFS 7531 7532fi 7533fi 7534ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7535if test -n "$ac_ct_STRIP"; then 7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7537$as_echo "$ac_ct_STRIP" >&6; } 7538else 7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7540$as_echo "no" >&6; } 7541fi 7542 7543 if test "x$ac_ct_STRIP" = x; then 7544 STRIP=":" 7545 else 7546 case $cross_compiling:$ac_tool_warned in 7547yes:) 7548{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7550ac_tool_warned=yes ;; 7551esac 7552 STRIP=$ac_ct_STRIP 7553 fi 7554else 7555 STRIP="$ac_cv_prog_STRIP" 7556fi 7557 7558test -z "$STRIP" && STRIP=: 7559 7560 7561 7562 7563 7564 7565if test -n "$ac_tool_prefix"; then 7566 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7567set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7569$as_echo_n "checking for $ac_word... " >&6; } 7570if ${ac_cv_prog_RANLIB+:} false; then : 7571 $as_echo_n "(cached) " >&6 7572else 7573 if test -n "$RANLIB"; then 7574 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7575else 7576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7577for as_dir in $PATH 7578do 7579 IFS=$as_save_IFS 7580 test -z "$as_dir" && as_dir=. 7581 for ac_exec_ext in '' $ac_executable_extensions; do 7582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7583 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7585 break 2 7586 fi 7587done 7588 done 7589IFS=$as_save_IFS 7590 7591fi 7592fi 7593RANLIB=$ac_cv_prog_RANLIB 7594if test -n "$RANLIB"; then 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7596$as_echo "$RANLIB" >&6; } 7597else 7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7599$as_echo "no" >&6; } 7600fi 7601 7602 7603fi 7604if test -z "$ac_cv_prog_RANLIB"; then 7605 ac_ct_RANLIB=$RANLIB 7606 # Extract the first word of "ranlib", so it can be a program name with args. 7607set dummy ranlib; ac_word=$2 7608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7609$as_echo_n "checking for $ac_word... " >&6; } 7610if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7611 $as_echo_n "(cached) " >&6 7612else 7613 if test -n "$ac_ct_RANLIB"; then 7614 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7615else 7616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7617for as_dir in $PATH 7618do 7619 IFS=$as_save_IFS 7620 test -z "$as_dir" && as_dir=. 7621 for ac_exec_ext in '' $ac_executable_extensions; do 7622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7623 ac_cv_prog_ac_ct_RANLIB="ranlib" 7624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7625 break 2 7626 fi 7627done 7628 done 7629IFS=$as_save_IFS 7630 7631fi 7632fi 7633ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7634if test -n "$ac_ct_RANLIB"; then 7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7636$as_echo "$ac_ct_RANLIB" >&6; } 7637else 7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7639$as_echo "no" >&6; } 7640fi 7641 7642 if test "x$ac_ct_RANLIB" = x; then 7643 RANLIB=":" 7644 else 7645 case $cross_compiling:$ac_tool_warned in 7646yes:) 7647{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7648$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7649ac_tool_warned=yes ;; 7650esac 7651 RANLIB=$ac_ct_RANLIB 7652 fi 7653else 7654 RANLIB="$ac_cv_prog_RANLIB" 7655fi 7656 7657test -z "$RANLIB" && RANLIB=: 7658 7659 7660 7661 7662 7663 7664# Determine commands to create old-style static archives. 7665old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7666old_postinstall_cmds='chmod 644 $oldlib' 7667old_postuninstall_cmds= 7668 7669if test -n "$RANLIB"; then 7670 case $host_os in 7671 bitrig* | openbsd*) 7672 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7673 ;; 7674 *) 7675 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7676 ;; 7677 esac 7678 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7679fi 7680 7681case $host_os in 7682 darwin*) 7683 lock_old_archive_extraction=yes ;; 7684 *) 7685 lock_old_archive_extraction=no ;; 7686esac 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726# If no C compiler was specified, use CC. 7727LTCC=${LTCC-"$CC"} 7728 7729# If no C compiler flags were specified, use CFLAGS. 7730LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7731 7732# Allow CC to be a program name with arguments. 7733compiler=$CC 7734 7735 7736# Check for command to grab the raw symbol name followed by C symbol from nm. 7737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7738$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7739if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7740 $as_echo_n "(cached) " >&6 7741else 7742 7743# These are sane defaults that work on at least a few old systems. 7744# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7745 7746# Character class describing NM global symbol codes. 7747symcode='[BCDEGRST]' 7748 7749# Regexp to match symbols that can be accessed directly from C. 7750sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7751 7752# Define system-specific variables. 7753case $host_os in 7754aix*) 7755 symcode='[BCDT]' 7756 ;; 7757cygwin* | mingw* | pw32* | cegcc*) 7758 symcode='[ABCDGISTW]' 7759 ;; 7760hpux*) 7761 if test ia64 = "$host_cpu"; then 7762 symcode='[ABCDEGRST]' 7763 fi 7764 ;; 7765irix* | nonstopux*) 7766 symcode='[BCDEGRST]' 7767 ;; 7768osf*) 7769 symcode='[BCDEGQRST]' 7770 ;; 7771solaris*) 7772 symcode='[BDRT]' 7773 ;; 7774sco3.2v5*) 7775 symcode='[DT]' 7776 ;; 7777sysv4.2uw2*) 7778 symcode='[DT]' 7779 ;; 7780sysv5* | sco5v6* | unixware* | OpenUNIX*) 7781 symcode='[ABDT]' 7782 ;; 7783sysv4) 7784 symcode='[DFNSTU]' 7785 ;; 7786esac 7787 7788# If we're using GNU nm, then use its standard symbol codes. 7789case `$NM -V 2>&1` in 7790*GNU* | *'with BFD'*) 7791 symcode='[ABCDGIRSTW]' ;; 7792esac 7793 7794if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7795 # Gets list of data symbols to import. 7796 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7797 # Adjust the below global symbol transforms to fixup imported variables. 7798 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7799 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7800 lt_c_name_lib_hook="\ 7801 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7802 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7803else 7804 # Disable hooks by default. 7805 lt_cv_sys_global_symbol_to_import= 7806 lt_cdecl_hook= 7807 lt_c_name_hook= 7808 lt_c_name_lib_hook= 7809fi 7810 7811# Transform an extracted symbol line into a proper C declaration. 7812# Some systems (esp. on ia64) link data and code symbols differently, 7813# so use this general approach. 7814lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7815$lt_cdecl_hook\ 7816" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7817" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7818 7819# Transform an extracted symbol line into symbol name and symbol address 7820lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7821$lt_c_name_hook\ 7822" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7823" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7824 7825# Transform an extracted symbol line into symbol name with lib prefix and 7826# symbol address. 7827lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7828$lt_c_name_lib_hook\ 7829" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7830" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7831" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7832 7833# Handle CRLF in mingw tool chain 7834opt_cr= 7835case $build_os in 7836mingw*) 7837 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7838 ;; 7839esac 7840 7841# Try without a prefix underscore, then with it. 7842for ac_symprfx in "" "_"; do 7843 7844 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7845 symxfrm="\\1 $ac_symprfx\\2 \\2" 7846 7847 # Write the raw and C identifiers. 7848 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7849 # Fake it for dumpbin and say T for any non-static function, 7850 # D for any global variable and I for any imported variable. 7851 # Also find C++ and __fastcall symbols from MSVC++, 7852 # which start with @ or ?. 7853 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7854" {last_section=section; section=\$ 3};"\ 7855" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7856" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7857" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7858" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7859" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7860" \$ 0!~/External *\|/{next};"\ 7861" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7862" {if(hide[section]) next};"\ 7863" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7864" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7865" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7866" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7867" ' prfx=^$ac_symprfx" 7868 else 7869 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7870 fi 7871 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7872 7873 # Check to see that the pipe works correctly. 7874 pipe_works=no 7875 7876 rm -f conftest* 7877 cat > conftest.$ac_ext <<_LT_EOF 7878#ifdef __cplusplus 7879extern "C" { 7880#endif 7881char nm_test_var; 7882void nm_test_func(void); 7883void nm_test_func(void){} 7884#ifdef __cplusplus 7885} 7886#endif 7887int main(){nm_test_var='a';nm_test_func();return(0);} 7888_LT_EOF 7889 7890 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7891 (eval $ac_compile) 2>&5 7892 ac_status=$? 7893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7894 test $ac_status = 0; }; then 7895 # Now try to grab the symbols. 7896 nlist=conftest.nm 7897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7898 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7899 ac_status=$? 7900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7901 test $ac_status = 0; } && test -s "$nlist"; then 7902 # Try sorting and uniquifying the output. 7903 if sort "$nlist" | uniq > "$nlist"T; then 7904 mv -f "$nlist"T "$nlist" 7905 else 7906 rm -f "$nlist"T 7907 fi 7908 7909 # Make sure that we snagged all the symbols we need. 7910 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7911 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7912 cat <<_LT_EOF > conftest.$ac_ext 7913/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7914#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7915/* DATA imports from DLLs on WIN32 can't be const, because runtime 7916 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7917# define LT_DLSYM_CONST 7918#elif defined __osf__ 7919/* This system does not cope well with relocations in const data. */ 7920# define LT_DLSYM_CONST 7921#else 7922# define LT_DLSYM_CONST const 7923#endif 7924 7925#ifdef __cplusplus 7926extern "C" { 7927#endif 7928 7929_LT_EOF 7930 # Now generate the symbol file. 7931 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7932 7933 cat <<_LT_EOF >> conftest.$ac_ext 7934 7935/* The mapping between symbol names and symbols. */ 7936LT_DLSYM_CONST struct { 7937 const char *name; 7938 void *address; 7939} 7940lt__PROGRAM__LTX_preloaded_symbols[] = 7941{ 7942 { "@PROGRAM@", (void *) 0 }, 7943_LT_EOF 7944 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7945 cat <<\_LT_EOF >> conftest.$ac_ext 7946 {0, (void *) 0} 7947}; 7948 7949/* This works around a problem in FreeBSD linker */ 7950#ifdef FREEBSD_WORKAROUND 7951static const void *lt_preloaded_setup() { 7952 return lt__PROGRAM__LTX_preloaded_symbols; 7953} 7954#endif 7955 7956#ifdef __cplusplus 7957} 7958#endif 7959_LT_EOF 7960 # Now try linking the two files. 7961 mv conftest.$ac_objext conftstm.$ac_objext 7962 lt_globsym_save_LIBS=$LIBS 7963 lt_globsym_save_CFLAGS=$CFLAGS 7964 LIBS=conftstm.$ac_objext 7965 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7967 (eval $ac_link) 2>&5 7968 ac_status=$? 7969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7970 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7971 pipe_works=yes 7972 fi 7973 LIBS=$lt_globsym_save_LIBS 7974 CFLAGS=$lt_globsym_save_CFLAGS 7975 else 7976 echo "cannot find nm_test_func in $nlist" >&5 7977 fi 7978 else 7979 echo "cannot find nm_test_var in $nlist" >&5 7980 fi 7981 else 7982 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7983 fi 7984 else 7985 echo "$progname: failed program was:" >&5 7986 cat conftest.$ac_ext >&5 7987 fi 7988 rm -rf conftest* conftst* 7989 7990 # Do not use the global_symbol_pipe unless it works. 7991 if test yes = "$pipe_works"; then 7992 break 7993 else 7994 lt_cv_sys_global_symbol_pipe= 7995 fi 7996done 7997 7998fi 7999 8000if test -z "$lt_cv_sys_global_symbol_pipe"; then 8001 lt_cv_sys_global_symbol_to_cdecl= 8002fi 8003if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8005$as_echo "failed" >&6; } 8006else 8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8008$as_echo "ok" >&6; } 8009fi 8010 8011# Response file support. 8012if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8013 nm_file_list_spec='@' 8014elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8015 nm_file_list_spec='@' 8016fi 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8055$as_echo_n "checking for sysroot... " >&6; } 8056 8057# Check whether --with-sysroot was given. 8058if test "${with_sysroot+set}" = set; then : 8059 withval=$with_sysroot; 8060else 8061 with_sysroot=no 8062fi 8063 8064 8065lt_sysroot= 8066case $with_sysroot in #( 8067 yes) 8068 if test yes = "$GCC"; then 8069 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8070 fi 8071 ;; #( 8072 /*) 8073 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8074 ;; #( 8075 no|'') 8076 ;; #( 8077 *) 8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8079$as_echo "$with_sysroot" >&6; } 8080 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8081 ;; 8082esac 8083 8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8085$as_echo "${lt_sysroot:-no}" >&6; } 8086 8087 8088 8089 8090 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8092$as_echo_n "checking for a working dd... " >&6; } 8093if ${ac_cv_path_lt_DD+:} false; then : 8094 $as_echo_n "(cached) " >&6 8095else 8096 printf 0123456789abcdef0123456789abcdef >conftest.i 8097cat conftest.i conftest.i >conftest2.i 8098: ${lt_DD:=$DD} 8099if test -z "$lt_DD"; then 8100 ac_path_lt_DD_found=false 8101 # Loop through the user's path and test for each of PROGNAME-LIST 8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8103for as_dir in $PATH 8104do 8105 IFS=$as_save_IFS 8106 test -z "$as_dir" && as_dir=. 8107 for ac_prog in dd; do 8108 for ac_exec_ext in '' $ac_executable_extensions; do 8109 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8110 as_fn_executable_p "$ac_path_lt_DD" || continue 8111if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8112 cmp -s conftest.i conftest.out \ 8113 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8114fi 8115 $ac_path_lt_DD_found && break 3 8116 done 8117 done 8118 done 8119IFS=$as_save_IFS 8120 if test -z "$ac_cv_path_lt_DD"; then 8121 : 8122 fi 8123else 8124 ac_cv_path_lt_DD=$lt_DD 8125fi 8126 8127rm -f conftest.i conftest2.i conftest.out 8128fi 8129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8130$as_echo "$ac_cv_path_lt_DD" >&6; } 8131 8132 8133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8134$as_echo_n "checking how to truncate binary pipes... " >&6; } 8135if ${lt_cv_truncate_bin+:} false; then : 8136 $as_echo_n "(cached) " >&6 8137else 8138 printf 0123456789abcdef0123456789abcdef >conftest.i 8139cat conftest.i conftest.i >conftest2.i 8140lt_cv_truncate_bin= 8141if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8142 cmp -s conftest.i conftest.out \ 8143 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8144fi 8145rm -f conftest.i conftest2.i conftest.out 8146test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8147fi 8148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8149$as_echo "$lt_cv_truncate_bin" >&6; } 8150 8151 8152 8153 8154 8155 8156 8157# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8158func_cc_basename () 8159{ 8160 for cc_temp in $*""; do 8161 case $cc_temp in 8162 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8163 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8164 \-*) ;; 8165 *) break;; 8166 esac 8167 done 8168 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8169} 8170 8171# Check whether --enable-libtool-lock was given. 8172if test "${enable_libtool_lock+set}" = set; then : 8173 enableval=$enable_libtool_lock; 8174fi 8175 8176test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8177 8178# Some flags need to be propagated to the compiler or linker for good 8179# libtool support. 8180case $host in 8181ia64-*-hpux*) 8182 # Find out what ABI is being produced by ac_compile, and set mode 8183 # options accordingly. 8184 echo 'int i;' > conftest.$ac_ext 8185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8186 (eval $ac_compile) 2>&5 8187 ac_status=$? 8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8189 test $ac_status = 0; }; then 8190 case `/usr/bin/file conftest.$ac_objext` in 8191 *ELF-32*) 8192 HPUX_IA64_MODE=32 8193 ;; 8194 *ELF-64*) 8195 HPUX_IA64_MODE=64 8196 ;; 8197 esac 8198 fi 8199 rm -rf conftest* 8200 ;; 8201*-*-irix6*) 8202 # Find out what ABI is being produced by ac_compile, and set linker 8203 # options accordingly. 8204 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8206 (eval $ac_compile) 2>&5 8207 ac_status=$? 8208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8209 test $ac_status = 0; }; then 8210 if test yes = "$lt_cv_prog_gnu_ld"; then 8211 case `/usr/bin/file conftest.$ac_objext` in 8212 *32-bit*) 8213 LD="${LD-ld} -melf32bsmip" 8214 ;; 8215 *N32*) 8216 LD="${LD-ld} -melf32bmipn32" 8217 ;; 8218 *64-bit*) 8219 LD="${LD-ld} -melf64bmip" 8220 ;; 8221 esac 8222 else 8223 case `/usr/bin/file conftest.$ac_objext` in 8224 *32-bit*) 8225 LD="${LD-ld} -32" 8226 ;; 8227 *N32*) 8228 LD="${LD-ld} -n32" 8229 ;; 8230 *64-bit*) 8231 LD="${LD-ld} -64" 8232 ;; 8233 esac 8234 fi 8235 fi 8236 rm -rf conftest* 8237 ;; 8238 8239mips64*-*linux*) 8240 # Find out what ABI is being produced by ac_compile, and set linker 8241 # options accordingly. 8242 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8244 (eval $ac_compile) 2>&5 8245 ac_status=$? 8246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8247 test $ac_status = 0; }; then 8248 emul=elf 8249 case `/usr/bin/file conftest.$ac_objext` in 8250 *32-bit*) 8251 emul="${emul}32" 8252 ;; 8253 *64-bit*) 8254 emul="${emul}64" 8255 ;; 8256 esac 8257 case `/usr/bin/file conftest.$ac_objext` in 8258 *MSB*) 8259 emul="${emul}btsmip" 8260 ;; 8261 *LSB*) 8262 emul="${emul}ltsmip" 8263 ;; 8264 esac 8265 case `/usr/bin/file conftest.$ac_objext` in 8266 *N32*) 8267 emul="${emul}n32" 8268 ;; 8269 esac 8270 LD="${LD-ld} -m $emul" 8271 fi 8272 rm -rf conftest* 8273 ;; 8274 8275x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8276s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8277 # Find out what ABI is being produced by ac_compile, and set linker 8278 # options accordingly. Note that the listed cases only cover the 8279 # situations where additional linker options are needed (such as when 8280 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8281 # vice versa); the common cases where no linker options are needed do 8282 # not appear in the list. 8283 echo 'int i;' > conftest.$ac_ext 8284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8285 (eval $ac_compile) 2>&5 8286 ac_status=$? 8287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8288 test $ac_status = 0; }; then 8289 case `/usr/bin/file conftest.o` in 8290 *32-bit*) 8291 case $host in 8292 x86_64-*kfreebsd*-gnu) 8293 LD="${LD-ld} -m elf_i386_fbsd" 8294 ;; 8295 x86_64-*linux*) 8296 case `/usr/bin/file conftest.o` in 8297 *x86-64*) 8298 LD="${LD-ld} -m elf32_x86_64" 8299 ;; 8300 *) 8301 LD="${LD-ld} -m elf_i386" 8302 ;; 8303 esac 8304 ;; 8305 powerpc64le-*linux*) 8306 LD="${LD-ld} -m elf32lppclinux" 8307 ;; 8308 powerpc64-*linux*) 8309 LD="${LD-ld} -m elf32ppclinux" 8310 ;; 8311 s390x-*linux*) 8312 LD="${LD-ld} -m elf_s390" 8313 ;; 8314 sparc64-*linux*) 8315 LD="${LD-ld} -m elf32_sparc" 8316 ;; 8317 esac 8318 ;; 8319 *64-bit*) 8320 case $host in 8321 x86_64-*kfreebsd*-gnu) 8322 LD="${LD-ld} -m elf_x86_64_fbsd" 8323 ;; 8324 x86_64-*linux*) 8325 LD="${LD-ld} -m elf_x86_64" 8326 ;; 8327 powerpcle-*linux*) 8328 LD="${LD-ld} -m elf64lppc" 8329 ;; 8330 powerpc-*linux*) 8331 LD="${LD-ld} -m elf64ppc" 8332 ;; 8333 s390*-*linux*|s390*-*tpf*) 8334 LD="${LD-ld} -m elf64_s390" 8335 ;; 8336 sparc*-*linux*) 8337 LD="${LD-ld} -m elf64_sparc" 8338 ;; 8339 esac 8340 ;; 8341 esac 8342 fi 8343 rm -rf conftest* 8344 ;; 8345 8346*-*-sco3.2v5*) 8347 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8348 SAVE_CFLAGS=$CFLAGS 8349 CFLAGS="$CFLAGS -belf" 8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8351$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8352if ${lt_cv_cc_needs_belf+:} false; then : 8353 $as_echo_n "(cached) " >&6 8354else 8355 ac_ext=c 8356ac_cpp='$CPP $CPPFLAGS' 8357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8359ac_compiler_gnu=$ac_cv_c_compiler_gnu 8360 8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8362/* end confdefs.h. */ 8363 8364int 8365main () 8366{ 8367 8368 ; 8369 return 0; 8370} 8371_ACEOF 8372if ac_fn_c_try_link "$LINENO"; then : 8373 lt_cv_cc_needs_belf=yes 8374else 8375 lt_cv_cc_needs_belf=no 8376fi 8377rm -f core conftest.err conftest.$ac_objext \ 8378 conftest$ac_exeext conftest.$ac_ext 8379 ac_ext=c 8380ac_cpp='$CPP $CPPFLAGS' 8381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8383ac_compiler_gnu=$ac_cv_c_compiler_gnu 8384 8385fi 8386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8387$as_echo "$lt_cv_cc_needs_belf" >&6; } 8388 if test yes != "$lt_cv_cc_needs_belf"; then 8389 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8390 CFLAGS=$SAVE_CFLAGS 8391 fi 8392 ;; 8393*-*solaris*) 8394 # Find out what ABI is being produced by ac_compile, and set linker 8395 # options accordingly. 8396 echo 'int i;' > conftest.$ac_ext 8397 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8398 (eval $ac_compile) 2>&5 8399 ac_status=$? 8400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8401 test $ac_status = 0; }; then 8402 case `/usr/bin/file conftest.o` in 8403 *64-bit*) 8404 case $lt_cv_prog_gnu_ld in 8405 yes*) 8406 case $host in 8407 i?86-*-solaris*|x86_64-*-solaris*) 8408 LD="${LD-ld} -m elf_x86_64" 8409 ;; 8410 sparc*-*-solaris*) 8411 LD="${LD-ld} -m elf64_sparc" 8412 ;; 8413 esac 8414 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8415 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8416 LD=${LD-ld}_sol2 8417 fi 8418 ;; 8419 *) 8420 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8421 LD="${LD-ld} -64" 8422 fi 8423 ;; 8424 esac 8425 ;; 8426 esac 8427 fi 8428 rm -rf conftest* 8429 ;; 8430esac 8431 8432need_locks=$enable_libtool_lock 8433 8434if test -n "$ac_tool_prefix"; then 8435 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8436set dummy ${ac_tool_prefix}mt; ac_word=$2 8437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8438$as_echo_n "checking for $ac_word... " >&6; } 8439if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8440 $as_echo_n "(cached) " >&6 8441else 8442 if test -n "$MANIFEST_TOOL"; then 8443 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8444else 8445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8446for as_dir in $PATH 8447do 8448 IFS=$as_save_IFS 8449 test -z "$as_dir" && as_dir=. 8450 for ac_exec_ext in '' $ac_executable_extensions; do 8451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8452 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8454 break 2 8455 fi 8456done 8457 done 8458IFS=$as_save_IFS 8459 8460fi 8461fi 8462MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8463if test -n "$MANIFEST_TOOL"; then 8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8465$as_echo "$MANIFEST_TOOL" >&6; } 8466else 8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8468$as_echo "no" >&6; } 8469fi 8470 8471 8472fi 8473if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8474 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8475 # Extract the first word of "mt", so it can be a program name with args. 8476set dummy mt; ac_word=$2 8477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8478$as_echo_n "checking for $ac_word... " >&6; } 8479if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8480 $as_echo_n "(cached) " >&6 8481else 8482 if test -n "$ac_ct_MANIFEST_TOOL"; then 8483 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8484else 8485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8486for as_dir in $PATH 8487do 8488 IFS=$as_save_IFS 8489 test -z "$as_dir" && as_dir=. 8490 for ac_exec_ext in '' $ac_executable_extensions; do 8491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8492 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8494 break 2 8495 fi 8496done 8497 done 8498IFS=$as_save_IFS 8499 8500fi 8501fi 8502ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8503if test -n "$ac_ct_MANIFEST_TOOL"; then 8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8505$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8506else 8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8508$as_echo "no" >&6; } 8509fi 8510 8511 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8512 MANIFEST_TOOL=":" 8513 else 8514 case $cross_compiling:$ac_tool_warned in 8515yes:) 8516{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8517$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8518ac_tool_warned=yes ;; 8519esac 8520 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8521 fi 8522else 8523 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8524fi 8525 8526test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8528$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8529if ${lt_cv_path_mainfest_tool+:} false; then : 8530 $as_echo_n "(cached) " >&6 8531else 8532 lt_cv_path_mainfest_tool=no 8533 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8534 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8535 cat conftest.err >&5 8536 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8537 lt_cv_path_mainfest_tool=yes 8538 fi 8539 rm -f conftest* 8540fi 8541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8542$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8543if test yes != "$lt_cv_path_mainfest_tool"; then 8544 MANIFEST_TOOL=: 8545fi 8546 8547 8548 8549 8550 8551 8552 case $host_os in 8553 rhapsody* | darwin*) 8554 if test -n "$ac_tool_prefix"; then 8555 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8556set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8558$as_echo_n "checking for $ac_word... " >&6; } 8559if ${ac_cv_prog_DSYMUTIL+:} false; then : 8560 $as_echo_n "(cached) " >&6 8561else 8562 if test -n "$DSYMUTIL"; then 8563 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8564else 8565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8566for as_dir in $PATH 8567do 8568 IFS=$as_save_IFS 8569 test -z "$as_dir" && as_dir=. 8570 for ac_exec_ext in '' $ac_executable_extensions; do 8571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8572 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8574 break 2 8575 fi 8576done 8577 done 8578IFS=$as_save_IFS 8579 8580fi 8581fi 8582DSYMUTIL=$ac_cv_prog_DSYMUTIL 8583if test -n "$DSYMUTIL"; then 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8585$as_echo "$DSYMUTIL" >&6; } 8586else 8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8588$as_echo "no" >&6; } 8589fi 8590 8591 8592fi 8593if test -z "$ac_cv_prog_DSYMUTIL"; then 8594 ac_ct_DSYMUTIL=$DSYMUTIL 8595 # Extract the first word of "dsymutil", so it can be a program name with args. 8596set dummy dsymutil; ac_word=$2 8597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8598$as_echo_n "checking for $ac_word... " >&6; } 8599if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8600 $as_echo_n "(cached) " >&6 8601else 8602 if test -n "$ac_ct_DSYMUTIL"; then 8603 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8604else 8605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8606for as_dir in $PATH 8607do 8608 IFS=$as_save_IFS 8609 test -z "$as_dir" && as_dir=. 8610 for ac_exec_ext in '' $ac_executable_extensions; do 8611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8612 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8614 break 2 8615 fi 8616done 8617 done 8618IFS=$as_save_IFS 8619 8620fi 8621fi 8622ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8623if test -n "$ac_ct_DSYMUTIL"; then 8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8625$as_echo "$ac_ct_DSYMUTIL" >&6; } 8626else 8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8628$as_echo "no" >&6; } 8629fi 8630 8631 if test "x$ac_ct_DSYMUTIL" = x; then 8632 DSYMUTIL=":" 8633 else 8634 case $cross_compiling:$ac_tool_warned in 8635yes:) 8636{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8637$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8638ac_tool_warned=yes ;; 8639esac 8640 DSYMUTIL=$ac_ct_DSYMUTIL 8641 fi 8642else 8643 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8644fi 8645 8646 if test -n "$ac_tool_prefix"; then 8647 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8648set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8650$as_echo_n "checking for $ac_word... " >&6; } 8651if ${ac_cv_prog_NMEDIT+:} false; then : 8652 $as_echo_n "(cached) " >&6 8653else 8654 if test -n "$NMEDIT"; then 8655 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8656else 8657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8658for as_dir in $PATH 8659do 8660 IFS=$as_save_IFS 8661 test -z "$as_dir" && as_dir=. 8662 for ac_exec_ext in '' $ac_executable_extensions; do 8663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8664 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8666 break 2 8667 fi 8668done 8669 done 8670IFS=$as_save_IFS 8671 8672fi 8673fi 8674NMEDIT=$ac_cv_prog_NMEDIT 8675if test -n "$NMEDIT"; then 8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8677$as_echo "$NMEDIT" >&6; } 8678else 8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8680$as_echo "no" >&6; } 8681fi 8682 8683 8684fi 8685if test -z "$ac_cv_prog_NMEDIT"; then 8686 ac_ct_NMEDIT=$NMEDIT 8687 # Extract the first word of "nmedit", so it can be a program name with args. 8688set dummy nmedit; ac_word=$2 8689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8690$as_echo_n "checking for $ac_word... " >&6; } 8691if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8692 $as_echo_n "(cached) " >&6 8693else 8694 if test -n "$ac_ct_NMEDIT"; then 8695 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8696else 8697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8698for as_dir in $PATH 8699do 8700 IFS=$as_save_IFS 8701 test -z "$as_dir" && as_dir=. 8702 for ac_exec_ext in '' $ac_executable_extensions; do 8703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8704 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8706 break 2 8707 fi 8708done 8709 done 8710IFS=$as_save_IFS 8711 8712fi 8713fi 8714ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8715if test -n "$ac_ct_NMEDIT"; then 8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8717$as_echo "$ac_ct_NMEDIT" >&6; } 8718else 8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8720$as_echo "no" >&6; } 8721fi 8722 8723 if test "x$ac_ct_NMEDIT" = x; then 8724 NMEDIT=":" 8725 else 8726 case $cross_compiling:$ac_tool_warned in 8727yes:) 8728{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8729$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8730ac_tool_warned=yes ;; 8731esac 8732 NMEDIT=$ac_ct_NMEDIT 8733 fi 8734else 8735 NMEDIT="$ac_cv_prog_NMEDIT" 8736fi 8737 8738 if test -n "$ac_tool_prefix"; then 8739 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8740set dummy ${ac_tool_prefix}lipo; ac_word=$2 8741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8742$as_echo_n "checking for $ac_word... " >&6; } 8743if ${ac_cv_prog_LIPO+:} false; then : 8744 $as_echo_n "(cached) " >&6 8745else 8746 if test -n "$LIPO"; then 8747 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8748else 8749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8750for as_dir in $PATH 8751do 8752 IFS=$as_save_IFS 8753 test -z "$as_dir" && as_dir=. 8754 for ac_exec_ext in '' $ac_executable_extensions; do 8755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8756 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8758 break 2 8759 fi 8760done 8761 done 8762IFS=$as_save_IFS 8763 8764fi 8765fi 8766LIPO=$ac_cv_prog_LIPO 8767if test -n "$LIPO"; then 8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8769$as_echo "$LIPO" >&6; } 8770else 8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8772$as_echo "no" >&6; } 8773fi 8774 8775 8776fi 8777if test -z "$ac_cv_prog_LIPO"; then 8778 ac_ct_LIPO=$LIPO 8779 # Extract the first word of "lipo", so it can be a program name with args. 8780set dummy lipo; ac_word=$2 8781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8782$as_echo_n "checking for $ac_word... " >&6; } 8783if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8784 $as_echo_n "(cached) " >&6 8785else 8786 if test -n "$ac_ct_LIPO"; then 8787 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8788else 8789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8790for as_dir in $PATH 8791do 8792 IFS=$as_save_IFS 8793 test -z "$as_dir" && as_dir=. 8794 for ac_exec_ext in '' $ac_executable_extensions; do 8795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8796 ac_cv_prog_ac_ct_LIPO="lipo" 8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8798 break 2 8799 fi 8800done 8801 done 8802IFS=$as_save_IFS 8803 8804fi 8805fi 8806ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8807if test -n "$ac_ct_LIPO"; then 8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8809$as_echo "$ac_ct_LIPO" >&6; } 8810else 8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8812$as_echo "no" >&6; } 8813fi 8814 8815 if test "x$ac_ct_LIPO" = x; then 8816 LIPO=":" 8817 else 8818 case $cross_compiling:$ac_tool_warned in 8819yes:) 8820{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8821$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8822ac_tool_warned=yes ;; 8823esac 8824 LIPO=$ac_ct_LIPO 8825 fi 8826else 8827 LIPO="$ac_cv_prog_LIPO" 8828fi 8829 8830 if test -n "$ac_tool_prefix"; then 8831 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8832set dummy ${ac_tool_prefix}otool; ac_word=$2 8833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8834$as_echo_n "checking for $ac_word... " >&6; } 8835if ${ac_cv_prog_OTOOL+:} false; then : 8836 $as_echo_n "(cached) " >&6 8837else 8838 if test -n "$OTOOL"; then 8839 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8840else 8841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8842for as_dir in $PATH 8843do 8844 IFS=$as_save_IFS 8845 test -z "$as_dir" && as_dir=. 8846 for ac_exec_ext in '' $ac_executable_extensions; do 8847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8848 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8850 break 2 8851 fi 8852done 8853 done 8854IFS=$as_save_IFS 8855 8856fi 8857fi 8858OTOOL=$ac_cv_prog_OTOOL 8859if test -n "$OTOOL"; then 8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8861$as_echo "$OTOOL" >&6; } 8862else 8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8864$as_echo "no" >&6; } 8865fi 8866 8867 8868fi 8869if test -z "$ac_cv_prog_OTOOL"; then 8870 ac_ct_OTOOL=$OTOOL 8871 # Extract the first word of "otool", so it can be a program name with args. 8872set dummy otool; ac_word=$2 8873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8874$as_echo_n "checking for $ac_word... " >&6; } 8875if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8876 $as_echo_n "(cached) " >&6 8877else 8878 if test -n "$ac_ct_OTOOL"; then 8879 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8880else 8881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8882for as_dir in $PATH 8883do 8884 IFS=$as_save_IFS 8885 test -z "$as_dir" && as_dir=. 8886 for ac_exec_ext in '' $ac_executable_extensions; do 8887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8888 ac_cv_prog_ac_ct_OTOOL="otool" 8889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8890 break 2 8891 fi 8892done 8893 done 8894IFS=$as_save_IFS 8895 8896fi 8897fi 8898ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8899if test -n "$ac_ct_OTOOL"; then 8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8901$as_echo "$ac_ct_OTOOL" >&6; } 8902else 8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8904$as_echo "no" >&6; } 8905fi 8906 8907 if test "x$ac_ct_OTOOL" = x; then 8908 OTOOL=":" 8909 else 8910 case $cross_compiling:$ac_tool_warned in 8911yes:) 8912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8914ac_tool_warned=yes ;; 8915esac 8916 OTOOL=$ac_ct_OTOOL 8917 fi 8918else 8919 OTOOL="$ac_cv_prog_OTOOL" 8920fi 8921 8922 if test -n "$ac_tool_prefix"; then 8923 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8924set dummy ${ac_tool_prefix}otool64; ac_word=$2 8925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8926$as_echo_n "checking for $ac_word... " >&6; } 8927if ${ac_cv_prog_OTOOL64+:} false; then : 8928 $as_echo_n "(cached) " >&6 8929else 8930 if test -n "$OTOOL64"; then 8931 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8932else 8933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8934for as_dir in $PATH 8935do 8936 IFS=$as_save_IFS 8937 test -z "$as_dir" && as_dir=. 8938 for ac_exec_ext in '' $ac_executable_extensions; do 8939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8940 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8942 break 2 8943 fi 8944done 8945 done 8946IFS=$as_save_IFS 8947 8948fi 8949fi 8950OTOOL64=$ac_cv_prog_OTOOL64 8951if test -n "$OTOOL64"; then 8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8953$as_echo "$OTOOL64" >&6; } 8954else 8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8956$as_echo "no" >&6; } 8957fi 8958 8959 8960fi 8961if test -z "$ac_cv_prog_OTOOL64"; then 8962 ac_ct_OTOOL64=$OTOOL64 8963 # Extract the first word of "otool64", so it can be a program name with args. 8964set dummy otool64; ac_word=$2 8965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8966$as_echo_n "checking for $ac_word... " >&6; } 8967if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8968 $as_echo_n "(cached) " >&6 8969else 8970 if test -n "$ac_ct_OTOOL64"; then 8971 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8972else 8973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8974for as_dir in $PATH 8975do 8976 IFS=$as_save_IFS 8977 test -z "$as_dir" && as_dir=. 8978 for ac_exec_ext in '' $ac_executable_extensions; do 8979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8980 ac_cv_prog_ac_ct_OTOOL64="otool64" 8981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8982 break 2 8983 fi 8984done 8985 done 8986IFS=$as_save_IFS 8987 8988fi 8989fi 8990ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8991if test -n "$ac_ct_OTOOL64"; then 8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8993$as_echo "$ac_ct_OTOOL64" >&6; } 8994else 8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8996$as_echo "no" >&6; } 8997fi 8998 8999 if test "x$ac_ct_OTOOL64" = x; then 9000 OTOOL64=":" 9001 else 9002 case $cross_compiling:$ac_tool_warned in 9003yes:) 9004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9006ac_tool_warned=yes ;; 9007esac 9008 OTOOL64=$ac_ct_OTOOL64 9009 fi 9010else 9011 OTOOL64="$ac_cv_prog_OTOOL64" 9012fi 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9041$as_echo_n "checking for -single_module linker flag... " >&6; } 9042if ${lt_cv_apple_cc_single_mod+:} false; then : 9043 $as_echo_n "(cached) " >&6 9044else 9045 lt_cv_apple_cc_single_mod=no 9046 if test -z "$LT_MULTI_MODULE"; then 9047 # By default we will add the -single_module flag. You can override 9048 # by either setting the environment variable LT_MULTI_MODULE 9049 # non-empty at configure time, or by adding -multi_module to the 9050 # link flags. 9051 rm -rf libconftest.dylib* 9052 echo "int foo(void){return 1;}" > conftest.c 9053 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9054-dynamiclib -Wl,-single_module conftest.c" >&5 9055 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9056 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9057 _lt_result=$? 9058 # If there is a non-empty error log, and "single_module" 9059 # appears in it, assume the flag caused a linker warning 9060 if test -s conftest.err && $GREP single_module conftest.err; then 9061 cat conftest.err >&5 9062 # Otherwise, if the output was created with a 0 exit code from 9063 # the compiler, it worked. 9064 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9065 lt_cv_apple_cc_single_mod=yes 9066 else 9067 cat conftest.err >&5 9068 fi 9069 rm -rf libconftest.dylib* 9070 rm -f conftest.* 9071 fi 9072fi 9073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9074$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9075 9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9077$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9078if ${lt_cv_ld_exported_symbols_list+:} false; then : 9079 $as_echo_n "(cached) " >&6 9080else 9081 lt_cv_ld_exported_symbols_list=no 9082 save_LDFLAGS=$LDFLAGS 9083 echo "_main" > conftest.sym 9084 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9086/* end confdefs.h. */ 9087 9088int 9089main () 9090{ 9091 9092 ; 9093 return 0; 9094} 9095_ACEOF 9096if ac_fn_c_try_link "$LINENO"; then : 9097 lt_cv_ld_exported_symbols_list=yes 9098else 9099 lt_cv_ld_exported_symbols_list=no 9100fi 9101rm -f core conftest.err conftest.$ac_objext \ 9102 conftest$ac_exeext conftest.$ac_ext 9103 LDFLAGS=$save_LDFLAGS 9104 9105fi 9106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9107$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9108 9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9110$as_echo_n "checking for -force_load linker flag... " >&6; } 9111if ${lt_cv_ld_force_load+:} false; then : 9112 $as_echo_n "(cached) " >&6 9113else 9114 lt_cv_ld_force_load=no 9115 cat > conftest.c << _LT_EOF 9116int forced_loaded() { return 2;} 9117_LT_EOF 9118 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9119 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9120 echo "$AR cru libconftest.a conftest.o" >&5 9121 $AR cru libconftest.a conftest.o 2>&5 9122 echo "$RANLIB libconftest.a" >&5 9123 $RANLIB libconftest.a 2>&5 9124 cat > conftest.c << _LT_EOF 9125int main() { return 0;} 9126_LT_EOF 9127 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9128 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9129 _lt_result=$? 9130 if test -s conftest.err && $GREP force_load conftest.err; then 9131 cat conftest.err >&5 9132 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9133 lt_cv_ld_force_load=yes 9134 else 9135 cat conftest.err >&5 9136 fi 9137 rm -f conftest.err libconftest.a conftest conftest.c 9138 rm -rf conftest.dSYM 9139 9140fi 9141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9142$as_echo "$lt_cv_ld_force_load" >&6; } 9143 case $host_os in 9144 rhapsody* | darwin1.[012]) 9145 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9146 darwin1.*) 9147 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9148 darwin*) # darwin 5.x on 9149 # if running on 10.5 or later, the deployment target defaults 9150 # to the OS version, if on x86, and 10.4, the deployment 9151 # target defaults to 10.4. Don't you love it? 9152 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9153 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9154 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9155 10.[012][,.]*) 9156 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9157 10.*) 9158 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9159 esac 9160 ;; 9161 esac 9162 if test yes = "$lt_cv_apple_cc_single_mod"; then 9163 _lt_dar_single_mod='$single_module' 9164 fi 9165 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9166 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9167 else 9168 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9169 fi 9170 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9171 _lt_dsymutil='~$DSYMUTIL $lib || :' 9172 else 9173 _lt_dsymutil= 9174 fi 9175 ;; 9176 esac 9177 9178# func_munge_path_list VARIABLE PATH 9179# ----------------------------------- 9180# VARIABLE is name of variable containing _space_ separated list of 9181# directories to be munged by the contents of PATH, which is string 9182# having a format: 9183# "DIR[:DIR]:" 9184# string "DIR[ DIR]" will be prepended to VARIABLE 9185# ":DIR[:DIR]" 9186# string "DIR[ DIR]" will be appended to VARIABLE 9187# "DIRP[:DIRP]::[DIRA:]DIRA" 9188# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9189# "DIRA[ DIRA]" will be appended to VARIABLE 9190# "DIR[:DIR]" 9191# VARIABLE will be replaced by "DIR[ DIR]" 9192func_munge_path_list () 9193{ 9194 case x$2 in 9195 x) 9196 ;; 9197 *:) 9198 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9199 ;; 9200 x:*) 9201 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9202 ;; 9203 *::*) 9204 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9205 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9206 ;; 9207 *) 9208 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9209 ;; 9210 esac 9211} 9212 9213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9214$as_echo_n "checking for ANSI C header files... " >&6; } 9215if ${ac_cv_header_stdc+:} false; then : 9216 $as_echo_n "(cached) " >&6 9217else 9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9219/* end confdefs.h. */ 9220#include <stdlib.h> 9221#include <stdarg.h> 9222#include <string.h> 9223#include <float.h> 9224 9225int 9226main () 9227{ 9228 9229 ; 9230 return 0; 9231} 9232_ACEOF 9233if ac_fn_c_try_compile "$LINENO"; then : 9234 ac_cv_header_stdc=yes 9235else 9236 ac_cv_header_stdc=no 9237fi 9238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9239 9240if test $ac_cv_header_stdc = yes; then 9241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9243/* end confdefs.h. */ 9244#include <string.h> 9245 9246_ACEOF 9247if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9248 $EGREP "memchr" >/dev/null 2>&1; then : 9249 9250else 9251 ac_cv_header_stdc=no 9252fi 9253rm -f conftest* 9254 9255fi 9256 9257if test $ac_cv_header_stdc = yes; then 9258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9260/* end confdefs.h. */ 9261#include <stdlib.h> 9262 9263_ACEOF 9264if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9265 $EGREP "free" >/dev/null 2>&1; then : 9266 9267else 9268 ac_cv_header_stdc=no 9269fi 9270rm -f conftest* 9271 9272fi 9273 9274if test $ac_cv_header_stdc = yes; then 9275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9276 if test "$cross_compiling" = yes; then : 9277 : 9278else 9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9280/* end confdefs.h. */ 9281#include <ctype.h> 9282#include <stdlib.h> 9283#if ((' ' & 0x0FF) == 0x020) 9284# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9285# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9286#else 9287# define ISLOWER(c) \ 9288 (('a' <= (c) && (c) <= 'i') \ 9289 || ('j' <= (c) && (c) <= 'r') \ 9290 || ('s' <= (c) && (c) <= 'z')) 9291# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9292#endif 9293 9294#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9295int 9296main () 9297{ 9298 int i; 9299 for (i = 0; i < 256; i++) 9300 if (XOR (islower (i), ISLOWER (i)) 9301 || toupper (i) != TOUPPER (i)) 9302 return 2; 9303 return 0; 9304} 9305_ACEOF 9306if ac_fn_c_try_run "$LINENO"; then : 9307 9308else 9309 ac_cv_header_stdc=no 9310fi 9311rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9312 conftest.$ac_objext conftest.beam conftest.$ac_ext 9313fi 9314 9315fi 9316fi 9317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9318$as_echo "$ac_cv_header_stdc" >&6; } 9319if test $ac_cv_header_stdc = yes; then 9320 9321$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9322 9323fi 9324 9325# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9326for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9327 inttypes.h stdint.h unistd.h 9328do : 9329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9330ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9331" 9332if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9333 cat >>confdefs.h <<_ACEOF 9334#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9335_ACEOF 9336 9337fi 9338 9339done 9340 9341 9342for ac_header in dlfcn.h 9343do : 9344 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9345" 9346if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9347 cat >>confdefs.h <<_ACEOF 9348#define HAVE_DLFCN_H 1 9349_ACEOF 9350 9351fi 9352 9353done 9354 9355 9356 9357 9358func_stripname_cnf () 9359{ 9360 case $2 in 9361 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9362 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9363 esac 9364} # func_stripname_cnf 9365 9366 9367 9368 9369 9370# Set options 9371 9372 9373 9374 enable_dlopen=no 9375 9376 9377 9378 # Check whether --enable-shared was given. 9379if test "${enable_shared+set}" = set; then : 9380 enableval=$enable_shared; p=${PACKAGE-default} 9381 case $enableval in 9382 yes) enable_shared=yes ;; 9383 no) enable_shared=no ;; 9384 *) 9385 enable_shared=no 9386 # Look at the argument we got. We use all the common list separators. 9387 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9388 for pkg in $enableval; do 9389 IFS=$lt_save_ifs 9390 if test "X$pkg" = "X$p"; then 9391 enable_shared=yes 9392 fi 9393 done 9394 IFS=$lt_save_ifs 9395 ;; 9396 esac 9397else 9398 enable_shared=yes 9399fi 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 # Check whether --enable-static was given. 9410if test "${enable_static+set}" = set; then : 9411 enableval=$enable_static; p=${PACKAGE-default} 9412 case $enableval in 9413 yes) enable_static=yes ;; 9414 no) enable_static=no ;; 9415 *) 9416 enable_static=no 9417 # Look at the argument we got. We use all the common list separators. 9418 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9419 for pkg in $enableval; do 9420 IFS=$lt_save_ifs 9421 if test "X$pkg" = "X$p"; then 9422 enable_static=yes 9423 fi 9424 done 9425 IFS=$lt_save_ifs 9426 ;; 9427 esac 9428else 9429 enable_static=yes 9430fi 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441# Check whether --with-pic was given. 9442if test "${with_pic+set}" = set; then : 9443 withval=$with_pic; lt_p=${PACKAGE-default} 9444 case $withval in 9445 yes|no) pic_mode=$withval ;; 9446 *) 9447 pic_mode=default 9448 # Look at the argument we got. We use all the common list separators. 9449 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9450 for lt_pkg in $withval; do 9451 IFS=$lt_save_ifs 9452 if test "X$lt_pkg" = "X$lt_p"; then 9453 pic_mode=yes 9454 fi 9455 done 9456 IFS=$lt_save_ifs 9457 ;; 9458 esac 9459else 9460 pic_mode=default 9461fi 9462 9463 9464 9465 9466 9467 9468 9469 9470 # Check whether --enable-fast-install was given. 9471if test "${enable_fast_install+set}" = set; then : 9472 enableval=$enable_fast_install; p=${PACKAGE-default} 9473 case $enableval in 9474 yes) enable_fast_install=yes ;; 9475 no) enable_fast_install=no ;; 9476 *) 9477 enable_fast_install=no 9478 # Look at the argument we got. We use all the common list separators. 9479 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9480 for pkg in $enableval; do 9481 IFS=$lt_save_ifs 9482 if test "X$pkg" = "X$p"; then 9483 enable_fast_install=yes 9484 fi 9485 done 9486 IFS=$lt_save_ifs 9487 ;; 9488 esac 9489else 9490 enable_fast_install=yes 9491fi 9492 9493 9494 9495 9496 9497 9498 9499 9500 shared_archive_member_spec= 9501case $host,$enable_shared in 9502power*-*-aix[5-9]*,yes) 9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9504$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9505 9506# Check whether --with-aix-soname was given. 9507if test "${with_aix_soname+set}" = set; then : 9508 withval=$with_aix_soname; case $withval in 9509 aix|svr4|both) 9510 ;; 9511 *) 9512 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9513 ;; 9514 esac 9515 lt_cv_with_aix_soname=$with_aix_soname 9516else 9517 if ${lt_cv_with_aix_soname+:} false; then : 9518 $as_echo_n "(cached) " >&6 9519else 9520 lt_cv_with_aix_soname=aix 9521fi 9522 9523 with_aix_soname=$lt_cv_with_aix_soname 9524fi 9525 9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9527$as_echo "$with_aix_soname" >&6; } 9528 if test aix != "$with_aix_soname"; then 9529 # For the AIX way of multilib, we name the shared archive member 9530 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9531 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9532 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9533 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9534 if test 64 = "${OBJECT_MODE-32}"; then 9535 shared_archive_member_spec=shr_64 9536 else 9537 shared_archive_member_spec=shr 9538 fi 9539 fi 9540 ;; 9541*) 9542 with_aix_soname=aix 9543 ;; 9544esac 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555# This can be used to rebuild libtool when needed 9556LIBTOOL_DEPS=$ltmain 9557 9558# Always use our own libtool. 9559LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590test -z "$LN_S" && LN_S="ln -s" 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605if test -n "${ZSH_VERSION+set}"; then 9606 setopt NO_GLOB_SUBST 9607fi 9608 9609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9610$as_echo_n "checking for objdir... " >&6; } 9611if ${lt_cv_objdir+:} false; then : 9612 $as_echo_n "(cached) " >&6 9613else 9614 rm -f .libs 2>/dev/null 9615mkdir .libs 2>/dev/null 9616if test -d .libs; then 9617 lt_cv_objdir=.libs 9618else 9619 # MS-DOS does not allow filenames that begin with a dot. 9620 lt_cv_objdir=_libs 9621fi 9622rmdir .libs 2>/dev/null 9623fi 9624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9625$as_echo "$lt_cv_objdir" >&6; } 9626objdir=$lt_cv_objdir 9627 9628 9629 9630 9631 9632cat >>confdefs.h <<_ACEOF 9633#define LT_OBJDIR "$lt_cv_objdir/" 9634_ACEOF 9635 9636 9637 9638 9639case $host_os in 9640aix3*) 9641 # AIX sometimes has problems with the GCC collect2 program. For some 9642 # reason, if we set the COLLECT_NAMES environment variable, the problems 9643 # vanish in a puff of smoke. 9644 if test set != "${COLLECT_NAMES+set}"; then 9645 COLLECT_NAMES= 9646 export COLLECT_NAMES 9647 fi 9648 ;; 9649esac 9650 9651# Global variables: 9652ofile=libtool 9653can_build_shared=yes 9654 9655# All known linkers require a '.a' archive for static linking (except MSVC, 9656# which needs '.lib'). 9657libext=a 9658 9659with_gnu_ld=$lt_cv_prog_gnu_ld 9660 9661old_CC=$CC 9662old_CFLAGS=$CFLAGS 9663 9664# Set sane defaults for various variables 9665test -z "$CC" && CC=cc 9666test -z "$LTCC" && LTCC=$CC 9667test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9668test -z "$LD" && LD=ld 9669test -z "$ac_objext" && ac_objext=o 9670 9671func_cc_basename $compiler 9672cc_basename=$func_cc_basename_result 9673 9674 9675# Only perform the check for file, if the check method requires it 9676test -z "$MAGIC_CMD" && MAGIC_CMD=file 9677case $deplibs_check_method in 9678file_magic*) 9679 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9681$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9682if ${lt_cv_path_MAGIC_CMD+:} false; then : 9683 $as_echo_n "(cached) " >&6 9684else 9685 case $MAGIC_CMD in 9686[\\/*] | ?:[\\/]*) 9687 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9688 ;; 9689*) 9690 lt_save_MAGIC_CMD=$MAGIC_CMD 9691 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9692 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9693 for ac_dir in $ac_dummy; do 9694 IFS=$lt_save_ifs 9695 test -z "$ac_dir" && ac_dir=. 9696 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9697 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9698 if test -n "$file_magic_test_file"; then 9699 case $deplibs_check_method in 9700 "file_magic "*) 9701 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9702 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9703 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9704 $EGREP "$file_magic_regex" > /dev/null; then 9705 : 9706 else 9707 cat <<_LT_EOF 1>&2 9708 9709*** Warning: the command libtool uses to detect shared libraries, 9710*** $file_magic_cmd, produces output that libtool cannot recognize. 9711*** The result is that libtool may fail to recognize shared libraries 9712*** as such. This will affect the creation of libtool libraries that 9713*** depend on shared libraries, but programs linked with such libtool 9714*** libraries will work regardless of this problem. Nevertheless, you 9715*** may want to report the problem to your system manager and/or to 9716*** bug-libtool@gnu.org 9717 9718_LT_EOF 9719 fi ;; 9720 esac 9721 fi 9722 break 9723 fi 9724 done 9725 IFS=$lt_save_ifs 9726 MAGIC_CMD=$lt_save_MAGIC_CMD 9727 ;; 9728esac 9729fi 9730 9731MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9732if test -n "$MAGIC_CMD"; then 9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9734$as_echo "$MAGIC_CMD" >&6; } 9735else 9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9737$as_echo "no" >&6; } 9738fi 9739 9740 9741 9742 9743 9744if test -z "$lt_cv_path_MAGIC_CMD"; then 9745 if test -n "$ac_tool_prefix"; then 9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9747$as_echo_n "checking for file... " >&6; } 9748if ${lt_cv_path_MAGIC_CMD+:} false; then : 9749 $as_echo_n "(cached) " >&6 9750else 9751 case $MAGIC_CMD in 9752[\\/*] | ?:[\\/]*) 9753 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9754 ;; 9755*) 9756 lt_save_MAGIC_CMD=$MAGIC_CMD 9757 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9758 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9759 for ac_dir in $ac_dummy; do 9760 IFS=$lt_save_ifs 9761 test -z "$ac_dir" && ac_dir=. 9762 if test -f "$ac_dir/file"; then 9763 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9764 if test -n "$file_magic_test_file"; then 9765 case $deplibs_check_method in 9766 "file_magic "*) 9767 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9768 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9769 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9770 $EGREP "$file_magic_regex" > /dev/null; then 9771 : 9772 else 9773 cat <<_LT_EOF 1>&2 9774 9775*** Warning: the command libtool uses to detect shared libraries, 9776*** $file_magic_cmd, produces output that libtool cannot recognize. 9777*** The result is that libtool may fail to recognize shared libraries 9778*** as such. This will affect the creation of libtool libraries that 9779*** depend on shared libraries, but programs linked with such libtool 9780*** libraries will work regardless of this problem. Nevertheless, you 9781*** may want to report the problem to your system manager and/or to 9782*** bug-libtool@gnu.org 9783 9784_LT_EOF 9785 fi ;; 9786 esac 9787 fi 9788 break 9789 fi 9790 done 9791 IFS=$lt_save_ifs 9792 MAGIC_CMD=$lt_save_MAGIC_CMD 9793 ;; 9794esac 9795fi 9796 9797MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9798if test -n "$MAGIC_CMD"; then 9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9800$as_echo "$MAGIC_CMD" >&6; } 9801else 9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9803$as_echo "no" >&6; } 9804fi 9805 9806 9807 else 9808 MAGIC_CMD=: 9809 fi 9810fi 9811 9812 fi 9813 ;; 9814esac 9815 9816# Use C for the default configuration in the libtool script 9817 9818lt_save_CC=$CC 9819ac_ext=c 9820ac_cpp='$CPP $CPPFLAGS' 9821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9823ac_compiler_gnu=$ac_cv_c_compiler_gnu 9824 9825 9826# Source file extension for C test sources. 9827ac_ext=c 9828 9829# Object file extension for compiled C test sources. 9830objext=o 9831objext=$objext 9832 9833# Code to be used in simple compile tests 9834lt_simple_compile_test_code="int some_variable = 0;" 9835 9836# Code to be used in simple link tests 9837lt_simple_link_test_code='int main(){return(0);}' 9838 9839 9840 9841 9842 9843 9844 9845# If no C compiler was specified, use CC. 9846LTCC=${LTCC-"$CC"} 9847 9848# If no C compiler flags were specified, use CFLAGS. 9849LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9850 9851# Allow CC to be a program name with arguments. 9852compiler=$CC 9853 9854# Save the default compiler, since it gets overwritten when the other 9855# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9856compiler_DEFAULT=$CC 9857 9858# save warnings/boilerplate of simple test code 9859ac_outfile=conftest.$ac_objext 9860echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9861eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9862_lt_compiler_boilerplate=`cat conftest.err` 9863$RM conftest* 9864 9865ac_outfile=conftest.$ac_objext 9866echo "$lt_simple_link_test_code" >conftest.$ac_ext 9867eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9868_lt_linker_boilerplate=`cat conftest.err` 9869$RM -r conftest* 9870 9871 9872## CAVEAT EMPTOR: 9873## There is no encapsulation within the following macros, do not change 9874## the running order or otherwise move them around unless you know exactly 9875## what you are doing... 9876if test -n "$compiler"; then 9877 9878lt_prog_compiler_no_builtin_flag= 9879 9880if test yes = "$GCC"; then 9881 case $cc_basename in 9882 nvcc*) 9883 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9884 *) 9885 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9886 esac 9887 9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9889$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9890if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9891 $as_echo_n "(cached) " >&6 9892else 9893 lt_cv_prog_compiler_rtti_exceptions=no 9894 ac_outfile=conftest.$ac_objext 9895 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9896 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9897 # Insert the option either (1) after the last *FLAGS variable, or 9898 # (2) before a word containing "conftest.", or (3) at the end. 9899 # Note that $ac_compile itself does not contain backslashes and begins 9900 # with a dollar sign (not a hyphen), so the echo should work correctly. 9901 # The option is referenced via a variable to avoid confusing sed. 9902 lt_compile=`echo "$ac_compile" | $SED \ 9903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9905 -e 's:$: $lt_compiler_flag:'` 9906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9907 (eval "$lt_compile" 2>conftest.err) 9908 ac_status=$? 9909 cat conftest.err >&5 9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9911 if (exit $ac_status) && test -s "$ac_outfile"; then 9912 # The compiler can only warn and ignore the option if not recognized 9913 # So say no if there are warnings other than the usual output. 9914 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9916 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9917 lt_cv_prog_compiler_rtti_exceptions=yes 9918 fi 9919 fi 9920 $RM conftest* 9921 9922fi 9923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9924$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9925 9926if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9927 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9928else 9929 : 9930fi 9931 9932fi 9933 9934 9935 9936 9937 9938 9939 lt_prog_compiler_wl= 9940lt_prog_compiler_pic= 9941lt_prog_compiler_static= 9942 9943 9944 if test yes = "$GCC"; then 9945 lt_prog_compiler_wl='-Wl,' 9946 lt_prog_compiler_static='-static' 9947 9948 case $host_os in 9949 aix*) 9950 # All AIX code is PIC. 9951 if test ia64 = "$host_cpu"; then 9952 # AIX 5 now supports IA64 processor 9953 lt_prog_compiler_static='-Bstatic' 9954 fi 9955 lt_prog_compiler_pic='-fPIC' 9956 ;; 9957 9958 amigaos*) 9959 case $host_cpu in 9960 powerpc) 9961 # see comment about AmigaOS4 .so support 9962 lt_prog_compiler_pic='-fPIC' 9963 ;; 9964 m68k) 9965 # FIXME: we need at least 68020 code to build shared libraries, but 9966 # adding the '-m68020' flag to GCC prevents building anything better, 9967 # like '-m68040'. 9968 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9969 ;; 9970 esac 9971 ;; 9972 9973 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9974 # PIC is the default for these OSes. 9975 ;; 9976 9977 mingw* | cygwin* | pw32* | os2* | cegcc*) 9978 # This hack is so that the source file can tell whether it is being 9979 # built for inclusion in a dll (and should export symbols for example). 9980 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9981 # (--disable-auto-import) libraries 9982 lt_prog_compiler_pic='-DDLL_EXPORT' 9983 case $host_os in 9984 os2*) 9985 lt_prog_compiler_static='$wl-static' 9986 ;; 9987 esac 9988 ;; 9989 9990 darwin* | rhapsody*) 9991 # PIC is the default on this platform 9992 # Common symbols not allowed in MH_DYLIB files 9993 lt_prog_compiler_pic='-fno-common' 9994 ;; 9995 9996 haiku*) 9997 # PIC is the default for Haiku. 9998 # The "-static" flag exists, but is broken. 9999 lt_prog_compiler_static= 10000 ;; 10001 10002 hpux*) 10003 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10004 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10005 # sets the default TLS model and affects inlining. 10006 case $host_cpu in 10007 hppa*64*) 10008 # +Z the default 10009 ;; 10010 *) 10011 lt_prog_compiler_pic='-fPIC' 10012 ;; 10013 esac 10014 ;; 10015 10016 interix[3-9]*) 10017 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10018 # Instead, we relocate shared libraries at runtime. 10019 ;; 10020 10021 msdosdjgpp*) 10022 # Just because we use GCC doesn't mean we suddenly get shared libraries 10023 # on systems that don't support them. 10024 lt_prog_compiler_can_build_shared=no 10025 enable_shared=no 10026 ;; 10027 10028 *nto* | *qnx*) 10029 # QNX uses GNU C++, but need to define -shared option too, otherwise 10030 # it will coredump. 10031 lt_prog_compiler_pic='-fPIC -shared' 10032 ;; 10033 10034 sysv4*MP*) 10035 if test -d /usr/nec; then 10036 lt_prog_compiler_pic=-Kconform_pic 10037 fi 10038 ;; 10039 10040 *) 10041 lt_prog_compiler_pic='-fPIC' 10042 ;; 10043 esac 10044 10045 case $cc_basename in 10046 nvcc*) # Cuda Compiler Driver 2.2 10047 lt_prog_compiler_wl='-Xlinker ' 10048 if test -n "$lt_prog_compiler_pic"; then 10049 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10050 fi 10051 ;; 10052 esac 10053 else 10054 # PORTME Check for flag to pass linker flags through the system compiler. 10055 case $host_os in 10056 aix*) 10057 lt_prog_compiler_wl='-Wl,' 10058 if test ia64 = "$host_cpu"; then 10059 # AIX 5 now supports IA64 processor 10060 lt_prog_compiler_static='-Bstatic' 10061 else 10062 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10063 fi 10064 ;; 10065 10066 darwin* | rhapsody*) 10067 # PIC is the default on this platform 10068 # Common symbols not allowed in MH_DYLIB files 10069 lt_prog_compiler_pic='-fno-common' 10070 case $cc_basename in 10071 nagfor*) 10072 # NAG Fortran compiler 10073 lt_prog_compiler_wl='-Wl,-Wl,,' 10074 lt_prog_compiler_pic='-PIC' 10075 lt_prog_compiler_static='-Bstatic' 10076 ;; 10077 esac 10078 ;; 10079 10080 mingw* | cygwin* | pw32* | os2* | cegcc*) 10081 # This hack is so that the source file can tell whether it is being 10082 # built for inclusion in a dll (and should export symbols for example). 10083 lt_prog_compiler_pic='-DDLL_EXPORT' 10084 case $host_os in 10085 os2*) 10086 lt_prog_compiler_static='$wl-static' 10087 ;; 10088 esac 10089 ;; 10090 10091 hpux9* | hpux10* | hpux11*) 10092 lt_prog_compiler_wl='-Wl,' 10093 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10094 # not for PA HP-UX. 10095 case $host_cpu in 10096 hppa*64*|ia64*) 10097 # +Z the default 10098 ;; 10099 *) 10100 lt_prog_compiler_pic='+Z' 10101 ;; 10102 esac 10103 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10104 lt_prog_compiler_static='$wl-a ${wl}archive' 10105 ;; 10106 10107 irix5* | irix6* | nonstopux*) 10108 lt_prog_compiler_wl='-Wl,' 10109 # PIC (with -KPIC) is the default. 10110 lt_prog_compiler_static='-non_shared' 10111 ;; 10112 10113 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10114 case $cc_basename in 10115 # old Intel for x86_64, which still supported -KPIC. 10116 ecc*) 10117 lt_prog_compiler_wl='-Wl,' 10118 lt_prog_compiler_pic='-KPIC' 10119 lt_prog_compiler_static='-static' 10120 ;; 10121 # icc used to be incompatible with GCC. 10122 # ICC 10 doesn't accept -KPIC any more. 10123 icc* | ifort*) 10124 lt_prog_compiler_wl='-Wl,' 10125 lt_prog_compiler_pic='-fPIC' 10126 lt_prog_compiler_static='-static' 10127 ;; 10128 # Lahey Fortran 8.1. 10129 lf95*) 10130 lt_prog_compiler_wl='-Wl,' 10131 lt_prog_compiler_pic='--shared' 10132 lt_prog_compiler_static='--static' 10133 ;; 10134 nagfor*) 10135 # NAG Fortran compiler 10136 lt_prog_compiler_wl='-Wl,-Wl,,' 10137 lt_prog_compiler_pic='-PIC' 10138 lt_prog_compiler_static='-Bstatic' 10139 ;; 10140 tcc*) 10141 # Fabrice Bellard et al's Tiny C Compiler 10142 lt_prog_compiler_wl='-Wl,' 10143 lt_prog_compiler_pic='-fPIC' 10144 lt_prog_compiler_static='-static' 10145 ;; 10146 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10147 # Portland Group compilers (*not* the Pentium gcc compiler, 10148 # which looks to be a dead project) 10149 lt_prog_compiler_wl='-Wl,' 10150 lt_prog_compiler_pic='-fpic' 10151 lt_prog_compiler_static='-Bstatic' 10152 ;; 10153 ccc*) 10154 lt_prog_compiler_wl='-Wl,' 10155 # All Alpha code is PIC. 10156 lt_prog_compiler_static='-non_shared' 10157 ;; 10158 xl* | bgxl* | bgf* | mpixl*) 10159 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10160 lt_prog_compiler_wl='-Wl,' 10161 lt_prog_compiler_pic='-qpic' 10162 lt_prog_compiler_static='-qstaticlink' 10163 ;; 10164 *) 10165 case `$CC -V 2>&1 | sed 5q` in 10166 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10167 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10168 lt_prog_compiler_pic='-KPIC' 10169 lt_prog_compiler_static='-Bstatic' 10170 lt_prog_compiler_wl='' 10171 ;; 10172 *Sun\ F* | *Sun*Fortran*) 10173 lt_prog_compiler_pic='-KPIC' 10174 lt_prog_compiler_static='-Bstatic' 10175 lt_prog_compiler_wl='-Qoption ld ' 10176 ;; 10177 *Sun\ C*) 10178 # Sun C 5.9 10179 lt_prog_compiler_pic='-KPIC' 10180 lt_prog_compiler_static='-Bstatic' 10181 lt_prog_compiler_wl='-Wl,' 10182 ;; 10183 *Intel*\ [CF]*Compiler*) 10184 lt_prog_compiler_wl='-Wl,' 10185 lt_prog_compiler_pic='-fPIC' 10186 lt_prog_compiler_static='-static' 10187 ;; 10188 *Portland\ Group*) 10189 lt_prog_compiler_wl='-Wl,' 10190 lt_prog_compiler_pic='-fpic' 10191 lt_prog_compiler_static='-Bstatic' 10192 ;; 10193 esac 10194 ;; 10195 esac 10196 ;; 10197 10198 newsos6) 10199 lt_prog_compiler_pic='-KPIC' 10200 lt_prog_compiler_static='-Bstatic' 10201 ;; 10202 10203 *nto* | *qnx*) 10204 # QNX uses GNU C++, but need to define -shared option too, otherwise 10205 # it will coredump. 10206 lt_prog_compiler_pic='-fPIC -shared' 10207 ;; 10208 10209 osf3* | osf4* | osf5*) 10210 lt_prog_compiler_wl='-Wl,' 10211 # All OSF/1 code is PIC. 10212 lt_prog_compiler_static='-non_shared' 10213 ;; 10214 10215 rdos*) 10216 lt_prog_compiler_static='-non_shared' 10217 ;; 10218 10219 solaris*) 10220 lt_prog_compiler_pic='-KPIC' 10221 lt_prog_compiler_static='-Bstatic' 10222 case $cc_basename in 10223 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10224 lt_prog_compiler_wl='-Qoption ld ';; 10225 *) 10226 lt_prog_compiler_wl='-Wl,';; 10227 esac 10228 ;; 10229 10230 sunos4*) 10231 lt_prog_compiler_wl='-Qoption ld ' 10232 lt_prog_compiler_pic='-PIC' 10233 lt_prog_compiler_static='-Bstatic' 10234 ;; 10235 10236 sysv4 | sysv4.2uw2* | sysv4.3*) 10237 lt_prog_compiler_wl='-Wl,' 10238 lt_prog_compiler_pic='-KPIC' 10239 lt_prog_compiler_static='-Bstatic' 10240 ;; 10241 10242 sysv4*MP*) 10243 if test -d /usr/nec; then 10244 lt_prog_compiler_pic='-Kconform_pic' 10245 lt_prog_compiler_static='-Bstatic' 10246 fi 10247 ;; 10248 10249 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10250 lt_prog_compiler_wl='-Wl,' 10251 lt_prog_compiler_pic='-KPIC' 10252 lt_prog_compiler_static='-Bstatic' 10253 ;; 10254 10255 unicos*) 10256 lt_prog_compiler_wl='-Wl,' 10257 lt_prog_compiler_can_build_shared=no 10258 ;; 10259 10260 uts4*) 10261 lt_prog_compiler_pic='-pic' 10262 lt_prog_compiler_static='-Bstatic' 10263 ;; 10264 10265 *) 10266 lt_prog_compiler_can_build_shared=no 10267 ;; 10268 esac 10269 fi 10270 10271case $host_os in 10272 # For platforms that do not support PIC, -DPIC is meaningless: 10273 *djgpp*) 10274 lt_prog_compiler_pic= 10275 ;; 10276 *) 10277 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10278 ;; 10279esac 10280 10281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10282$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10283if ${lt_cv_prog_compiler_pic+:} false; then : 10284 $as_echo_n "(cached) " >&6 10285else 10286 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10287fi 10288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10289$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10290lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10291 10292# 10293# Check to make sure the PIC flag actually works. 10294# 10295if test -n "$lt_prog_compiler_pic"; then 10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10297$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10298if ${lt_cv_prog_compiler_pic_works+:} false; then : 10299 $as_echo_n "(cached) " >&6 10300else 10301 lt_cv_prog_compiler_pic_works=no 10302 ac_outfile=conftest.$ac_objext 10303 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10304 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10305 # Insert the option either (1) after the last *FLAGS variable, or 10306 # (2) before a word containing "conftest.", or (3) at the end. 10307 # Note that $ac_compile itself does not contain backslashes and begins 10308 # with a dollar sign (not a hyphen), so the echo should work correctly. 10309 # The option is referenced via a variable to avoid confusing sed. 10310 lt_compile=`echo "$ac_compile" | $SED \ 10311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10313 -e 's:$: $lt_compiler_flag:'` 10314 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10315 (eval "$lt_compile" 2>conftest.err) 10316 ac_status=$? 10317 cat conftest.err >&5 10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10319 if (exit $ac_status) && test -s "$ac_outfile"; then 10320 # The compiler can only warn and ignore the option if not recognized 10321 # So say no if there are warnings other than the usual output. 10322 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10324 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10325 lt_cv_prog_compiler_pic_works=yes 10326 fi 10327 fi 10328 $RM conftest* 10329 10330fi 10331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10332$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10333 10334if test yes = "$lt_cv_prog_compiler_pic_works"; then 10335 case $lt_prog_compiler_pic in 10336 "" | " "*) ;; 10337 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10338 esac 10339else 10340 lt_prog_compiler_pic= 10341 lt_prog_compiler_can_build_shared=no 10342fi 10343 10344fi 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356# 10357# Check to make sure the static flag actually works. 10358# 10359wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10361$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10362if ${lt_cv_prog_compiler_static_works+:} false; then : 10363 $as_echo_n "(cached) " >&6 10364else 10365 lt_cv_prog_compiler_static_works=no 10366 save_LDFLAGS=$LDFLAGS 10367 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10368 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10369 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10370 # The linker can only warn and ignore the option if not recognized 10371 # So say no if there are warnings 10372 if test -s conftest.err; then 10373 # Append any errors to the config.log. 10374 cat conftest.err 1>&5 10375 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10377 if diff conftest.exp conftest.er2 >/dev/null; then 10378 lt_cv_prog_compiler_static_works=yes 10379 fi 10380 else 10381 lt_cv_prog_compiler_static_works=yes 10382 fi 10383 fi 10384 $RM -r conftest* 10385 LDFLAGS=$save_LDFLAGS 10386 10387fi 10388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10389$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10390 10391if test yes = "$lt_cv_prog_compiler_static_works"; then 10392 : 10393else 10394 lt_prog_compiler_static= 10395fi 10396 10397 10398 10399 10400 10401 10402 10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10404$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10405if ${lt_cv_prog_compiler_c_o+:} false; then : 10406 $as_echo_n "(cached) " >&6 10407else 10408 lt_cv_prog_compiler_c_o=no 10409 $RM -r conftest 2>/dev/null 10410 mkdir conftest 10411 cd conftest 10412 mkdir out 10413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10414 10415 lt_compiler_flag="-o out/conftest2.$ac_objext" 10416 # Insert the option either (1) after the last *FLAGS variable, or 10417 # (2) before a word containing "conftest.", or (3) at the end. 10418 # Note that $ac_compile itself does not contain backslashes and begins 10419 # with a dollar sign (not a hyphen), so the echo should work correctly. 10420 lt_compile=`echo "$ac_compile" | $SED \ 10421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10423 -e 's:$: $lt_compiler_flag:'` 10424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10425 (eval "$lt_compile" 2>out/conftest.err) 10426 ac_status=$? 10427 cat out/conftest.err >&5 10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10429 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10430 then 10431 # The compiler can only warn and ignore the option if not recognized 10432 # So say no if there are warnings 10433 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10434 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10435 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10436 lt_cv_prog_compiler_c_o=yes 10437 fi 10438 fi 10439 chmod u+w . 2>&5 10440 $RM conftest* 10441 # SGI C++ compiler will create directory out/ii_files/ for 10442 # template instantiation 10443 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10444 $RM out/* && rmdir out 10445 cd .. 10446 $RM -r conftest 10447 $RM conftest* 10448 10449fi 10450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10451$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10452 10453 10454 10455 10456 10457 10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10459$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10460if ${lt_cv_prog_compiler_c_o+:} false; then : 10461 $as_echo_n "(cached) " >&6 10462else 10463 lt_cv_prog_compiler_c_o=no 10464 $RM -r conftest 2>/dev/null 10465 mkdir conftest 10466 cd conftest 10467 mkdir out 10468 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10469 10470 lt_compiler_flag="-o out/conftest2.$ac_objext" 10471 # Insert the option either (1) after the last *FLAGS variable, or 10472 # (2) before a word containing "conftest.", or (3) at the end. 10473 # Note that $ac_compile itself does not contain backslashes and begins 10474 # with a dollar sign (not a hyphen), so the echo should work correctly. 10475 lt_compile=`echo "$ac_compile" | $SED \ 10476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10478 -e 's:$: $lt_compiler_flag:'` 10479 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10480 (eval "$lt_compile" 2>out/conftest.err) 10481 ac_status=$? 10482 cat out/conftest.err >&5 10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10484 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10485 then 10486 # The compiler can only warn and ignore the option if not recognized 10487 # So say no if there are warnings 10488 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10489 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10490 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10491 lt_cv_prog_compiler_c_o=yes 10492 fi 10493 fi 10494 chmod u+w . 2>&5 10495 $RM conftest* 10496 # SGI C++ compiler will create directory out/ii_files/ for 10497 # template instantiation 10498 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10499 $RM out/* && rmdir out 10500 cd .. 10501 $RM -r conftest 10502 $RM conftest* 10503 10504fi 10505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10506$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10507 10508 10509 10510 10511hard_links=nottested 10512if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10513 # do not overwrite the value of need_locks provided by the user 10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10515$as_echo_n "checking if we can lock with hard links... " >&6; } 10516 hard_links=yes 10517 $RM conftest* 10518 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10519 touch conftest.a 10520 ln conftest.a conftest.b 2>&5 || hard_links=no 10521 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10523$as_echo "$hard_links" >&6; } 10524 if test no = "$hard_links"; then 10525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10526$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10527 need_locks=warn 10528 fi 10529else 10530 need_locks=no 10531fi 10532 10533 10534 10535 10536 10537 10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10539$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10540 10541 runpath_var= 10542 allow_undefined_flag= 10543 always_export_symbols=no 10544 archive_cmds= 10545 archive_expsym_cmds= 10546 compiler_needs_object=no 10547 enable_shared_with_static_runtimes=no 10548 export_dynamic_flag_spec= 10549 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10550 hardcode_automatic=no 10551 hardcode_direct=no 10552 hardcode_direct_absolute=no 10553 hardcode_libdir_flag_spec= 10554 hardcode_libdir_separator= 10555 hardcode_minus_L=no 10556 hardcode_shlibpath_var=unsupported 10557 inherit_rpath=no 10558 link_all_deplibs=unknown 10559 module_cmds= 10560 module_expsym_cmds= 10561 old_archive_from_new_cmds= 10562 old_archive_from_expsyms_cmds= 10563 thread_safe_flag_spec= 10564 whole_archive_flag_spec= 10565 # include_expsyms should be a list of space-separated symbols to be *always* 10566 # included in the symbol list 10567 include_expsyms= 10568 # exclude_expsyms can be an extended regexp of symbols to exclude 10569 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10570 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10571 # as well as any symbol that contains 'd'. 10572 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10573 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10574 # platforms (ab)use it in PIC code, but their linkers get confused if 10575 # the symbol is explicitly referenced. Since portable code cannot 10576 # rely on this symbol name, it's probably fine to never include it in 10577 # preloaded symbol tables. 10578 # Exclude shared library initialization/finalization symbols. 10579 extract_expsyms_cmds= 10580 10581 case $host_os in 10582 cygwin* | mingw* | pw32* | cegcc*) 10583 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10584 # When not using gcc, we currently assume that we are using 10585 # Microsoft Visual C++. 10586 if test yes != "$GCC"; then 10587 with_gnu_ld=no 10588 fi 10589 ;; 10590 interix*) 10591 # we just hope/assume this is gcc and not c89 (= MSVC++) 10592 with_gnu_ld=yes 10593 ;; 10594 openbsd* | bitrig*) 10595 with_gnu_ld=no 10596 ;; 10597 esac 10598 10599 ld_shlibs=yes 10600 10601 # On some targets, GNU ld is compatible enough with the native linker 10602 # that we're better off using the native interface for both. 10603 lt_use_gnu_ld_interface=no 10604 if test yes = "$with_gnu_ld"; then 10605 case $host_os in 10606 aix*) 10607 # The AIX port of GNU ld has always aspired to compatibility 10608 # with the native linker. However, as the warning in the GNU ld 10609 # block says, versions before 2.19.5* couldn't really create working 10610 # shared libraries, regardless of the interface used. 10611 case `$LD -v 2>&1` in 10612 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10613 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10614 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10615 *) 10616 lt_use_gnu_ld_interface=yes 10617 ;; 10618 esac 10619 ;; 10620 *) 10621 lt_use_gnu_ld_interface=yes 10622 ;; 10623 esac 10624 fi 10625 10626 if test yes = "$lt_use_gnu_ld_interface"; then 10627 # If archive_cmds runs LD, not CC, wlarc should be empty 10628 wlarc='$wl' 10629 10630 # Set some defaults for GNU ld with shared library support. These 10631 # are reset later if shared libraries are not supported. Putting them 10632 # here allows them to be overridden if necessary. 10633 runpath_var=LD_RUN_PATH 10634 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10635 export_dynamic_flag_spec='$wl--export-dynamic' 10636 # ancient GNU ld didn't support --whole-archive et. al. 10637 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10638 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10639 else 10640 whole_archive_flag_spec= 10641 fi 10642 supports_anon_versioning=no 10643 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10644 *GNU\ gold*) supports_anon_versioning=yes ;; 10645 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10646 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10647 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10648 *\ 2.11.*) ;; # other 2.11 versions 10649 *) supports_anon_versioning=yes ;; 10650 esac 10651 10652 # See if GNU ld supports shared libraries. 10653 case $host_os in 10654 aix[3-9]*) 10655 # On AIX/PPC, the GNU linker is very broken 10656 if test ia64 != "$host_cpu"; then 10657 ld_shlibs=no 10658 cat <<_LT_EOF 1>&2 10659 10660*** Warning: the GNU linker, at least up to release 2.19, is reported 10661*** to be unable to reliably create shared libraries on AIX. 10662*** Therefore, libtool is disabling shared libraries support. If you 10663*** really care for shared libraries, you may want to install binutils 10664*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10665*** You will then need to restart the configuration process. 10666 10667_LT_EOF 10668 fi 10669 ;; 10670 10671 amigaos*) 10672 case $host_cpu in 10673 powerpc) 10674 # see comment about AmigaOS4 .so support 10675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10676 archive_expsym_cmds='' 10677 ;; 10678 m68k) 10679 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)' 10680 hardcode_libdir_flag_spec='-L$libdir' 10681 hardcode_minus_L=yes 10682 ;; 10683 esac 10684 ;; 10685 10686 beos*) 10687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10688 allow_undefined_flag=unsupported 10689 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10690 # support --undefined. This deserves some investigation. FIXME 10691 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10692 else 10693 ld_shlibs=no 10694 fi 10695 ;; 10696 10697 cygwin* | mingw* | pw32* | cegcc*) 10698 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10699 # as there is no search path for DLLs. 10700 hardcode_libdir_flag_spec='-L$libdir' 10701 export_dynamic_flag_spec='$wl--export-all-symbols' 10702 allow_undefined_flag=unsupported 10703 always_export_symbols=no 10704 enable_shared_with_static_runtimes=yes 10705 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' 10706 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10707 10708 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10709 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10710 # If the export-symbols file already is a .def file, use it as 10711 # is; otherwise, prepend EXPORTS... 10712 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10713 cp $export_symbols $output_objdir/$soname.def; 10714 else 10715 echo EXPORTS > $output_objdir/$soname.def; 10716 cat $export_symbols >> $output_objdir/$soname.def; 10717 fi~ 10718 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10719 else 10720 ld_shlibs=no 10721 fi 10722 ;; 10723 10724 haiku*) 10725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10726 link_all_deplibs=yes 10727 ;; 10728 10729 os2*) 10730 hardcode_libdir_flag_spec='-L$libdir' 10731 hardcode_minus_L=yes 10732 allow_undefined_flag=unsupported 10733 shrext_cmds=.dll 10734 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10735 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10736 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10737 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10738 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10739 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10740 emximp -o $lib $output_objdir/$libname.def' 10741 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10742 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10743 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10744 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10745 prefix_cmds="$SED"~ 10746 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10747 prefix_cmds="$prefix_cmds -e 1d"; 10748 fi~ 10749 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10750 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10751 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10752 emximp -o $lib $output_objdir/$libname.def' 10753 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10754 enable_shared_with_static_runtimes=yes 10755 ;; 10756 10757 interix[3-9]*) 10758 hardcode_direct=no 10759 hardcode_shlibpath_var=no 10760 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10761 export_dynamic_flag_spec='$wl-E' 10762 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10763 # Instead, shared libraries are loaded at an image base (0x10000000 by 10764 # default) and relocated if they conflict, which is a slow very memory 10765 # consuming and fragmenting process. To avoid this, we pick a random, 10766 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10767 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10768 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10769 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' 10770 ;; 10771 10772 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10773 tmp_diet=no 10774 if test linux-dietlibc = "$host_os"; then 10775 case $cc_basename in 10776 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10777 esac 10778 fi 10779 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10780 && test no = "$tmp_diet" 10781 then 10782 tmp_addflag=' $pic_flag' 10783 tmp_sharedflag='-shared' 10784 case $cc_basename,$host_cpu in 10785 pgcc*) # Portland Group C compiler 10786 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' 10787 tmp_addflag=' $pic_flag' 10788 ;; 10789 pgf77* | pgf90* | pgf95* | pgfortran*) 10790 # Portland Group f77 and f90 compilers 10791 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' 10792 tmp_addflag=' $pic_flag -Mnomain' ;; 10793 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10794 tmp_addflag=' -i_dynamic' ;; 10795 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10796 tmp_addflag=' -i_dynamic -nofor_main' ;; 10797 ifc* | ifort*) # Intel Fortran compiler 10798 tmp_addflag=' -nofor_main' ;; 10799 lf95*) # Lahey Fortran 8.1 10800 whole_archive_flag_spec= 10801 tmp_sharedflag='--shared' ;; 10802 nagfor*) # NAGFOR 5.3 10803 tmp_sharedflag='-Wl,-shared' ;; 10804 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10805 tmp_sharedflag='-qmkshrobj' 10806 tmp_addflag= ;; 10807 nvcc*) # Cuda Compiler Driver 2.2 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 compiler_needs_object=yes 10810 ;; 10811 esac 10812 case `$CC -V 2>&1 | sed 5q` in 10813 *Sun\ C*) # Sun C 5.9 10814 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' 10815 compiler_needs_object=yes 10816 tmp_sharedflag='-G' ;; 10817 *Sun\ F*) # Sun Fortran 8.3 10818 tmp_sharedflag='-G' ;; 10819 esac 10820 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10821 10822 if test yes = "$supports_anon_versioning"; then 10823 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10824 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10825 echo "local: *; };" >> $output_objdir/$libname.ver~ 10826 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10827 fi 10828 10829 case $cc_basename in 10830 tcc*) 10831 export_dynamic_flag_spec='-rdynamic' 10832 ;; 10833 xlf* | bgf* | bgxlf* | mpixlf*) 10834 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10835 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10836 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10837 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10838 if test yes = "$supports_anon_versioning"; then 10839 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10840 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10841 echo "local: *; };" >> $output_objdir/$libname.ver~ 10842 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10843 fi 10844 ;; 10845 esac 10846 else 10847 ld_shlibs=no 10848 fi 10849 ;; 10850 10851 netbsd*) 10852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10853 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10854 wlarc= 10855 else 10856 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10857 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10858 fi 10859 ;; 10860 10861 solaris*) 10862 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10863 ld_shlibs=no 10864 cat <<_LT_EOF 1>&2 10865 10866*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10867*** create shared libraries on Solaris systems. Therefore, libtool 10868*** is disabling shared libraries support. We urge you to upgrade GNU 10869*** binutils to release 2.9.1 or newer. Another option is to modify 10870*** your PATH or compiler configuration so that the native linker is 10871*** used, and then restart. 10872 10873_LT_EOF 10874 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10875 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10876 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10877 else 10878 ld_shlibs=no 10879 fi 10880 ;; 10881 10882 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10883 case `$LD -v 2>&1` in 10884 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10885 ld_shlibs=no 10886 cat <<_LT_EOF 1>&2 10887 10888*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10889*** reliably create shared libraries on SCO systems. Therefore, libtool 10890*** is disabling shared libraries support. We urge you to upgrade GNU 10891*** binutils to release 2.16.91.0.3 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 ;; 10897 *) 10898 # For security reasons, it is highly recommended that you always 10899 # use absolute paths for naming shared libraries, and exclude the 10900 # DT_RUNPATH tag from executables and libraries. But doing so 10901 # requires that you compile everything twice, which is a pain. 10902 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10903 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10905 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10906 else 10907 ld_shlibs=no 10908 fi 10909 ;; 10910 esac 10911 ;; 10912 10913 sunos4*) 10914 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10915 wlarc= 10916 hardcode_direct=yes 10917 hardcode_shlibpath_var=no 10918 ;; 10919 10920 *) 10921 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10922 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10923 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10924 else 10925 ld_shlibs=no 10926 fi 10927 ;; 10928 esac 10929 10930 if test no = "$ld_shlibs"; then 10931 runpath_var= 10932 hardcode_libdir_flag_spec= 10933 export_dynamic_flag_spec= 10934 whole_archive_flag_spec= 10935 fi 10936 else 10937 # PORTME fill in a description of your system's linker (not GNU ld) 10938 case $host_os in 10939 aix3*) 10940 allow_undefined_flag=unsupported 10941 always_export_symbols=yes 10942 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' 10943 # Note: this linker hardcodes the directories in LIBPATH if there 10944 # are no directories specified by -L. 10945 hardcode_minus_L=yes 10946 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10947 # Neither direct hardcoding nor static linking is supported with a 10948 # broken collect2. 10949 hardcode_direct=unsupported 10950 fi 10951 ;; 10952 10953 aix[4-9]*) 10954 if test ia64 = "$host_cpu"; then 10955 # On IA64, the linker does run time linking by default, so we don't 10956 # have to do anything special. 10957 aix_use_runtimelinking=no 10958 exp_sym_flag='-Bexport' 10959 no_entry_flag= 10960 else 10961 # If we're using GNU nm, then we don't want the "-C" option. 10962 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10963 # Without the "-l" option, or with the "-B" option, AIX nm treats 10964 # weak defined symbols like other global defined symbols, whereas 10965 # GNU nm marks them as "W". 10966 # While the 'weak' keyword is ignored in the Export File, we need 10967 # it in the Import File for the 'aix-soname' feature, so we have 10968 # to replace the "-B" option with "-P" for AIX nm. 10969 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10970 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' 10971 else 10972 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' 10973 fi 10974 aix_use_runtimelinking=no 10975 10976 # Test if we are trying to use run time linking or normal 10977 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10978 # have runtime linking enabled, and use it for executables. 10979 # For shared libraries, we enable/disable runtime linking 10980 # depending on the kind of the shared library created - 10981 # when "with_aix_soname,aix_use_runtimelinking" is: 10982 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10983 # "aix,yes" lib.so shared, rtl:yes, for executables 10984 # lib.a static archive 10985 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10986 # lib.a(lib.so.V) shared, rtl:no, for executables 10987 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10988 # lib.a(lib.so.V) shared, rtl:no 10989 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10990 # lib.a static archive 10991 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10992 for ld_flag in $LDFLAGS; do 10993 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10994 aix_use_runtimelinking=yes 10995 break 10996 fi 10997 done 10998 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10999 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11000 # so we don't have lib.a shared libs to link our executables. 11001 # We have to force runtime linking in this case. 11002 aix_use_runtimelinking=yes 11003 LDFLAGS="$LDFLAGS -Wl,-brtl" 11004 fi 11005 ;; 11006 esac 11007 11008 exp_sym_flag='-bexport' 11009 no_entry_flag='-bnoentry' 11010 fi 11011 11012 # When large executables or shared objects are built, AIX ld can 11013 # have problems creating the table of contents. If linking a library 11014 # or program results in "error TOC overflow" add -mminimal-toc to 11015 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11016 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11017 11018 archive_cmds='' 11019 hardcode_direct=yes 11020 hardcode_direct_absolute=yes 11021 hardcode_libdir_separator=':' 11022 link_all_deplibs=yes 11023 file_list_spec='$wl-f,' 11024 case $with_aix_soname,$aix_use_runtimelinking in 11025 aix,*) ;; # traditional, no import file 11026 svr4,* | *,yes) # use import file 11027 # The Import File defines what to hardcode. 11028 hardcode_direct=no 11029 hardcode_direct_absolute=no 11030 ;; 11031 esac 11032 11033 if test yes = "$GCC"; then 11034 case $host_os in aix4.[012]|aix4.[012].*) 11035 # We only want to do this on AIX 4.2 and lower, the check 11036 # below for broken collect2 doesn't work under 4.3+ 11037 collect2name=`$CC -print-prog-name=collect2` 11038 if test -f "$collect2name" && 11039 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11040 then 11041 # We have reworked collect2 11042 : 11043 else 11044 # We have old collect2 11045 hardcode_direct=unsupported 11046 # It fails to find uninstalled libraries when the uninstalled 11047 # path is not listed in the libpath. Setting hardcode_minus_L 11048 # to unsupported forces relinking 11049 hardcode_minus_L=yes 11050 hardcode_libdir_flag_spec='-L$libdir' 11051 hardcode_libdir_separator= 11052 fi 11053 ;; 11054 esac 11055 shared_flag='-shared' 11056 if test yes = "$aix_use_runtimelinking"; then 11057 shared_flag="$shared_flag "'$wl-G' 11058 fi 11059 # Need to ensure runtime linking is disabled for the traditional 11060 # shared library, or the linker may eventually find shared libraries 11061 # /with/ Import File - we do not want to mix them. 11062 shared_flag_aix='-shared' 11063 shared_flag_svr4='-shared $wl-G' 11064 else 11065 # not using gcc 11066 if test ia64 = "$host_cpu"; then 11067 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11068 # chokes on -Wl,-G. The following line is correct: 11069 shared_flag='-G' 11070 else 11071 if test yes = "$aix_use_runtimelinking"; then 11072 shared_flag='$wl-G' 11073 else 11074 shared_flag='$wl-bM:SRE' 11075 fi 11076 shared_flag_aix='$wl-bM:SRE' 11077 shared_flag_svr4='$wl-G' 11078 fi 11079 fi 11080 11081 export_dynamic_flag_spec='$wl-bexpall' 11082 # It seems that -bexpall does not export symbols beginning with 11083 # underscore (_), so it is better to generate a list of symbols to export. 11084 always_export_symbols=yes 11085 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11086 # Warning - without using the other runtime loading flags (-brtl), 11087 # -berok will link without error, but may produce a broken library. 11088 allow_undefined_flag='-berok' 11089 # Determine the default libpath from the value encoded in an 11090 # empty executable. 11091 if test set = "${lt_cv_aix_libpath+set}"; then 11092 aix_libpath=$lt_cv_aix_libpath 11093else 11094 if ${lt_cv_aix_libpath_+:} false; then : 11095 $as_echo_n "(cached) " >&6 11096else 11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11098/* end confdefs.h. */ 11099 11100int 11101main () 11102{ 11103 11104 ; 11105 return 0; 11106} 11107_ACEOF 11108if ac_fn_c_try_link "$LINENO"; then : 11109 11110 lt_aix_libpath_sed=' 11111 /Import File Strings/,/^$/ { 11112 /^0/ { 11113 s/^0 *\([^ ]*\) *$/\1/ 11114 p 11115 } 11116 }' 11117 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11118 # Check for a 64-bit object if we didn't find anything. 11119 if test -z "$lt_cv_aix_libpath_"; then 11120 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11121 fi 11122fi 11123rm -f core conftest.err conftest.$ac_objext \ 11124 conftest$ac_exeext conftest.$ac_ext 11125 if test -z "$lt_cv_aix_libpath_"; then 11126 lt_cv_aix_libpath_=/usr/lib:/lib 11127 fi 11128 11129fi 11130 11131 aix_libpath=$lt_cv_aix_libpath_ 11132fi 11133 11134 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11135 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 11136 else 11137 if test ia64 = "$host_cpu"; then 11138 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11139 allow_undefined_flag="-z nodefs" 11140 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" 11141 else 11142 # Determine the default libpath from the value encoded in an 11143 # empty executable. 11144 if test set = "${lt_cv_aix_libpath+set}"; then 11145 aix_libpath=$lt_cv_aix_libpath 11146else 11147 if ${lt_cv_aix_libpath_+:} false; then : 11148 $as_echo_n "(cached) " >&6 11149else 11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11151/* end confdefs.h. */ 11152 11153int 11154main () 11155{ 11156 11157 ; 11158 return 0; 11159} 11160_ACEOF 11161if ac_fn_c_try_link "$LINENO"; then : 11162 11163 lt_aix_libpath_sed=' 11164 /Import File Strings/,/^$/ { 11165 /^0/ { 11166 s/^0 *\([^ ]*\) *$/\1/ 11167 p 11168 } 11169 }' 11170 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11171 # Check for a 64-bit object if we didn't find anything. 11172 if test -z "$lt_cv_aix_libpath_"; then 11173 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11174 fi 11175fi 11176rm -f core conftest.err conftest.$ac_objext \ 11177 conftest$ac_exeext conftest.$ac_ext 11178 if test -z "$lt_cv_aix_libpath_"; then 11179 lt_cv_aix_libpath_=/usr/lib:/lib 11180 fi 11181 11182fi 11183 11184 aix_libpath=$lt_cv_aix_libpath_ 11185fi 11186 11187 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11188 # Warning - without using the other run time loading flags, 11189 # -berok will link without error, but may produce a broken library. 11190 no_undefined_flag=' $wl-bernotok' 11191 allow_undefined_flag=' $wl-berok' 11192 if test yes = "$with_gnu_ld"; then 11193 # We only use this code for GNU lds that support --whole-archive. 11194 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11195 else 11196 # Exported symbols can be pulled into shared objects from archives 11197 whole_archive_flag_spec='$convenience' 11198 fi 11199 archive_cmds_need_lc=yes 11200 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11201 # -brtl affects multiple linker settings, -berok does not and is overridden later 11202 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11203 if test svr4 != "$with_aix_soname"; then 11204 # This is similar to how AIX traditionally builds its shared libraries. 11205 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' 11206 fi 11207 if test aix != "$with_aix_soname"; then 11208 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' 11209 else 11210 # used by -dlpreopen to get the symbols 11211 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11212 fi 11213 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11214 fi 11215 fi 11216 ;; 11217 11218 amigaos*) 11219 case $host_cpu in 11220 powerpc) 11221 # see comment about AmigaOS4 .so support 11222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11223 archive_expsym_cmds='' 11224 ;; 11225 m68k) 11226 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)' 11227 hardcode_libdir_flag_spec='-L$libdir' 11228 hardcode_minus_L=yes 11229 ;; 11230 esac 11231 ;; 11232 11233 bsdi[45]*) 11234 export_dynamic_flag_spec=-rdynamic 11235 ;; 11236 11237 cygwin* | mingw* | pw32* | cegcc*) 11238 # When not using gcc, we currently assume that we are using 11239 # Microsoft Visual C++. 11240 # hardcode_libdir_flag_spec is actually meaningless, as there is 11241 # no search path for DLLs. 11242 case $cc_basename in 11243 cl*) 11244 # Native MSVC 11245 hardcode_libdir_flag_spec=' ' 11246 allow_undefined_flag=unsupported 11247 always_export_symbols=yes 11248 file_list_spec='@' 11249 # Tell ltmain to make .lib files, not .a files. 11250 libext=lib 11251 # Tell ltmain to make .dll files, not .so files. 11252 shrext_cmds=.dll 11253 # FIXME: Setting linknames here is a bad hack. 11254 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11255 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11256 cp "$export_symbols" "$output_objdir/$soname.def"; 11257 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11258 else 11259 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11260 fi~ 11261 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11262 linknames=' 11263 # The linker will not automatically build a static lib if we build a DLL. 11264 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11265 enable_shared_with_static_runtimes=yes 11266 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11267 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11268 # Don't use ranlib 11269 old_postinstall_cmds='chmod 644 $oldlib' 11270 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11271 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11272 case $lt_outputfile in 11273 *.exe|*.EXE) ;; 11274 *) 11275 lt_outputfile=$lt_outputfile.exe 11276 lt_tool_outputfile=$lt_tool_outputfile.exe 11277 ;; 11278 esac~ 11279 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11280 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11281 $RM "$lt_outputfile.manifest"; 11282 fi' 11283 ;; 11284 *) 11285 # Assume MSVC wrapper 11286 hardcode_libdir_flag_spec=' ' 11287 allow_undefined_flag=unsupported 11288 # Tell ltmain to make .lib files, not .a files. 11289 libext=lib 11290 # Tell ltmain to make .dll files, not .so files. 11291 shrext_cmds=.dll 11292 # FIXME: Setting linknames here is a bad hack. 11293 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11294 # The linker will automatically build a .lib file if we build a DLL. 11295 old_archive_from_new_cmds='true' 11296 # FIXME: Should let the user specify the lib program. 11297 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11298 enable_shared_with_static_runtimes=yes 11299 ;; 11300 esac 11301 ;; 11302 11303 darwin* | rhapsody*) 11304 11305 11306 archive_cmds_need_lc=no 11307 hardcode_direct=no 11308 hardcode_automatic=yes 11309 hardcode_shlibpath_var=unsupported 11310 if test yes = "$lt_cv_ld_force_load"; then 11311 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\"`' 11312 11313 else 11314 whole_archive_flag_spec='' 11315 fi 11316 link_all_deplibs=yes 11317 allow_undefined_flag=$_lt_dar_allow_undefined 11318 case $cc_basename in 11319 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11320 *) _lt_dar_can_shared=$GCC ;; 11321 esac 11322 if test yes = "$_lt_dar_can_shared"; then 11323 output_verbose_link_cmd=func_echo_all 11324 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11325 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11326 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" 11327 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" 11328 11329 else 11330 ld_shlibs=no 11331 fi 11332 11333 ;; 11334 11335 dgux*) 11336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11337 hardcode_libdir_flag_spec='-L$libdir' 11338 hardcode_shlibpath_var=no 11339 ;; 11340 11341 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11342 # support. Future versions do this automatically, but an explicit c++rt0.o 11343 # does not break anything, and helps significantly (at the cost of a little 11344 # extra space). 11345 freebsd2.2*) 11346 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11347 hardcode_libdir_flag_spec='-R$libdir' 11348 hardcode_direct=yes 11349 hardcode_shlibpath_var=no 11350 ;; 11351 11352 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11353 freebsd2.*) 11354 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11355 hardcode_direct=yes 11356 hardcode_minus_L=yes 11357 hardcode_shlibpath_var=no 11358 ;; 11359 11360 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11361 freebsd* | dragonfly*) 11362 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11363 hardcode_libdir_flag_spec='-R$libdir' 11364 hardcode_direct=yes 11365 hardcode_shlibpath_var=no 11366 ;; 11367 11368 hpux9*) 11369 if test yes = "$GCC"; then 11370 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' 11371 else 11372 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' 11373 fi 11374 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11375 hardcode_libdir_separator=: 11376 hardcode_direct=yes 11377 11378 # hardcode_minus_L: Not really in the search PATH, 11379 # but as the default location of the library. 11380 hardcode_minus_L=yes 11381 export_dynamic_flag_spec='$wl-E' 11382 ;; 11383 11384 hpux10*) 11385 if test yes,no = "$GCC,$with_gnu_ld"; then 11386 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11387 else 11388 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11389 fi 11390 if test no = "$with_gnu_ld"; then 11391 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11392 hardcode_libdir_separator=: 11393 hardcode_direct=yes 11394 hardcode_direct_absolute=yes 11395 export_dynamic_flag_spec='$wl-E' 11396 # hardcode_minus_L: Not really in the search PATH, 11397 # but as the default location of the library. 11398 hardcode_minus_L=yes 11399 fi 11400 ;; 11401 11402 hpux11*) 11403 if test yes,no = "$GCC,$with_gnu_ld"; then 11404 case $host_cpu in 11405 hppa*64*) 11406 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11407 ;; 11408 ia64*) 11409 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11410 ;; 11411 *) 11412 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11413 ;; 11414 esac 11415 else 11416 case $host_cpu in 11417 hppa*64*) 11418 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11419 ;; 11420 ia64*) 11421 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11422 ;; 11423 *) 11424 11425 # Older versions of the 11.00 compiler do not understand -b yet 11426 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11428$as_echo_n "checking if $CC understands -b... " >&6; } 11429if ${lt_cv_prog_compiler__b+:} false; then : 11430 $as_echo_n "(cached) " >&6 11431else 11432 lt_cv_prog_compiler__b=no 11433 save_LDFLAGS=$LDFLAGS 11434 LDFLAGS="$LDFLAGS -b" 11435 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11437 # The linker can only warn and ignore the option if not recognized 11438 # So say no if there are warnings 11439 if test -s conftest.err; then 11440 # Append any errors to the config.log. 11441 cat conftest.err 1>&5 11442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11444 if diff conftest.exp conftest.er2 >/dev/null; then 11445 lt_cv_prog_compiler__b=yes 11446 fi 11447 else 11448 lt_cv_prog_compiler__b=yes 11449 fi 11450 fi 11451 $RM -r conftest* 11452 LDFLAGS=$save_LDFLAGS 11453 11454fi 11455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11456$as_echo "$lt_cv_prog_compiler__b" >&6; } 11457 11458if test yes = "$lt_cv_prog_compiler__b"; then 11459 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11460else 11461 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11462fi 11463 11464 ;; 11465 esac 11466 fi 11467 if test no = "$with_gnu_ld"; then 11468 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11469 hardcode_libdir_separator=: 11470 11471 case $host_cpu in 11472 hppa*64*|ia64*) 11473 hardcode_direct=no 11474 hardcode_shlibpath_var=no 11475 ;; 11476 *) 11477 hardcode_direct=yes 11478 hardcode_direct_absolute=yes 11479 export_dynamic_flag_spec='$wl-E' 11480 11481 # hardcode_minus_L: Not really in the search PATH, 11482 # but as the default location of the library. 11483 hardcode_minus_L=yes 11484 ;; 11485 esac 11486 fi 11487 ;; 11488 11489 irix5* | irix6* | nonstopux*) 11490 if test yes = "$GCC"; then 11491 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' 11492 # Try to use the -exported_symbol ld option, if it does not 11493 # work, assume that -exports_file does not work either and 11494 # implicitly export all symbols. 11495 # This should be the same for all languages, so no per-tag cache variable. 11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11497$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11498if ${lt_cv_irix_exported_symbol+:} false; then : 11499 $as_echo_n "(cached) " >&6 11500else 11501 save_LDFLAGS=$LDFLAGS 11502 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11504/* end confdefs.h. */ 11505int foo (void) { return 0; } 11506_ACEOF 11507if ac_fn_c_try_link "$LINENO"; then : 11508 lt_cv_irix_exported_symbol=yes 11509else 11510 lt_cv_irix_exported_symbol=no 11511fi 11512rm -f core conftest.err conftest.$ac_objext \ 11513 conftest$ac_exeext conftest.$ac_ext 11514 LDFLAGS=$save_LDFLAGS 11515fi 11516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11517$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11518 if test yes = "$lt_cv_irix_exported_symbol"; then 11519 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' 11520 fi 11521 else 11522 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' 11523 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' 11524 fi 11525 archive_cmds_need_lc='no' 11526 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11527 hardcode_libdir_separator=: 11528 inherit_rpath=yes 11529 link_all_deplibs=yes 11530 ;; 11531 11532 linux*) 11533 case $cc_basename in 11534 tcc*) 11535 # Fabrice Bellard et al's Tiny C Compiler 11536 ld_shlibs=yes 11537 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11538 ;; 11539 esac 11540 ;; 11541 11542 netbsd*) 11543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11544 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11545 else 11546 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11547 fi 11548 hardcode_libdir_flag_spec='-R$libdir' 11549 hardcode_direct=yes 11550 hardcode_shlibpath_var=no 11551 ;; 11552 11553 newsos6) 11554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11555 hardcode_direct=yes 11556 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11557 hardcode_libdir_separator=: 11558 hardcode_shlibpath_var=no 11559 ;; 11560 11561 *nto* | *qnx*) 11562 ;; 11563 11564 openbsd* | bitrig*) 11565 if test -f /usr/libexec/ld.so; then 11566 hardcode_direct=yes 11567 hardcode_shlibpath_var=no 11568 hardcode_direct_absolute=yes 11569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11570 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11571 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11572 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11573 export_dynamic_flag_spec='$wl-E' 11574 else 11575 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11576 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11577 fi 11578 else 11579 ld_shlibs=no 11580 fi 11581 ;; 11582 11583 os2*) 11584 hardcode_libdir_flag_spec='-L$libdir' 11585 hardcode_minus_L=yes 11586 allow_undefined_flag=unsupported 11587 shrext_cmds=.dll 11588 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11589 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11590 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11591 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11592 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11593 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11594 emximp -o $lib $output_objdir/$libname.def' 11595 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11596 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11597 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11598 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11599 prefix_cmds="$SED"~ 11600 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11601 prefix_cmds="$prefix_cmds -e 1d"; 11602 fi~ 11603 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11604 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11605 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11606 emximp -o $lib $output_objdir/$libname.def' 11607 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11608 enable_shared_with_static_runtimes=yes 11609 ;; 11610 11611 osf3*) 11612 if test yes = "$GCC"; then 11613 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11614 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' 11615 else 11616 allow_undefined_flag=' -expect_unresolved \*' 11617 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' 11618 fi 11619 archive_cmds_need_lc='no' 11620 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11621 hardcode_libdir_separator=: 11622 ;; 11623 11624 osf4* | osf5*) # as osf3* with the addition of -msym flag 11625 if test yes = "$GCC"; then 11626 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11627 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' 11628 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11629 else 11630 allow_undefined_flag=' -expect_unresolved \*' 11631 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' 11632 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~ 11633 $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' 11634 11635 # Both c and cxx compiler support -rpath directly 11636 hardcode_libdir_flag_spec='-rpath $libdir' 11637 fi 11638 archive_cmds_need_lc='no' 11639 hardcode_libdir_separator=: 11640 ;; 11641 11642 solaris*) 11643 no_undefined_flag=' -z defs' 11644 if test yes = "$GCC"; then 11645 wlarc='$wl' 11646 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11647 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11648 $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' 11649 else 11650 case `$CC -V 2>&1` in 11651 *"Compilers 5.0"*) 11652 wlarc='' 11653 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11654 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11655 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11656 ;; 11657 *) 11658 wlarc='$wl' 11659 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11661 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11662 ;; 11663 esac 11664 fi 11665 hardcode_libdir_flag_spec='-R$libdir' 11666 hardcode_shlibpath_var=no 11667 case $host_os in 11668 solaris2.[0-5] | solaris2.[0-5].*) ;; 11669 *) 11670 # The compiler driver will combine and reorder linker options, 11671 # but understands '-z linker_flag'. GCC discards it without '$wl', 11672 # but is careful enough not to reorder. 11673 # Supported since Solaris 2.6 (maybe 2.5.1?) 11674 if test yes = "$GCC"; then 11675 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11676 else 11677 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11678 fi 11679 ;; 11680 esac 11681 link_all_deplibs=yes 11682 ;; 11683 11684 sunos4*) 11685 if test sequent = "$host_vendor"; then 11686 # Use $CC to link under sequent, because it throws in some extra .o 11687 # files that make .init and .fini sections work. 11688 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11689 else 11690 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11691 fi 11692 hardcode_libdir_flag_spec='-L$libdir' 11693 hardcode_direct=yes 11694 hardcode_minus_L=yes 11695 hardcode_shlibpath_var=no 11696 ;; 11697 11698 sysv4) 11699 case $host_vendor in 11700 sni) 11701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11702 hardcode_direct=yes # is this really true??? 11703 ;; 11704 siemens) 11705 ## LD is ld it makes a PLAMLIB 11706 ## CC just makes a GrossModule. 11707 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11708 reload_cmds='$CC -r -o $output$reload_objs' 11709 hardcode_direct=no 11710 ;; 11711 motorola) 11712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11713 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11714 ;; 11715 esac 11716 runpath_var='LD_RUN_PATH' 11717 hardcode_shlibpath_var=no 11718 ;; 11719 11720 sysv4.3*) 11721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11722 hardcode_shlibpath_var=no 11723 export_dynamic_flag_spec='-Bexport' 11724 ;; 11725 11726 sysv4*MP*) 11727 if test -d /usr/nec; then 11728 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11729 hardcode_shlibpath_var=no 11730 runpath_var=LD_RUN_PATH 11731 hardcode_runpath_var=yes 11732 ld_shlibs=yes 11733 fi 11734 ;; 11735 11736 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11737 no_undefined_flag='$wl-z,text' 11738 archive_cmds_need_lc=no 11739 hardcode_shlibpath_var=no 11740 runpath_var='LD_RUN_PATH' 11741 11742 if test yes = "$GCC"; then 11743 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11744 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11745 else 11746 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11747 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11748 fi 11749 ;; 11750 11751 sysv5* | sco3.2v5* | sco5v6*) 11752 # Note: We CANNOT use -z defs as we might desire, because we do not 11753 # link with -lc, and that would cause any symbols used from libc to 11754 # always be unresolved, which means just about no library would 11755 # ever link correctly. If we're not using GNU ld we use -z text 11756 # though, which does catch some bad symbols but isn't as heavy-handed 11757 # as -z defs. 11758 no_undefined_flag='$wl-z,text' 11759 allow_undefined_flag='$wl-z,nodefs' 11760 archive_cmds_need_lc=no 11761 hardcode_shlibpath_var=no 11762 hardcode_libdir_flag_spec='$wl-R,$libdir' 11763 hardcode_libdir_separator=':' 11764 link_all_deplibs=yes 11765 export_dynamic_flag_spec='$wl-Bexport' 11766 runpath_var='LD_RUN_PATH' 11767 11768 if test yes = "$GCC"; then 11769 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11770 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11771 else 11772 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11773 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11774 fi 11775 ;; 11776 11777 uts4*) 11778 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11779 hardcode_libdir_flag_spec='-L$libdir' 11780 hardcode_shlibpath_var=no 11781 ;; 11782 11783 *) 11784 ld_shlibs=no 11785 ;; 11786 esac 11787 11788 if test sni = "$host_vendor"; then 11789 case $host in 11790 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11791 export_dynamic_flag_spec='$wl-Blargedynsym' 11792 ;; 11793 esac 11794 fi 11795 fi 11796 11797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11798$as_echo "$ld_shlibs" >&6; } 11799test no = "$ld_shlibs" && can_build_shared=no 11800 11801with_gnu_ld=$with_gnu_ld 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817# 11818# Do we need to explicitly link libc? 11819# 11820case "x$archive_cmds_need_lc" in 11821x|xyes) 11822 # Assume -lc should be added 11823 archive_cmds_need_lc=yes 11824 11825 if test yes,yes = "$GCC,$enable_shared"; then 11826 case $archive_cmds in 11827 *'~'*) 11828 # FIXME: we may have to deal with multi-command sequences. 11829 ;; 11830 '$CC '*) 11831 # Test whether the compiler implicitly links with -lc since on some 11832 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11833 # to ld, don't add -lc before -lgcc. 11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11835$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11836if ${lt_cv_archive_cmds_need_lc+:} false; then : 11837 $as_echo_n "(cached) " >&6 11838else 11839 $RM conftest* 11840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11841 11842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11843 (eval $ac_compile) 2>&5 11844 ac_status=$? 11845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11846 test $ac_status = 0; } 2>conftest.err; then 11847 soname=conftest 11848 lib=conftest 11849 libobjs=conftest.$ac_objext 11850 deplibs= 11851 wl=$lt_prog_compiler_wl 11852 pic_flag=$lt_prog_compiler_pic 11853 compiler_flags=-v 11854 linker_flags=-v 11855 verstring= 11856 output_objdir=. 11857 libname=conftest 11858 lt_save_allow_undefined_flag=$allow_undefined_flag 11859 allow_undefined_flag= 11860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11861 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11862 ac_status=$? 11863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11864 test $ac_status = 0; } 11865 then 11866 lt_cv_archive_cmds_need_lc=no 11867 else 11868 lt_cv_archive_cmds_need_lc=yes 11869 fi 11870 allow_undefined_flag=$lt_save_allow_undefined_flag 11871 else 11872 cat conftest.err 1>&5 11873 fi 11874 $RM conftest* 11875 11876fi 11877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11878$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11879 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11880 ;; 11881 esac 11882 fi 11883 ;; 11884esac 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12038$as_echo_n "checking dynamic linker characteristics... " >&6; } 12039 12040if test yes = "$GCC"; then 12041 case $host_os in 12042 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12043 *) lt_awk_arg='/^libraries:/' ;; 12044 esac 12045 case $host_os in 12046 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12047 *) lt_sed_strip_eq='s|=/|/|g' ;; 12048 esac 12049 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12050 case $lt_search_path_spec in 12051 *\;*) 12052 # if the path contains ";" then we assume it to be the separator 12053 # otherwise default to the standard path separator (i.e. ":") - it is 12054 # assumed that no part of a normal pathname contains ";" but that should 12055 # okay in the real world where ";" in dirpaths is itself problematic. 12056 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12057 ;; 12058 *) 12059 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12060 ;; 12061 esac 12062 # Ok, now we have the path, separated by spaces, we can step through it 12063 # and add multilib dir if necessary... 12064 lt_tmp_lt_search_path_spec= 12065 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12066 # ...but if some path component already ends with the multilib dir we assume 12067 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12068 case "$lt_multi_os_dir; $lt_search_path_spec " in 12069 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12070 lt_multi_os_dir= 12071 ;; 12072 esac 12073 for lt_sys_path in $lt_search_path_spec; do 12074 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12075 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12076 elif test -n "$lt_multi_os_dir"; then 12077 test -d "$lt_sys_path" && \ 12078 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12079 fi 12080 done 12081 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12082BEGIN {RS = " "; FS = "/|\n";} { 12083 lt_foo = ""; 12084 lt_count = 0; 12085 for (lt_i = NF; lt_i > 0; lt_i--) { 12086 if ($lt_i != "" && $lt_i != ".") { 12087 if ($lt_i == "..") { 12088 lt_count++; 12089 } else { 12090 if (lt_count == 0) { 12091 lt_foo = "/" $lt_i lt_foo; 12092 } else { 12093 lt_count--; 12094 } 12095 } 12096 } 12097 } 12098 if (lt_foo != "") { lt_freq[lt_foo]++; } 12099 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12100}'` 12101 # AWK program above erroneously prepends '/' to C:/dos/paths 12102 # for these hosts. 12103 case $host_os in 12104 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12105 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12106 esac 12107 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12108else 12109 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12110fi 12111library_names_spec= 12112libname_spec='lib$name' 12113soname_spec= 12114shrext_cmds=.so 12115postinstall_cmds= 12116postuninstall_cmds= 12117finish_cmds= 12118finish_eval= 12119shlibpath_var= 12120shlibpath_overrides_runpath=unknown 12121version_type=none 12122dynamic_linker="$host_os ld.so" 12123sys_lib_dlsearch_path_spec="/lib /usr/lib" 12124need_lib_prefix=unknown 12125hardcode_into_libs=no 12126 12127# when you set need_version to no, make sure it does not cause -set_version 12128# flags to be left without arguments 12129need_version=unknown 12130 12131 12132 12133case $host_os in 12134aix3*) 12135 version_type=linux # correct to gnu/linux during the next big refactor 12136 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12137 shlibpath_var=LIBPATH 12138 12139 # AIX 3 has no versioning support, so we append a major version to the name. 12140 soname_spec='$libname$release$shared_ext$major' 12141 ;; 12142 12143aix[4-9]*) 12144 version_type=linux # correct to gnu/linux during the next big refactor 12145 need_lib_prefix=no 12146 need_version=no 12147 hardcode_into_libs=yes 12148 if test ia64 = "$host_cpu"; then 12149 # AIX 5 supports IA64 12150 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12151 shlibpath_var=LD_LIBRARY_PATH 12152 else 12153 # With GCC up to 2.95.x, collect2 would create an import file 12154 # for dependence libraries. The import file would start with 12155 # the line '#! .'. This would cause the generated library to 12156 # depend on '.', always an invalid library. This was fixed in 12157 # development snapshots of GCC prior to 3.0. 12158 case $host_os in 12159 aix4 | aix4.[01] | aix4.[01].*) 12160 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12161 echo ' yes ' 12162 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12163 : 12164 else 12165 can_build_shared=no 12166 fi 12167 ;; 12168 esac 12169 # Using Import Files as archive members, it is possible to support 12170 # filename-based versioning of shared library archives on AIX. While 12171 # this would work for both with and without runtime linking, it will 12172 # prevent static linking of such archives. So we do filename-based 12173 # shared library versioning with .so extension only, which is used 12174 # when both runtime linking and shared linking is enabled. 12175 # Unfortunately, runtime linking may impact performance, so we do 12176 # not want this to be the default eventually. Also, we use the 12177 # versioned .so libs for executables only if there is the -brtl 12178 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12179 # To allow for filename-based versioning support, we need to create 12180 # libNAME.so.V as an archive file, containing: 12181 # *) an Import File, referring to the versioned filename of the 12182 # archive as well as the shared archive member, telling the 12183 # bitwidth (32 or 64) of that shared object, and providing the 12184 # list of exported symbols of that shared object, eventually 12185 # decorated with the 'weak' keyword 12186 # *) the shared object with the F_LOADONLY flag set, to really avoid 12187 # it being seen by the linker. 12188 # At run time we better use the real file rather than another symlink, 12189 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12190 12191 case $with_aix_soname,$aix_use_runtimelinking in 12192 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12193 # soname into executable. Probably we can add versioning support to 12194 # collect2, so additional links can be useful in future. 12195 aix,yes) # traditional libtool 12196 dynamic_linker='AIX unversionable lib.so' 12197 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12198 # instead of lib<name>.a to let people know that these are not 12199 # typical AIX shared libraries. 12200 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12201 ;; 12202 aix,no) # traditional AIX only 12203 dynamic_linker='AIX lib.a(lib.so.V)' 12204 # We preserve .a as extension for shared libraries through AIX4.2 12205 # and later when we are not doing run time linking. 12206 library_names_spec='$libname$release.a $libname.a' 12207 soname_spec='$libname$release$shared_ext$major' 12208 ;; 12209 svr4,*) # full svr4 only 12210 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12211 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12212 # We do not specify a path in Import Files, so LIBPATH fires. 12213 shlibpath_overrides_runpath=yes 12214 ;; 12215 *,yes) # both, prefer svr4 12216 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12217 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12218 # unpreferred sharedlib libNAME.a needs extra handling 12219 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"' 12220 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"' 12221 # We do not specify a path in Import Files, so LIBPATH fires. 12222 shlibpath_overrides_runpath=yes 12223 ;; 12224 *,no) # both, prefer aix 12225 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12226 library_names_spec='$libname$release.a $libname.a' 12227 soname_spec='$libname$release$shared_ext$major' 12228 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12229 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)' 12230 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"' 12231 ;; 12232 esac 12233 shlibpath_var=LIBPATH 12234 fi 12235 ;; 12236 12237amigaos*) 12238 case $host_cpu in 12239 powerpc) 12240 # Since July 2007 AmigaOS4 officially supports .so libraries. 12241 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12243 ;; 12244 m68k) 12245 library_names_spec='$libname.ixlibrary $libname.a' 12246 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12247 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' 12248 ;; 12249 esac 12250 ;; 12251 12252beos*) 12253 library_names_spec='$libname$shared_ext' 12254 dynamic_linker="$host_os ld.so" 12255 shlibpath_var=LIBRARY_PATH 12256 ;; 12257 12258bsdi[45]*) 12259 version_type=linux # correct to gnu/linux during the next big refactor 12260 need_version=no 12261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12262 soname_spec='$libname$release$shared_ext$major' 12263 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12264 shlibpath_var=LD_LIBRARY_PATH 12265 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12266 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12267 # the default ld.so.conf also contains /usr/contrib/lib and 12268 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12269 # libtool to hard-code these into programs 12270 ;; 12271 12272cygwin* | mingw* | pw32* | cegcc*) 12273 version_type=windows 12274 shrext_cmds=.dll 12275 need_version=no 12276 need_lib_prefix=no 12277 12278 case $GCC,$cc_basename in 12279 yes,*) 12280 # gcc 12281 library_names_spec='$libname.dll.a' 12282 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12283 postinstall_cmds='base_file=`basename \$file`~ 12284 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12285 dldir=$destdir/`dirname \$dlpath`~ 12286 test -d \$dldir || mkdir -p \$dldir~ 12287 $install_prog $dir/$dlname \$dldir/$dlname~ 12288 chmod a+x \$dldir/$dlname~ 12289 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12290 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12291 fi' 12292 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12293 dlpath=$dir/\$dldll~ 12294 $RM \$dlpath' 12295 shlibpath_overrides_runpath=yes 12296 12297 case $host_os in 12298 cygwin*) 12299 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12300 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12301 12302 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12303 ;; 12304 mingw* | cegcc*) 12305 # MinGW DLLs use traditional 'lib' prefix 12306 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12307 ;; 12308 pw32*) 12309 # pw32 DLLs use 'pw' prefix rather than 'lib' 12310 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12311 ;; 12312 esac 12313 dynamic_linker='Win32 ld.exe' 12314 ;; 12315 12316 *,cl*) 12317 # Native MSVC 12318 libname_spec='$name' 12319 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12320 library_names_spec='$libname.dll.lib' 12321 12322 case $build_os in 12323 mingw*) 12324 sys_lib_search_path_spec= 12325 lt_save_ifs=$IFS 12326 IFS=';' 12327 for lt_path in $LIB 12328 do 12329 IFS=$lt_save_ifs 12330 # Let DOS variable expansion print the short 8.3 style file name. 12331 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12332 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12333 done 12334 IFS=$lt_save_ifs 12335 # Convert to MSYS style. 12336 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12337 ;; 12338 cygwin*) 12339 # Convert to unix form, then to dos form, then back to unix form 12340 # but this time dos style (no spaces!) so that the unix form looks 12341 # like /cygdrive/c/PROGRA~1:/cygdr... 12342 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12343 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12344 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12345 ;; 12346 *) 12347 sys_lib_search_path_spec=$LIB 12348 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12349 # It is most probably a Windows format PATH. 12350 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12351 else 12352 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12353 fi 12354 # FIXME: find the short name or the path components, as spaces are 12355 # common. (e.g. "Program Files" -> "PROGRA~1") 12356 ;; 12357 esac 12358 12359 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12360 postinstall_cmds='base_file=`basename \$file`~ 12361 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12362 dldir=$destdir/`dirname \$dlpath`~ 12363 test -d \$dldir || mkdir -p \$dldir~ 12364 $install_prog $dir/$dlname \$dldir/$dlname' 12365 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12366 dlpath=$dir/\$dldll~ 12367 $RM \$dlpath' 12368 shlibpath_overrides_runpath=yes 12369 dynamic_linker='Win32 link.exe' 12370 ;; 12371 12372 *) 12373 # Assume MSVC wrapper 12374 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12375 dynamic_linker='Win32 ld.exe' 12376 ;; 12377 esac 12378 # FIXME: first we should search . and the directory the executable is in 12379 shlibpath_var=PATH 12380 ;; 12381 12382darwin* | rhapsody*) 12383 dynamic_linker="$host_os dyld" 12384 version_type=darwin 12385 need_lib_prefix=no 12386 need_version=no 12387 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12388 soname_spec='$libname$release$major$shared_ext' 12389 shlibpath_overrides_runpath=yes 12390 shlibpath_var=DYLD_LIBRARY_PATH 12391 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12392 12393 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12395 ;; 12396 12397dgux*) 12398 version_type=linux # correct to gnu/linux during the next big refactor 12399 need_lib_prefix=no 12400 need_version=no 12401 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12402 soname_spec='$libname$release$shared_ext$major' 12403 shlibpath_var=LD_LIBRARY_PATH 12404 ;; 12405 12406freebsd* | dragonfly*) 12407 # DragonFly does not have aout. When/if they implement a new 12408 # versioning mechanism, adjust this. 12409 if test -x /usr/bin/objformat; then 12410 objformat=`/usr/bin/objformat` 12411 else 12412 case $host_os in 12413 freebsd[23].*) objformat=aout ;; 12414 *) objformat=elf ;; 12415 esac 12416 fi 12417 version_type=freebsd-$objformat 12418 case $version_type in 12419 freebsd-elf*) 12420 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12421 soname_spec='$libname$release$shared_ext$major' 12422 need_version=no 12423 need_lib_prefix=no 12424 ;; 12425 freebsd-*) 12426 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12427 need_version=yes 12428 ;; 12429 esac 12430 shlibpath_var=LD_LIBRARY_PATH 12431 case $host_os in 12432 freebsd2.*) 12433 shlibpath_overrides_runpath=yes 12434 ;; 12435 freebsd3.[01]* | freebsdelf3.[01]*) 12436 shlibpath_overrides_runpath=yes 12437 hardcode_into_libs=yes 12438 ;; 12439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12441 shlibpath_overrides_runpath=no 12442 hardcode_into_libs=yes 12443 ;; 12444 *) # from 4.6 on, and DragonFly 12445 shlibpath_overrides_runpath=yes 12446 hardcode_into_libs=yes 12447 ;; 12448 esac 12449 ;; 12450 12451haiku*) 12452 version_type=linux # correct to gnu/linux during the next big refactor 12453 need_lib_prefix=no 12454 need_version=no 12455 dynamic_linker="$host_os runtime_loader" 12456 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12457 soname_spec='$libname$release$shared_ext$major' 12458 shlibpath_var=LIBRARY_PATH 12459 shlibpath_overrides_runpath=no 12460 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12461 hardcode_into_libs=yes 12462 ;; 12463 12464hpux9* | hpux10* | hpux11*) 12465 # Give a soname corresponding to the major version so that dld.sl refuses to 12466 # link against other versions. 12467 version_type=sunos 12468 need_lib_prefix=no 12469 need_version=no 12470 case $host_cpu in 12471 ia64*) 12472 shrext_cmds='.so' 12473 hardcode_into_libs=yes 12474 dynamic_linker="$host_os dld.so" 12475 shlibpath_var=LD_LIBRARY_PATH 12476 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12477 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12478 soname_spec='$libname$release$shared_ext$major' 12479 if test 32 = "$HPUX_IA64_MODE"; then 12480 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12481 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12482 else 12483 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12484 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12485 fi 12486 ;; 12487 hppa*64*) 12488 shrext_cmds='.sl' 12489 hardcode_into_libs=yes 12490 dynamic_linker="$host_os dld.sl" 12491 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12492 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12494 soname_spec='$libname$release$shared_ext$major' 12495 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12496 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12497 ;; 12498 *) 12499 shrext_cmds='.sl' 12500 dynamic_linker="$host_os dld.sl" 12501 shlibpath_var=SHLIB_PATH 12502 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12503 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12504 soname_spec='$libname$release$shared_ext$major' 12505 ;; 12506 esac 12507 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12508 postinstall_cmds='chmod 555 $lib' 12509 # or fails outright, so override atomically: 12510 install_override_mode=555 12511 ;; 12512 12513interix[3-9]*) 12514 version_type=linux # correct to gnu/linux during the next big refactor 12515 need_lib_prefix=no 12516 need_version=no 12517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12518 soname_spec='$libname$release$shared_ext$major' 12519 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12520 shlibpath_var=LD_LIBRARY_PATH 12521 shlibpath_overrides_runpath=no 12522 hardcode_into_libs=yes 12523 ;; 12524 12525irix5* | irix6* | nonstopux*) 12526 case $host_os in 12527 nonstopux*) version_type=nonstopux ;; 12528 *) 12529 if test yes = "$lt_cv_prog_gnu_ld"; then 12530 version_type=linux # correct to gnu/linux during the next big refactor 12531 else 12532 version_type=irix 12533 fi ;; 12534 esac 12535 need_lib_prefix=no 12536 need_version=no 12537 soname_spec='$libname$release$shared_ext$major' 12538 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12539 case $host_os in 12540 irix5* | nonstopux*) 12541 libsuff= shlibsuff= 12542 ;; 12543 *) 12544 case $LD in # libtool.m4 will add one of these switches to LD 12545 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12546 libsuff= shlibsuff= libmagic=32-bit;; 12547 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12548 libsuff=32 shlibsuff=N32 libmagic=N32;; 12549 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12550 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12551 *) libsuff= shlibsuff= libmagic=never-match;; 12552 esac 12553 ;; 12554 esac 12555 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12556 shlibpath_overrides_runpath=no 12557 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12558 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12559 hardcode_into_libs=yes 12560 ;; 12561 12562# No shared lib support for Linux oldld, aout, or coff. 12563linux*oldld* | linux*aout* | linux*coff*) 12564 dynamic_linker=no 12565 ;; 12566 12567linux*android*) 12568 version_type=none # Android doesn't support versioned libraries. 12569 need_lib_prefix=no 12570 need_version=no 12571 library_names_spec='$libname$release$shared_ext' 12572 soname_spec='$libname$release$shared_ext' 12573 finish_cmds= 12574 shlibpath_var=LD_LIBRARY_PATH 12575 shlibpath_overrides_runpath=yes 12576 12577 # This implies no fast_install, which is unacceptable. 12578 # Some rework will be needed to allow for fast_install 12579 # before this can be enabled. 12580 hardcode_into_libs=yes 12581 12582 dynamic_linker='Android linker' 12583 # Don't embed -rpath directories since the linker doesn't support them. 12584 hardcode_libdir_flag_spec='-L$libdir' 12585 ;; 12586 12587# This must be glibc/ELF. 12588linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12589 version_type=linux # correct to gnu/linux during the next big refactor 12590 need_lib_prefix=no 12591 need_version=no 12592 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12593 soname_spec='$libname$release$shared_ext$major' 12594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12595 shlibpath_var=LD_LIBRARY_PATH 12596 shlibpath_overrides_runpath=no 12597 12598 # Some binutils ld are patched to set DT_RUNPATH 12599 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12600 $as_echo_n "(cached) " >&6 12601else 12602 lt_cv_shlibpath_overrides_runpath=no 12603 save_LDFLAGS=$LDFLAGS 12604 save_libdir=$libdir 12605 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12606 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12608/* end confdefs.h. */ 12609 12610int 12611main () 12612{ 12613 12614 ; 12615 return 0; 12616} 12617_ACEOF 12618if ac_fn_c_try_link "$LINENO"; then : 12619 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12620 lt_cv_shlibpath_overrides_runpath=yes 12621fi 12622fi 12623rm -f core conftest.err conftest.$ac_objext \ 12624 conftest$ac_exeext conftest.$ac_ext 12625 LDFLAGS=$save_LDFLAGS 12626 libdir=$save_libdir 12627 12628fi 12629 12630 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12631 12632 # This implies no fast_install, which is unacceptable. 12633 # Some rework will be needed to allow for fast_install 12634 # before this can be enabled. 12635 hardcode_into_libs=yes 12636 12637 # Add ABI-specific directories to the system library path. 12638 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12639 12640 # Ideally, we could use ldconfig to report *all* directores which are 12641 # searched for libraries, however this is still not possible. Aside from not 12642 # being certain /sbin/ldconfig is available, command 12643 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12644 # even though it is searched at run-time. Try to do the best guess by 12645 # appending ld.so.conf contents (and includes) to the search path. 12646 if test -f /etc/ld.so.conf; then 12647 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' ' '` 12648 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12649 fi 12650 12651 # We used to test for /lib/ld.so.1 and disable shared libraries on 12652 # powerpc, because MkLinux only supported shared libraries with the 12653 # GNU dynamic linker. Since this was broken with cross compilers, 12654 # most powerpc-linux boxes support dynamic linking these days and 12655 # people can always --disable-shared, the test was removed, and we 12656 # assume the GNU/Linux dynamic linker is in use. 12657 dynamic_linker='GNU/Linux ld.so' 12658 ;; 12659 12660netbsd*) 12661 version_type=sunos 12662 need_lib_prefix=no 12663 need_version=no 12664 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12665 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12667 dynamic_linker='NetBSD (a.out) ld.so' 12668 else 12669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12670 soname_spec='$libname$release$shared_ext$major' 12671 dynamic_linker='NetBSD ld.elf_so' 12672 fi 12673 shlibpath_var=LD_LIBRARY_PATH 12674 shlibpath_overrides_runpath=yes 12675 hardcode_into_libs=yes 12676 ;; 12677 12678newsos6) 12679 version_type=linux # correct to gnu/linux during the next big refactor 12680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12681 shlibpath_var=LD_LIBRARY_PATH 12682 shlibpath_overrides_runpath=yes 12683 ;; 12684 12685*nto* | *qnx*) 12686 version_type=qnx 12687 need_lib_prefix=no 12688 need_version=no 12689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12690 soname_spec='$libname$release$shared_ext$major' 12691 shlibpath_var=LD_LIBRARY_PATH 12692 shlibpath_overrides_runpath=no 12693 hardcode_into_libs=yes 12694 dynamic_linker='ldqnx.so' 12695 ;; 12696 12697openbsd* | bitrig*) 12698 version_type=sunos 12699 sys_lib_dlsearch_path_spec=/usr/lib 12700 need_lib_prefix=no 12701 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12702 need_version=no 12703 else 12704 need_version=yes 12705 fi 12706 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12707 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12708 shlibpath_var=LD_LIBRARY_PATH 12709 shlibpath_overrides_runpath=yes 12710 ;; 12711 12712os2*) 12713 libname_spec='$name' 12714 version_type=windows 12715 shrext_cmds=.dll 12716 need_version=no 12717 need_lib_prefix=no 12718 # OS/2 can only load a DLL with a base name of 8 characters or less. 12719 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12720 v=$($ECHO $release$versuffix | tr -d .-); 12721 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12722 $ECHO $n$v`$shared_ext' 12723 library_names_spec='${libname}_dll.$libext' 12724 dynamic_linker='OS/2 ld.exe' 12725 shlibpath_var=BEGINLIBPATH 12726 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12727 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12728 postinstall_cmds='base_file=`basename \$file`~ 12729 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12730 dldir=$destdir/`dirname \$dlpath`~ 12731 test -d \$dldir || mkdir -p \$dldir~ 12732 $install_prog $dir/$dlname \$dldir/$dlname~ 12733 chmod a+x \$dldir/$dlname~ 12734 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12735 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12736 fi' 12737 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12738 dlpath=$dir/\$dldll~ 12739 $RM \$dlpath' 12740 ;; 12741 12742osf3* | osf4* | osf5*) 12743 version_type=osf 12744 need_lib_prefix=no 12745 need_version=no 12746 soname_spec='$libname$release$shared_ext$major' 12747 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12748 shlibpath_var=LD_LIBRARY_PATH 12749 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12751 ;; 12752 12753rdos*) 12754 dynamic_linker=no 12755 ;; 12756 12757solaris*) 12758 version_type=linux # correct to gnu/linux during the next big refactor 12759 need_lib_prefix=no 12760 need_version=no 12761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12762 soname_spec='$libname$release$shared_ext$major' 12763 shlibpath_var=LD_LIBRARY_PATH 12764 shlibpath_overrides_runpath=yes 12765 hardcode_into_libs=yes 12766 # ldd complains unless libraries are executable 12767 postinstall_cmds='chmod +x $lib' 12768 ;; 12769 12770sunos4*) 12771 version_type=sunos 12772 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12774 shlibpath_var=LD_LIBRARY_PATH 12775 shlibpath_overrides_runpath=yes 12776 if test yes = "$with_gnu_ld"; then 12777 need_lib_prefix=no 12778 fi 12779 need_version=yes 12780 ;; 12781 12782sysv4 | sysv4.3*) 12783 version_type=linux # correct to gnu/linux during the next big refactor 12784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12785 soname_spec='$libname$release$shared_ext$major' 12786 shlibpath_var=LD_LIBRARY_PATH 12787 case $host_vendor in 12788 sni) 12789 shlibpath_overrides_runpath=no 12790 need_lib_prefix=no 12791 runpath_var=LD_RUN_PATH 12792 ;; 12793 siemens) 12794 need_lib_prefix=no 12795 ;; 12796 motorola) 12797 need_lib_prefix=no 12798 need_version=no 12799 shlibpath_overrides_runpath=no 12800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12801 ;; 12802 esac 12803 ;; 12804 12805sysv4*MP*) 12806 if test -d /usr/nec; then 12807 version_type=linux # correct to gnu/linux during the next big refactor 12808 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12809 soname_spec='$libname$shared_ext.$major' 12810 shlibpath_var=LD_LIBRARY_PATH 12811 fi 12812 ;; 12813 12814sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12815 version_type=sco 12816 need_lib_prefix=no 12817 need_version=no 12818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12819 soname_spec='$libname$release$shared_ext$major' 12820 shlibpath_var=LD_LIBRARY_PATH 12821 shlibpath_overrides_runpath=yes 12822 hardcode_into_libs=yes 12823 if test yes = "$with_gnu_ld"; then 12824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12825 else 12826 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12827 case $host_os in 12828 sco3.2v5*) 12829 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12830 ;; 12831 esac 12832 fi 12833 sys_lib_dlsearch_path_spec='/usr/lib' 12834 ;; 12835 12836tpf*) 12837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12838 version_type=linux # correct to gnu/linux during the next big refactor 12839 need_lib_prefix=no 12840 need_version=no 12841 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12842 shlibpath_var=LD_LIBRARY_PATH 12843 shlibpath_overrides_runpath=no 12844 hardcode_into_libs=yes 12845 ;; 12846 12847uts4*) 12848 version_type=linux # correct to gnu/linux during the next big refactor 12849 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12850 soname_spec='$libname$release$shared_ext$major' 12851 shlibpath_var=LD_LIBRARY_PATH 12852 ;; 12853 12854*) 12855 dynamic_linker=no 12856 ;; 12857esac 12858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12859$as_echo "$dynamic_linker" >&6; } 12860test no = "$dynamic_linker" && can_build_shared=no 12861 12862variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12863if test yes = "$GCC"; then 12864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12865fi 12866 12867if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12868 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12869fi 12870 12871if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12872 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12873fi 12874 12875# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12876configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12877 12878# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12879func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12880 12881# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12882configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12981$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12982hardcode_action= 12983if test -n "$hardcode_libdir_flag_spec" || 12984 test -n "$runpath_var" || 12985 test yes = "$hardcode_automatic"; then 12986 12987 # We can hardcode non-existent directories. 12988 if test no != "$hardcode_direct" && 12989 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12990 # have to relink, otherwise we might link with an installed library 12991 # when we should be linking with a yet-to-be-installed one 12992 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12993 test no != "$hardcode_minus_L"; then 12994 # Linking always hardcodes the temporary library directory. 12995 hardcode_action=relink 12996 else 12997 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12998 hardcode_action=immediate 12999 fi 13000else 13001 # We cannot hardcode anything, or else we can only hardcode existing 13002 # directories. 13003 hardcode_action=unsupported 13004fi 13005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13006$as_echo "$hardcode_action" >&6; } 13007 13008if test relink = "$hardcode_action" || 13009 test yes = "$inherit_rpath"; then 13010 # Fast installation is not supported 13011 enable_fast_install=no 13012elif test yes = "$shlibpath_overrides_runpath" || 13013 test no = "$enable_shared"; then 13014 # Fast installation is not necessary 13015 enable_fast_install=needless 13016fi 13017 13018 13019 13020 13021 13022 13023 if test yes != "$enable_dlopen"; then 13024 enable_dlopen=unknown 13025 enable_dlopen_self=unknown 13026 enable_dlopen_self_static=unknown 13027else 13028 lt_cv_dlopen=no 13029 lt_cv_dlopen_libs= 13030 13031 case $host_os in 13032 beos*) 13033 lt_cv_dlopen=load_add_on 13034 lt_cv_dlopen_libs= 13035 lt_cv_dlopen_self=yes 13036 ;; 13037 13038 mingw* | pw32* | cegcc*) 13039 lt_cv_dlopen=LoadLibrary 13040 lt_cv_dlopen_libs= 13041 ;; 13042 13043 cygwin*) 13044 lt_cv_dlopen=dlopen 13045 lt_cv_dlopen_libs= 13046 ;; 13047 13048 darwin*) 13049 # if libdl is installed we need to link against it 13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13051$as_echo_n "checking for dlopen in -ldl... " >&6; } 13052if ${ac_cv_lib_dl_dlopen+:} false; then : 13053 $as_echo_n "(cached) " >&6 13054else 13055 ac_check_lib_save_LIBS=$LIBS 13056LIBS="-ldl $LIBS" 13057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13058/* end confdefs.h. */ 13059 13060/* Override any GCC internal prototype to avoid an error. 13061 Use char because int might match the return type of a GCC 13062 builtin and then its argument prototype would still apply. */ 13063#ifdef __cplusplus 13064extern "C" 13065#endif 13066char dlopen (); 13067int 13068main () 13069{ 13070return dlopen (); 13071 ; 13072 return 0; 13073} 13074_ACEOF 13075if ac_fn_c_try_link "$LINENO"; then : 13076 ac_cv_lib_dl_dlopen=yes 13077else 13078 ac_cv_lib_dl_dlopen=no 13079fi 13080rm -f core conftest.err conftest.$ac_objext \ 13081 conftest$ac_exeext conftest.$ac_ext 13082LIBS=$ac_check_lib_save_LIBS 13083fi 13084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13085$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13086if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13087 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13088else 13089 13090 lt_cv_dlopen=dyld 13091 lt_cv_dlopen_libs= 13092 lt_cv_dlopen_self=yes 13093 13094fi 13095 13096 ;; 13097 13098 tpf*) 13099 # Don't try to run any link tests for TPF. We know it's impossible 13100 # because TPF is a cross-compiler, and we know how we open DSOs. 13101 lt_cv_dlopen=dlopen 13102 lt_cv_dlopen_libs= 13103 lt_cv_dlopen_self=no 13104 ;; 13105 13106 *) 13107 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13108if test "x$ac_cv_func_shl_load" = xyes; then : 13109 lt_cv_dlopen=shl_load 13110else 13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13112$as_echo_n "checking for shl_load in -ldld... " >&6; } 13113if ${ac_cv_lib_dld_shl_load+:} false; then : 13114 $as_echo_n "(cached) " >&6 13115else 13116 ac_check_lib_save_LIBS=$LIBS 13117LIBS="-ldld $LIBS" 13118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13119/* end confdefs.h. */ 13120 13121/* Override any GCC internal prototype to avoid an error. 13122 Use char because int might match the return type of a GCC 13123 builtin and then its argument prototype would still apply. */ 13124#ifdef __cplusplus 13125extern "C" 13126#endif 13127char shl_load (); 13128int 13129main () 13130{ 13131return shl_load (); 13132 ; 13133 return 0; 13134} 13135_ACEOF 13136if ac_fn_c_try_link "$LINENO"; then : 13137 ac_cv_lib_dld_shl_load=yes 13138else 13139 ac_cv_lib_dld_shl_load=no 13140fi 13141rm -f core conftest.err conftest.$ac_objext \ 13142 conftest$ac_exeext conftest.$ac_ext 13143LIBS=$ac_check_lib_save_LIBS 13144fi 13145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13146$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13147if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13148 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13149else 13150 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13151if test "x$ac_cv_func_dlopen" = xyes; then : 13152 lt_cv_dlopen=dlopen 13153else 13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13155$as_echo_n "checking for dlopen in -ldl... " >&6; } 13156if ${ac_cv_lib_dl_dlopen+:} false; then : 13157 $as_echo_n "(cached) " >&6 13158else 13159 ac_check_lib_save_LIBS=$LIBS 13160LIBS="-ldl $LIBS" 13161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13162/* end confdefs.h. */ 13163 13164/* Override any GCC internal prototype to avoid an error. 13165 Use char because int might match the return type of a GCC 13166 builtin and then its argument prototype would still apply. */ 13167#ifdef __cplusplus 13168extern "C" 13169#endif 13170char dlopen (); 13171int 13172main () 13173{ 13174return dlopen (); 13175 ; 13176 return 0; 13177} 13178_ACEOF 13179if ac_fn_c_try_link "$LINENO"; then : 13180 ac_cv_lib_dl_dlopen=yes 13181else 13182 ac_cv_lib_dl_dlopen=no 13183fi 13184rm -f core conftest.err conftest.$ac_objext \ 13185 conftest$ac_exeext conftest.$ac_ext 13186LIBS=$ac_check_lib_save_LIBS 13187fi 13188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13189$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13190if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13191 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13192else 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13194$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13195if ${ac_cv_lib_svld_dlopen+:} false; then : 13196 $as_echo_n "(cached) " >&6 13197else 13198 ac_check_lib_save_LIBS=$LIBS 13199LIBS="-lsvld $LIBS" 13200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13201/* end confdefs.h. */ 13202 13203/* Override any GCC internal prototype to avoid an error. 13204 Use char because int might match the return type of a GCC 13205 builtin and then its argument prototype would still apply. */ 13206#ifdef __cplusplus 13207extern "C" 13208#endif 13209char dlopen (); 13210int 13211main () 13212{ 13213return dlopen (); 13214 ; 13215 return 0; 13216} 13217_ACEOF 13218if ac_fn_c_try_link "$LINENO"; then : 13219 ac_cv_lib_svld_dlopen=yes 13220else 13221 ac_cv_lib_svld_dlopen=no 13222fi 13223rm -f core conftest.err conftest.$ac_objext \ 13224 conftest$ac_exeext conftest.$ac_ext 13225LIBS=$ac_check_lib_save_LIBS 13226fi 13227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13228$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13229if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13230 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13231else 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13233$as_echo_n "checking for dld_link in -ldld... " >&6; } 13234if ${ac_cv_lib_dld_dld_link+:} false; then : 13235 $as_echo_n "(cached) " >&6 13236else 13237 ac_check_lib_save_LIBS=$LIBS 13238LIBS="-ldld $LIBS" 13239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13240/* end confdefs.h. */ 13241 13242/* Override any GCC internal prototype to avoid an error. 13243 Use char because int might match the return type of a GCC 13244 builtin and then its argument prototype would still apply. */ 13245#ifdef __cplusplus 13246extern "C" 13247#endif 13248char dld_link (); 13249int 13250main () 13251{ 13252return dld_link (); 13253 ; 13254 return 0; 13255} 13256_ACEOF 13257if ac_fn_c_try_link "$LINENO"; then : 13258 ac_cv_lib_dld_dld_link=yes 13259else 13260 ac_cv_lib_dld_dld_link=no 13261fi 13262rm -f core conftest.err conftest.$ac_objext \ 13263 conftest$ac_exeext conftest.$ac_ext 13264LIBS=$ac_check_lib_save_LIBS 13265fi 13266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13267$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13268if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13269 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13270fi 13271 13272 13273fi 13274 13275 13276fi 13277 13278 13279fi 13280 13281 13282fi 13283 13284 13285fi 13286 13287 ;; 13288 esac 13289 13290 if test no = "$lt_cv_dlopen"; then 13291 enable_dlopen=no 13292 else 13293 enable_dlopen=yes 13294 fi 13295 13296 case $lt_cv_dlopen in 13297 dlopen) 13298 save_CPPFLAGS=$CPPFLAGS 13299 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13300 13301 save_LDFLAGS=$LDFLAGS 13302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13303 13304 save_LIBS=$LIBS 13305 LIBS="$lt_cv_dlopen_libs $LIBS" 13306 13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13308$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13309if ${lt_cv_dlopen_self+:} false; then : 13310 $as_echo_n "(cached) " >&6 13311else 13312 if test yes = "$cross_compiling"; then : 13313 lt_cv_dlopen_self=cross 13314else 13315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13316 lt_status=$lt_dlunknown 13317 cat > conftest.$ac_ext <<_LT_EOF 13318#line $LINENO "configure" 13319#include "confdefs.h" 13320 13321#if HAVE_DLFCN_H 13322#include <dlfcn.h> 13323#endif 13324 13325#include <stdio.h> 13326 13327#ifdef RTLD_GLOBAL 13328# define LT_DLGLOBAL RTLD_GLOBAL 13329#else 13330# ifdef DL_GLOBAL 13331# define LT_DLGLOBAL DL_GLOBAL 13332# else 13333# define LT_DLGLOBAL 0 13334# endif 13335#endif 13336 13337/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13338 find out it does not work in some platform. */ 13339#ifndef LT_DLLAZY_OR_NOW 13340# ifdef RTLD_LAZY 13341# define LT_DLLAZY_OR_NOW RTLD_LAZY 13342# else 13343# ifdef DL_LAZY 13344# define LT_DLLAZY_OR_NOW DL_LAZY 13345# else 13346# ifdef RTLD_NOW 13347# define LT_DLLAZY_OR_NOW RTLD_NOW 13348# else 13349# ifdef DL_NOW 13350# define LT_DLLAZY_OR_NOW DL_NOW 13351# else 13352# define LT_DLLAZY_OR_NOW 0 13353# endif 13354# endif 13355# endif 13356# endif 13357#endif 13358 13359/* When -fvisibility=hidden is used, assume the code has been annotated 13360 correspondingly for the symbols needed. */ 13361#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13362int fnord () __attribute__((visibility("default"))); 13363#endif 13364 13365int fnord () { return 42; } 13366int main () 13367{ 13368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13369 int status = $lt_dlunknown; 13370 13371 if (self) 13372 { 13373 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13374 else 13375 { 13376 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13377 else puts (dlerror ()); 13378 } 13379 /* dlclose (self); */ 13380 } 13381 else 13382 puts (dlerror ()); 13383 13384 return status; 13385} 13386_LT_EOF 13387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13388 (eval $ac_link) 2>&5 13389 ac_status=$? 13390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13391 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13392 (./conftest; exit; ) >&5 2>/dev/null 13393 lt_status=$? 13394 case x$lt_status in 13395 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13396 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13397 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13398 esac 13399 else : 13400 # compilation failed 13401 lt_cv_dlopen_self=no 13402 fi 13403fi 13404rm -fr conftest* 13405 13406 13407fi 13408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13409$as_echo "$lt_cv_dlopen_self" >&6; } 13410 13411 if test yes = "$lt_cv_dlopen_self"; then 13412 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13414$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13415if ${lt_cv_dlopen_self_static+:} false; then : 13416 $as_echo_n "(cached) " >&6 13417else 13418 if test yes = "$cross_compiling"; then : 13419 lt_cv_dlopen_self_static=cross 13420else 13421 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13422 lt_status=$lt_dlunknown 13423 cat > conftest.$ac_ext <<_LT_EOF 13424#line $LINENO "configure" 13425#include "confdefs.h" 13426 13427#if HAVE_DLFCN_H 13428#include <dlfcn.h> 13429#endif 13430 13431#include <stdio.h> 13432 13433#ifdef RTLD_GLOBAL 13434# define LT_DLGLOBAL RTLD_GLOBAL 13435#else 13436# ifdef DL_GLOBAL 13437# define LT_DLGLOBAL DL_GLOBAL 13438# else 13439# define LT_DLGLOBAL 0 13440# endif 13441#endif 13442 13443/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13444 find out it does not work in some platform. */ 13445#ifndef LT_DLLAZY_OR_NOW 13446# ifdef RTLD_LAZY 13447# define LT_DLLAZY_OR_NOW RTLD_LAZY 13448# else 13449# ifdef DL_LAZY 13450# define LT_DLLAZY_OR_NOW DL_LAZY 13451# else 13452# ifdef RTLD_NOW 13453# define LT_DLLAZY_OR_NOW RTLD_NOW 13454# else 13455# ifdef DL_NOW 13456# define LT_DLLAZY_OR_NOW DL_NOW 13457# else 13458# define LT_DLLAZY_OR_NOW 0 13459# endif 13460# endif 13461# endif 13462# endif 13463#endif 13464 13465/* When -fvisibility=hidden is used, assume the code has been annotated 13466 correspondingly for the symbols needed. */ 13467#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13468int fnord () __attribute__((visibility("default"))); 13469#endif 13470 13471int fnord () { return 42; } 13472int main () 13473{ 13474 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13475 int status = $lt_dlunknown; 13476 13477 if (self) 13478 { 13479 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13480 else 13481 { 13482 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13483 else puts (dlerror ()); 13484 } 13485 /* dlclose (self); */ 13486 } 13487 else 13488 puts (dlerror ()); 13489 13490 return status; 13491} 13492_LT_EOF 13493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13494 (eval $ac_link) 2>&5 13495 ac_status=$? 13496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13497 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13498 (./conftest; exit; ) >&5 2>/dev/null 13499 lt_status=$? 13500 case x$lt_status in 13501 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13502 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13503 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13504 esac 13505 else : 13506 # compilation failed 13507 lt_cv_dlopen_self_static=no 13508 fi 13509fi 13510rm -fr conftest* 13511 13512 13513fi 13514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13515$as_echo "$lt_cv_dlopen_self_static" >&6; } 13516 fi 13517 13518 CPPFLAGS=$save_CPPFLAGS 13519 LDFLAGS=$save_LDFLAGS 13520 LIBS=$save_LIBS 13521 ;; 13522 esac 13523 13524 case $lt_cv_dlopen_self in 13525 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13526 *) enable_dlopen_self=unknown ;; 13527 esac 13528 13529 case $lt_cv_dlopen_self_static in 13530 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13531 *) enable_dlopen_self_static=unknown ;; 13532 esac 13533fi 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551striplib= 13552old_striplib= 13553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13554$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13555if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13556 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13557 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13559$as_echo "yes" >&6; } 13560else 13561# FIXME - insert some real tests, host_os isn't really good enough 13562 case $host_os in 13563 darwin*) 13564 if test -n "$STRIP"; then 13565 striplib="$STRIP -x" 13566 old_striplib="$STRIP -S" 13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13568$as_echo "yes" >&6; } 13569 else 13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13571$as_echo "no" >&6; } 13572 fi 13573 ;; 13574 *) 13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13576$as_echo "no" >&6; } 13577 ;; 13578 esac 13579fi 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 # Report what library types will actually be built 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13594$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13596$as_echo "$can_build_shared" >&6; } 13597 13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13599$as_echo_n "checking whether to build shared libraries... " >&6; } 13600 test no = "$can_build_shared" && enable_shared=no 13601 13602 # On AIX, shared libraries and static libraries use the same namespace, and 13603 # are all built from PIC. 13604 case $host_os in 13605 aix3*) 13606 test yes = "$enable_shared" && enable_static=no 13607 if test -n "$RANLIB"; then 13608 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13609 postinstall_cmds='$RANLIB $lib' 13610 fi 13611 ;; 13612 13613 aix[4-9]*) 13614 if test ia64 != "$host_cpu"; then 13615 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13616 yes,aix,yes) ;; # shared object as lib.so file only 13617 yes,svr4,*) ;; # shared object as lib.so archive member only 13618 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13619 esac 13620 fi 13621 ;; 13622 esac 13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13624$as_echo "$enable_shared" >&6; } 13625 13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13627$as_echo_n "checking whether to build static libraries... " >&6; } 13628 # Make sure either enable_shared or enable_static is yes. 13629 test yes = "$enable_shared" || enable_static=yes 13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13631$as_echo "$enable_static" >&6; } 13632 13633 13634 13635 13636fi 13637ac_ext=c 13638ac_cpp='$CPP $CPPFLAGS' 13639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13641ac_compiler_gnu=$ac_cv_c_compiler_gnu 13642 13643CC=$lt_save_CC 13644 13645 if test -n "$CXX" && ( test no != "$CXX" && 13646 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13647 (test g++ != "$CXX"))); then 13648 ac_ext=cpp 13649ac_cpp='$CXXCPP $CPPFLAGS' 13650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13654$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13655if test -z "$CXXCPP"; then 13656 if ${ac_cv_prog_CXXCPP+:} false; then : 13657 $as_echo_n "(cached) " >&6 13658else 13659 # Double quotes because CXXCPP needs to be expanded 13660 for CXXCPP in "$CXX -E" "/lib/cpp" 13661 do 13662 ac_preproc_ok=false 13663for ac_cxx_preproc_warn_flag in '' yes 13664do 13665 # Use a header file that comes with gcc, so configuring glibc 13666 # with a fresh cross-compiler works. 13667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13668 # <limits.h> exists even on freestanding compilers. 13669 # On the NeXT, cc -E runs the code through the compiler's parser, 13670 # not just through cpp. "Syntax error" is here to catch this case. 13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13672/* end confdefs.h. */ 13673#ifdef __STDC__ 13674# include <limits.h> 13675#else 13676# include <assert.h> 13677#endif 13678 Syntax error 13679_ACEOF 13680if ac_fn_cxx_try_cpp "$LINENO"; then : 13681 13682else 13683 # Broken: fails on valid input. 13684continue 13685fi 13686rm -f conftest.err conftest.i conftest.$ac_ext 13687 13688 # OK, works on sane cases. Now check whether nonexistent headers 13689 # can be detected and how. 13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13691/* end confdefs.h. */ 13692#include <ac_nonexistent.h> 13693_ACEOF 13694if ac_fn_cxx_try_cpp "$LINENO"; then : 13695 # Broken: success on invalid input. 13696continue 13697else 13698 # Passes both tests. 13699ac_preproc_ok=: 13700break 13701fi 13702rm -f conftest.err conftest.i conftest.$ac_ext 13703 13704done 13705# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13706rm -f conftest.i conftest.err conftest.$ac_ext 13707if $ac_preproc_ok; then : 13708 break 13709fi 13710 13711 done 13712 ac_cv_prog_CXXCPP=$CXXCPP 13713 13714fi 13715 CXXCPP=$ac_cv_prog_CXXCPP 13716else 13717 ac_cv_prog_CXXCPP=$CXXCPP 13718fi 13719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13720$as_echo "$CXXCPP" >&6; } 13721ac_preproc_ok=false 13722for ac_cxx_preproc_warn_flag in '' yes 13723do 13724 # Use a header file that comes with gcc, so configuring glibc 13725 # with a fresh cross-compiler works. 13726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13727 # <limits.h> exists even on freestanding compilers. 13728 # On the NeXT, cc -E runs the code through the compiler's parser, 13729 # not just through cpp. "Syntax error" is here to catch this case. 13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13731/* end confdefs.h. */ 13732#ifdef __STDC__ 13733# include <limits.h> 13734#else 13735# include <assert.h> 13736#endif 13737 Syntax error 13738_ACEOF 13739if ac_fn_cxx_try_cpp "$LINENO"; then : 13740 13741else 13742 # Broken: fails on valid input. 13743continue 13744fi 13745rm -f conftest.err conftest.i conftest.$ac_ext 13746 13747 # OK, works on sane cases. Now check whether nonexistent headers 13748 # can be detected and how. 13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13750/* end confdefs.h. */ 13751#include <ac_nonexistent.h> 13752_ACEOF 13753if ac_fn_cxx_try_cpp "$LINENO"; then : 13754 # Broken: success on invalid input. 13755continue 13756else 13757 # Passes both tests. 13758ac_preproc_ok=: 13759break 13760fi 13761rm -f conftest.err conftest.i conftest.$ac_ext 13762 13763done 13764# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13765rm -f conftest.i conftest.err conftest.$ac_ext 13766if $ac_preproc_ok; then : 13767 13768else 13769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13770$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13771as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13772See \`config.log' for more details" "$LINENO" 5; } 13773fi 13774 13775ac_ext=c 13776ac_cpp='$CPP $CPPFLAGS' 13777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13779ac_compiler_gnu=$ac_cv_c_compiler_gnu 13780 13781else 13782 _lt_caught_CXX_error=yes 13783fi 13784 13785ac_ext=cpp 13786ac_cpp='$CXXCPP $CPPFLAGS' 13787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13790 13791archive_cmds_need_lc_CXX=no 13792allow_undefined_flag_CXX= 13793always_export_symbols_CXX=no 13794archive_expsym_cmds_CXX= 13795compiler_needs_object_CXX=no 13796export_dynamic_flag_spec_CXX= 13797hardcode_direct_CXX=no 13798hardcode_direct_absolute_CXX=no 13799hardcode_libdir_flag_spec_CXX= 13800hardcode_libdir_separator_CXX= 13801hardcode_minus_L_CXX=no 13802hardcode_shlibpath_var_CXX=unsupported 13803hardcode_automatic_CXX=no 13804inherit_rpath_CXX=no 13805module_cmds_CXX= 13806module_expsym_cmds_CXX= 13807link_all_deplibs_CXX=unknown 13808old_archive_cmds_CXX=$old_archive_cmds 13809reload_flag_CXX=$reload_flag 13810reload_cmds_CXX=$reload_cmds 13811no_undefined_flag_CXX= 13812whole_archive_flag_spec_CXX= 13813enable_shared_with_static_runtimes_CXX=no 13814 13815# Source file extension for C++ test sources. 13816ac_ext=cpp 13817 13818# Object file extension for compiled C++ test sources. 13819objext=o 13820objext_CXX=$objext 13821 13822# No sense in running all these tests if we already determined that 13823# the CXX compiler isn't working. Some variables (like enable_shared) 13824# are currently assumed to apply to all compilers on this platform, 13825# and will be corrupted by setting them based on a non-working compiler. 13826if test yes != "$_lt_caught_CXX_error"; then 13827 # Code to be used in simple compile tests 13828 lt_simple_compile_test_code="int some_variable = 0;" 13829 13830 # Code to be used in simple link tests 13831 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13832 13833 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13834 13835 13836 13837 13838 13839 13840# If no C compiler was specified, use CC. 13841LTCC=${LTCC-"$CC"} 13842 13843# If no C compiler flags were specified, use CFLAGS. 13844LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13845 13846# Allow CC to be a program name with arguments. 13847compiler=$CC 13848 13849 13850 # save warnings/boilerplate of simple test code 13851 ac_outfile=conftest.$ac_objext 13852echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13853eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13854_lt_compiler_boilerplate=`cat conftest.err` 13855$RM conftest* 13856 13857 ac_outfile=conftest.$ac_objext 13858echo "$lt_simple_link_test_code" >conftest.$ac_ext 13859eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13860_lt_linker_boilerplate=`cat conftest.err` 13861$RM -r conftest* 13862 13863 13864 # Allow CC to be a program name with arguments. 13865 lt_save_CC=$CC 13866 lt_save_CFLAGS=$CFLAGS 13867 lt_save_LD=$LD 13868 lt_save_GCC=$GCC 13869 GCC=$GXX 13870 lt_save_with_gnu_ld=$with_gnu_ld 13871 lt_save_path_LD=$lt_cv_path_LD 13872 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13873 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13874 else 13875 $as_unset lt_cv_prog_gnu_ld 13876 fi 13877 if test -n "${lt_cv_path_LDCXX+set}"; then 13878 lt_cv_path_LD=$lt_cv_path_LDCXX 13879 else 13880 $as_unset lt_cv_path_LD 13881 fi 13882 test -z "${LDCXX+set}" || LD=$LDCXX 13883 CC=${CXX-"c++"} 13884 CFLAGS=$CXXFLAGS 13885 compiler=$CC 13886 compiler_CXX=$CC 13887 func_cc_basename $compiler 13888cc_basename=$func_cc_basename_result 13889 13890 13891 if test -n "$compiler"; then 13892 # We don't want -fno-exception when compiling C++ code, so set the 13893 # no_builtin_flag separately 13894 if test yes = "$GXX"; then 13895 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13896 else 13897 lt_prog_compiler_no_builtin_flag_CXX= 13898 fi 13899 13900 if test yes = "$GXX"; then 13901 # Set up default GNU C++ configuration 13902 13903 13904 13905# Check whether --with-gnu-ld was given. 13906if test "${with_gnu_ld+set}" = set; then : 13907 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13908else 13909 with_gnu_ld=no 13910fi 13911 13912ac_prog=ld 13913if test yes = "$GCC"; then 13914 # Check if gcc -print-prog-name=ld gives a path. 13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13916$as_echo_n "checking for ld used by $CC... " >&6; } 13917 case $host in 13918 *-*-mingw*) 13919 # gcc leaves a trailing carriage return, which upsets mingw 13920 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13921 *) 13922 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13923 esac 13924 case $ac_prog in 13925 # Accept absolute paths. 13926 [\\/]* | ?:[\\/]*) 13927 re_direlt='/[^/][^/]*/\.\./' 13928 # Canonicalize the pathname of ld 13929 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13930 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13931 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13932 done 13933 test -z "$LD" && LD=$ac_prog 13934 ;; 13935 "") 13936 # If it fails, then pretend we aren't using GCC. 13937 ac_prog=ld 13938 ;; 13939 *) 13940 # If it is relative, then search for the first ld in PATH. 13941 with_gnu_ld=unknown 13942 ;; 13943 esac 13944elif test yes = "$with_gnu_ld"; then 13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13946$as_echo_n "checking for GNU ld... " >&6; } 13947else 13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13949$as_echo_n "checking for non-GNU ld... " >&6; } 13950fi 13951if ${lt_cv_path_LD+:} false; then : 13952 $as_echo_n "(cached) " >&6 13953else 13954 if test -z "$LD"; then 13955 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13956 for ac_dir in $PATH; do 13957 IFS=$lt_save_ifs 13958 test -z "$ac_dir" && ac_dir=. 13959 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13960 lt_cv_path_LD=$ac_dir/$ac_prog 13961 # Check to see if the program is GNU ld. I'd rather use --version, 13962 # but apparently some variants of GNU ld only accept -v. 13963 # Break only if it was the GNU/non-GNU ld that we prefer. 13964 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13965 *GNU* | *'with BFD'*) 13966 test no != "$with_gnu_ld" && break 13967 ;; 13968 *) 13969 test yes != "$with_gnu_ld" && break 13970 ;; 13971 esac 13972 fi 13973 done 13974 IFS=$lt_save_ifs 13975else 13976 lt_cv_path_LD=$LD # Let the user override the test with a path. 13977fi 13978fi 13979 13980LD=$lt_cv_path_LD 13981if test -n "$LD"; then 13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13983$as_echo "$LD" >&6; } 13984else 13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13986$as_echo "no" >&6; } 13987fi 13988test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13990$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13991if ${lt_cv_prog_gnu_ld+:} false; then : 13992 $as_echo_n "(cached) " >&6 13993else 13994 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13995case `$LD -v 2>&1 </dev/null` in 13996*GNU* | *'with BFD'*) 13997 lt_cv_prog_gnu_ld=yes 13998 ;; 13999*) 14000 lt_cv_prog_gnu_ld=no 14001 ;; 14002esac 14003fi 14004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14005$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14006with_gnu_ld=$lt_cv_prog_gnu_ld 14007 14008 14009 14010 14011 14012 14013 14014 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14015 # archiving commands below assume that GNU ld is being used. 14016 if test yes = "$with_gnu_ld"; then 14017 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14018 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' 14019 14020 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14021 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14022 14023 # If archive_cmds runs LD, not CC, wlarc should be empty 14024 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14025 # investigate it a little bit more. (MM) 14026 wlarc='$wl' 14027 14028 # ancient GNU ld didn't support --whole-archive et. al. 14029 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14030 $GREP 'no-whole-archive' > /dev/null; then 14031 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14032 else 14033 whole_archive_flag_spec_CXX= 14034 fi 14035 else 14036 with_gnu_ld=no 14037 wlarc= 14038 14039 # A generic and very simple default shared library creation 14040 # command for GNU C++ for the case where it uses the native 14041 # linker, instead of GNU ld. If possible, this setting should 14042 # overridden to take advantage of the native linker features on 14043 # the platform it is being used on. 14044 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14045 fi 14046 14047 # Commands to make compiler produce verbose output that lists 14048 # what "hidden" libraries, object files and flags are used when 14049 # linking a shared library. 14050 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14051 14052 else 14053 GXX=no 14054 with_gnu_ld=no 14055 wlarc= 14056 fi 14057 14058 # PORTME: fill in a description of your system's C++ link characteristics 14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14060$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14061 ld_shlibs_CXX=yes 14062 case $host_os in 14063 aix3*) 14064 # FIXME: insert proper C++ library support 14065 ld_shlibs_CXX=no 14066 ;; 14067 aix[4-9]*) 14068 if test ia64 = "$host_cpu"; then 14069 # On IA64, the linker does run time linking by default, so we don't 14070 # have to do anything special. 14071 aix_use_runtimelinking=no 14072 exp_sym_flag='-Bexport' 14073 no_entry_flag= 14074 else 14075 aix_use_runtimelinking=no 14076 14077 # Test if we are trying to use run time linking or normal 14078 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14079 # have runtime linking enabled, and use it for executables. 14080 # For shared libraries, we enable/disable runtime linking 14081 # depending on the kind of the shared library created - 14082 # when "with_aix_soname,aix_use_runtimelinking" is: 14083 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14084 # "aix,yes" lib.so shared, rtl:yes, for executables 14085 # lib.a static archive 14086 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14087 # lib.a(lib.so.V) shared, rtl:no, for executables 14088 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14089 # lib.a(lib.so.V) shared, rtl:no 14090 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14091 # lib.a static archive 14092 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14093 for ld_flag in $LDFLAGS; do 14094 case $ld_flag in 14095 *-brtl*) 14096 aix_use_runtimelinking=yes 14097 break 14098 ;; 14099 esac 14100 done 14101 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14102 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14103 # so we don't have lib.a shared libs to link our executables. 14104 # We have to force runtime linking in this case. 14105 aix_use_runtimelinking=yes 14106 LDFLAGS="$LDFLAGS -Wl,-brtl" 14107 fi 14108 ;; 14109 esac 14110 14111 exp_sym_flag='-bexport' 14112 no_entry_flag='-bnoentry' 14113 fi 14114 14115 # When large executables or shared objects are built, AIX ld can 14116 # have problems creating the table of contents. If linking a library 14117 # or program results in "error TOC overflow" add -mminimal-toc to 14118 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14119 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14120 14121 archive_cmds_CXX='' 14122 hardcode_direct_CXX=yes 14123 hardcode_direct_absolute_CXX=yes 14124 hardcode_libdir_separator_CXX=':' 14125 link_all_deplibs_CXX=yes 14126 file_list_spec_CXX='$wl-f,' 14127 case $with_aix_soname,$aix_use_runtimelinking in 14128 aix,*) ;; # no import file 14129 svr4,* | *,yes) # use import file 14130 # The Import File defines what to hardcode. 14131 hardcode_direct_CXX=no 14132 hardcode_direct_absolute_CXX=no 14133 ;; 14134 esac 14135 14136 if test yes = "$GXX"; then 14137 case $host_os in aix4.[012]|aix4.[012].*) 14138 # We only want to do this on AIX 4.2 and lower, the check 14139 # below for broken collect2 doesn't work under 4.3+ 14140 collect2name=`$CC -print-prog-name=collect2` 14141 if test -f "$collect2name" && 14142 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14143 then 14144 # We have reworked collect2 14145 : 14146 else 14147 # We have old collect2 14148 hardcode_direct_CXX=unsupported 14149 # It fails to find uninstalled libraries when the uninstalled 14150 # path is not listed in the libpath. Setting hardcode_minus_L 14151 # to unsupported forces relinking 14152 hardcode_minus_L_CXX=yes 14153 hardcode_libdir_flag_spec_CXX='-L$libdir' 14154 hardcode_libdir_separator_CXX= 14155 fi 14156 esac 14157 shared_flag='-shared' 14158 if test yes = "$aix_use_runtimelinking"; then 14159 shared_flag=$shared_flag' $wl-G' 14160 fi 14161 # Need to ensure runtime linking is disabled for the traditional 14162 # shared library, or the linker may eventually find shared libraries 14163 # /with/ Import File - we do not want to mix them. 14164 shared_flag_aix='-shared' 14165 shared_flag_svr4='-shared $wl-G' 14166 else 14167 # not using gcc 14168 if test ia64 = "$host_cpu"; then 14169 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14170 # chokes on -Wl,-G. The following line is correct: 14171 shared_flag='-G' 14172 else 14173 if test yes = "$aix_use_runtimelinking"; then 14174 shared_flag='$wl-G' 14175 else 14176 shared_flag='$wl-bM:SRE' 14177 fi 14178 shared_flag_aix='$wl-bM:SRE' 14179 shared_flag_svr4='$wl-G' 14180 fi 14181 fi 14182 14183 export_dynamic_flag_spec_CXX='$wl-bexpall' 14184 # It seems that -bexpall does not export symbols beginning with 14185 # underscore (_), so it is better to generate a list of symbols to 14186 # export. 14187 always_export_symbols_CXX=yes 14188 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14189 # Warning - without using the other runtime loading flags (-brtl), 14190 # -berok will link without error, but may produce a broken library. 14191 # The "-G" linker flag allows undefined symbols. 14192 no_undefined_flag_CXX='-bernotok' 14193 # Determine the default libpath from the value encoded in an empty 14194 # executable. 14195 if test set = "${lt_cv_aix_libpath+set}"; then 14196 aix_libpath=$lt_cv_aix_libpath 14197else 14198 if ${lt_cv_aix_libpath__CXX+:} false; then : 14199 $as_echo_n "(cached) " >&6 14200else 14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14202/* end confdefs.h. */ 14203 14204int 14205main () 14206{ 14207 14208 ; 14209 return 0; 14210} 14211_ACEOF 14212if ac_fn_cxx_try_link "$LINENO"; then : 14213 14214 lt_aix_libpath_sed=' 14215 /Import File Strings/,/^$/ { 14216 /^0/ { 14217 s/^0 *\([^ ]*\) *$/\1/ 14218 p 14219 } 14220 }' 14221 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14222 # Check for a 64-bit object if we didn't find anything. 14223 if test -z "$lt_cv_aix_libpath__CXX"; then 14224 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14225 fi 14226fi 14227rm -f core conftest.err conftest.$ac_objext \ 14228 conftest$ac_exeext conftest.$ac_ext 14229 if test -z "$lt_cv_aix_libpath__CXX"; then 14230 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14231 fi 14232 14233fi 14234 14235 aix_libpath=$lt_cv_aix_libpath__CXX 14236fi 14237 14238 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14239 14240 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 14241 else 14242 if test ia64 = "$host_cpu"; then 14243 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14244 allow_undefined_flag_CXX="-z nodefs" 14245 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" 14246 else 14247 # Determine the default libpath from the value encoded in an 14248 # empty executable. 14249 if test set = "${lt_cv_aix_libpath+set}"; then 14250 aix_libpath=$lt_cv_aix_libpath 14251else 14252 if ${lt_cv_aix_libpath__CXX+:} false; then : 14253 $as_echo_n "(cached) " >&6 14254else 14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14256/* end confdefs.h. */ 14257 14258int 14259main () 14260{ 14261 14262 ; 14263 return 0; 14264} 14265_ACEOF 14266if ac_fn_cxx_try_link "$LINENO"; then : 14267 14268 lt_aix_libpath_sed=' 14269 /Import File Strings/,/^$/ { 14270 /^0/ { 14271 s/^0 *\([^ ]*\) *$/\1/ 14272 p 14273 } 14274 }' 14275 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14276 # Check for a 64-bit object if we didn't find anything. 14277 if test -z "$lt_cv_aix_libpath__CXX"; then 14278 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14279 fi 14280fi 14281rm -f core conftest.err conftest.$ac_objext \ 14282 conftest$ac_exeext conftest.$ac_ext 14283 if test -z "$lt_cv_aix_libpath__CXX"; then 14284 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14285 fi 14286 14287fi 14288 14289 aix_libpath=$lt_cv_aix_libpath__CXX 14290fi 14291 14292 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14293 # Warning - without using the other run time loading flags, 14294 # -berok will link without error, but may produce a broken library. 14295 no_undefined_flag_CXX=' $wl-bernotok' 14296 allow_undefined_flag_CXX=' $wl-berok' 14297 if test yes = "$with_gnu_ld"; then 14298 # We only use this code for GNU lds that support --whole-archive. 14299 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14300 else 14301 # Exported symbols can be pulled into shared objects from archives 14302 whole_archive_flag_spec_CXX='$convenience' 14303 fi 14304 archive_cmds_need_lc_CXX=yes 14305 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14306 # -brtl affects multiple linker settings, -berok does not and is overridden later 14307 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14308 if test svr4 != "$with_aix_soname"; then 14309 # This is similar to how AIX traditionally builds its shared 14310 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14311 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' 14312 fi 14313 if test aix != "$with_aix_soname"; then 14314 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' 14315 else 14316 # used by -dlpreopen to get the symbols 14317 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14318 fi 14319 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14320 fi 14321 fi 14322 ;; 14323 14324 beos*) 14325 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14326 allow_undefined_flag_CXX=unsupported 14327 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14328 # support --undefined. This deserves some investigation. FIXME 14329 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14330 else 14331 ld_shlibs_CXX=no 14332 fi 14333 ;; 14334 14335 chorus*) 14336 case $cc_basename in 14337 *) 14338 # FIXME: insert proper C++ library support 14339 ld_shlibs_CXX=no 14340 ;; 14341 esac 14342 ;; 14343 14344 cygwin* | mingw* | pw32* | cegcc*) 14345 case $GXX,$cc_basename in 14346 ,cl* | no,cl*) 14347 # Native MSVC 14348 # hardcode_libdir_flag_spec is actually meaningless, as there is 14349 # no search path for DLLs. 14350 hardcode_libdir_flag_spec_CXX=' ' 14351 allow_undefined_flag_CXX=unsupported 14352 always_export_symbols_CXX=yes 14353 file_list_spec_CXX='@' 14354 # Tell ltmain to make .lib files, not .a files. 14355 libext=lib 14356 # Tell ltmain to make .dll files, not .so files. 14357 shrext_cmds=.dll 14358 # FIXME: Setting linknames here is a bad hack. 14359 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14360 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14361 cp "$export_symbols" "$output_objdir/$soname.def"; 14362 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14363 else 14364 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14365 fi~ 14366 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14367 linknames=' 14368 # The linker will not automatically build a static lib if we build a DLL. 14369 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14370 enable_shared_with_static_runtimes_CXX=yes 14371 # Don't use ranlib 14372 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14373 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14374 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14375 case $lt_outputfile in 14376 *.exe|*.EXE) ;; 14377 *) 14378 lt_outputfile=$lt_outputfile.exe 14379 lt_tool_outputfile=$lt_tool_outputfile.exe 14380 ;; 14381 esac~ 14382 func_to_tool_file "$lt_outputfile"~ 14383 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14384 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14385 $RM "$lt_outputfile.manifest"; 14386 fi' 14387 ;; 14388 *) 14389 # g++ 14390 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14391 # as there is no search path for DLLs. 14392 hardcode_libdir_flag_spec_CXX='-L$libdir' 14393 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14394 allow_undefined_flag_CXX=unsupported 14395 always_export_symbols_CXX=no 14396 enable_shared_with_static_runtimes_CXX=yes 14397 14398 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14399 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' 14400 # If the export-symbols file already is a .def file, use it as 14401 # is; otherwise, prepend EXPORTS... 14402 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14403 cp $export_symbols $output_objdir/$soname.def; 14404 else 14405 echo EXPORTS > $output_objdir/$soname.def; 14406 cat $export_symbols >> $output_objdir/$soname.def; 14407 fi~ 14408 $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' 14409 else 14410 ld_shlibs_CXX=no 14411 fi 14412 ;; 14413 esac 14414 ;; 14415 darwin* | rhapsody*) 14416 14417 14418 archive_cmds_need_lc_CXX=no 14419 hardcode_direct_CXX=no 14420 hardcode_automatic_CXX=yes 14421 hardcode_shlibpath_var_CXX=unsupported 14422 if test yes = "$lt_cv_ld_force_load"; then 14423 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\"`' 14424 14425 else 14426 whole_archive_flag_spec_CXX='' 14427 fi 14428 link_all_deplibs_CXX=yes 14429 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14430 case $cc_basename in 14431 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14432 *) _lt_dar_can_shared=$GCC ;; 14433 esac 14434 if test yes = "$_lt_dar_can_shared"; then 14435 output_verbose_link_cmd=func_echo_all 14436 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" 14437 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14438 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" 14439 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" 14440 if test yes != "$lt_cv_apple_cc_single_mod"; then 14441 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" 14442 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" 14443 fi 14444 14445 else 14446 ld_shlibs_CXX=no 14447 fi 14448 14449 ;; 14450 14451 os2*) 14452 hardcode_libdir_flag_spec_CXX='-L$libdir' 14453 hardcode_minus_L_CXX=yes 14454 allow_undefined_flag_CXX=unsupported 14455 shrext_cmds=.dll 14456 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14457 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14458 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14459 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14460 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14461 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14462 emximp -o $lib $output_objdir/$libname.def' 14463 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14464 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14465 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14466 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14467 prefix_cmds="$SED"~ 14468 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14469 prefix_cmds="$prefix_cmds -e 1d"; 14470 fi~ 14471 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14472 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14473 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14474 emximp -o $lib $output_objdir/$libname.def' 14475 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14476 enable_shared_with_static_runtimes_CXX=yes 14477 ;; 14478 14479 dgux*) 14480 case $cc_basename in 14481 ec++*) 14482 # FIXME: insert proper C++ library support 14483 ld_shlibs_CXX=no 14484 ;; 14485 ghcx*) 14486 # Green Hills C++ Compiler 14487 # FIXME: insert proper C++ library support 14488 ld_shlibs_CXX=no 14489 ;; 14490 *) 14491 # FIXME: insert proper C++ library support 14492 ld_shlibs_CXX=no 14493 ;; 14494 esac 14495 ;; 14496 14497 freebsd2.*) 14498 # C++ shared libraries reported to be fairly broken before 14499 # switch to ELF 14500 ld_shlibs_CXX=no 14501 ;; 14502 14503 freebsd-elf*) 14504 archive_cmds_need_lc_CXX=no 14505 ;; 14506 14507 freebsd* | dragonfly*) 14508 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14509 # conventions 14510 ld_shlibs_CXX=yes 14511 ;; 14512 14513 haiku*) 14514 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14515 link_all_deplibs_CXX=yes 14516 ;; 14517 14518 hpux9*) 14519 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14520 hardcode_libdir_separator_CXX=: 14521 export_dynamic_flag_spec_CXX='$wl-E' 14522 hardcode_direct_CXX=yes 14523 hardcode_minus_L_CXX=yes # Not in the search PATH, 14524 # but as the default 14525 # location of the library. 14526 14527 case $cc_basename in 14528 CC*) 14529 # FIXME: insert proper C++ library support 14530 ld_shlibs_CXX=no 14531 ;; 14532 aCC*) 14533 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' 14534 # Commands to make compiler produce verbose output that lists 14535 # what "hidden" libraries, object files and flags are used when 14536 # linking a shared library. 14537 # 14538 # There doesn't appear to be a way to prevent this compiler from 14539 # explicitly linking system object files so we need to strip them 14540 # from the output so that they don't get included in the library 14541 # dependencies. 14542 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"' 14543 ;; 14544 *) 14545 if test yes = "$GXX"; then 14546 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' 14547 else 14548 # FIXME: insert proper C++ library support 14549 ld_shlibs_CXX=no 14550 fi 14551 ;; 14552 esac 14553 ;; 14554 14555 hpux10*|hpux11*) 14556 if test no = "$with_gnu_ld"; then 14557 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14558 hardcode_libdir_separator_CXX=: 14559 14560 case $host_cpu in 14561 hppa*64*|ia64*) 14562 ;; 14563 *) 14564 export_dynamic_flag_spec_CXX='$wl-E' 14565 ;; 14566 esac 14567 fi 14568 case $host_cpu in 14569 hppa*64*|ia64*) 14570 hardcode_direct_CXX=no 14571 hardcode_shlibpath_var_CXX=no 14572 ;; 14573 *) 14574 hardcode_direct_CXX=yes 14575 hardcode_direct_absolute_CXX=yes 14576 hardcode_minus_L_CXX=yes # Not in the search PATH, 14577 # but as the default 14578 # location of the library. 14579 ;; 14580 esac 14581 14582 case $cc_basename in 14583 CC*) 14584 # FIXME: insert proper C++ library support 14585 ld_shlibs_CXX=no 14586 ;; 14587 aCC*) 14588 case $host_cpu in 14589 hppa*64*) 14590 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14591 ;; 14592 ia64*) 14593 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14594 ;; 14595 *) 14596 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14597 ;; 14598 esac 14599 # Commands to make compiler produce verbose output that lists 14600 # what "hidden" libraries, object files and flags are used when 14601 # linking a shared library. 14602 # 14603 # There doesn't appear to be a way to prevent this compiler from 14604 # explicitly linking system object files so we need to strip them 14605 # from the output so that they don't get included in the library 14606 # dependencies. 14607 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"' 14608 ;; 14609 *) 14610 if test yes = "$GXX"; then 14611 if test no = "$with_gnu_ld"; then 14612 case $host_cpu in 14613 hppa*64*) 14614 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14615 ;; 14616 ia64*) 14617 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14618 ;; 14619 *) 14620 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' 14621 ;; 14622 esac 14623 fi 14624 else 14625 # FIXME: insert proper C++ library support 14626 ld_shlibs_CXX=no 14627 fi 14628 ;; 14629 esac 14630 ;; 14631 14632 interix[3-9]*) 14633 hardcode_direct_CXX=no 14634 hardcode_shlibpath_var_CXX=no 14635 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14636 export_dynamic_flag_spec_CXX='$wl-E' 14637 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14638 # Instead, shared libraries are loaded at an image base (0x10000000 by 14639 # default) and relocated if they conflict, which is a slow very memory 14640 # consuming and fragmenting process. To avoid this, we pick a random, 14641 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14642 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14643 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' 14644 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' 14645 ;; 14646 irix5* | irix6*) 14647 case $cc_basename in 14648 CC*) 14649 # SGI C++ 14650 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' 14651 14652 # Archives containing C++ object files must be created using 14653 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14654 # necessary to make sure instantiated templates are included 14655 # in the archive. 14656 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14657 ;; 14658 *) 14659 if test yes = "$GXX"; then 14660 if test no = "$with_gnu_ld"; then 14661 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' 14662 else 14663 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' 14664 fi 14665 fi 14666 link_all_deplibs_CXX=yes 14667 ;; 14668 esac 14669 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14670 hardcode_libdir_separator_CXX=: 14671 inherit_rpath_CXX=yes 14672 ;; 14673 14674 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14675 case $cc_basename in 14676 KCC*) 14677 # Kuck and Associates, Inc. (KAI) C++ Compiler 14678 14679 # KCC will only create a shared library if the output file 14680 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14681 # to its proper name (with version) after linking. 14682 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' 14683 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' 14684 # Commands to make compiler produce verbose output that lists 14685 # what "hidden" libraries, object files and flags are used when 14686 # linking a shared library. 14687 # 14688 # There doesn't appear to be a way to prevent this compiler from 14689 # explicitly linking system object files so we need to strip them 14690 # from the output so that they don't get included in the library 14691 # dependencies. 14692 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"' 14693 14694 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14695 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14696 14697 # Archives containing C++ object files must be created using 14698 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14699 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14700 ;; 14701 icpc* | ecpc* ) 14702 # Intel C++ 14703 with_gnu_ld=yes 14704 # version 8.0 and above of icpc choke on multiply defined symbols 14705 # if we add $predep_objects and $postdep_objects, however 7.1 and 14706 # earlier do not add the objects themselves. 14707 case `$CC -V 2>&1` in 14708 *"Version 7."*) 14709 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14710 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' 14711 ;; 14712 *) # Version 8.0 or newer 14713 tmp_idyn= 14714 case $host_cpu in 14715 ia64*) tmp_idyn=' -i_dynamic';; 14716 esac 14717 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14718 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' 14719 ;; 14720 esac 14721 archive_cmds_need_lc_CXX=no 14722 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14723 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14724 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14725 ;; 14726 pgCC* | pgcpp*) 14727 # Portland Group C++ compiler 14728 case `$CC -V` in 14729 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14730 prelink_cmds_CXX='tpldir=Template.dir~ 14731 rm -rf $tpldir~ 14732 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14733 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14734 old_archive_cmds_CXX='tpldir=Template.dir~ 14735 rm -rf $tpldir~ 14736 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14737 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14738 $RANLIB $oldlib' 14739 archive_cmds_CXX='tpldir=Template.dir~ 14740 rm -rf $tpldir~ 14741 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14742 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14743 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14744 rm -rf $tpldir~ 14745 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14746 $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' 14747 ;; 14748 *) # Version 6 and above use weak symbols 14749 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14750 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' 14751 ;; 14752 esac 14753 14754 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14755 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14756 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' 14757 ;; 14758 cxx*) 14759 # Compaq C++ 14760 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14761 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 14762 14763 runpath_var=LD_RUN_PATH 14764 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14765 hardcode_libdir_separator_CXX=: 14766 14767 # Commands to make compiler produce verbose output that lists 14768 # what "hidden" libraries, object files and flags are used when 14769 # linking a shared library. 14770 # 14771 # There doesn't appear to be a way to prevent this compiler from 14772 # explicitly linking system object files so we need to strip them 14773 # from the output so that they don't get included in the library 14774 # dependencies. 14775 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' 14776 ;; 14777 xl* | mpixl* | bgxl*) 14778 # IBM XL 8.0 on PPC, with GNU ld 14779 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14780 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14781 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14782 if test yes = "$supports_anon_versioning"; then 14783 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14784 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14785 echo "local: *; };" >> $output_objdir/$libname.ver~ 14786 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14787 fi 14788 ;; 14789 *) 14790 case `$CC -V 2>&1 | sed 5q` in 14791 *Sun\ C*) 14792 # Sun C++ 5.9 14793 no_undefined_flag_CXX=' -zdefs' 14794 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14795 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' 14796 hardcode_libdir_flag_spec_CXX='-R$libdir' 14797 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' 14798 compiler_needs_object_CXX=yes 14799 14800 # Not sure whether something based on 14801 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14802 # would be better. 14803 output_verbose_link_cmd='func_echo_all' 14804 14805 # Archives containing C++ object files must be created using 14806 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14807 # necessary to make sure instantiated templates are included 14808 # in the archive. 14809 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14810 ;; 14811 esac 14812 ;; 14813 esac 14814 ;; 14815 14816 lynxos*) 14817 # FIXME: insert proper C++ library support 14818 ld_shlibs_CXX=no 14819 ;; 14820 14821 m88k*) 14822 # FIXME: insert proper C++ library support 14823 ld_shlibs_CXX=no 14824 ;; 14825 14826 mvs*) 14827 case $cc_basename in 14828 cxx*) 14829 # FIXME: insert proper C++ library support 14830 ld_shlibs_CXX=no 14831 ;; 14832 *) 14833 # FIXME: insert proper C++ library support 14834 ld_shlibs_CXX=no 14835 ;; 14836 esac 14837 ;; 14838 14839 netbsd*) 14840 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14841 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14842 wlarc= 14843 hardcode_libdir_flag_spec_CXX='-R$libdir' 14844 hardcode_direct_CXX=yes 14845 hardcode_shlibpath_var_CXX=no 14846 fi 14847 # Workaround some broken pre-1.5 toolchains 14848 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14849 ;; 14850 14851 *nto* | *qnx*) 14852 ld_shlibs_CXX=yes 14853 ;; 14854 14855 openbsd* | bitrig*) 14856 if test -f /usr/libexec/ld.so; then 14857 hardcode_direct_CXX=yes 14858 hardcode_shlibpath_var_CXX=no 14859 hardcode_direct_absolute_CXX=yes 14860 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14861 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14862 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14863 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14864 export_dynamic_flag_spec_CXX='$wl-E' 14865 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14866 fi 14867 output_verbose_link_cmd=func_echo_all 14868 else 14869 ld_shlibs_CXX=no 14870 fi 14871 ;; 14872 14873 osf3* | osf4* | osf5*) 14874 case $cc_basename in 14875 KCC*) 14876 # Kuck and Associates, Inc. (KAI) C++ Compiler 14877 14878 # KCC will only create a shared library if the output file 14879 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14880 # to its proper name (with version) after linking. 14881 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' 14882 14883 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14884 hardcode_libdir_separator_CXX=: 14885 14886 # Archives containing C++ object files must be created using 14887 # the KAI C++ compiler. 14888 case $host in 14889 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14890 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14891 esac 14892 ;; 14893 RCC*) 14894 # Rational C++ 2.4.1 14895 # FIXME: insert proper C++ library support 14896 ld_shlibs_CXX=no 14897 ;; 14898 cxx*) 14899 case $host in 14900 osf3*) 14901 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14902 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' 14903 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14904 ;; 14905 *) 14906 allow_undefined_flag_CXX=' -expect_unresolved \*' 14907 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' 14908 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14909 echo "-hidden">> $lib.exp~ 14910 $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~ 14911 $RM $lib.exp' 14912 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14913 ;; 14914 esac 14915 14916 hardcode_libdir_separator_CXX=: 14917 14918 # Commands to make compiler produce verbose output that lists 14919 # what "hidden" libraries, object files and flags are used when 14920 # linking a shared library. 14921 # 14922 # There doesn't appear to be a way to prevent this compiler from 14923 # explicitly linking system object files so we need to strip them 14924 # from the output so that they don't get included in the library 14925 # dependencies. 14926 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"' 14927 ;; 14928 *) 14929 if test yes,no = "$GXX,$with_gnu_ld"; then 14930 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14931 case $host in 14932 osf3*) 14933 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' 14934 ;; 14935 *) 14936 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' 14937 ;; 14938 esac 14939 14940 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14941 hardcode_libdir_separator_CXX=: 14942 14943 # Commands to make compiler produce verbose output that lists 14944 # what "hidden" libraries, object files and flags are used when 14945 # linking a shared library. 14946 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14947 14948 else 14949 # FIXME: insert proper C++ library support 14950 ld_shlibs_CXX=no 14951 fi 14952 ;; 14953 esac 14954 ;; 14955 14956 psos*) 14957 # FIXME: insert proper C++ library support 14958 ld_shlibs_CXX=no 14959 ;; 14960 14961 sunos4*) 14962 case $cc_basename in 14963 CC*) 14964 # Sun C++ 4.x 14965 # FIXME: insert proper C++ library support 14966 ld_shlibs_CXX=no 14967 ;; 14968 lcc*) 14969 # Lucid 14970 # FIXME: insert proper C++ library support 14971 ld_shlibs_CXX=no 14972 ;; 14973 *) 14974 # FIXME: insert proper C++ library support 14975 ld_shlibs_CXX=no 14976 ;; 14977 esac 14978 ;; 14979 14980 solaris*) 14981 case $cc_basename in 14982 CC* | sunCC*) 14983 # Sun C++ 4.2, 5.x and Centerline C++ 14984 archive_cmds_need_lc_CXX=yes 14985 no_undefined_flag_CXX=' -zdefs' 14986 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14987 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14988 $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' 14989 14990 hardcode_libdir_flag_spec_CXX='-R$libdir' 14991 hardcode_shlibpath_var_CXX=no 14992 case $host_os in 14993 solaris2.[0-5] | solaris2.[0-5].*) ;; 14994 *) 14995 # The compiler driver will combine and reorder linker options, 14996 # but understands '-z linker_flag'. 14997 # Supported since Solaris 2.6 (maybe 2.5.1?) 14998 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14999 ;; 15000 esac 15001 link_all_deplibs_CXX=yes 15002 15003 output_verbose_link_cmd='func_echo_all' 15004 15005 # Archives containing C++ object files must be created using 15006 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15007 # necessary to make sure instantiated templates are included 15008 # in the archive. 15009 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15010 ;; 15011 gcx*) 15012 # Green Hills C++ Compiler 15013 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15014 15015 # The C++ compiler must be used to create the archive. 15016 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15017 ;; 15018 *) 15019 # GNU C++ compiler with Solaris linker 15020 if test yes,no = "$GXX,$with_gnu_ld"; then 15021 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15022 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15023 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15024 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15025 $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' 15026 15027 # Commands to make compiler produce verbose output that lists 15028 # what "hidden" libraries, object files and flags are used when 15029 # linking a shared library. 15030 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15031 else 15032 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15033 # platform. 15034 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15035 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15036 $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' 15037 15038 # Commands to make compiler produce verbose output that lists 15039 # what "hidden" libraries, object files and flags are used when 15040 # linking a shared library. 15041 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15042 fi 15043 15044 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15045 case $host_os in 15046 solaris2.[0-5] | solaris2.[0-5].*) ;; 15047 *) 15048 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15049 ;; 15050 esac 15051 fi 15052 ;; 15053 esac 15054 ;; 15055 15056 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15057 no_undefined_flag_CXX='$wl-z,text' 15058 archive_cmds_need_lc_CXX=no 15059 hardcode_shlibpath_var_CXX=no 15060 runpath_var='LD_RUN_PATH' 15061 15062 case $cc_basename in 15063 CC*) 15064 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15065 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15066 ;; 15067 *) 15068 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15069 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15070 ;; 15071 esac 15072 ;; 15073 15074 sysv5* | sco3.2v5* | sco5v6*) 15075 # Note: We CANNOT use -z defs as we might desire, because we do not 15076 # link with -lc, and that would cause any symbols used from libc to 15077 # always be unresolved, which means just about no library would 15078 # ever link correctly. If we're not using GNU ld we use -z text 15079 # though, which does catch some bad symbols but isn't as heavy-handed 15080 # as -z defs. 15081 no_undefined_flag_CXX='$wl-z,text' 15082 allow_undefined_flag_CXX='$wl-z,nodefs' 15083 archive_cmds_need_lc_CXX=no 15084 hardcode_shlibpath_var_CXX=no 15085 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15086 hardcode_libdir_separator_CXX=':' 15087 link_all_deplibs_CXX=yes 15088 export_dynamic_flag_spec_CXX='$wl-Bexport' 15089 runpath_var='LD_RUN_PATH' 15090 15091 case $cc_basename in 15092 CC*) 15093 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15094 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15095 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15096 '"$old_archive_cmds_CXX" 15097 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15098 '"$reload_cmds_CXX" 15099 ;; 15100 *) 15101 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15102 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15103 ;; 15104 esac 15105 ;; 15106 15107 tandem*) 15108 case $cc_basename in 15109 NCC*) 15110 # NonStop-UX NCC 3.20 15111 # FIXME: insert proper C++ library support 15112 ld_shlibs_CXX=no 15113 ;; 15114 *) 15115 # FIXME: insert proper C++ library support 15116 ld_shlibs_CXX=no 15117 ;; 15118 esac 15119 ;; 15120 15121 vxworks*) 15122 # FIXME: insert proper C++ library support 15123 ld_shlibs_CXX=no 15124 ;; 15125 15126 *) 15127 # FIXME: insert proper C++ library support 15128 ld_shlibs_CXX=no 15129 ;; 15130 esac 15131 15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15133$as_echo "$ld_shlibs_CXX" >&6; } 15134 test no = "$ld_shlibs_CXX" && can_build_shared=no 15135 15136 GCC_CXX=$GXX 15137 LD_CXX=$LD 15138 15139 ## CAVEAT EMPTOR: 15140 ## There is no encapsulation within the following macros, do not change 15141 ## the running order or otherwise move them around unless you know exactly 15142 ## what you are doing... 15143 # Dependencies to place before and after the object being linked: 15144predep_objects_CXX= 15145postdep_objects_CXX= 15146predeps_CXX= 15147postdeps_CXX= 15148compiler_lib_search_path_CXX= 15149 15150cat > conftest.$ac_ext <<_LT_EOF 15151class Foo 15152{ 15153public: 15154 Foo (void) { a = 0; } 15155private: 15156 int a; 15157}; 15158_LT_EOF 15159 15160 15161_lt_libdeps_save_CFLAGS=$CFLAGS 15162case "$CC $CFLAGS " in #( 15163*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15164*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15165*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15166esac 15167 15168if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15169 (eval $ac_compile) 2>&5 15170 ac_status=$? 15171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15172 test $ac_status = 0; }; then 15173 # Parse the compiler output and extract the necessary 15174 # objects, libraries and library flags. 15175 15176 # Sentinel used to keep track of whether or not we are before 15177 # the conftest object file. 15178 pre_test_object_deps_done=no 15179 15180 for p in `eval "$output_verbose_link_cmd"`; do 15181 case $prev$p in 15182 15183 -L* | -R* | -l*) 15184 # Some compilers place space between "-{L,R}" and the path. 15185 # Remove the space. 15186 if test x-L = "$p" || 15187 test x-R = "$p"; then 15188 prev=$p 15189 continue 15190 fi 15191 15192 # Expand the sysroot to ease extracting the directories later. 15193 if test -z "$prev"; then 15194 case $p in 15195 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15196 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15197 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15198 esac 15199 fi 15200 case $p in 15201 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15202 esac 15203 if test no = "$pre_test_object_deps_done"; then 15204 case $prev in 15205 -L | -R) 15206 # Internal compiler library paths should come after those 15207 # provided the user. The postdeps already come after the 15208 # user supplied libs so there is no need to process them. 15209 if test -z "$compiler_lib_search_path_CXX"; then 15210 compiler_lib_search_path_CXX=$prev$p 15211 else 15212 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15213 fi 15214 ;; 15215 # The "-l" case would never come before the object being 15216 # linked, so don't bother handling this case. 15217 esac 15218 else 15219 if test -z "$postdeps_CXX"; then 15220 postdeps_CXX=$prev$p 15221 else 15222 postdeps_CXX="${postdeps_CXX} $prev$p" 15223 fi 15224 fi 15225 prev= 15226 ;; 15227 15228 *.lto.$objext) ;; # Ignore GCC LTO objects 15229 *.$objext) 15230 # This assumes that the test object file only shows up 15231 # once in the compiler output. 15232 if test "$p" = "conftest.$objext"; then 15233 pre_test_object_deps_done=yes 15234 continue 15235 fi 15236 15237 if test no = "$pre_test_object_deps_done"; then 15238 if test -z "$predep_objects_CXX"; then 15239 predep_objects_CXX=$p 15240 else 15241 predep_objects_CXX="$predep_objects_CXX $p" 15242 fi 15243 else 15244 if test -z "$postdep_objects_CXX"; then 15245 postdep_objects_CXX=$p 15246 else 15247 postdep_objects_CXX="$postdep_objects_CXX $p" 15248 fi 15249 fi 15250 ;; 15251 15252 *) ;; # Ignore the rest. 15253 15254 esac 15255 done 15256 15257 # Clean up. 15258 rm -f a.out a.exe 15259else 15260 echo "libtool.m4: error: problem compiling CXX test program" 15261fi 15262 15263$RM -f confest.$objext 15264CFLAGS=$_lt_libdeps_save_CFLAGS 15265 15266# PORTME: override above test on systems where it is broken 15267case $host_os in 15268interix[3-9]*) 15269 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15270 # hack all around it, let's just trust "g++" to DTRT. 15271 predep_objects_CXX= 15272 postdep_objects_CXX= 15273 postdeps_CXX= 15274 ;; 15275esac 15276 15277 15278case " $postdeps_CXX " in 15279*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15280esac 15281 compiler_lib_search_dirs_CXX= 15282if test -n "${compiler_lib_search_path_CXX}"; then 15283 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15284fi 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 lt_prog_compiler_wl_CXX= 15317lt_prog_compiler_pic_CXX= 15318lt_prog_compiler_static_CXX= 15319 15320 15321 # C++ specific cases for pic, static, wl, etc. 15322 if test yes = "$GXX"; then 15323 lt_prog_compiler_wl_CXX='-Wl,' 15324 lt_prog_compiler_static_CXX='-static' 15325 15326 case $host_os in 15327 aix*) 15328 # All AIX code is PIC. 15329 if test ia64 = "$host_cpu"; then 15330 # AIX 5 now supports IA64 processor 15331 lt_prog_compiler_static_CXX='-Bstatic' 15332 fi 15333 lt_prog_compiler_pic_CXX='-fPIC' 15334 ;; 15335 15336 amigaos*) 15337 case $host_cpu in 15338 powerpc) 15339 # see comment about AmigaOS4 .so support 15340 lt_prog_compiler_pic_CXX='-fPIC' 15341 ;; 15342 m68k) 15343 # FIXME: we need at least 68020 code to build shared libraries, but 15344 # adding the '-m68020' flag to GCC prevents building anything better, 15345 # like '-m68040'. 15346 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15347 ;; 15348 esac 15349 ;; 15350 15351 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15352 # PIC is the default for these OSes. 15353 ;; 15354 mingw* | cygwin* | os2* | pw32* | cegcc*) 15355 # This hack is so that the source file can tell whether it is being 15356 # built for inclusion in a dll (and should export symbols for example). 15357 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15358 # (--disable-auto-import) libraries 15359 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15360 case $host_os in 15361 os2*) 15362 lt_prog_compiler_static_CXX='$wl-static' 15363 ;; 15364 esac 15365 ;; 15366 darwin* | rhapsody*) 15367 # PIC is the default on this platform 15368 # Common symbols not allowed in MH_DYLIB files 15369 lt_prog_compiler_pic_CXX='-fno-common' 15370 ;; 15371 *djgpp*) 15372 # DJGPP does not support shared libraries at all 15373 lt_prog_compiler_pic_CXX= 15374 ;; 15375 haiku*) 15376 # PIC is the default for Haiku. 15377 # The "-static" flag exists, but is broken. 15378 lt_prog_compiler_static_CXX= 15379 ;; 15380 interix[3-9]*) 15381 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15382 # Instead, we relocate shared libraries at runtime. 15383 ;; 15384 sysv4*MP*) 15385 if test -d /usr/nec; then 15386 lt_prog_compiler_pic_CXX=-Kconform_pic 15387 fi 15388 ;; 15389 hpux*) 15390 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15391 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15392 # sets the default TLS model and affects inlining. 15393 case $host_cpu in 15394 hppa*64*) 15395 ;; 15396 *) 15397 lt_prog_compiler_pic_CXX='-fPIC' 15398 ;; 15399 esac 15400 ;; 15401 *qnx* | *nto*) 15402 # QNX uses GNU C++, but need to define -shared option too, otherwise 15403 # it will coredump. 15404 lt_prog_compiler_pic_CXX='-fPIC -shared' 15405 ;; 15406 *) 15407 lt_prog_compiler_pic_CXX='-fPIC' 15408 ;; 15409 esac 15410 else 15411 case $host_os in 15412 aix[4-9]*) 15413 # All AIX code is PIC. 15414 if test ia64 = "$host_cpu"; then 15415 # AIX 5 now supports IA64 processor 15416 lt_prog_compiler_static_CXX='-Bstatic' 15417 else 15418 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15419 fi 15420 ;; 15421 chorus*) 15422 case $cc_basename in 15423 cxch68*) 15424 # Green Hills C++ Compiler 15425 # _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" 15426 ;; 15427 esac 15428 ;; 15429 mingw* | cygwin* | os2* | pw32* | cegcc*) 15430 # This hack is so that the source file can tell whether it is being 15431 # built for inclusion in a dll (and should export symbols for example). 15432 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15433 ;; 15434 dgux*) 15435 case $cc_basename in 15436 ec++*) 15437 lt_prog_compiler_pic_CXX='-KPIC' 15438 ;; 15439 ghcx*) 15440 # Green Hills C++ Compiler 15441 lt_prog_compiler_pic_CXX='-pic' 15442 ;; 15443 *) 15444 ;; 15445 esac 15446 ;; 15447 freebsd* | dragonfly*) 15448 # FreeBSD uses GNU C++ 15449 ;; 15450 hpux9* | hpux10* | hpux11*) 15451 case $cc_basename in 15452 CC*) 15453 lt_prog_compiler_wl_CXX='-Wl,' 15454 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15455 if test ia64 != "$host_cpu"; then 15456 lt_prog_compiler_pic_CXX='+Z' 15457 fi 15458 ;; 15459 aCC*) 15460 lt_prog_compiler_wl_CXX='-Wl,' 15461 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15462 case $host_cpu in 15463 hppa*64*|ia64*) 15464 # +Z the default 15465 ;; 15466 *) 15467 lt_prog_compiler_pic_CXX='+Z' 15468 ;; 15469 esac 15470 ;; 15471 *) 15472 ;; 15473 esac 15474 ;; 15475 interix*) 15476 # This is c89, which is MS Visual C++ (no shared libs) 15477 # Anyone wants to do a port? 15478 ;; 15479 irix5* | irix6* | nonstopux*) 15480 case $cc_basename in 15481 CC*) 15482 lt_prog_compiler_wl_CXX='-Wl,' 15483 lt_prog_compiler_static_CXX='-non_shared' 15484 # CC pic flag -KPIC is the default. 15485 ;; 15486 *) 15487 ;; 15488 esac 15489 ;; 15490 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15491 case $cc_basename in 15492 KCC*) 15493 # KAI C++ Compiler 15494 lt_prog_compiler_wl_CXX='--backend -Wl,' 15495 lt_prog_compiler_pic_CXX='-fPIC' 15496 ;; 15497 ecpc* ) 15498 # old Intel C++ for x86_64, which still supported -KPIC. 15499 lt_prog_compiler_wl_CXX='-Wl,' 15500 lt_prog_compiler_pic_CXX='-KPIC' 15501 lt_prog_compiler_static_CXX='-static' 15502 ;; 15503 icpc* ) 15504 # Intel C++, used to be incompatible with GCC. 15505 # ICC 10 doesn't accept -KPIC any more. 15506 lt_prog_compiler_wl_CXX='-Wl,' 15507 lt_prog_compiler_pic_CXX='-fPIC' 15508 lt_prog_compiler_static_CXX='-static' 15509 ;; 15510 pgCC* | pgcpp*) 15511 # Portland Group C++ compiler 15512 lt_prog_compiler_wl_CXX='-Wl,' 15513 lt_prog_compiler_pic_CXX='-fpic' 15514 lt_prog_compiler_static_CXX='-Bstatic' 15515 ;; 15516 cxx*) 15517 # Compaq C++ 15518 # Make sure the PIC flag is empty. It appears that all Alpha 15519 # Linux and Compaq Tru64 Unix objects are PIC. 15520 lt_prog_compiler_pic_CXX= 15521 lt_prog_compiler_static_CXX='-non_shared' 15522 ;; 15523 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15524 # IBM XL 8.0, 9.0 on PPC and BlueGene 15525 lt_prog_compiler_wl_CXX='-Wl,' 15526 lt_prog_compiler_pic_CXX='-qpic' 15527 lt_prog_compiler_static_CXX='-qstaticlink' 15528 ;; 15529 *) 15530 case `$CC -V 2>&1 | sed 5q` in 15531 *Sun\ C*) 15532 # Sun C++ 5.9 15533 lt_prog_compiler_pic_CXX='-KPIC' 15534 lt_prog_compiler_static_CXX='-Bstatic' 15535 lt_prog_compiler_wl_CXX='-Qoption ld ' 15536 ;; 15537 esac 15538 ;; 15539 esac 15540 ;; 15541 lynxos*) 15542 ;; 15543 m88k*) 15544 ;; 15545 mvs*) 15546 case $cc_basename in 15547 cxx*) 15548 lt_prog_compiler_pic_CXX='-W c,exportall' 15549 ;; 15550 *) 15551 ;; 15552 esac 15553 ;; 15554 netbsd*) 15555 ;; 15556 *qnx* | *nto*) 15557 # QNX uses GNU C++, but need to define -shared option too, otherwise 15558 # it will coredump. 15559 lt_prog_compiler_pic_CXX='-fPIC -shared' 15560 ;; 15561 osf3* | osf4* | osf5*) 15562 case $cc_basename in 15563 KCC*) 15564 lt_prog_compiler_wl_CXX='--backend -Wl,' 15565 ;; 15566 RCC*) 15567 # Rational C++ 2.4.1 15568 lt_prog_compiler_pic_CXX='-pic' 15569 ;; 15570 cxx*) 15571 # Digital/Compaq C++ 15572 lt_prog_compiler_wl_CXX='-Wl,' 15573 # Make sure the PIC flag is empty. It appears that all Alpha 15574 # Linux and Compaq Tru64 Unix objects are PIC. 15575 lt_prog_compiler_pic_CXX= 15576 lt_prog_compiler_static_CXX='-non_shared' 15577 ;; 15578 *) 15579 ;; 15580 esac 15581 ;; 15582 psos*) 15583 ;; 15584 solaris*) 15585 case $cc_basename in 15586 CC* | sunCC*) 15587 # Sun C++ 4.2, 5.x and Centerline C++ 15588 lt_prog_compiler_pic_CXX='-KPIC' 15589 lt_prog_compiler_static_CXX='-Bstatic' 15590 lt_prog_compiler_wl_CXX='-Qoption ld ' 15591 ;; 15592 gcx*) 15593 # Green Hills C++ Compiler 15594 lt_prog_compiler_pic_CXX='-PIC' 15595 ;; 15596 *) 15597 ;; 15598 esac 15599 ;; 15600 sunos4*) 15601 case $cc_basename in 15602 CC*) 15603 # Sun C++ 4.x 15604 lt_prog_compiler_pic_CXX='-pic' 15605 lt_prog_compiler_static_CXX='-Bstatic' 15606 ;; 15607 lcc*) 15608 # Lucid 15609 lt_prog_compiler_pic_CXX='-pic' 15610 ;; 15611 *) 15612 ;; 15613 esac 15614 ;; 15615 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15616 case $cc_basename in 15617 CC*) 15618 lt_prog_compiler_wl_CXX='-Wl,' 15619 lt_prog_compiler_pic_CXX='-KPIC' 15620 lt_prog_compiler_static_CXX='-Bstatic' 15621 ;; 15622 esac 15623 ;; 15624 tandem*) 15625 case $cc_basename in 15626 NCC*) 15627 # NonStop-UX NCC 3.20 15628 lt_prog_compiler_pic_CXX='-KPIC' 15629 ;; 15630 *) 15631 ;; 15632 esac 15633 ;; 15634 vxworks*) 15635 ;; 15636 *) 15637 lt_prog_compiler_can_build_shared_CXX=no 15638 ;; 15639 esac 15640 fi 15641 15642case $host_os in 15643 # For platforms that do not support PIC, -DPIC is meaningless: 15644 *djgpp*) 15645 lt_prog_compiler_pic_CXX= 15646 ;; 15647 *) 15648 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15649 ;; 15650esac 15651 15652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15653$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15654if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15655 $as_echo_n "(cached) " >&6 15656else 15657 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15658fi 15659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15660$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15661lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15662 15663# 15664# Check to make sure the PIC flag actually works. 15665# 15666if test -n "$lt_prog_compiler_pic_CXX"; then 15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15668$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15669if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15670 $as_echo_n "(cached) " >&6 15671else 15672 lt_cv_prog_compiler_pic_works_CXX=no 15673 ac_outfile=conftest.$ac_objext 15674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15675 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15676 # Insert the option either (1) after the last *FLAGS variable, or 15677 # (2) before a word containing "conftest.", or (3) at the end. 15678 # Note that $ac_compile itself does not contain backslashes and begins 15679 # with a dollar sign (not a hyphen), so the echo should work correctly. 15680 # The option is referenced via a variable to avoid confusing sed. 15681 lt_compile=`echo "$ac_compile" | $SED \ 15682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15684 -e 's:$: $lt_compiler_flag:'` 15685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15686 (eval "$lt_compile" 2>conftest.err) 15687 ac_status=$? 15688 cat conftest.err >&5 15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15690 if (exit $ac_status) && test -s "$ac_outfile"; then 15691 # The compiler can only warn and ignore the option if not recognized 15692 # So say no if there are warnings other than the usual output. 15693 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15694 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15695 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15696 lt_cv_prog_compiler_pic_works_CXX=yes 15697 fi 15698 fi 15699 $RM conftest* 15700 15701fi 15702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15703$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15704 15705if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15706 case $lt_prog_compiler_pic_CXX in 15707 "" | " "*) ;; 15708 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15709 esac 15710else 15711 lt_prog_compiler_pic_CXX= 15712 lt_prog_compiler_can_build_shared_CXX=no 15713fi 15714 15715fi 15716 15717 15718 15719 15720 15721# 15722# Check to make sure the static flag actually works. 15723# 15724wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15726$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15727if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15728 $as_echo_n "(cached) " >&6 15729else 15730 lt_cv_prog_compiler_static_works_CXX=no 15731 save_LDFLAGS=$LDFLAGS 15732 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15733 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15734 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15735 # The linker can only warn and ignore the option if not recognized 15736 # So say no if there are warnings 15737 if test -s conftest.err; then 15738 # Append any errors to the config.log. 15739 cat conftest.err 1>&5 15740 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15742 if diff conftest.exp conftest.er2 >/dev/null; then 15743 lt_cv_prog_compiler_static_works_CXX=yes 15744 fi 15745 else 15746 lt_cv_prog_compiler_static_works_CXX=yes 15747 fi 15748 fi 15749 $RM -r conftest* 15750 LDFLAGS=$save_LDFLAGS 15751 15752fi 15753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15754$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15755 15756if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15757 : 15758else 15759 lt_prog_compiler_static_CXX= 15760fi 15761 15762 15763 15764 15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15766$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15767if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15768 $as_echo_n "(cached) " >&6 15769else 15770 lt_cv_prog_compiler_c_o_CXX=no 15771 $RM -r conftest 2>/dev/null 15772 mkdir conftest 15773 cd conftest 15774 mkdir out 15775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15776 15777 lt_compiler_flag="-o out/conftest2.$ac_objext" 15778 # Insert the option either (1) after the last *FLAGS variable, or 15779 # (2) before a word containing "conftest.", or (3) at the end. 15780 # Note that $ac_compile itself does not contain backslashes and begins 15781 # with a dollar sign (not a hyphen), so the echo should work correctly. 15782 lt_compile=`echo "$ac_compile" | $SED \ 15783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15785 -e 's:$: $lt_compiler_flag:'` 15786 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15787 (eval "$lt_compile" 2>out/conftest.err) 15788 ac_status=$? 15789 cat out/conftest.err >&5 15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15791 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15792 then 15793 # The compiler can only warn and ignore the option if not recognized 15794 # So say no if there are warnings 15795 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15796 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15797 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15798 lt_cv_prog_compiler_c_o_CXX=yes 15799 fi 15800 fi 15801 chmod u+w . 2>&5 15802 $RM conftest* 15803 # SGI C++ compiler will create directory out/ii_files/ for 15804 # template instantiation 15805 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15806 $RM out/* && rmdir out 15807 cd .. 15808 $RM -r conftest 15809 $RM conftest* 15810 15811fi 15812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15813$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15814 15815 15816 15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15818$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15819if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15820 $as_echo_n "(cached) " >&6 15821else 15822 lt_cv_prog_compiler_c_o_CXX=no 15823 $RM -r conftest 2>/dev/null 15824 mkdir conftest 15825 cd conftest 15826 mkdir out 15827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15828 15829 lt_compiler_flag="-o out/conftest2.$ac_objext" 15830 # Insert the option either (1) after the last *FLAGS variable, or 15831 # (2) before a word containing "conftest.", or (3) at the end. 15832 # Note that $ac_compile itself does not contain backslashes and begins 15833 # with a dollar sign (not a hyphen), so the echo should work correctly. 15834 lt_compile=`echo "$ac_compile" | $SED \ 15835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15837 -e 's:$: $lt_compiler_flag:'` 15838 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15839 (eval "$lt_compile" 2>out/conftest.err) 15840 ac_status=$? 15841 cat out/conftest.err >&5 15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15843 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15844 then 15845 # The compiler can only warn and ignore the option if not recognized 15846 # So say no if there are warnings 15847 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15848 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15849 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15850 lt_cv_prog_compiler_c_o_CXX=yes 15851 fi 15852 fi 15853 chmod u+w . 2>&5 15854 $RM conftest* 15855 # SGI C++ compiler will create directory out/ii_files/ for 15856 # template instantiation 15857 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15858 $RM out/* && rmdir out 15859 cd .. 15860 $RM -r conftest 15861 $RM conftest* 15862 15863fi 15864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15865$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15866 15867 15868 15869 15870hard_links=nottested 15871if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15872 # do not overwrite the value of need_locks provided by the user 15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15874$as_echo_n "checking if we can lock with hard links... " >&6; } 15875 hard_links=yes 15876 $RM conftest* 15877 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15878 touch conftest.a 15879 ln conftest.a conftest.b 2>&5 || hard_links=no 15880 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15882$as_echo "$hard_links" >&6; } 15883 if test no = "$hard_links"; then 15884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15885$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15886 need_locks=warn 15887 fi 15888else 15889 need_locks=no 15890fi 15891 15892 15893 15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15895$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15896 15897 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15898 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15899 case $host_os in 15900 aix[4-9]*) 15901 # If we're using GNU nm, then we don't want the "-C" option. 15902 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15903 # Without the "-l" option, or with the "-B" option, AIX nm treats 15904 # weak defined symbols like other global defined symbols, whereas 15905 # GNU nm marks them as "W". 15906 # While the 'weak' keyword is ignored in the Export File, we need 15907 # it in the Import File for the 'aix-soname' feature, so we have 15908 # to replace the "-B" option with "-P" for AIX nm. 15909 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15910 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' 15911 else 15912 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' 15913 fi 15914 ;; 15915 pw32*) 15916 export_symbols_cmds_CXX=$ltdll_cmds 15917 ;; 15918 cygwin* | mingw* | cegcc*) 15919 case $cc_basename in 15920 cl*) 15921 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15922 ;; 15923 *) 15924 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' 15925 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15926 ;; 15927 esac 15928 ;; 15929 *) 15930 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15931 ;; 15932 esac 15933 15934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15935$as_echo "$ld_shlibs_CXX" >&6; } 15936test no = "$ld_shlibs_CXX" && can_build_shared=no 15937 15938with_gnu_ld_CXX=$with_gnu_ld 15939 15940 15941 15942 15943 15944 15945# 15946# Do we need to explicitly link libc? 15947# 15948case "x$archive_cmds_need_lc_CXX" in 15949x|xyes) 15950 # Assume -lc should be added 15951 archive_cmds_need_lc_CXX=yes 15952 15953 if test yes,yes = "$GCC,$enable_shared"; then 15954 case $archive_cmds_CXX in 15955 *'~'*) 15956 # FIXME: we may have to deal with multi-command sequences. 15957 ;; 15958 '$CC '*) 15959 # Test whether the compiler implicitly links with -lc since on some 15960 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15961 # to ld, don't add -lc before -lgcc. 15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15963$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15964if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15965 $as_echo_n "(cached) " >&6 15966else 15967 $RM conftest* 15968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15969 15970 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15971 (eval $ac_compile) 2>&5 15972 ac_status=$? 15973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15974 test $ac_status = 0; } 2>conftest.err; then 15975 soname=conftest 15976 lib=conftest 15977 libobjs=conftest.$ac_objext 15978 deplibs= 15979 wl=$lt_prog_compiler_wl_CXX 15980 pic_flag=$lt_prog_compiler_pic_CXX 15981 compiler_flags=-v 15982 linker_flags=-v 15983 verstring= 15984 output_objdir=. 15985 libname=conftest 15986 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15987 allow_undefined_flag_CXX= 15988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15989 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15990 ac_status=$? 15991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15992 test $ac_status = 0; } 15993 then 15994 lt_cv_archive_cmds_need_lc_CXX=no 15995 else 15996 lt_cv_archive_cmds_need_lc_CXX=yes 15997 fi 15998 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15999 else 16000 cat conftest.err 1>&5 16001 fi 16002 $RM conftest* 16003 16004fi 16005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16006$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16007 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16008 ;; 16009 esac 16010 fi 16011 ;; 16012esac 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16076$as_echo_n "checking dynamic linker characteristics... " >&6; } 16077 16078library_names_spec= 16079libname_spec='lib$name' 16080soname_spec= 16081shrext_cmds=.so 16082postinstall_cmds= 16083postuninstall_cmds= 16084finish_cmds= 16085finish_eval= 16086shlibpath_var= 16087shlibpath_overrides_runpath=unknown 16088version_type=none 16089dynamic_linker="$host_os ld.so" 16090sys_lib_dlsearch_path_spec="/lib /usr/lib" 16091need_lib_prefix=unknown 16092hardcode_into_libs=no 16093 16094# when you set need_version to no, make sure it does not cause -set_version 16095# flags to be left without arguments 16096need_version=unknown 16097 16098 16099 16100case $host_os in 16101aix3*) 16102 version_type=linux # correct to gnu/linux during the next big refactor 16103 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16104 shlibpath_var=LIBPATH 16105 16106 # AIX 3 has no versioning support, so we append a major version to the name. 16107 soname_spec='$libname$release$shared_ext$major' 16108 ;; 16109 16110aix[4-9]*) 16111 version_type=linux # correct to gnu/linux during the next big refactor 16112 need_lib_prefix=no 16113 need_version=no 16114 hardcode_into_libs=yes 16115 if test ia64 = "$host_cpu"; then 16116 # AIX 5 supports IA64 16117 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16118 shlibpath_var=LD_LIBRARY_PATH 16119 else 16120 # With GCC up to 2.95.x, collect2 would create an import file 16121 # for dependence libraries. The import file would start with 16122 # the line '#! .'. This would cause the generated library to 16123 # depend on '.', always an invalid library. This was fixed in 16124 # development snapshots of GCC prior to 3.0. 16125 case $host_os in 16126 aix4 | aix4.[01] | aix4.[01].*) 16127 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16128 echo ' yes ' 16129 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16130 : 16131 else 16132 can_build_shared=no 16133 fi 16134 ;; 16135 esac 16136 # Using Import Files as archive members, it is possible to support 16137 # filename-based versioning of shared library archives on AIX. While 16138 # this would work for both with and without runtime linking, it will 16139 # prevent static linking of such archives. So we do filename-based 16140 # shared library versioning with .so extension only, which is used 16141 # when both runtime linking and shared linking is enabled. 16142 # Unfortunately, runtime linking may impact performance, so we do 16143 # not want this to be the default eventually. Also, we use the 16144 # versioned .so libs for executables only if there is the -brtl 16145 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16146 # To allow for filename-based versioning support, we need to create 16147 # libNAME.so.V as an archive file, containing: 16148 # *) an Import File, referring to the versioned filename of the 16149 # archive as well as the shared archive member, telling the 16150 # bitwidth (32 or 64) of that shared object, and providing the 16151 # list of exported symbols of that shared object, eventually 16152 # decorated with the 'weak' keyword 16153 # *) the shared object with the F_LOADONLY flag set, to really avoid 16154 # it being seen by the linker. 16155 # At run time we better use the real file rather than another symlink, 16156 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16157 16158 case $with_aix_soname,$aix_use_runtimelinking in 16159 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16160 # soname into executable. Probably we can add versioning support to 16161 # collect2, so additional links can be useful in future. 16162 aix,yes) # traditional libtool 16163 dynamic_linker='AIX unversionable lib.so' 16164 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16165 # instead of lib<name>.a to let people know that these are not 16166 # typical AIX shared libraries. 16167 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16168 ;; 16169 aix,no) # traditional AIX only 16170 dynamic_linker='AIX lib.a(lib.so.V)' 16171 # We preserve .a as extension for shared libraries through AIX4.2 16172 # and later when we are not doing run time linking. 16173 library_names_spec='$libname$release.a $libname.a' 16174 soname_spec='$libname$release$shared_ext$major' 16175 ;; 16176 svr4,*) # full svr4 only 16177 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16178 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16179 # We do not specify a path in Import Files, so LIBPATH fires. 16180 shlibpath_overrides_runpath=yes 16181 ;; 16182 *,yes) # both, prefer svr4 16183 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16184 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16185 # unpreferred sharedlib libNAME.a needs extra handling 16186 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"' 16187 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"' 16188 # We do not specify a path in Import Files, so LIBPATH fires. 16189 shlibpath_overrides_runpath=yes 16190 ;; 16191 *,no) # both, prefer aix 16192 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16193 library_names_spec='$libname$release.a $libname.a' 16194 soname_spec='$libname$release$shared_ext$major' 16195 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16196 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)' 16197 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"' 16198 ;; 16199 esac 16200 shlibpath_var=LIBPATH 16201 fi 16202 ;; 16203 16204amigaos*) 16205 case $host_cpu in 16206 powerpc) 16207 # Since July 2007 AmigaOS4 officially supports .so libraries. 16208 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16209 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16210 ;; 16211 m68k) 16212 library_names_spec='$libname.ixlibrary $libname.a' 16213 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16214 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' 16215 ;; 16216 esac 16217 ;; 16218 16219beos*) 16220 library_names_spec='$libname$shared_ext' 16221 dynamic_linker="$host_os ld.so" 16222 shlibpath_var=LIBRARY_PATH 16223 ;; 16224 16225bsdi[45]*) 16226 version_type=linux # correct to gnu/linux during the next big refactor 16227 need_version=no 16228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16229 soname_spec='$libname$release$shared_ext$major' 16230 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16231 shlibpath_var=LD_LIBRARY_PATH 16232 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16233 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16234 # the default ld.so.conf also contains /usr/contrib/lib and 16235 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16236 # libtool to hard-code these into programs 16237 ;; 16238 16239cygwin* | mingw* | pw32* | cegcc*) 16240 version_type=windows 16241 shrext_cmds=.dll 16242 need_version=no 16243 need_lib_prefix=no 16244 16245 case $GCC,$cc_basename in 16246 yes,*) 16247 # gcc 16248 library_names_spec='$libname.dll.a' 16249 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16250 postinstall_cmds='base_file=`basename \$file`~ 16251 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16252 dldir=$destdir/`dirname \$dlpath`~ 16253 test -d \$dldir || mkdir -p \$dldir~ 16254 $install_prog $dir/$dlname \$dldir/$dlname~ 16255 chmod a+x \$dldir/$dlname~ 16256 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16257 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16258 fi' 16259 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16260 dlpath=$dir/\$dldll~ 16261 $RM \$dlpath' 16262 shlibpath_overrides_runpath=yes 16263 16264 case $host_os in 16265 cygwin*) 16266 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16267 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16268 16269 ;; 16270 mingw* | cegcc*) 16271 # MinGW DLLs use traditional 'lib' prefix 16272 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16273 ;; 16274 pw32*) 16275 # pw32 DLLs use 'pw' prefix rather than 'lib' 16276 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16277 ;; 16278 esac 16279 dynamic_linker='Win32 ld.exe' 16280 ;; 16281 16282 *,cl*) 16283 # Native MSVC 16284 libname_spec='$name' 16285 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16286 library_names_spec='$libname.dll.lib' 16287 16288 case $build_os in 16289 mingw*) 16290 sys_lib_search_path_spec= 16291 lt_save_ifs=$IFS 16292 IFS=';' 16293 for lt_path in $LIB 16294 do 16295 IFS=$lt_save_ifs 16296 # Let DOS variable expansion print the short 8.3 style file name. 16297 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16298 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16299 done 16300 IFS=$lt_save_ifs 16301 # Convert to MSYS style. 16302 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16303 ;; 16304 cygwin*) 16305 # Convert to unix form, then to dos form, then back to unix form 16306 # but this time dos style (no spaces!) so that the unix form looks 16307 # like /cygdrive/c/PROGRA~1:/cygdr... 16308 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16309 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16310 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16311 ;; 16312 *) 16313 sys_lib_search_path_spec=$LIB 16314 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16315 # It is most probably a Windows format PATH. 16316 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16317 else 16318 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16319 fi 16320 # FIXME: find the short name or the path components, as spaces are 16321 # common. (e.g. "Program Files" -> "PROGRA~1") 16322 ;; 16323 esac 16324 16325 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16326 postinstall_cmds='base_file=`basename \$file`~ 16327 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16328 dldir=$destdir/`dirname \$dlpath`~ 16329 test -d \$dldir || mkdir -p \$dldir~ 16330 $install_prog $dir/$dlname \$dldir/$dlname' 16331 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16332 dlpath=$dir/\$dldll~ 16333 $RM \$dlpath' 16334 shlibpath_overrides_runpath=yes 16335 dynamic_linker='Win32 link.exe' 16336 ;; 16337 16338 *) 16339 # Assume MSVC wrapper 16340 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16341 dynamic_linker='Win32 ld.exe' 16342 ;; 16343 esac 16344 # FIXME: first we should search . and the directory the executable is in 16345 shlibpath_var=PATH 16346 ;; 16347 16348darwin* | rhapsody*) 16349 dynamic_linker="$host_os dyld" 16350 version_type=darwin 16351 need_lib_prefix=no 16352 need_version=no 16353 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16354 soname_spec='$libname$release$major$shared_ext' 16355 shlibpath_overrides_runpath=yes 16356 shlibpath_var=DYLD_LIBRARY_PATH 16357 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16358 16359 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16360 ;; 16361 16362dgux*) 16363 version_type=linux # correct to gnu/linux during the next big refactor 16364 need_lib_prefix=no 16365 need_version=no 16366 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16367 soname_spec='$libname$release$shared_ext$major' 16368 shlibpath_var=LD_LIBRARY_PATH 16369 ;; 16370 16371freebsd* | dragonfly*) 16372 # DragonFly does not have aout. When/if they implement a new 16373 # versioning mechanism, adjust this. 16374 if test -x /usr/bin/objformat; then 16375 objformat=`/usr/bin/objformat` 16376 else 16377 case $host_os in 16378 freebsd[23].*) objformat=aout ;; 16379 *) objformat=elf ;; 16380 esac 16381 fi 16382 version_type=freebsd-$objformat 16383 case $version_type in 16384 freebsd-elf*) 16385 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16386 soname_spec='$libname$release$shared_ext$major' 16387 need_version=no 16388 need_lib_prefix=no 16389 ;; 16390 freebsd-*) 16391 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16392 need_version=yes 16393 ;; 16394 esac 16395 shlibpath_var=LD_LIBRARY_PATH 16396 case $host_os in 16397 freebsd2.*) 16398 shlibpath_overrides_runpath=yes 16399 ;; 16400 freebsd3.[01]* | freebsdelf3.[01]*) 16401 shlibpath_overrides_runpath=yes 16402 hardcode_into_libs=yes 16403 ;; 16404 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16405 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16406 shlibpath_overrides_runpath=no 16407 hardcode_into_libs=yes 16408 ;; 16409 *) # from 4.6 on, and DragonFly 16410 shlibpath_overrides_runpath=yes 16411 hardcode_into_libs=yes 16412 ;; 16413 esac 16414 ;; 16415 16416haiku*) 16417 version_type=linux # correct to gnu/linux during the next big refactor 16418 need_lib_prefix=no 16419 need_version=no 16420 dynamic_linker="$host_os runtime_loader" 16421 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16422 soname_spec='$libname$release$shared_ext$major' 16423 shlibpath_var=LIBRARY_PATH 16424 shlibpath_overrides_runpath=no 16425 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16426 hardcode_into_libs=yes 16427 ;; 16428 16429hpux9* | hpux10* | hpux11*) 16430 # Give a soname corresponding to the major version so that dld.sl refuses to 16431 # link against other versions. 16432 version_type=sunos 16433 need_lib_prefix=no 16434 need_version=no 16435 case $host_cpu in 16436 ia64*) 16437 shrext_cmds='.so' 16438 hardcode_into_libs=yes 16439 dynamic_linker="$host_os dld.so" 16440 shlibpath_var=LD_LIBRARY_PATH 16441 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16442 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16443 soname_spec='$libname$release$shared_ext$major' 16444 if test 32 = "$HPUX_IA64_MODE"; then 16445 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16446 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16447 else 16448 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16449 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16450 fi 16451 ;; 16452 hppa*64*) 16453 shrext_cmds='.sl' 16454 hardcode_into_libs=yes 16455 dynamic_linker="$host_os dld.sl" 16456 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16457 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16458 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16459 soname_spec='$libname$release$shared_ext$major' 16460 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16461 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16462 ;; 16463 *) 16464 shrext_cmds='.sl' 16465 dynamic_linker="$host_os dld.sl" 16466 shlibpath_var=SHLIB_PATH 16467 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16468 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16469 soname_spec='$libname$release$shared_ext$major' 16470 ;; 16471 esac 16472 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16473 postinstall_cmds='chmod 555 $lib' 16474 # or fails outright, so override atomically: 16475 install_override_mode=555 16476 ;; 16477 16478interix[3-9]*) 16479 version_type=linux # correct to gnu/linux during the next big refactor 16480 need_lib_prefix=no 16481 need_version=no 16482 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16483 soname_spec='$libname$release$shared_ext$major' 16484 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16485 shlibpath_var=LD_LIBRARY_PATH 16486 shlibpath_overrides_runpath=no 16487 hardcode_into_libs=yes 16488 ;; 16489 16490irix5* | irix6* | nonstopux*) 16491 case $host_os in 16492 nonstopux*) version_type=nonstopux ;; 16493 *) 16494 if test yes = "$lt_cv_prog_gnu_ld"; then 16495 version_type=linux # correct to gnu/linux during the next big refactor 16496 else 16497 version_type=irix 16498 fi ;; 16499 esac 16500 need_lib_prefix=no 16501 need_version=no 16502 soname_spec='$libname$release$shared_ext$major' 16503 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16504 case $host_os in 16505 irix5* | nonstopux*) 16506 libsuff= shlibsuff= 16507 ;; 16508 *) 16509 case $LD in # libtool.m4 will add one of these switches to LD 16510 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16511 libsuff= shlibsuff= libmagic=32-bit;; 16512 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16513 libsuff=32 shlibsuff=N32 libmagic=N32;; 16514 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16515 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16516 *) libsuff= shlibsuff= libmagic=never-match;; 16517 esac 16518 ;; 16519 esac 16520 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16521 shlibpath_overrides_runpath=no 16522 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16523 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16524 hardcode_into_libs=yes 16525 ;; 16526 16527# No shared lib support for Linux oldld, aout, or coff. 16528linux*oldld* | linux*aout* | linux*coff*) 16529 dynamic_linker=no 16530 ;; 16531 16532linux*android*) 16533 version_type=none # Android doesn't support versioned libraries. 16534 need_lib_prefix=no 16535 need_version=no 16536 library_names_spec='$libname$release$shared_ext' 16537 soname_spec='$libname$release$shared_ext' 16538 finish_cmds= 16539 shlibpath_var=LD_LIBRARY_PATH 16540 shlibpath_overrides_runpath=yes 16541 16542 # This implies no fast_install, which is unacceptable. 16543 # Some rework will be needed to allow for fast_install 16544 # before this can be enabled. 16545 hardcode_into_libs=yes 16546 16547 dynamic_linker='Android linker' 16548 # Don't embed -rpath directories since the linker doesn't support them. 16549 hardcode_libdir_flag_spec_CXX='-L$libdir' 16550 ;; 16551 16552# This must be glibc/ELF. 16553linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16554 version_type=linux # correct to gnu/linux during the next big refactor 16555 need_lib_prefix=no 16556 need_version=no 16557 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16558 soname_spec='$libname$release$shared_ext$major' 16559 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16560 shlibpath_var=LD_LIBRARY_PATH 16561 shlibpath_overrides_runpath=no 16562 16563 # Some binutils ld are patched to set DT_RUNPATH 16564 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16565 $as_echo_n "(cached) " >&6 16566else 16567 lt_cv_shlibpath_overrides_runpath=no 16568 save_LDFLAGS=$LDFLAGS 16569 save_libdir=$libdir 16570 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16571 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16573/* end confdefs.h. */ 16574 16575int 16576main () 16577{ 16578 16579 ; 16580 return 0; 16581} 16582_ACEOF 16583if ac_fn_cxx_try_link "$LINENO"; then : 16584 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16585 lt_cv_shlibpath_overrides_runpath=yes 16586fi 16587fi 16588rm -f core conftest.err conftest.$ac_objext \ 16589 conftest$ac_exeext conftest.$ac_ext 16590 LDFLAGS=$save_LDFLAGS 16591 libdir=$save_libdir 16592 16593fi 16594 16595 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16596 16597 # This implies no fast_install, which is unacceptable. 16598 # Some rework will be needed to allow for fast_install 16599 # before this can be enabled. 16600 hardcode_into_libs=yes 16601 16602 # Add ABI-specific directories to the system library path. 16603 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16604 16605 # Ideally, we could use ldconfig to report *all* directores which are 16606 # searched for libraries, however this is still not possible. Aside from not 16607 # being certain /sbin/ldconfig is available, command 16608 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16609 # even though it is searched at run-time. Try to do the best guess by 16610 # appending ld.so.conf contents (and includes) to the search path. 16611 if test -f /etc/ld.so.conf; then 16612 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' ' '` 16613 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16614 fi 16615 16616 # We used to test for /lib/ld.so.1 and disable shared libraries on 16617 # powerpc, because MkLinux only supported shared libraries with the 16618 # GNU dynamic linker. Since this was broken with cross compilers, 16619 # most powerpc-linux boxes support dynamic linking these days and 16620 # people can always --disable-shared, the test was removed, and we 16621 # assume the GNU/Linux dynamic linker is in use. 16622 dynamic_linker='GNU/Linux ld.so' 16623 ;; 16624 16625netbsd*) 16626 version_type=sunos 16627 need_lib_prefix=no 16628 need_version=no 16629 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16630 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16632 dynamic_linker='NetBSD (a.out) ld.so' 16633 else 16634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16635 soname_spec='$libname$release$shared_ext$major' 16636 dynamic_linker='NetBSD ld.elf_so' 16637 fi 16638 shlibpath_var=LD_LIBRARY_PATH 16639 shlibpath_overrides_runpath=yes 16640 hardcode_into_libs=yes 16641 ;; 16642 16643newsos6) 16644 version_type=linux # correct to gnu/linux during the next big refactor 16645 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16646 shlibpath_var=LD_LIBRARY_PATH 16647 shlibpath_overrides_runpath=yes 16648 ;; 16649 16650*nto* | *qnx*) 16651 version_type=qnx 16652 need_lib_prefix=no 16653 need_version=no 16654 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16655 soname_spec='$libname$release$shared_ext$major' 16656 shlibpath_var=LD_LIBRARY_PATH 16657 shlibpath_overrides_runpath=no 16658 hardcode_into_libs=yes 16659 dynamic_linker='ldqnx.so' 16660 ;; 16661 16662openbsd* | bitrig*) 16663 version_type=sunos 16664 sys_lib_dlsearch_path_spec=/usr/lib 16665 need_lib_prefix=no 16666 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16667 need_version=no 16668 else 16669 need_version=yes 16670 fi 16671 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16673 shlibpath_var=LD_LIBRARY_PATH 16674 shlibpath_overrides_runpath=yes 16675 ;; 16676 16677os2*) 16678 libname_spec='$name' 16679 version_type=windows 16680 shrext_cmds=.dll 16681 need_version=no 16682 need_lib_prefix=no 16683 # OS/2 can only load a DLL with a base name of 8 characters or less. 16684 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16685 v=$($ECHO $release$versuffix | tr -d .-); 16686 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16687 $ECHO $n$v`$shared_ext' 16688 library_names_spec='${libname}_dll.$libext' 16689 dynamic_linker='OS/2 ld.exe' 16690 shlibpath_var=BEGINLIBPATH 16691 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16692 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16693 postinstall_cmds='base_file=`basename \$file`~ 16694 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16695 dldir=$destdir/`dirname \$dlpath`~ 16696 test -d \$dldir || mkdir -p \$dldir~ 16697 $install_prog $dir/$dlname \$dldir/$dlname~ 16698 chmod a+x \$dldir/$dlname~ 16699 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16700 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16701 fi' 16702 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16703 dlpath=$dir/\$dldll~ 16704 $RM \$dlpath' 16705 ;; 16706 16707osf3* | osf4* | osf5*) 16708 version_type=osf 16709 need_lib_prefix=no 16710 need_version=no 16711 soname_spec='$libname$release$shared_ext$major' 16712 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16713 shlibpath_var=LD_LIBRARY_PATH 16714 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16715 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16716 ;; 16717 16718rdos*) 16719 dynamic_linker=no 16720 ;; 16721 16722solaris*) 16723 version_type=linux # correct to gnu/linux during the next big refactor 16724 need_lib_prefix=no 16725 need_version=no 16726 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16727 soname_spec='$libname$release$shared_ext$major' 16728 shlibpath_var=LD_LIBRARY_PATH 16729 shlibpath_overrides_runpath=yes 16730 hardcode_into_libs=yes 16731 # ldd complains unless libraries are executable 16732 postinstall_cmds='chmod +x $lib' 16733 ;; 16734 16735sunos4*) 16736 version_type=sunos 16737 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16738 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16739 shlibpath_var=LD_LIBRARY_PATH 16740 shlibpath_overrides_runpath=yes 16741 if test yes = "$with_gnu_ld"; then 16742 need_lib_prefix=no 16743 fi 16744 need_version=yes 16745 ;; 16746 16747sysv4 | sysv4.3*) 16748 version_type=linux # correct to gnu/linux during the next big refactor 16749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16750 soname_spec='$libname$release$shared_ext$major' 16751 shlibpath_var=LD_LIBRARY_PATH 16752 case $host_vendor in 16753 sni) 16754 shlibpath_overrides_runpath=no 16755 need_lib_prefix=no 16756 runpath_var=LD_RUN_PATH 16757 ;; 16758 siemens) 16759 need_lib_prefix=no 16760 ;; 16761 motorola) 16762 need_lib_prefix=no 16763 need_version=no 16764 shlibpath_overrides_runpath=no 16765 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16766 ;; 16767 esac 16768 ;; 16769 16770sysv4*MP*) 16771 if test -d /usr/nec; then 16772 version_type=linux # correct to gnu/linux during the next big refactor 16773 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16774 soname_spec='$libname$shared_ext.$major' 16775 shlibpath_var=LD_LIBRARY_PATH 16776 fi 16777 ;; 16778 16779sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16780 version_type=sco 16781 need_lib_prefix=no 16782 need_version=no 16783 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16784 soname_spec='$libname$release$shared_ext$major' 16785 shlibpath_var=LD_LIBRARY_PATH 16786 shlibpath_overrides_runpath=yes 16787 hardcode_into_libs=yes 16788 if test yes = "$with_gnu_ld"; then 16789 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16790 else 16791 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16792 case $host_os in 16793 sco3.2v5*) 16794 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16795 ;; 16796 esac 16797 fi 16798 sys_lib_dlsearch_path_spec='/usr/lib' 16799 ;; 16800 16801tpf*) 16802 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16803 version_type=linux # correct to gnu/linux during the next big refactor 16804 need_lib_prefix=no 16805 need_version=no 16806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16807 shlibpath_var=LD_LIBRARY_PATH 16808 shlibpath_overrides_runpath=no 16809 hardcode_into_libs=yes 16810 ;; 16811 16812uts4*) 16813 version_type=linux # correct to gnu/linux during the next big refactor 16814 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16815 soname_spec='$libname$release$shared_ext$major' 16816 shlibpath_var=LD_LIBRARY_PATH 16817 ;; 16818 16819*) 16820 dynamic_linker=no 16821 ;; 16822esac 16823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16824$as_echo "$dynamic_linker" >&6; } 16825test no = "$dynamic_linker" && can_build_shared=no 16826 16827variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16828if test yes = "$GCC"; then 16829 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16830fi 16831 16832if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16833 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16834fi 16835 16836if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16837 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16838fi 16839 16840# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16841configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16842 16843# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16844func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16845 16846# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16847configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16889$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16890hardcode_action_CXX= 16891if test -n "$hardcode_libdir_flag_spec_CXX" || 16892 test -n "$runpath_var_CXX" || 16893 test yes = "$hardcode_automatic_CXX"; then 16894 16895 # We can hardcode non-existent directories. 16896 if test no != "$hardcode_direct_CXX" && 16897 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16898 # have to relink, otherwise we might link with an installed library 16899 # when we should be linking with a yet-to-be-installed one 16900 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16901 test no != "$hardcode_minus_L_CXX"; then 16902 # Linking always hardcodes the temporary library directory. 16903 hardcode_action_CXX=relink 16904 else 16905 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16906 hardcode_action_CXX=immediate 16907 fi 16908else 16909 # We cannot hardcode anything, or else we can only hardcode existing 16910 # directories. 16911 hardcode_action_CXX=unsupported 16912fi 16913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16914$as_echo "$hardcode_action_CXX" >&6; } 16915 16916if test relink = "$hardcode_action_CXX" || 16917 test yes = "$inherit_rpath_CXX"; then 16918 # Fast installation is not supported 16919 enable_fast_install=no 16920elif test yes = "$shlibpath_overrides_runpath" || 16921 test no = "$enable_shared"; then 16922 # Fast installation is not necessary 16923 enable_fast_install=needless 16924fi 16925 16926 16927 16928 16929 16930 16931 16932 fi # test -n "$compiler" 16933 16934 CC=$lt_save_CC 16935 CFLAGS=$lt_save_CFLAGS 16936 LDCXX=$LD 16937 LD=$lt_save_LD 16938 GCC=$lt_save_GCC 16939 with_gnu_ld=$lt_save_with_gnu_ld 16940 lt_cv_path_LDCXX=$lt_cv_path_LD 16941 lt_cv_path_LD=$lt_save_path_LD 16942 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16943 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16944fi # test yes != "$_lt_caught_CXX_error" 16945 16946ac_ext=c 16947ac_cpp='$CPP $CPPFLAGS' 16948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16950ac_compiler_gnu=$ac_cv_c_compiler_gnu 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 ac_config_commands="$ac_config_commands libtool" 16967 16968 16969 16970 16971# Only expand once: 16972 16973 16974 16975 16976# Extract the first word of "pkg-config", so it can be a program name with args. 16977set dummy pkg-config; ac_word=$2 16978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16979$as_echo_n "checking for $ac_word... " >&6; } 16980if ${ac_cv_path_PKGCONFIG+:} false; then : 16981 $as_echo_n "(cached) " >&6 16982else 16983 case $PKGCONFIG in 16984 [\\/]* | ?:[\\/]*) 16985 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 16986 ;; 16987 *) 16988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16989for as_dir in $PATH 16990do 16991 IFS=$as_save_IFS 16992 test -z "$as_dir" && as_dir=. 16993 for ac_exec_ext in '' $ac_executable_extensions; do 16994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16995 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 16996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16997 break 2 16998 fi 16999done 17000 done 17001IFS=$as_save_IFS 17002 17003 ;; 17004esac 17005fi 17006PKGCONFIG=$ac_cv_path_PKGCONFIG 17007if test -n "$PKGCONFIG"; then 17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17009$as_echo "$PKGCONFIG" >&6; } 17010else 17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17012$as_echo "no" >&6; } 17013fi 17014 17015 17016 17017 17018mkdir_p="$MKDIR_P" 17019case $mkdir_p in 17020 [\\/$]* | ?:[\\/]*) ;; 17021 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17022esac 17023 17024 17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17026$as_echo_n "checking whether NLS is requested... " >&6; } 17027 # Check whether --enable-nls was given. 17028if test "${enable_nls+set}" = set; then : 17029 enableval=$enable_nls; USE_NLS=$enableval 17030else 17031 USE_NLS=yes 17032fi 17033 17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17035$as_echo "$USE_NLS" >&6; } 17036 17037 17038 17039 17040 GETTEXT_MACRO_VERSION=0.18 17041 17042 17043 17044 17045# Prepare PATH_SEPARATOR. 17046# The user is always right. 17047if test "${PATH_SEPARATOR+set}" != set; then 17048 echo "#! /bin/sh" >conf$$.sh 17049 echo "exit 0" >>conf$$.sh 17050 chmod +x conf$$.sh 17051 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17052 PATH_SEPARATOR=';' 17053 else 17054 PATH_SEPARATOR=: 17055 fi 17056 rm -f conf$$.sh 17057fi 17058 17059# Find out how to test for executable files. Don't use a zero-byte file, 17060# as systems may use methods other than mode bits to determine executability. 17061cat >conf$$.file <<_ASEOF 17062#! /bin/sh 17063exit 0 17064_ASEOF 17065chmod +x conf$$.file 17066if test -x conf$$.file >/dev/null 2>&1; then 17067 ac_executable_p="test -x" 17068else 17069 ac_executable_p="test -f" 17070fi 17071rm -f conf$$.file 17072 17073# Extract the first word of "msgfmt", so it can be a program name with args. 17074set dummy msgfmt; ac_word=$2 17075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17076$as_echo_n "checking for $ac_word... " >&6; } 17077if ${ac_cv_path_MSGFMT+:} false; then : 17078 $as_echo_n "(cached) " >&6 17079else 17080 case "$MSGFMT" in 17081 [\\/]* | ?:[\\/]*) 17082 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17083 ;; 17084 *) 17085 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17086 for ac_dir in $PATH; do 17087 IFS="$ac_save_IFS" 17088 test -z "$ac_dir" && ac_dir=. 17089 for ac_exec_ext in '' $ac_executable_extensions; do 17090 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17091 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17092 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17093 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17094 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17095 break 2 17096 fi 17097 fi 17098 done 17099 done 17100 IFS="$ac_save_IFS" 17101 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17102 ;; 17103esac 17104fi 17105MSGFMT="$ac_cv_path_MSGFMT" 17106if test "$MSGFMT" != ":"; then 17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17108$as_echo "$MSGFMT" >&6; } 17109else 17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17111$as_echo "no" >&6; } 17112fi 17113 17114 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17115set dummy gmsgfmt; ac_word=$2 17116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17117$as_echo_n "checking for $ac_word... " >&6; } 17118if ${ac_cv_path_GMSGFMT+:} false; then : 17119 $as_echo_n "(cached) " >&6 17120else 17121 case $GMSGFMT in 17122 [\\/]* | ?:[\\/]*) 17123 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17124 ;; 17125 *) 17126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17127for as_dir in $PATH 17128do 17129 IFS=$as_save_IFS 17130 test -z "$as_dir" && as_dir=. 17131 for ac_exec_ext in '' $ac_executable_extensions; do 17132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17133 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17135 break 2 17136 fi 17137done 17138 done 17139IFS=$as_save_IFS 17140 17141 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17142 ;; 17143esac 17144fi 17145GMSGFMT=$ac_cv_path_GMSGFMT 17146if test -n "$GMSGFMT"; then 17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17148$as_echo "$GMSGFMT" >&6; } 17149else 17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17151$as_echo "no" >&6; } 17152fi 17153 17154 17155 17156 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17157 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17158 *) MSGFMT_015=$MSGFMT ;; 17159 esac 17160 17161 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17162 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17163 *) GMSGFMT_015=$GMSGFMT ;; 17164 esac 17165 17166 17167 17168# Prepare PATH_SEPARATOR. 17169# The user is always right. 17170if test "${PATH_SEPARATOR+set}" != set; then 17171 echo "#! /bin/sh" >conf$$.sh 17172 echo "exit 0" >>conf$$.sh 17173 chmod +x conf$$.sh 17174 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17175 PATH_SEPARATOR=';' 17176 else 17177 PATH_SEPARATOR=: 17178 fi 17179 rm -f conf$$.sh 17180fi 17181 17182# Find out how to test for executable files. Don't use a zero-byte file, 17183# as systems may use methods other than mode bits to determine executability. 17184cat >conf$$.file <<_ASEOF 17185#! /bin/sh 17186exit 0 17187_ASEOF 17188chmod +x conf$$.file 17189if test -x conf$$.file >/dev/null 2>&1; then 17190 ac_executable_p="test -x" 17191else 17192 ac_executable_p="test -f" 17193fi 17194rm -f conf$$.file 17195 17196# Extract the first word of "xgettext", so it can be a program name with args. 17197set dummy xgettext; ac_word=$2 17198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17199$as_echo_n "checking for $ac_word... " >&6; } 17200if ${ac_cv_path_XGETTEXT+:} false; then : 17201 $as_echo_n "(cached) " >&6 17202else 17203 case "$XGETTEXT" in 17204 [\\/]* | ?:[\\/]*) 17205 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17206 ;; 17207 *) 17208 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17209 for ac_dir in $PATH; do 17210 IFS="$ac_save_IFS" 17211 test -z "$ac_dir" && ac_dir=. 17212 for ac_exec_ext in '' $ac_executable_extensions; do 17213 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17214 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17215 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17216 (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 17217 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17218 break 2 17219 fi 17220 fi 17221 done 17222 done 17223 IFS="$ac_save_IFS" 17224 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17225 ;; 17226esac 17227fi 17228XGETTEXT="$ac_cv_path_XGETTEXT" 17229if test "$XGETTEXT" != ":"; then 17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17231$as_echo "$XGETTEXT" >&6; } 17232else 17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17234$as_echo "no" >&6; } 17235fi 17236 17237 rm -f messages.po 17238 17239 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17240 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17241 *) XGETTEXT_015=$XGETTEXT ;; 17242 esac 17243 17244 17245 17246# Prepare PATH_SEPARATOR. 17247# The user is always right. 17248if test "${PATH_SEPARATOR+set}" != set; then 17249 echo "#! /bin/sh" >conf$$.sh 17250 echo "exit 0" >>conf$$.sh 17251 chmod +x conf$$.sh 17252 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17253 PATH_SEPARATOR=';' 17254 else 17255 PATH_SEPARATOR=: 17256 fi 17257 rm -f conf$$.sh 17258fi 17259 17260# Find out how to test for executable files. Don't use a zero-byte file, 17261# as systems may use methods other than mode bits to determine executability. 17262cat >conf$$.file <<_ASEOF 17263#! /bin/sh 17264exit 0 17265_ASEOF 17266chmod +x conf$$.file 17267if test -x conf$$.file >/dev/null 2>&1; then 17268 ac_executable_p="test -x" 17269else 17270 ac_executable_p="test -f" 17271fi 17272rm -f conf$$.file 17273 17274# Extract the first word of "msgmerge", so it can be a program name with args. 17275set dummy msgmerge; ac_word=$2 17276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17277$as_echo_n "checking for $ac_word... " >&6; } 17278if ${ac_cv_path_MSGMERGE+:} false; then : 17279 $as_echo_n "(cached) " >&6 17280else 17281 case "$MSGMERGE" in 17282 [\\/]* | ?:[\\/]*) 17283 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17284 ;; 17285 *) 17286 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17287 for ac_dir in $PATH; do 17288 IFS="$ac_save_IFS" 17289 test -z "$ac_dir" && ac_dir=. 17290 for ac_exec_ext in '' $ac_executable_extensions; do 17291 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17292 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17293 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17294 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17295 break 2 17296 fi 17297 fi 17298 done 17299 done 17300 IFS="$ac_save_IFS" 17301 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17302 ;; 17303esac 17304fi 17305MSGMERGE="$ac_cv_path_MSGMERGE" 17306if test "$MSGMERGE" != ":"; then 17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17308$as_echo "$MSGMERGE" >&6; } 17309else 17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17311$as_echo "no" >&6; } 17312fi 17313 17314 17315 test -n "$localedir" || localedir='${datadir}/locale' 17316 17317 17318 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17319 17320 17321 ac_config_commands="$ac_config_commands po-directories" 17322 17323 17324 17325 if test "X$prefix" = "XNONE"; then 17326 acl_final_prefix="$ac_default_prefix" 17327 else 17328 acl_final_prefix="$prefix" 17329 fi 17330 if test "X$exec_prefix" = "XNONE"; then 17331 acl_final_exec_prefix='${prefix}' 17332 else 17333 acl_final_exec_prefix="$exec_prefix" 17334 fi 17335 acl_save_prefix="$prefix" 17336 prefix="$acl_final_prefix" 17337 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17338 prefix="$acl_save_prefix" 17339 17340 17341# Check whether --with-gnu-ld was given. 17342if test "${with_gnu_ld+set}" = set; then : 17343 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17344else 17345 with_gnu_ld=no 17346fi 17347 17348# Prepare PATH_SEPARATOR. 17349# The user is always right. 17350if test "${PATH_SEPARATOR+set}" != set; then 17351 echo "#! /bin/sh" >conf$$.sh 17352 echo "exit 0" >>conf$$.sh 17353 chmod +x conf$$.sh 17354 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17355 PATH_SEPARATOR=';' 17356 else 17357 PATH_SEPARATOR=: 17358 fi 17359 rm -f conf$$.sh 17360fi 17361ac_prog=ld 17362if test "$GCC" = yes; then 17363 # Check if gcc -print-prog-name=ld gives a path. 17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17365$as_echo_n "checking for ld used by GCC... " >&6; } 17366 case $host in 17367 *-*-mingw*) 17368 # gcc leaves a trailing carriage return which upsets mingw 17369 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17370 *) 17371 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17372 esac 17373 case $ac_prog in 17374 # Accept absolute paths. 17375 [\\/]* | [A-Za-z]:[\\/]*) 17376 re_direlt='/[^/][^/]*/\.\./' 17377 # Canonicalize the path of ld 17378 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17379 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17380 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17381 done 17382 test -z "$LD" && LD="$ac_prog" 17383 ;; 17384 "") 17385 # If it fails, then pretend we aren't using GCC. 17386 ac_prog=ld 17387 ;; 17388 *) 17389 # If it is relative, then search for the first ld in PATH. 17390 with_gnu_ld=unknown 17391 ;; 17392 esac 17393elif test "$with_gnu_ld" = yes; then 17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17395$as_echo_n "checking for GNU ld... " >&6; } 17396else 17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17398$as_echo_n "checking for non-GNU ld... " >&6; } 17399fi 17400if ${acl_cv_path_LD+:} false; then : 17401 $as_echo_n "(cached) " >&6 17402else 17403 if test -z "$LD"; then 17404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17405 for ac_dir in $PATH; do 17406 test -z "$ac_dir" && ac_dir=. 17407 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17408 acl_cv_path_LD="$ac_dir/$ac_prog" 17409 # Check to see if the program is GNU ld. I'd rather use --version, 17410 # but apparently some GNU ld's only accept -v. 17411 # Break only if it was the GNU/non-GNU ld that we prefer. 17412 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17413 *GNU* | *'with BFD'*) 17414 test "$with_gnu_ld" != no && break ;; 17415 *) 17416 test "$with_gnu_ld" != yes && break ;; 17417 esac 17418 fi 17419 done 17420 IFS="$ac_save_ifs" 17421else 17422 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17423fi 17424fi 17425 17426LD="$acl_cv_path_LD" 17427if test -n "$LD"; then 17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17429$as_echo "$LD" >&6; } 17430else 17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17432$as_echo "no" >&6; } 17433fi 17434test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17436$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17437if ${acl_cv_prog_gnu_ld+:} false; then : 17438 $as_echo_n "(cached) " >&6 17439else 17440 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17441case `$LD -v 2>&1 </dev/null` in 17442*GNU* | *'with BFD'*) 17443 acl_cv_prog_gnu_ld=yes ;; 17444*) 17445 acl_cv_prog_gnu_ld=no ;; 17446esac 17447fi 17448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17449$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17450with_gnu_ld=$acl_cv_prog_gnu_ld 17451 17452 17453 17454 17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17456$as_echo_n "checking for shared library run path origin... " >&6; } 17457if ${acl_cv_rpath+:} false; then : 17458 $as_echo_n "(cached) " >&6 17459else 17460 17461 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17462 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17463 . ./conftest.sh 17464 rm -f ./conftest.sh 17465 acl_cv_rpath=done 17466 17467fi 17468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17469$as_echo "$acl_cv_rpath" >&6; } 17470 wl="$acl_cv_wl" 17471 acl_libext="$acl_cv_libext" 17472 acl_shlibext="$acl_cv_shlibext" 17473 acl_libname_spec="$acl_cv_libname_spec" 17474 acl_library_names_spec="$acl_cv_library_names_spec" 17475 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17476 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17477 acl_hardcode_direct="$acl_cv_hardcode_direct" 17478 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17479 # Check whether --enable-rpath was given. 17480if test "${enable_rpath+set}" = set; then : 17481 enableval=$enable_rpath; : 17482else 17483 enable_rpath=yes 17484fi 17485 17486 17487 17488 17489 acl_libdirstem=lib 17490 acl_libdirstem2= 17491 case "$host_os" in 17492 solaris*) 17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17494$as_echo_n "checking for 64-bit host... " >&6; } 17495if ${gl_cv_solaris_64bit+:} false; then : 17496 $as_echo_n "(cached) " >&6 17497else 17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17499/* end confdefs.h. */ 17500 17501#ifdef _LP64 17502sixtyfour bits 17503#endif 17504 17505_ACEOF 17506if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17507 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17508 gl_cv_solaris_64bit=yes 17509else 17510 gl_cv_solaris_64bit=no 17511fi 17512rm -f conftest* 17513 17514 17515fi 17516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17517$as_echo "$gl_cv_solaris_64bit" >&6; } 17518 if test $gl_cv_solaris_64bit = yes; then 17519 acl_libdirstem=lib/64 17520 case "$host_cpu" in 17521 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17522 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17523 esac 17524 fi 17525 ;; 17526 *) 17527 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17528 if test -n "$searchpath"; then 17529 acl_save_IFS="${IFS= }"; IFS=":" 17530 for searchdir in $searchpath; do 17531 if test -d "$searchdir"; then 17532 case "$searchdir" in 17533 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17534 */../ | */.. ) 17535 # Better ignore directories of this form. They are misleading. 17536 ;; 17537 *) searchdir=`cd "$searchdir" && pwd` 17538 case "$searchdir" in 17539 */lib64 ) acl_libdirstem=lib64 ;; 17540 esac ;; 17541 esac 17542 fi 17543 done 17544 IFS="$acl_save_IFS" 17545 fi 17546 ;; 17547 esac 17548 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 use_additional=yes 17562 17563 acl_save_prefix="$prefix" 17564 prefix="$acl_final_prefix" 17565 acl_save_exec_prefix="$exec_prefix" 17566 exec_prefix="$acl_final_exec_prefix" 17567 17568 eval additional_includedir=\"$includedir\" 17569 eval additional_libdir=\"$libdir\" 17570 17571 exec_prefix="$acl_save_exec_prefix" 17572 prefix="$acl_save_prefix" 17573 17574 17575# Check whether --with-libiconv-prefix was given. 17576if test "${with_libiconv_prefix+set}" = set; then : 17577 withval=$with_libiconv_prefix; 17578 if test "X$withval" = "Xno"; then 17579 use_additional=no 17580 else 17581 if test "X$withval" = "X"; then 17582 17583 acl_save_prefix="$prefix" 17584 prefix="$acl_final_prefix" 17585 acl_save_exec_prefix="$exec_prefix" 17586 exec_prefix="$acl_final_exec_prefix" 17587 17588 eval additional_includedir=\"$includedir\" 17589 eval additional_libdir=\"$libdir\" 17590 17591 exec_prefix="$acl_save_exec_prefix" 17592 prefix="$acl_save_prefix" 17593 17594 else 17595 additional_includedir="$withval/include" 17596 additional_libdir="$withval/$acl_libdirstem" 17597 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17598 && ! test -d "$withval/$acl_libdirstem"; then 17599 additional_libdir="$withval/$acl_libdirstem2" 17600 fi 17601 fi 17602 fi 17603 17604fi 17605 17606 LIBICONV= 17607 LTLIBICONV= 17608 INCICONV= 17609 LIBICONV_PREFIX= 17610 HAVE_LIBICONV= 17611 rpathdirs= 17612 ltrpathdirs= 17613 names_already_handled= 17614 names_next_round='iconv ' 17615 while test -n "$names_next_round"; do 17616 names_this_round="$names_next_round" 17617 names_next_round= 17618 for name in $names_this_round; do 17619 already_handled= 17620 for n in $names_already_handled; do 17621 if test "$n" = "$name"; then 17622 already_handled=yes 17623 break 17624 fi 17625 done 17626 if test -z "$already_handled"; then 17627 names_already_handled="$names_already_handled $name" 17628 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17629 eval value=\"\$HAVE_LIB$uppername\" 17630 if test -n "$value"; then 17631 if test "$value" = yes; then 17632 eval value=\"\$LIB$uppername\" 17633 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17634 eval value=\"\$LTLIB$uppername\" 17635 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17636 else 17637 : 17638 fi 17639 else 17640 found_dir= 17641 found_la= 17642 found_so= 17643 found_a= 17644 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17645 if test -n "$acl_shlibext"; then 17646 shrext=".$acl_shlibext" # typically: shrext=.so 17647 else 17648 shrext= 17649 fi 17650 if test $use_additional = yes; then 17651 dir="$additional_libdir" 17652 if test -n "$acl_shlibext"; then 17653 if test -f "$dir/$libname$shrext"; then 17654 found_dir="$dir" 17655 found_so="$dir/$libname$shrext" 17656 else 17657 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17658 ver=`(cd "$dir" && \ 17659 for f in "$libname$shrext".*; do echo "$f"; done \ 17660 | sed -e "s,^$libname$shrext\\\\.,," \ 17661 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17662 | sed 1q ) 2>/dev/null` 17663 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17664 found_dir="$dir" 17665 found_so="$dir/$libname$shrext.$ver" 17666 fi 17667 else 17668 eval library_names=\"$acl_library_names_spec\" 17669 for f in $library_names; do 17670 if test -f "$dir/$f"; then 17671 found_dir="$dir" 17672 found_so="$dir/$f" 17673 break 17674 fi 17675 done 17676 fi 17677 fi 17678 fi 17679 if test "X$found_dir" = "X"; then 17680 if test -f "$dir/$libname.$acl_libext"; then 17681 found_dir="$dir" 17682 found_a="$dir/$libname.$acl_libext" 17683 fi 17684 fi 17685 if test "X$found_dir" != "X"; then 17686 if test -f "$dir/$libname.la"; then 17687 found_la="$dir/$libname.la" 17688 fi 17689 fi 17690 fi 17691 if test "X$found_dir" = "X"; then 17692 for x in $LDFLAGS $LTLIBICONV; do 17693 17694 acl_save_prefix="$prefix" 17695 prefix="$acl_final_prefix" 17696 acl_save_exec_prefix="$exec_prefix" 17697 exec_prefix="$acl_final_exec_prefix" 17698 eval x=\"$x\" 17699 exec_prefix="$acl_save_exec_prefix" 17700 prefix="$acl_save_prefix" 17701 17702 case "$x" in 17703 -L*) 17704 dir=`echo "X$x" | sed -e 's/^X-L//'` 17705 if test -n "$acl_shlibext"; then 17706 if test -f "$dir/$libname$shrext"; then 17707 found_dir="$dir" 17708 found_so="$dir/$libname$shrext" 17709 else 17710 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17711 ver=`(cd "$dir" && \ 17712 for f in "$libname$shrext".*; do echo "$f"; done \ 17713 | sed -e "s,^$libname$shrext\\\\.,," \ 17714 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17715 | sed 1q ) 2>/dev/null` 17716 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17717 found_dir="$dir" 17718 found_so="$dir/$libname$shrext.$ver" 17719 fi 17720 else 17721 eval library_names=\"$acl_library_names_spec\" 17722 for f in $library_names; do 17723 if test -f "$dir/$f"; then 17724 found_dir="$dir" 17725 found_so="$dir/$f" 17726 break 17727 fi 17728 done 17729 fi 17730 fi 17731 fi 17732 if test "X$found_dir" = "X"; then 17733 if test -f "$dir/$libname.$acl_libext"; then 17734 found_dir="$dir" 17735 found_a="$dir/$libname.$acl_libext" 17736 fi 17737 fi 17738 if test "X$found_dir" != "X"; then 17739 if test -f "$dir/$libname.la"; then 17740 found_la="$dir/$libname.la" 17741 fi 17742 fi 17743 ;; 17744 esac 17745 if test "X$found_dir" != "X"; then 17746 break 17747 fi 17748 done 17749 fi 17750 if test "X$found_dir" != "X"; then 17751 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17752 if test "X$found_so" != "X"; then 17753 if test "$enable_rpath" = no \ 17754 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17755 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17756 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17757 else 17758 haveit= 17759 for x in $ltrpathdirs; do 17760 if test "X$x" = "X$found_dir"; then 17761 haveit=yes 17762 break 17763 fi 17764 done 17765 if test -z "$haveit"; then 17766 ltrpathdirs="$ltrpathdirs $found_dir" 17767 fi 17768 if test "$acl_hardcode_direct" = yes; then 17769 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17770 else 17771 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17772 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17773 haveit= 17774 for x in $rpathdirs; do 17775 if test "X$x" = "X$found_dir"; then 17776 haveit=yes 17777 break 17778 fi 17779 done 17780 if test -z "$haveit"; then 17781 rpathdirs="$rpathdirs $found_dir" 17782 fi 17783 else 17784 haveit= 17785 for x in $LDFLAGS $LIBICONV; do 17786 17787 acl_save_prefix="$prefix" 17788 prefix="$acl_final_prefix" 17789 acl_save_exec_prefix="$exec_prefix" 17790 exec_prefix="$acl_final_exec_prefix" 17791 eval x=\"$x\" 17792 exec_prefix="$acl_save_exec_prefix" 17793 prefix="$acl_save_prefix" 17794 17795 if test "X$x" = "X-L$found_dir"; then 17796 haveit=yes 17797 break 17798 fi 17799 done 17800 if test -z "$haveit"; then 17801 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17802 fi 17803 if test "$acl_hardcode_minus_L" != no; then 17804 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17805 else 17806 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17807 fi 17808 fi 17809 fi 17810 fi 17811 else 17812 if test "X$found_a" != "X"; then 17813 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17814 else 17815 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17816 fi 17817 fi 17818 additional_includedir= 17819 case "$found_dir" in 17820 */$acl_libdirstem | */$acl_libdirstem/) 17821 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17822 if test "$name" = 'iconv'; then 17823 LIBICONV_PREFIX="$basedir" 17824 fi 17825 additional_includedir="$basedir/include" 17826 ;; 17827 */$acl_libdirstem2 | */$acl_libdirstem2/) 17828 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17829 if test "$name" = 'iconv'; then 17830 LIBICONV_PREFIX="$basedir" 17831 fi 17832 additional_includedir="$basedir/include" 17833 ;; 17834 esac 17835 if test "X$additional_includedir" != "X"; then 17836 if test "X$additional_includedir" != "X/usr/include"; then 17837 haveit= 17838 if test "X$additional_includedir" = "X/usr/local/include"; then 17839 if test -n "$GCC"; then 17840 case $host_os in 17841 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17842 esac 17843 fi 17844 fi 17845 if test -z "$haveit"; then 17846 for x in $CPPFLAGS $INCICONV; do 17847 17848 acl_save_prefix="$prefix" 17849 prefix="$acl_final_prefix" 17850 acl_save_exec_prefix="$exec_prefix" 17851 exec_prefix="$acl_final_exec_prefix" 17852 eval x=\"$x\" 17853 exec_prefix="$acl_save_exec_prefix" 17854 prefix="$acl_save_prefix" 17855 17856 if test "X$x" = "X-I$additional_includedir"; then 17857 haveit=yes 17858 break 17859 fi 17860 done 17861 if test -z "$haveit"; then 17862 if test -d "$additional_includedir"; then 17863 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17864 fi 17865 fi 17866 fi 17867 fi 17868 fi 17869 if test -n "$found_la"; then 17870 save_libdir="$libdir" 17871 case "$found_la" in 17872 */* | *\\*) . "$found_la" ;; 17873 *) . "./$found_la" ;; 17874 esac 17875 libdir="$save_libdir" 17876 for dep in $dependency_libs; do 17877 case "$dep" in 17878 -L*) 17879 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17880 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17881 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17882 haveit= 17883 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17884 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17885 if test -n "$GCC"; then 17886 case $host_os in 17887 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17888 esac 17889 fi 17890 fi 17891 if test -z "$haveit"; then 17892 haveit= 17893 for x in $LDFLAGS $LIBICONV; do 17894 17895 acl_save_prefix="$prefix" 17896 prefix="$acl_final_prefix" 17897 acl_save_exec_prefix="$exec_prefix" 17898 exec_prefix="$acl_final_exec_prefix" 17899 eval x=\"$x\" 17900 exec_prefix="$acl_save_exec_prefix" 17901 prefix="$acl_save_prefix" 17902 17903 if test "X$x" = "X-L$additional_libdir"; then 17904 haveit=yes 17905 break 17906 fi 17907 done 17908 if test -z "$haveit"; then 17909 if test -d "$additional_libdir"; then 17910 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17911 fi 17912 fi 17913 haveit= 17914 for x in $LDFLAGS $LTLIBICONV; do 17915 17916 acl_save_prefix="$prefix" 17917 prefix="$acl_final_prefix" 17918 acl_save_exec_prefix="$exec_prefix" 17919 exec_prefix="$acl_final_exec_prefix" 17920 eval x=\"$x\" 17921 exec_prefix="$acl_save_exec_prefix" 17922 prefix="$acl_save_prefix" 17923 17924 if test "X$x" = "X-L$additional_libdir"; then 17925 haveit=yes 17926 break 17927 fi 17928 done 17929 if test -z "$haveit"; then 17930 if test -d "$additional_libdir"; then 17931 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17932 fi 17933 fi 17934 fi 17935 fi 17936 ;; 17937 -R*) 17938 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17939 if test "$enable_rpath" != no; then 17940 haveit= 17941 for x in $rpathdirs; do 17942 if test "X$x" = "X$dir"; then 17943 haveit=yes 17944 break 17945 fi 17946 done 17947 if test -z "$haveit"; then 17948 rpathdirs="$rpathdirs $dir" 17949 fi 17950 haveit= 17951 for x in $ltrpathdirs; do 17952 if test "X$x" = "X$dir"; then 17953 haveit=yes 17954 break 17955 fi 17956 done 17957 if test -z "$haveit"; then 17958 ltrpathdirs="$ltrpathdirs $dir" 17959 fi 17960 fi 17961 ;; 17962 -l*) 17963 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 17964 ;; 17965 *.la) 17966 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 17967 ;; 17968 *) 17969 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 17970 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 17971 ;; 17972 esac 17973 done 17974 fi 17975 else 17976 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17977 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 17978 fi 17979 fi 17980 fi 17981 done 17982 done 17983 if test "X$rpathdirs" != "X"; then 17984 if test -n "$acl_hardcode_libdir_separator"; then 17985 alldirs= 17986 for found_dir in $rpathdirs; do 17987 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 17988 done 17989 acl_save_libdir="$libdir" 17990 libdir="$alldirs" 17991 eval flag=\"$acl_hardcode_libdir_flag_spec\" 17992 libdir="$acl_save_libdir" 17993 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 17994 else 17995 for found_dir in $rpathdirs; do 17996 acl_save_libdir="$libdir" 17997 libdir="$found_dir" 17998 eval flag=\"$acl_hardcode_libdir_flag_spec\" 17999 libdir="$acl_save_libdir" 18000 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18001 done 18002 fi 18003 fi 18004 if test "X$ltrpathdirs" != "X"; then 18005 for found_dir in $ltrpathdirs; do 18006 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18007 done 18008 fi 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18041$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18042if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18043 $as_echo_n "(cached) " >&6 18044else 18045 gt_save_LIBS="$LIBS" 18046 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18048/* end confdefs.h. */ 18049#include <CoreFoundation/CFPreferences.h> 18050int 18051main () 18052{ 18053CFPreferencesCopyAppValue(NULL, NULL) 18054 ; 18055 return 0; 18056} 18057_ACEOF 18058if ac_fn_c_try_link "$LINENO"; then : 18059 gt_cv_func_CFPreferencesCopyAppValue=yes 18060else 18061 gt_cv_func_CFPreferencesCopyAppValue=no 18062fi 18063rm -f core conftest.err conftest.$ac_objext \ 18064 conftest$ac_exeext conftest.$ac_ext 18065 LIBS="$gt_save_LIBS" 18066fi 18067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18068$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18069 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18070 18071$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18072 18073 fi 18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18075$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18076if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18077 $as_echo_n "(cached) " >&6 18078else 18079 gt_save_LIBS="$LIBS" 18080 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18082/* end confdefs.h. */ 18083#include <CoreFoundation/CFLocale.h> 18084int 18085main () 18086{ 18087CFLocaleCopyCurrent(); 18088 ; 18089 return 0; 18090} 18091_ACEOF 18092if ac_fn_c_try_link "$LINENO"; then : 18093 gt_cv_func_CFLocaleCopyCurrent=yes 18094else 18095 gt_cv_func_CFLocaleCopyCurrent=no 18096fi 18097rm -f core conftest.err conftest.$ac_objext \ 18098 conftest$ac_exeext conftest.$ac_ext 18099 LIBS="$gt_save_LIBS" 18100fi 18101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18102$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18103 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18104 18105$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18106 18107 fi 18108 INTL_MACOSX_LIBS= 18109 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18110 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18111 fi 18112 18113 18114 18115 18116 18117 18118 LIBINTL= 18119 LTLIBINTL= 18120 POSUB= 18121 18122 case " $gt_needs " in 18123 *" need-formatstring-macros "*) gt_api_version=3 ;; 18124 *" need-ngettext "*) gt_api_version=2 ;; 18125 *) gt_api_version=1 ;; 18126 esac 18127 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18128 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18129 18130 if test "$USE_NLS" = "yes"; then 18131 gt_use_preinstalled_gnugettext=no 18132 18133 18134 if test $gt_api_version -ge 3; then 18135 gt_revision_test_code=' 18136#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18137#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18138#endif 18139typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18140' 18141 else 18142 gt_revision_test_code= 18143 fi 18144 if test $gt_api_version -ge 2; then 18145 gt_expression_test_code=' + * ngettext ("", "", 0)' 18146 else 18147 gt_expression_test_code= 18148 fi 18149 18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18151$as_echo_n "checking for GNU gettext in libc... " >&6; } 18152if eval \${$gt_func_gnugettext_libc+:} false; then : 18153 $as_echo_n "(cached) " >&6 18154else 18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18156/* end confdefs.h. */ 18157#include <libintl.h> 18158$gt_revision_test_code 18159extern int _nl_msg_cat_cntr; 18160extern int *_nl_domain_bindings; 18161int 18162main () 18163{ 18164bindtextdomain ("", ""); 18165return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18166 ; 18167 return 0; 18168} 18169_ACEOF 18170if ac_fn_c_try_link "$LINENO"; then : 18171 eval "$gt_func_gnugettext_libc=yes" 18172else 18173 eval "$gt_func_gnugettext_libc=no" 18174fi 18175rm -f core conftest.err conftest.$ac_objext \ 18176 conftest$ac_exeext conftest.$ac_ext 18177fi 18178eval ac_res=\$$gt_func_gnugettext_libc 18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18180$as_echo "$ac_res" >&6; } 18181 18182 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18183 18184 18185 18186 18187 18188 am_save_CPPFLAGS="$CPPFLAGS" 18189 18190 for element in $INCICONV; do 18191 haveit= 18192 for x in $CPPFLAGS; do 18193 18194 acl_save_prefix="$prefix" 18195 prefix="$acl_final_prefix" 18196 acl_save_exec_prefix="$exec_prefix" 18197 exec_prefix="$acl_final_exec_prefix" 18198 eval x=\"$x\" 18199 exec_prefix="$acl_save_exec_prefix" 18200 prefix="$acl_save_prefix" 18201 18202 if test "X$x" = "X$element"; then 18203 haveit=yes 18204 break 18205 fi 18206 done 18207 if test -z "$haveit"; then 18208 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18209 fi 18210 done 18211 18212 18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18214$as_echo_n "checking for iconv... " >&6; } 18215if ${am_cv_func_iconv+:} false; then : 18216 $as_echo_n "(cached) " >&6 18217else 18218 18219 am_cv_func_iconv="no, consider installing GNU libiconv" 18220 am_cv_lib_iconv=no 18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18222/* end confdefs.h. */ 18223#include <stdlib.h> 18224#include <iconv.h> 18225int 18226main () 18227{ 18228iconv_t cd = iconv_open("",""); 18229 iconv(cd,NULL,NULL,NULL,NULL); 18230 iconv_close(cd); 18231 ; 18232 return 0; 18233} 18234_ACEOF 18235if ac_fn_c_try_link "$LINENO"; then : 18236 am_cv_func_iconv=yes 18237fi 18238rm -f core conftest.err conftest.$ac_objext \ 18239 conftest$ac_exeext conftest.$ac_ext 18240 if test "$am_cv_func_iconv" != yes; then 18241 am_save_LIBS="$LIBS" 18242 LIBS="$LIBS $LIBICONV" 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_lib_iconv=yes 18259 am_cv_func_iconv=yes 18260fi 18261rm -f core conftest.err conftest.$ac_objext \ 18262 conftest$ac_exeext conftest.$ac_ext 18263 LIBS="$am_save_LIBS" 18264 fi 18265 18266fi 18267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18268$as_echo "$am_cv_func_iconv" >&6; } 18269 if test "$am_cv_func_iconv" = yes; then 18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18271$as_echo_n "checking for working iconv... " >&6; } 18272if ${am_cv_func_iconv_works+:} false; then : 18273 $as_echo_n "(cached) " >&6 18274else 18275 18276 am_save_LIBS="$LIBS" 18277 if test $am_cv_lib_iconv = yes; then 18278 LIBS="$LIBS $LIBICONV" 18279 fi 18280 if test "$cross_compiling" = yes; then : 18281 case "$host_os" in 18282 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18283 *) am_cv_func_iconv_works="guessing yes" ;; 18284 esac 18285else 18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18287/* end confdefs.h. */ 18288 18289#include <iconv.h> 18290#include <string.h> 18291int main () 18292{ 18293 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18294 returns. */ 18295 { 18296 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18297 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18298 { 18299 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18300 char buf[10]; 18301 const char *inptr = input; 18302 size_t inbytesleft = strlen (input); 18303 char *outptr = buf; 18304 size_t outbytesleft = sizeof (buf); 18305 size_t res = iconv (cd_utf8_to_88591, 18306 (char **) &inptr, &inbytesleft, 18307 &outptr, &outbytesleft); 18308 if (res == 0) 18309 return 1; 18310 } 18311 } 18312 /* Test against Solaris 10 bug: Failures are not distinguishable from 18313 successful returns. */ 18314 { 18315 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18316 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18317 { 18318 static const char input[] = "\263"; 18319 char buf[10]; 18320 const char *inptr = input; 18321 size_t inbytesleft = strlen (input); 18322 char *outptr = buf; 18323 size_t outbytesleft = sizeof (buf); 18324 size_t res = iconv (cd_ascii_to_88591, 18325 (char **) &inptr, &inbytesleft, 18326 &outptr, &outbytesleft); 18327 if (res == 0) 18328 return 1; 18329 } 18330 } 18331#if 0 /* This bug could be worked around by the caller. */ 18332 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18333 { 18334 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18335 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18336 { 18337 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18338 char buf[50]; 18339 const char *inptr = input; 18340 size_t inbytesleft = strlen (input); 18341 char *outptr = buf; 18342 size_t outbytesleft = sizeof (buf); 18343 size_t res = iconv (cd_88591_to_utf8, 18344 (char **) &inptr, &inbytesleft, 18345 &outptr, &outbytesleft); 18346 if ((int)res > 0) 18347 return 1; 18348 } 18349 } 18350#endif 18351 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18352 provided. */ 18353 if (/* Try standardized names. */ 18354 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18355 /* Try IRIX, OSF/1 names. */ 18356 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18357 /* Try AIX names. */ 18358 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18359 /* Try HP-UX names. */ 18360 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18361 return 1; 18362 return 0; 18363} 18364_ACEOF 18365if ac_fn_c_try_run "$LINENO"; then : 18366 am_cv_func_iconv_works=yes 18367else 18368 am_cv_func_iconv_works=no 18369fi 18370rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18371 conftest.$ac_objext conftest.beam conftest.$ac_ext 18372fi 18373 18374 LIBS="$am_save_LIBS" 18375 18376fi 18377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18378$as_echo "$am_cv_func_iconv_works" >&6; } 18379 case "$am_cv_func_iconv_works" in 18380 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18381 *) am_func_iconv=yes ;; 18382 esac 18383 else 18384 am_func_iconv=no am_cv_lib_iconv=no 18385 fi 18386 if test "$am_func_iconv" = yes; then 18387 18388$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18389 18390 fi 18391 if test "$am_cv_lib_iconv" = yes; then 18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18393$as_echo_n "checking how to link with libiconv... " >&6; } 18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18395$as_echo "$LIBICONV" >&6; } 18396 else 18397 CPPFLAGS="$am_save_CPPFLAGS" 18398 LIBICONV= 18399 LTLIBICONV= 18400 fi 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 use_additional=yes 18413 18414 acl_save_prefix="$prefix" 18415 prefix="$acl_final_prefix" 18416 acl_save_exec_prefix="$exec_prefix" 18417 exec_prefix="$acl_final_exec_prefix" 18418 18419 eval additional_includedir=\"$includedir\" 18420 eval additional_libdir=\"$libdir\" 18421 18422 exec_prefix="$acl_save_exec_prefix" 18423 prefix="$acl_save_prefix" 18424 18425 18426# Check whether --with-libintl-prefix was given. 18427if test "${with_libintl_prefix+set}" = set; then : 18428 withval=$with_libintl_prefix; 18429 if test "X$withval" = "Xno"; then 18430 use_additional=no 18431 else 18432 if test "X$withval" = "X"; then 18433 18434 acl_save_prefix="$prefix" 18435 prefix="$acl_final_prefix" 18436 acl_save_exec_prefix="$exec_prefix" 18437 exec_prefix="$acl_final_exec_prefix" 18438 18439 eval additional_includedir=\"$includedir\" 18440 eval additional_libdir=\"$libdir\" 18441 18442 exec_prefix="$acl_save_exec_prefix" 18443 prefix="$acl_save_prefix" 18444 18445 else 18446 additional_includedir="$withval/include" 18447 additional_libdir="$withval/$acl_libdirstem" 18448 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18449 && ! test -d "$withval/$acl_libdirstem"; then 18450 additional_libdir="$withval/$acl_libdirstem2" 18451 fi 18452 fi 18453 fi 18454 18455fi 18456 18457 LIBINTL= 18458 LTLIBINTL= 18459 INCINTL= 18460 LIBINTL_PREFIX= 18461 HAVE_LIBINTL= 18462 rpathdirs= 18463 ltrpathdirs= 18464 names_already_handled= 18465 names_next_round='intl ' 18466 while test -n "$names_next_round"; do 18467 names_this_round="$names_next_round" 18468 names_next_round= 18469 for name in $names_this_round; do 18470 already_handled= 18471 for n in $names_already_handled; do 18472 if test "$n" = "$name"; then 18473 already_handled=yes 18474 break 18475 fi 18476 done 18477 if test -z "$already_handled"; then 18478 names_already_handled="$names_already_handled $name" 18479 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18480 eval value=\"\$HAVE_LIB$uppername\" 18481 if test -n "$value"; then 18482 if test "$value" = yes; then 18483 eval value=\"\$LIB$uppername\" 18484 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18485 eval value=\"\$LTLIB$uppername\" 18486 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18487 else 18488 : 18489 fi 18490 else 18491 found_dir= 18492 found_la= 18493 found_so= 18494 found_a= 18495 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18496 if test -n "$acl_shlibext"; then 18497 shrext=".$acl_shlibext" # typically: shrext=.so 18498 else 18499 shrext= 18500 fi 18501 if test $use_additional = yes; then 18502 dir="$additional_libdir" 18503 if test -n "$acl_shlibext"; then 18504 if test -f "$dir/$libname$shrext"; then 18505 found_dir="$dir" 18506 found_so="$dir/$libname$shrext" 18507 else 18508 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18509 ver=`(cd "$dir" && \ 18510 for f in "$libname$shrext".*; do echo "$f"; done \ 18511 | sed -e "s,^$libname$shrext\\\\.,," \ 18512 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18513 | sed 1q ) 2>/dev/null` 18514 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18515 found_dir="$dir" 18516 found_so="$dir/$libname$shrext.$ver" 18517 fi 18518 else 18519 eval library_names=\"$acl_library_names_spec\" 18520 for f in $library_names; do 18521 if test -f "$dir/$f"; then 18522 found_dir="$dir" 18523 found_so="$dir/$f" 18524 break 18525 fi 18526 done 18527 fi 18528 fi 18529 fi 18530 if test "X$found_dir" = "X"; then 18531 if test -f "$dir/$libname.$acl_libext"; then 18532 found_dir="$dir" 18533 found_a="$dir/$libname.$acl_libext" 18534 fi 18535 fi 18536 if test "X$found_dir" != "X"; then 18537 if test -f "$dir/$libname.la"; then 18538 found_la="$dir/$libname.la" 18539 fi 18540 fi 18541 fi 18542 if test "X$found_dir" = "X"; then 18543 for x in $LDFLAGS $LTLIBINTL; do 18544 18545 acl_save_prefix="$prefix" 18546 prefix="$acl_final_prefix" 18547 acl_save_exec_prefix="$exec_prefix" 18548 exec_prefix="$acl_final_exec_prefix" 18549 eval x=\"$x\" 18550 exec_prefix="$acl_save_exec_prefix" 18551 prefix="$acl_save_prefix" 18552 18553 case "$x" in 18554 -L*) 18555 dir=`echo "X$x" | sed -e 's/^X-L//'` 18556 if test -n "$acl_shlibext"; then 18557 if test -f "$dir/$libname$shrext"; then 18558 found_dir="$dir" 18559 found_so="$dir/$libname$shrext" 18560 else 18561 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18562 ver=`(cd "$dir" && \ 18563 for f in "$libname$shrext".*; do echo "$f"; done \ 18564 | sed -e "s,^$libname$shrext\\\\.,," \ 18565 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18566 | sed 1q ) 2>/dev/null` 18567 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18568 found_dir="$dir" 18569 found_so="$dir/$libname$shrext.$ver" 18570 fi 18571 else 18572 eval library_names=\"$acl_library_names_spec\" 18573 for f in $library_names; do 18574 if test -f "$dir/$f"; then 18575 found_dir="$dir" 18576 found_so="$dir/$f" 18577 break 18578 fi 18579 done 18580 fi 18581 fi 18582 fi 18583 if test "X$found_dir" = "X"; then 18584 if test -f "$dir/$libname.$acl_libext"; then 18585 found_dir="$dir" 18586 found_a="$dir/$libname.$acl_libext" 18587 fi 18588 fi 18589 if test "X$found_dir" != "X"; then 18590 if test -f "$dir/$libname.la"; then 18591 found_la="$dir/$libname.la" 18592 fi 18593 fi 18594 ;; 18595 esac 18596 if test "X$found_dir" != "X"; then 18597 break 18598 fi 18599 done 18600 fi 18601 if test "X$found_dir" != "X"; then 18602 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18603 if test "X$found_so" != "X"; then 18604 if test "$enable_rpath" = no \ 18605 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18606 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18607 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18608 else 18609 haveit= 18610 for x in $ltrpathdirs; do 18611 if test "X$x" = "X$found_dir"; then 18612 haveit=yes 18613 break 18614 fi 18615 done 18616 if test -z "$haveit"; then 18617 ltrpathdirs="$ltrpathdirs $found_dir" 18618 fi 18619 if test "$acl_hardcode_direct" = yes; then 18620 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18621 else 18622 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18623 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18624 haveit= 18625 for x in $rpathdirs; do 18626 if test "X$x" = "X$found_dir"; then 18627 haveit=yes 18628 break 18629 fi 18630 done 18631 if test -z "$haveit"; then 18632 rpathdirs="$rpathdirs $found_dir" 18633 fi 18634 else 18635 haveit= 18636 for x in $LDFLAGS $LIBINTL; do 18637 18638 acl_save_prefix="$prefix" 18639 prefix="$acl_final_prefix" 18640 acl_save_exec_prefix="$exec_prefix" 18641 exec_prefix="$acl_final_exec_prefix" 18642 eval x=\"$x\" 18643 exec_prefix="$acl_save_exec_prefix" 18644 prefix="$acl_save_prefix" 18645 18646 if test "X$x" = "X-L$found_dir"; then 18647 haveit=yes 18648 break 18649 fi 18650 done 18651 if test -z "$haveit"; then 18652 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18653 fi 18654 if test "$acl_hardcode_minus_L" != no; then 18655 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18656 else 18657 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18658 fi 18659 fi 18660 fi 18661 fi 18662 else 18663 if test "X$found_a" != "X"; then 18664 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18665 else 18666 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18667 fi 18668 fi 18669 additional_includedir= 18670 case "$found_dir" in 18671 */$acl_libdirstem | */$acl_libdirstem/) 18672 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18673 if test "$name" = 'intl'; then 18674 LIBINTL_PREFIX="$basedir" 18675 fi 18676 additional_includedir="$basedir/include" 18677 ;; 18678 */$acl_libdirstem2 | */$acl_libdirstem2/) 18679 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18680 if test "$name" = 'intl'; then 18681 LIBINTL_PREFIX="$basedir" 18682 fi 18683 additional_includedir="$basedir/include" 18684 ;; 18685 esac 18686 if test "X$additional_includedir" != "X"; then 18687 if test "X$additional_includedir" != "X/usr/include"; then 18688 haveit= 18689 if test "X$additional_includedir" = "X/usr/local/include"; then 18690 if test -n "$GCC"; then 18691 case $host_os in 18692 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18693 esac 18694 fi 18695 fi 18696 if test -z "$haveit"; then 18697 for x in $CPPFLAGS $INCINTL; do 18698 18699 acl_save_prefix="$prefix" 18700 prefix="$acl_final_prefix" 18701 acl_save_exec_prefix="$exec_prefix" 18702 exec_prefix="$acl_final_exec_prefix" 18703 eval x=\"$x\" 18704 exec_prefix="$acl_save_exec_prefix" 18705 prefix="$acl_save_prefix" 18706 18707 if test "X$x" = "X-I$additional_includedir"; then 18708 haveit=yes 18709 break 18710 fi 18711 done 18712 if test -z "$haveit"; then 18713 if test -d "$additional_includedir"; then 18714 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18715 fi 18716 fi 18717 fi 18718 fi 18719 fi 18720 if test -n "$found_la"; then 18721 save_libdir="$libdir" 18722 case "$found_la" in 18723 */* | *\\*) . "$found_la" ;; 18724 *) . "./$found_la" ;; 18725 esac 18726 libdir="$save_libdir" 18727 for dep in $dependency_libs; do 18728 case "$dep" in 18729 -L*) 18730 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18731 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18732 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18733 haveit= 18734 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18735 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18736 if test -n "$GCC"; then 18737 case $host_os in 18738 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18739 esac 18740 fi 18741 fi 18742 if test -z "$haveit"; then 18743 haveit= 18744 for x in $LDFLAGS $LIBINTL; do 18745 18746 acl_save_prefix="$prefix" 18747 prefix="$acl_final_prefix" 18748 acl_save_exec_prefix="$exec_prefix" 18749 exec_prefix="$acl_final_exec_prefix" 18750 eval x=\"$x\" 18751 exec_prefix="$acl_save_exec_prefix" 18752 prefix="$acl_save_prefix" 18753 18754 if test "X$x" = "X-L$additional_libdir"; then 18755 haveit=yes 18756 break 18757 fi 18758 done 18759 if test -z "$haveit"; then 18760 if test -d "$additional_libdir"; then 18761 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18762 fi 18763 fi 18764 haveit= 18765 for x in $LDFLAGS $LTLIBINTL; do 18766 18767 acl_save_prefix="$prefix" 18768 prefix="$acl_final_prefix" 18769 acl_save_exec_prefix="$exec_prefix" 18770 exec_prefix="$acl_final_exec_prefix" 18771 eval x=\"$x\" 18772 exec_prefix="$acl_save_exec_prefix" 18773 prefix="$acl_save_prefix" 18774 18775 if test "X$x" = "X-L$additional_libdir"; then 18776 haveit=yes 18777 break 18778 fi 18779 done 18780 if test -z "$haveit"; then 18781 if test -d "$additional_libdir"; then 18782 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18783 fi 18784 fi 18785 fi 18786 fi 18787 ;; 18788 -R*) 18789 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18790 if test "$enable_rpath" != no; then 18791 haveit= 18792 for x in $rpathdirs; do 18793 if test "X$x" = "X$dir"; then 18794 haveit=yes 18795 break 18796 fi 18797 done 18798 if test -z "$haveit"; then 18799 rpathdirs="$rpathdirs $dir" 18800 fi 18801 haveit= 18802 for x in $ltrpathdirs; do 18803 if test "X$x" = "X$dir"; then 18804 haveit=yes 18805 break 18806 fi 18807 done 18808 if test -z "$haveit"; then 18809 ltrpathdirs="$ltrpathdirs $dir" 18810 fi 18811 fi 18812 ;; 18813 -l*) 18814 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18815 ;; 18816 *.la) 18817 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18818 ;; 18819 *) 18820 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18821 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18822 ;; 18823 esac 18824 done 18825 fi 18826 else 18827 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18828 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18829 fi 18830 fi 18831 fi 18832 done 18833 done 18834 if test "X$rpathdirs" != "X"; then 18835 if test -n "$acl_hardcode_libdir_separator"; then 18836 alldirs= 18837 for found_dir in $rpathdirs; do 18838 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18839 done 18840 acl_save_libdir="$libdir" 18841 libdir="$alldirs" 18842 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18843 libdir="$acl_save_libdir" 18844 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18845 else 18846 for found_dir in $rpathdirs; do 18847 acl_save_libdir="$libdir" 18848 libdir="$found_dir" 18849 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18850 libdir="$acl_save_libdir" 18851 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18852 done 18853 fi 18854 fi 18855 if test "X$ltrpathdirs" != "X"; then 18856 for found_dir in $ltrpathdirs; do 18857 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18858 done 18859 fi 18860 18861 18862 18863 18864 18865 18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18867$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18868if eval \${$gt_func_gnugettext_libintl+:} false; then : 18869 $as_echo_n "(cached) " >&6 18870else 18871 gt_save_CPPFLAGS="$CPPFLAGS" 18872 CPPFLAGS="$CPPFLAGS $INCINTL" 18873 gt_save_LIBS="$LIBS" 18874 LIBS="$LIBS $LIBINTL" 18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18876/* end confdefs.h. */ 18877#include <libintl.h> 18878$gt_revision_test_code 18879extern int _nl_msg_cat_cntr; 18880extern 18881#ifdef __cplusplus 18882"C" 18883#endif 18884const char *_nl_expand_alias (const char *); 18885int 18886main () 18887{ 18888bindtextdomain ("", ""); 18889return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18890 ; 18891 return 0; 18892} 18893_ACEOF 18894if ac_fn_c_try_link "$LINENO"; then : 18895 eval "$gt_func_gnugettext_libintl=yes" 18896else 18897 eval "$gt_func_gnugettext_libintl=no" 18898fi 18899rm -f core conftest.err conftest.$ac_objext \ 18900 conftest$ac_exeext conftest.$ac_ext 18901 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18902 LIBS="$LIBS $LIBICONV" 18903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18904/* end confdefs.h. */ 18905#include <libintl.h> 18906$gt_revision_test_code 18907extern int _nl_msg_cat_cntr; 18908extern 18909#ifdef __cplusplus 18910"C" 18911#endif 18912const char *_nl_expand_alias (const char *); 18913int 18914main () 18915{ 18916bindtextdomain ("", ""); 18917return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18918 ; 18919 return 0; 18920} 18921_ACEOF 18922if ac_fn_c_try_link "$LINENO"; then : 18923 LIBINTL="$LIBINTL $LIBICONV" 18924 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18925 eval "$gt_func_gnugettext_libintl=yes" 18926 18927fi 18928rm -f core conftest.err conftest.$ac_objext \ 18929 conftest$ac_exeext conftest.$ac_ext 18930 fi 18931 CPPFLAGS="$gt_save_CPPFLAGS" 18932 LIBS="$gt_save_LIBS" 18933fi 18934eval ac_res=\$$gt_func_gnugettext_libintl 18935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18936$as_echo "$ac_res" >&6; } 18937 fi 18938 18939 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18940 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18941 && test "$PACKAGE" != gettext-runtime \ 18942 && test "$PACKAGE" != gettext-tools; }; then 18943 gt_use_preinstalled_gnugettext=yes 18944 else 18945 LIBINTL= 18946 LTLIBINTL= 18947 INCINTL= 18948 fi 18949 18950 18951 18952 if test -n "$INTL_MACOSX_LIBS"; then 18953 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18954 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18955 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 18956 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 18957 fi 18958 fi 18959 18960 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18961 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18962 18963$as_echo "#define ENABLE_NLS 1" >>confdefs.h 18964 18965 else 18966 USE_NLS=no 18967 fi 18968 fi 18969 18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 18971$as_echo_n "checking whether to use NLS... " >&6; } 18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 18973$as_echo "$USE_NLS" >&6; } 18974 if test "$USE_NLS" = "yes"; then 18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 18976$as_echo_n "checking where the gettext function comes from... " >&6; } 18977 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 18978 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 18979 gt_source="external libintl" 18980 else 18981 gt_source="libc" 18982 fi 18983 else 18984 gt_source="included intl directory" 18985 fi 18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 18987$as_echo "$gt_source" >&6; } 18988 fi 18989 18990 if test "$USE_NLS" = "yes"; then 18991 18992 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 18993 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 18995$as_echo_n "checking how to link with libintl... " >&6; } 18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 18997$as_echo "$LIBINTL" >&6; } 18998 18999 for element in $INCINTL; do 19000 haveit= 19001 for x in $CPPFLAGS; do 19002 19003 acl_save_prefix="$prefix" 19004 prefix="$acl_final_prefix" 19005 acl_save_exec_prefix="$exec_prefix" 19006 exec_prefix="$acl_final_exec_prefix" 19007 eval x=\"$x\" 19008 exec_prefix="$acl_save_exec_prefix" 19009 prefix="$acl_save_prefix" 19010 19011 if test "X$x" = "X$element"; then 19012 haveit=yes 19013 break 19014 fi 19015 done 19016 if test -z "$haveit"; then 19017 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19018 fi 19019 done 19020 19021 fi 19022 19023 19024$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19025 19026 19027$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19028 19029 fi 19030 19031 POSUB=po 19032 fi 19033 19034 19035 19036 INTLLIBS="$LIBINTL" 19037 19038 19039 19040 19041 19042 19043 19044 19045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19046$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19047if ${ac_cv_c_const+:} false; then : 19048 $as_echo_n "(cached) " >&6 19049else 19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19051/* end confdefs.h. */ 19052 19053int 19054main () 19055{ 19056 19057#ifndef __cplusplus 19058 /* Ultrix mips cc rejects this sort of thing. */ 19059 typedef int charset[2]; 19060 const charset cs = { 0, 0 }; 19061 /* SunOS 4.1.1 cc rejects this. */ 19062 char const *const *pcpcc; 19063 char **ppc; 19064 /* NEC SVR4.0.2 mips cc rejects this. */ 19065 struct point {int x, y;}; 19066 static struct point const zero = {0,0}; 19067 /* AIX XL C 1.02.0.0 rejects this. 19068 It does not let you subtract one const X* pointer from another in 19069 an arm of an if-expression whose if-part is not a constant 19070 expression */ 19071 const char *g = "string"; 19072 pcpcc = &g + (g ? g-g : 0); 19073 /* HPUX 7.0 cc rejects these. */ 19074 ++pcpcc; 19075 ppc = (char**) pcpcc; 19076 pcpcc = (char const *const *) ppc; 19077 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19078 char tx; 19079 char *t = &tx; 19080 char const *s = 0 ? (char *) 0 : (char const *) 0; 19081 19082 *t++ = 0; 19083 if (s) return 0; 19084 } 19085 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19086 int x[] = {25, 17}; 19087 const int *foo = &x[0]; 19088 ++foo; 19089 } 19090 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19091 typedef const int *iptr; 19092 iptr p = 0; 19093 ++p; 19094 } 19095 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19096 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19097 struct s { int j; const int *ap[3]; } bx; 19098 struct s *b = &bx; b->j = 5; 19099 } 19100 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19101 const int foo = 10; 19102 if (!foo) return 0; 19103 } 19104 return !cs[0] && !zero.x; 19105#endif 19106 19107 ; 19108 return 0; 19109} 19110_ACEOF 19111if ac_fn_c_try_compile "$LINENO"; then : 19112 ac_cv_c_const=yes 19113else 19114 ac_cv_c_const=no 19115fi 19116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19117fi 19118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19119$as_echo "$ac_cv_c_const" >&6; } 19120if test $ac_cv_c_const = no; then 19121 19122$as_echo "#define const /**/" >>confdefs.h 19123 19124fi 19125 19126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19127$as_echo_n "checking for working volatile... " >&6; } 19128if ${ac_cv_c_volatile+:} false; then : 19129 $as_echo_n "(cached) " >&6 19130else 19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19132/* end confdefs.h. */ 19133 19134int 19135main () 19136{ 19137 19138volatile int x; 19139int * volatile y = (int *) 0; 19140return !x && !y; 19141 ; 19142 return 0; 19143} 19144_ACEOF 19145if ac_fn_c_try_compile "$LINENO"; then : 19146 ac_cv_c_volatile=yes 19147else 19148 ac_cv_c_volatile=no 19149fi 19150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19151fi 19152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19153$as_echo "$ac_cv_c_volatile" >&6; } 19154if test $ac_cv_c_volatile = no; then 19155 19156$as_echo "#define volatile /**/" >>confdefs.h 19157 19158fi 19159 19160 19161# Check whether --enable-largefile was given. 19162if test "${enable_largefile+set}" = set; then : 19163 enableval=$enable_largefile; 19164fi 19165 19166if test "$enable_largefile" != no; then 19167 19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19169$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19170if ${ac_cv_sys_largefile_CC+:} false; then : 19171 $as_echo_n "(cached) " >&6 19172else 19173 ac_cv_sys_largefile_CC=no 19174 if test "$GCC" != yes; then 19175 ac_save_CC=$CC 19176 while :; do 19177 # IRIX 6.2 and later do not support large files by default, 19178 # so use the C compiler's -n32 option if that helps. 19179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19180/* end confdefs.h. */ 19181#include <sys/types.h> 19182 /* Check that off_t can represent 2**63 - 1 correctly. 19183 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19184 since some C++ compilers masquerading as C compilers 19185 incorrectly reject 9223372036854775807. */ 19186#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19187 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19188 && LARGE_OFF_T % 2147483647 == 1) 19189 ? 1 : -1]; 19190int 19191main () 19192{ 19193 19194 ; 19195 return 0; 19196} 19197_ACEOF 19198 if ac_fn_c_try_compile "$LINENO"; then : 19199 break 19200fi 19201rm -f core conftest.err conftest.$ac_objext 19202 CC="$CC -n32" 19203 if ac_fn_c_try_compile "$LINENO"; then : 19204 ac_cv_sys_largefile_CC=' -n32'; break 19205fi 19206rm -f core conftest.err conftest.$ac_objext 19207 break 19208 done 19209 CC=$ac_save_CC 19210 rm -f conftest.$ac_ext 19211 fi 19212fi 19213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19214$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19215 if test "$ac_cv_sys_largefile_CC" != no; then 19216 CC=$CC$ac_cv_sys_largefile_CC 19217 fi 19218 19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19220$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19221if ${ac_cv_sys_file_offset_bits+:} false; then : 19222 $as_echo_n "(cached) " >&6 19223else 19224 while :; do 19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19226/* end confdefs.h. */ 19227#include <sys/types.h> 19228 /* Check that off_t can represent 2**63 - 1 correctly. 19229 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19230 since some C++ compilers masquerading as C compilers 19231 incorrectly reject 9223372036854775807. */ 19232#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19234 && LARGE_OFF_T % 2147483647 == 1) 19235 ? 1 : -1]; 19236int 19237main () 19238{ 19239 19240 ; 19241 return 0; 19242} 19243_ACEOF 19244if ac_fn_c_try_compile "$LINENO"; then : 19245 ac_cv_sys_file_offset_bits=no; break 19246fi 19247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19249/* end confdefs.h. */ 19250#define _FILE_OFFSET_BITS 64 19251#include <sys/types.h> 19252 /* Check that off_t can represent 2**63 - 1 correctly. 19253 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19254 since some C++ compilers masquerading as C compilers 19255 incorrectly reject 9223372036854775807. */ 19256#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19258 && LARGE_OFF_T % 2147483647 == 1) 19259 ? 1 : -1]; 19260int 19261main () 19262{ 19263 19264 ; 19265 return 0; 19266} 19267_ACEOF 19268if ac_fn_c_try_compile "$LINENO"; then : 19269 ac_cv_sys_file_offset_bits=64; break 19270fi 19271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19272 ac_cv_sys_file_offset_bits=unknown 19273 break 19274done 19275fi 19276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19277$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19278case $ac_cv_sys_file_offset_bits in #( 19279 no | unknown) ;; 19280 *) 19281cat >>confdefs.h <<_ACEOF 19282#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19283_ACEOF 19284;; 19285esac 19286rm -rf conftest* 19287 if test $ac_cv_sys_file_offset_bits = unknown; then 19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19289$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19290if ${ac_cv_sys_large_files+:} false; then : 19291 $as_echo_n "(cached) " >&6 19292else 19293 while :; do 19294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19295/* end confdefs.h. */ 19296#include <sys/types.h> 19297 /* Check that off_t can represent 2**63 - 1 correctly. 19298 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19299 since some C++ compilers masquerading as C compilers 19300 incorrectly reject 9223372036854775807. */ 19301#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19303 && LARGE_OFF_T % 2147483647 == 1) 19304 ? 1 : -1]; 19305int 19306main () 19307{ 19308 19309 ; 19310 return 0; 19311} 19312_ACEOF 19313if ac_fn_c_try_compile "$LINENO"; then : 19314 ac_cv_sys_large_files=no; break 19315fi 19316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19318/* end confdefs.h. */ 19319#define _LARGE_FILES 1 19320#include <sys/types.h> 19321 /* Check that off_t can represent 2**63 - 1 correctly. 19322 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19323 since some C++ compilers masquerading as C compilers 19324 incorrectly reject 9223372036854775807. */ 19325#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19326 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19327 && LARGE_OFF_T % 2147483647 == 1) 19328 ? 1 : -1]; 19329int 19330main () 19331{ 19332 19333 ; 19334 return 0; 19335} 19336_ACEOF 19337if ac_fn_c_try_compile "$LINENO"; then : 19338 ac_cv_sys_large_files=1; break 19339fi 19340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19341 ac_cv_sys_large_files=unknown 19342 break 19343done 19344fi 19345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19346$as_echo "$ac_cv_sys_large_files" >&6; } 19347case $ac_cv_sys_large_files in #( 19348 no | unknown) ;; 19349 *) 19350cat >>confdefs.h <<_ACEOF 19351#define _LARGE_FILES $ac_cv_sys_large_files 19352_ACEOF 19353;; 19354esac 19355rm -rf conftest* 19356 fi 19357 19358 19359fi 19360 19361 19362 19363 19364 # Check whether --enable-shared-libs was given. 19365if test "${enable_shared_libs+set}" = set; then : 19366 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19367else 19368 ac_cv_enable_shared_libs="yes" 19369fi 19370 19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19372$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19373if ${ac_cv_enable_shared_libs+:} false; then : 19374 $as_echo_n "(cached) " >&6 19375else 19376 ac_cv_enable_shared_libs="yes" 19377fi 19378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19379$as_echo "$ac_cv_enable_shared_libs" >&6; } 19380 19381 19382 19383 19384 # Check whether --enable-static-executables was given. 19385if test "${enable_static_executables+set}" = set; then : 19386 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19387else 19388 ac_cv_enable_static_executables=no 19389fi 19390 19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19392$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19393if ${ac_cv_enable_static_executables+:} false; then : 19394 $as_echo_n "(cached) " >&6 19395else 19396 ac_cv_enable_static_executables=no 19397fi 19398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19399$as_echo "$ac_cv_enable_static_executables" >&6; } 19400 19401 if test "x$ac_cv_enable_static_executables" != xno; then : 19402 STATIC_LDFLAGS="-all-static"; 19403 19404 19405 19406 ac_cv_enable_static_executables=yes 19407 enable_shared=no 19408fi 19409 19410 19411 19412 19413 # Check whether --enable-winapi was given. 19414if test "${enable_winapi+set}" = set; then : 19415 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19416else 19417 ac_cv_enable_winapi=auto-detect 19418fi 19419 19420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19421$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19422if ${ac_cv_enable_winapi+:} false; then : 19423 $as_echo_n "(cached) " >&6 19424else 19425 ac_cv_enable_winapi=auto-detect 19426fi 19427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19428$as_echo "$ac_cv_enable_winapi" >&6; } 19429 19430 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19431 ac_common_check_winapi_target_string="$target" 19432 19433 if test "x$ac_common_check_winapi_target_string" = x; then : 19434 ac_common_check_winapi_target_string="$host" 19435fi 19436 19437 case $ac_common_check_winapi_target_string in #( 19438 *mingw*) : 19439 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19440$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19441 ac_cv_enable_winapi=yes ;; #( 19442 *msys*) : 19443 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19444$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19445 ac_cv_enable_winapi=yes ;; #( 19446 *) : 19447 ac_cv_enable_winapi=no ;; #( 19448 *) : 19449 ;; 19450esac 19451 19452fi 19453 19454 19455 19456 19457 # Check whether --enable-wide-character-type was given. 19458if test "${enable_wide_character_type+set}" = set; then : 19459 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19460else 19461 ac_cv_enable_wide_character_type=no 19462fi 19463 19464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19465$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19466if ${ac_cv_enable_wide_character_type+:} false; then : 19467 $as_echo_n "(cached) " >&6 19468else 19469 ac_cv_enable_wide_character_type=no 19470fi 19471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19472$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19473 19474 19475 19476 19477 # Check whether --enable-verbose-output was given. 19478if test "${enable_verbose_output+set}" = set; then : 19479 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19480else 19481 ac_cv_enable_verbose_output=no 19482fi 19483 19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19485$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19486if ${ac_cv_enable_verbose_output+:} false; then : 19487 $as_echo_n "(cached) " >&6 19488else 19489 ac_cv_enable_verbose_output=no 19490fi 19491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19492$as_echo "$ac_cv_enable_verbose_output" >&6; } 19493 19494 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19495 19496$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19497 19498 19499 ac_cv_enable_verbose_output=yes 19500fi 19501 19502 19503 19504 19505 # Check whether --enable-debug-output was given. 19506if test "${enable_debug_output+set}" = set; then : 19507 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19508else 19509 ac_cv_enable_debug_output=no 19510fi 19511 19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19513$as_echo_n "checking whether to enable enable debug output... " >&6; } 19514if ${ac_cv_enable_debug_output+:} false; then : 19515 $as_echo_n "(cached) " >&6 19516else 19517 ac_cv_enable_debug_output=no 19518fi 19519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19520$as_echo "$ac_cv_enable_debug_output" >&6; } 19521 19522 if test "x$ac_cv_enable_debug_output" != xno ; then : 19523 19524$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19525 19526 19527 ac_cv_enable_debug_output=yes 19528fi 19529 19530 19531if test "x$ac_cv_enable_winapi" = xyes; then : 19532 ac_cv_enable_wide_character_type=yes 19533fi 19534 19535 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19536 19537$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19538 19539 HAVE_WIDE_CHARACTER_TYPE=1 19540 19541else 19542 HAVE_WIDE_CHARACTER_TYPE=0 19543 19544 19545fi 19546 19547 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19548do : 19549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19550ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19551if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19552 cat >>confdefs.h <<_ACEOF 19553#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19554_ACEOF 19555 19556fi 19557 19558done 19559 19560 19561 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19562 HAVE_SYS_TYPES_H=1 19563 19564else 19565 HAVE_SYS_TYPES_H=0 19566 19567 19568fi 19569 19570 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19571 HAVE_INTTYPES_H=1 19572 19573else 19574 HAVE_INTTYPES_H=0 19575 19576 19577fi 19578 19579 if test "x$ac_cv_header_stdint_h" = xyes; then : 19580 HAVE_STDINT_H=1 19581 19582else 19583 HAVE_STDINT_H=0 19584 19585 19586fi 19587 19588 if test "x$ac_cv_header_wchar_h" = xyes; then : 19589 HAVE_WCHAR_H=1 19590 19591else 19592 HAVE_WCHAR_H=0 19593 19594 19595fi 19596 19597 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19598if test "x$ac_cv_type_mode_t" = xyes; then : 19599 19600else 19601 19602cat >>confdefs.h <<_ACEOF 19603#define mode_t int 19604_ACEOF 19605 19606fi 19607 19608 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19609if test "x$ac_cv_type_off_t" = xyes; then : 19610 19611else 19612 19613cat >>confdefs.h <<_ACEOF 19614#define off_t long int 19615_ACEOF 19616 19617fi 19618 19619 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19620if test "x$ac_cv_type_size_t" = xyes; then : 19621 19622else 19623 19624cat >>confdefs.h <<_ACEOF 19625#define size_t unsigned int 19626_ACEOF 19627 19628fi 19629 19630 19631 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19632if test "x$ac_cv_type_size32_t" = xyes; then : 19633 HAVE_SIZE32_T=1 19634 19635else 19636 HAVE_SIZE32_T=0 19637 19638 19639fi 19640 19641 19642 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19643if test "x$ac_cv_type_ssize32_t" = xyes; then : 19644 HAVE_SSIZE32_T=1 19645 19646else 19647 HAVE_SSIZE32_T=0 19648 19649 19650fi 19651 19652 19653 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19654if test "x$ac_cv_type_size64_t" = xyes; then : 19655 HAVE_SIZE64_T=1 19656 19657else 19658 HAVE_SIZE64_T=0 19659 19660 19661fi 19662 19663 19664 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19665if test "x$ac_cv_type_ssize64_t" = xyes; then : 19666 HAVE_SSIZE64_T=1 19667 19668else 19669 HAVE_SSIZE64_T=0 19670 19671 19672fi 19673 19674 19675 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19676if test "x$ac_cv_type_off64_t" = xyes; then : 19677 HAVE_OFF64_T=1 19678 19679else 19680 HAVE_OFF64_T=0 19681 19682 19683fi 19684 19685 19686 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19687if test "x$ac_cv_type_ssize_t" = xyes; then : 19688 19689fi 19690 19691 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19692if test "x$ac_cv_type_u64" = xyes; then : 19693 19694fi 19695 19696 19697 # The cast to long int works around a bug in the HP C Compiler 19698# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19699# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19700# This bug is HP SR number 8606223364. 19701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19702$as_echo_n "checking size of int... " >&6; } 19703if ${ac_cv_sizeof_int+:} false; then : 19704 $as_echo_n "(cached) " >&6 19705else 19706 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19707 19708else 19709 if test "$ac_cv_type_int" = yes; then 19710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19711$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19712as_fn_error 77 "cannot compute sizeof (int) 19713See \`config.log' for more details" "$LINENO" 5; } 19714 else 19715 ac_cv_sizeof_int=0 19716 fi 19717fi 19718 19719fi 19720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19721$as_echo "$ac_cv_sizeof_int" >&6; } 19722 19723 19724 19725cat >>confdefs.h <<_ACEOF 19726#define SIZEOF_INT $ac_cv_sizeof_int 19727_ACEOF 19728 19729 19730 # The cast to long int works around a bug in the HP C Compiler 19731# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19732# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19733# This bug is HP SR number 8606223364. 19734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19735$as_echo_n "checking size of long... " >&6; } 19736if ${ac_cv_sizeof_long+:} false; then : 19737 $as_echo_n "(cached) " >&6 19738else 19739 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19740 19741else 19742 if test "$ac_cv_type_long" = yes; then 19743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19744$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19745as_fn_error 77 "cannot compute sizeof (long) 19746See \`config.log' for more details" "$LINENO" 5; } 19747 else 19748 ac_cv_sizeof_long=0 19749 fi 19750fi 19751 19752fi 19753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19754$as_echo "$ac_cv_sizeof_long" >&6; } 19755 19756 19757 19758cat >>confdefs.h <<_ACEOF 19759#define SIZEOF_LONG $ac_cv_sizeof_long 19760_ACEOF 19761 19762 19763 # The cast to long int works around a bug in the HP C Compiler 19764# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19765# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19766# This bug is HP SR number 8606223364. 19767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19768$as_echo_n "checking size of off_t... " >&6; } 19769if ${ac_cv_sizeof_off_t+:} false; then : 19770 $as_echo_n "(cached) " >&6 19771else 19772 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19773 19774else 19775 if test "$ac_cv_type_off_t" = yes; then 19776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19777$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19778as_fn_error 77 "cannot compute sizeof (off_t) 19779See \`config.log' for more details" "$LINENO" 5; } 19780 else 19781 ac_cv_sizeof_off_t=0 19782 fi 19783fi 19784 19785fi 19786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19787$as_echo "$ac_cv_sizeof_off_t" >&6; } 19788 19789 19790 19791cat >>confdefs.h <<_ACEOF 19792#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19793_ACEOF 19794 19795 19796 # The cast to long int works around a bug in the HP C Compiler 19797# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19798# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19799# This bug is HP SR number 8606223364. 19800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19801$as_echo_n "checking size of size_t... " >&6; } 19802if ${ac_cv_sizeof_size_t+:} false; then : 19803 $as_echo_n "(cached) " >&6 19804else 19805 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19806 19807else 19808 if test "$ac_cv_type_size_t" = yes; then 19809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19811as_fn_error 77 "cannot compute sizeof (size_t) 19812See \`config.log' for more details" "$LINENO" 5; } 19813 else 19814 ac_cv_sizeof_size_t=0 19815 fi 19816fi 19817 19818fi 19819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19820$as_echo "$ac_cv_sizeof_size_t" >&6; } 19821 19822 19823 19824cat >>confdefs.h <<_ACEOF 19825#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19826_ACEOF 19827 19828 19829 19830 if test "x$ac_cv_header_wchar_h" = xyes; then : 19831 # The cast to long int works around a bug in the HP C Compiler 19832# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19833# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19834# This bug is HP SR number 8606223364. 19835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19836$as_echo_n "checking size of wchar_t... " >&6; } 19837if ${ac_cv_sizeof_wchar_t+:} false; then : 19838 $as_echo_n "(cached) " >&6 19839else 19840 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19841 19842else 19843 if test "$ac_cv_type_wchar_t" = yes; then 19844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19845$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19846as_fn_error 77 "cannot compute sizeof (wchar_t) 19847See \`config.log' for more details" "$LINENO" 5; } 19848 else 19849 ac_cv_sizeof_wchar_t=0 19850 fi 19851fi 19852 19853fi 19854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19855$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19856 19857 19858 19859cat >>confdefs.h <<_ACEOF 19860#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19861_ACEOF 19862 19863 19864fi 19865 19866 19867 19868 if test "x$ac_cv_enable_winapi" = xyes; then : 19869 for ac_header in windows.h 19870do : 19871 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19872if test "x$ac_cv_header_windows_h" = xyes; then : 19873 cat >>confdefs.h <<_ACEOF 19874#define HAVE_WINDOWS_H 1 19875_ACEOF 19876 19877fi 19878 19879done 19880 19881 19882 if test "x$ac_cv_header_windows_h" = xno; then : 19883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19885as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19886See \`config.log' for more details" "$LINENO" 5; } 19887 19888fi 19889 19890fi 19891 19892 if test "x$ac_cv_enable_winapi" = xno; then : 19893 for ac_header in libintl.h 19894do : 19895 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19896if test "x$ac_cv_header_libintl_h" = xyes; then : 19897 cat >>confdefs.h <<_ACEOF 19898#define HAVE_LIBINTL_H 1 19899_ACEOF 19900 19901fi 19902 19903done 19904 19905 19906fi 19907 19908 for ac_header in limits.h 19909do : 19910 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19911if test "x$ac_cv_header_limits_h" = xyes; then : 19912 cat >>confdefs.h <<_ACEOF 19913#define HAVE_LIMITS_H 1 19914_ACEOF 19915 19916fi 19917 19918done 19919 19920 19921 for ac_header in stdlib.h string.h 19922do : 19923 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19924ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19925if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19926 cat >>confdefs.h <<_ACEOF 19927#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19928_ACEOF 19929 19930fi 19931 19932done 19933 19934 19935 for ac_header in wchar.h wctype.h 19936do : 19937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19938ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19939if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19940 cat >>confdefs.h <<_ACEOF 19941#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19942_ACEOF 19943 19944fi 19945 19946done 19947 19948 19949 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 19950do : 19951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19952ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19953if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 19954 cat >>confdefs.h <<_ACEOF 19955#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19956_ACEOF 19957 19958fi 19959done 19960 19961 19962 if test "x$ac_cv_func_fclose" != xyes; then : 19963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19964$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19965as_fn_error 1 "Missing function: fclose 19966See \`config.log' for more details" "$LINENO" 5; } 19967 19968fi 19969 19970 if test "x$ac_cv_func_feof" != xyes; then : 19971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19972$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19973as_fn_error 1 "Missing function: feof 19974See \`config.log' for more details" "$LINENO" 5; } 19975 19976fi 19977 19978 if test "x$ac_cv_func_fgets" != xyes; then : 19979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19981as_fn_error 1 "Missing function: fgets 19982See \`config.log' for more details" "$LINENO" 5; } 19983 19984fi 19985 19986 if test "x$ac_cv_func_fopen" != xyes; then : 19987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19988$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19989as_fn_error 1 "Missing function: fopen 19990See \`config.log' for more details" "$LINENO" 5; } 19991 19992fi 19993 19994 if test "x$ac_cv_func_fread" != xyes; then : 19995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19996$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19997as_fn_error 1 "Missing function: fread 19998See \`config.log' for more details" "$LINENO" 5; } 19999 20000fi 20001 20002 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20004$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20005as_fn_error 1 "Missing function: fseeko and fseeko64 20006See \`config.log' for more details" "$LINENO" 5; } 20007 20008fi 20009 20010 if test "x$ac_cv_func_fwrite" != xyes; then : 20011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20012$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20013as_fn_error 1 "Missing function: fwrite 20014See \`config.log' for more details" "$LINENO" 5; } 20015 20016fi 20017 20018 if test "x$ac_cv_func_vfprintf" != xyes; then : 20019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20020$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20021as_fn_error 1 "Missing function: vfprintf 20022See \`config.log' for more details" "$LINENO" 5; } 20023 20024fi 20025 20026 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20027 for ac_func in fgetws 20028do : 20029 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20030if test "x$ac_cv_func_fgetws" = xyes; then : 20031 cat >>confdefs.h <<_ACEOF 20032#define HAVE_FGETWS 1 20033_ACEOF 20034 20035fi 20036done 20037 20038 20039 if test "x$ac_cv_func_fgetws" != xyes; then : 20040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20042as_fn_error 1 "Missing function: fgetws 20043See \`config.log' for more details" "$LINENO" 5; } 20044 20045fi 20046 20047fi 20048 20049 for ac_func in free malloc memcmp memcpy memset realloc 20050do : 20051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20052ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20053if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20054 cat >>confdefs.h <<_ACEOF 20055#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20056_ACEOF 20057 20058fi 20059done 20060 20061 20062 if test "x$ac_cv_func_free" != xyes; then : 20063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20064$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20065as_fn_error 1 "Missing function: free 20066See \`config.log' for more details" "$LINENO" 5; } 20067 20068fi 20069 20070 if test "x$ac_cv_func_malloc" != xyes; then : 20071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20072$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20073as_fn_error 1 "Missing function: malloc 20074See \`config.log' for more details" "$LINENO" 5; } 20075 20076fi 20077 20078 if test "x$ac_cv_func_memcmp" != xyes; then : 20079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20081as_fn_error 1 "Missing function: memcmp 20082See \`config.log' for more details" "$LINENO" 5; } 20083 20084fi 20085 20086 if test "x$ac_cv_func_memcpy" != xyes; then : 20087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20089as_fn_error 1 "Missing function: memcpy 20090See \`config.log' for more details" "$LINENO" 5; } 20091 20092fi 20093 20094 if test "x$ac_cv_func_memset" != xyes; then : 20095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20096$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20097as_fn_error 1 "Missing function: memset 20098See \`config.log' for more details" "$LINENO" 5; } 20099 20100fi 20101 20102 if test "x$ac_cv_func_realloc" != xyes; then : 20103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20104$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20105as_fn_error 1 "Missing function: realloc 20106See \`config.log' for more details" "$LINENO" 5; } 20107 20108fi 20109 20110 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20111do : 20112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20113ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20114if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20115 cat >>confdefs.h <<_ACEOF 20116#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20117_ACEOF 20118 20119fi 20120done 20121 20122 20123 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20126as_fn_error 1 "Missing functions: memchr and strchr 20127See \`config.log' for more details" "$LINENO" 5; } 20128 20129fi 20130 20131 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20134as_fn_error 1 "Missing functions: memcmp and strncmp 20135See \`config.log' for more details" "$LINENO" 5; } 20136 20137fi 20138 20139 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20142as_fn_error 1 "Missing functions: memcpy and strncpy 20143See \`config.log' for more details" "$LINENO" 5; } 20144 20145fi 20146 20147 if test "x$ac_cv_func_memrchr" = xyes; then : 20148 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20149if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20150 ac_have_decl=1 20151else 20152 ac_have_decl=0 20153fi 20154 20155cat >>confdefs.h <<_ACEOF 20156#define HAVE_DECL_MEMRCHR $ac_have_decl 20157_ACEOF 20158 20159 20160 if test "x$ac_cv_decl_memrchr" != xyes; then : 20161 ac_cv_func_memrchr=no 20162fi 20163 20164fi 20165 20166 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20169as_fn_error 1 "Missing functions: strrchr and memrchr 20170See \`config.log' for more details" "$LINENO" 5; } 20171 20172fi 20173 20174 if test "x$ac_cv_func_snprintf" != xyes; then : 20175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20177as_fn_error 1 "Missing function: snprintf 20178See \`config.log' for more details" "$LINENO" 5; } 20179 20180fi 20181 20182 if test "x$ac_cv_func_sscanf" != xyes; then : 20183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20185as_fn_error 1 "Missing function: sscanf 20186See \`config.log' for more details" "$LINENO" 5; } 20187 20188fi 20189 20190 if test "x$ac_cv_func_strlen" != xyes; then : 20191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20193as_fn_error 1 "Missing function: strlen 20194See \`config.log' for more details" "$LINENO" 5; } 20195 20196fi 20197 20198 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20201as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20202See \`config.log' for more details" "$LINENO" 5; } 20203 20204fi 20205 20206 if test "x$ac_cv_func_strstr" != xyes; then : 20207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20209as_fn_error 1 "Missing function: strstr 20210See \`config.log' for more details" "$LINENO" 5; } 20211 20212fi 20213 20214 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20216$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20217as_fn_error 1 "Missing function: vsnprintf 20218See \`config.log' for more details" "$LINENO" 5; } 20219 20220fi 20221 20222 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20223 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20224do : 20225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20226ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20227if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20228 cat >>confdefs.h <<_ACEOF 20229#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20230_ACEOF 20231 20232fi 20233done 20234 20235 20236 if test "x$ac_cv_func_swprintf" != 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: swprintf 20240See \`config.log' for more details" "$LINENO" 5; } 20241 20242fi 20243 20244 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20247as_fn_error 1 "Missing functions: wmemchr and wcschr 20248See \`config.log' for more details" "$LINENO" 5; } 20249 20250fi 20251 20252 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20255as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20256See \`config.log' for more details" "$LINENO" 5; } 20257 20258fi 20259 20260 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20262$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20263as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20264See \`config.log' for more details" "$LINENO" 5; } 20265 20266fi 20267 20268 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20271as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20272See \`config.log' for more details" "$LINENO" 5; } 20273 20274fi 20275 20276 if test "x$ac_cv_func_wcslen" != xyes; then : 20277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20278$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20279as_fn_error 1 "Missing function: wcslen 20280See \`config.log' for more details" "$LINENO" 5; } 20281 20282fi 20283 20284 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 : 20285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20286$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20287as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20288See \`config.log' for more details" "$LINENO" 5; } 20289 20290fi 20291 20292 if test "x$ac_cv_func_wcsstr" != xyes; then : 20293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20294$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20295as_fn_error 1 "Missing function: wcsstr 20296See \`config.log' for more details" "$LINENO" 5; } 20297 20298fi 20299 20300fi 20301 20302 20303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20304$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20305 20306 SAVE_CFLAGS="$CFLAGS" 20307 CFLAGS="$CFLAGS -Wall -Werror" 20308 ac_ext=c 20309ac_cpp='$CPP $CPPFLAGS' 20310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20312ac_compiler_gnu=$ac_cv_c_compiler_gnu 20313 20314 20315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20316/* end confdefs.h. */ 20317#include <stdio.h> 20318int 20319main () 20320{ 20321printf( "%jd" ); 20322 ; 20323 return 0; 20324} 20325_ACEOF 20326if ac_fn_c_try_link "$LINENO"; then : 20327 ac_cv_cv_have_printf_jd=no 20328else 20329 ac_cv_cv_have_printf_jd=yes 20330fi 20331rm -f core conftest.err conftest.$ac_objext \ 20332 conftest$ac_exeext conftest.$ac_ext 20333 20334 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20336/* end confdefs.h. */ 20337#include <sys/types.h> 20338#include <stdio.h> 20339int 20340main () 20341{ 20342printf( "%jd", (off_t) 10 ); 20343 ; 20344 return 0; 20345} 20346_ACEOF 20347if ac_fn_c_try_link "$LINENO"; then : 20348 ac_cv_cv_have_printf_jd=yes 20349else 20350 ac_cv_cv_have_printf_jd=no 20351fi 20352rm -f core conftest.err conftest.$ac_objext \ 20353 conftest$ac_exeext conftest.$ac_ext 20354 20355fi 20356 20357 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20358 if test "$cross_compiling" = yes; then : 20359 ac_cv_cv_have_printf_jd=undetermined 20360else 20361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20362/* end confdefs.h. */ 20363#include <sys/types.h> 20364#include <stdio.h> 20365int 20366main () 20367{ 20368char string[ 3 ]; 20369if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20370if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20371 ; 20372 return 0; 20373} 20374_ACEOF 20375if ac_fn_c_try_run "$LINENO"; then : 20376 ac_cv_cv_have_printf_jd=yes 20377else 20378 ac_cv_cv_have_printf_jd=no 20379fi 20380rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20381 conftest.$ac_objext conftest.beam conftest.$ac_ext 20382fi 20383 20384 20385fi 20386 20387 ac_ext=c 20388ac_cpp='$CPP $CPPFLAGS' 20389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20391ac_compiler_gnu=$ac_cv_c_compiler_gnu 20392 20393 CFLAGS="$SAVE_CFLAGS" 20394 20395 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20397$as_echo "yes" >&6; } 20398 20399$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20400 20401else 20402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20403$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20404 20405fi 20406 20407 20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20409$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20410 20411 SAVE_CFLAGS="$CFLAGS" 20412 CFLAGS="$CFLAGS -Wall -Werror" 20413 ac_ext=c 20414ac_cpp='$CPP $CPPFLAGS' 20415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20417ac_compiler_gnu=$ac_cv_c_compiler_gnu 20418 20419 20420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20421/* end confdefs.h. */ 20422#include <stdio.h> 20423int 20424main () 20425{ 20426printf( "%zd" ); 20427 ; 20428 return 0; 20429} 20430_ACEOF 20431if ac_fn_c_try_link "$LINENO"; then : 20432 ac_cv_cv_have_printf_zd=no 20433else 20434 ac_cv_cv_have_printf_zd=yes 20435fi 20436rm -f core conftest.err conftest.$ac_objext \ 20437 conftest$ac_exeext conftest.$ac_ext 20438 20439 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20441/* end confdefs.h. */ 20442#include <sys/types.h> 20443#include <stdio.h> 20444int 20445main () 20446{ 20447printf( "%zd", (size_t) 10 ); 20448 ; 20449 return 0; 20450} 20451_ACEOF 20452if ac_fn_c_try_link "$LINENO"; then : 20453 ac_cv_cv_have_printf_zd=yes 20454else 20455 ac_cv_cv_have_printf_zd=no 20456fi 20457rm -f core conftest.err conftest.$ac_objext \ 20458 conftest$ac_exeext conftest.$ac_ext 20459 20460fi 20461 20462 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20463 if test "$cross_compiling" = yes; then : 20464 ac_cv_cv_have_printf_zd=undetermined 20465else 20466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20467/* end confdefs.h. */ 20468#include <sys/types.h> 20469#include <stdio.h> 20470int 20471main () 20472{ 20473char string[ 3 ]; 20474if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20475if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20476 ; 20477 return 0; 20478} 20479_ACEOF 20480if ac_fn_c_try_run "$LINENO"; then : 20481 ac_cv_cv_have_printf_zd=yes 20482else 20483 ac_cv_cv_have_printf_zd=no 20484fi 20485rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20486 conftest.$ac_objext conftest.beam conftest.$ac_ext 20487fi 20488 20489 20490fi 20491 20492 ac_ext=c 20493ac_cpp='$CPP $CPPFLAGS' 20494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20496ac_compiler_gnu=$ac_cv_c_compiler_gnu 20497 20498 CFLAGS="$SAVE_CFLAGS" 20499 20500 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20502$as_echo "yes" >&6; } 20503 20504$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20505 20506else 20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20508$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20509 20510fi 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20522 if test -n "$ac_tool_prefix"; then 20523 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20524set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20526$as_echo_n "checking for $ac_word... " >&6; } 20527if ${ac_cv_path_PKG_CONFIG+:} false; then : 20528 $as_echo_n "(cached) " >&6 20529else 20530 case $PKG_CONFIG in 20531 [\\/]* | ?:[\\/]*) 20532 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20533 ;; 20534 *) 20535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20536for as_dir in $PATH 20537do 20538 IFS=$as_save_IFS 20539 test -z "$as_dir" && as_dir=. 20540 for ac_exec_ext in '' $ac_executable_extensions; do 20541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20542 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20544 break 2 20545 fi 20546done 20547 done 20548IFS=$as_save_IFS 20549 20550 ;; 20551esac 20552fi 20553PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20554if test -n "$PKG_CONFIG"; then 20555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20556$as_echo "$PKG_CONFIG" >&6; } 20557else 20558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20559$as_echo "no" >&6; } 20560fi 20561 20562 20563fi 20564if test -z "$ac_cv_path_PKG_CONFIG"; then 20565 ac_pt_PKG_CONFIG=$PKG_CONFIG 20566 # Extract the first word of "pkg-config", so it can be a program name with args. 20567set dummy pkg-config; ac_word=$2 20568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20569$as_echo_n "checking for $ac_word... " >&6; } 20570if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20571 $as_echo_n "(cached) " >&6 20572else 20573 case $ac_pt_PKG_CONFIG in 20574 [\\/]* | ?:[\\/]*) 20575 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20576 ;; 20577 *) 20578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20579for as_dir in $PATH 20580do 20581 IFS=$as_save_IFS 20582 test -z "$as_dir" && as_dir=. 20583 for ac_exec_ext in '' $ac_executable_extensions; do 20584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20585 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20587 break 2 20588 fi 20589done 20590 done 20591IFS=$as_save_IFS 20592 20593 ;; 20594esac 20595fi 20596ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20597if test -n "$ac_pt_PKG_CONFIG"; then 20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20599$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20600else 20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20602$as_echo "no" >&6; } 20603fi 20604 20605 if test "x$ac_pt_PKG_CONFIG" = x; then 20606 PKG_CONFIG="" 20607 else 20608 case $cross_compiling:$ac_tool_warned in 20609yes:) 20610{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20611$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20612ac_tool_warned=yes ;; 20613esac 20614 PKG_CONFIG=$ac_pt_PKG_CONFIG 20615 fi 20616else 20617 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20618fi 20619 20620fi 20621if test -n "$PKG_CONFIG"; then 20622 _pkg_min_version=0.9.0 20623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20624$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20625 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20627$as_echo "yes" >&6; } 20628 else 20629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20630$as_echo "no" >&6; } 20631 PKG_CONFIG="" 20632 fi 20633fi 20634 20635 20636# Check whether --with-libcerror was given. 20637if test "${with_libcerror+set}" = set; then : 20638 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20639else 20640 ac_cv_with_libcerror=auto-detect 20641fi 20642 20643 { $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 20644$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; } 20645if ${ac_cv_with_libcerror+:} false; then : 20646 $as_echo_n "(cached) " >&6 20647else 20648 ac_cv_with_libcerror=auto-detect 20649fi 20650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20651$as_echo "$ac_cv_with_libcerror" >&6; } 20652 20653 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20654 ac_cv_libcerror=no 20655else 20656 ac_cv_libcerror=check 20657 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20658 if test -d "$ac_cv_with_libcerror"; then : 20659 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20660 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20661else 20662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20663$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20664as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20665See \`config.log' for more details" "$LINENO" 5; } 20666 20667fi 20668 20669else 20670 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20671 20672pkg_failed=no 20673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20674$as_echo_n "checking for libcerror... " >&6; } 20675 20676if test -n "$libcerror_CFLAGS"; then 20677 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20678 elif test -n "$PKG_CONFIG"; then 20679 if test -n "$PKG_CONFIG" && \ 20680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20681 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20682 ac_status=$? 20683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20684 test $ac_status = 0; }; then 20685 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20686 test "x$?" != "x0" && pkg_failed=yes 20687else 20688 pkg_failed=yes 20689fi 20690 else 20691 pkg_failed=untried 20692fi 20693if test -n "$libcerror_LIBS"; then 20694 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20695 elif test -n "$PKG_CONFIG"; then 20696 if test -n "$PKG_CONFIG" && \ 20697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20698 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20699 ac_status=$? 20700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20701 test $ac_status = 0; }; then 20702 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20703 test "x$?" != "x0" && pkg_failed=yes 20704else 20705 pkg_failed=yes 20706fi 20707 else 20708 pkg_failed=untried 20709fi 20710 20711 20712 20713if test $pkg_failed = yes; then 20714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20715$as_echo "no" >&6; } 20716 20717if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20718 _pkg_short_errors_supported=yes 20719else 20720 _pkg_short_errors_supported=no 20721fi 20722 if test $_pkg_short_errors_supported = yes; then 20723 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20724 else 20725 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20726 fi 20727 # Put the nasty error message in config.log where it belongs 20728 echo "$libcerror_PKG_ERRORS" >&5 20729 20730 ac_cv_libcerror=check 20731elif test $pkg_failed = untried; then 20732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20733$as_echo "no" >&6; } 20734 ac_cv_libcerror=check 20735else 20736 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20737 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20739$as_echo "yes" >&6; } 20740 ac_cv_libcerror=yes 20741fi 20742 20743fi 20744 if test "x$ac_cv_libcerror" = xyes; then : 20745 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20746 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20747fi 20748 20749fi 20750 20751 if test "x$ac_cv_libcerror" = xcheck; then : 20752 for ac_header in libcerror.h 20753do : 20754 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20755if test "x$ac_cv_header_libcerror_h" = xyes; then : 20756 cat >>confdefs.h <<_ACEOF 20757#define HAVE_LIBCERROR_H 1 20758_ACEOF 20759 20760fi 20761 20762done 20763 20764 20765 if test "x$ac_cv_header_libcerror_h" = xno; then : 20766 ac_cv_libcerror=no 20767else 20768 ac_cv_libcerror=yes 20769 20770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20771$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20772if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20773 $as_echo_n "(cached) " >&6 20774else 20775 ac_check_lib_save_LIBS=$LIBS 20776LIBS="-lcerror $LIBS" 20777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20778/* end confdefs.h. */ 20779 20780/* Override any GCC internal prototype to avoid an error. 20781 Use char because int might match the return type of a GCC 20782 builtin and then its argument prototype would still apply. */ 20783#ifdef __cplusplus 20784extern "C" 20785#endif 20786char libcerror_get_version (); 20787int 20788main () 20789{ 20790return libcerror_get_version (); 20791 ; 20792 return 0; 20793} 20794_ACEOF 20795if ac_fn_c_try_link "$LINENO"; then : 20796 ac_cv_lib_cerror_libcerror_get_version=yes 20797else 20798 ac_cv_lib_cerror_libcerror_get_version=no 20799fi 20800rm -f core conftest.err conftest.$ac_objext \ 20801 conftest$ac_exeext conftest.$ac_ext 20802LIBS=$ac_check_lib_save_LIBS 20803fi 20804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20805$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20806if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20807 ac_cv_libcerror_dummy=yes 20808else 20809 ac_cv_libcerror=no 20810fi 20811 20812 20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20814$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20815if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20816 $as_echo_n "(cached) " >&6 20817else 20818 ac_check_lib_save_LIBS=$LIBS 20819LIBS="-lcerror $LIBS" 20820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20821/* end confdefs.h. */ 20822 20823/* Override any GCC internal prototype to avoid an error. 20824 Use char because int might match the return type of a GCC 20825 builtin and then its argument prototype would still apply. */ 20826#ifdef __cplusplus 20827extern "C" 20828#endif 20829char libcerror_error_free (); 20830int 20831main () 20832{ 20833return libcerror_error_free (); 20834 ; 20835 return 0; 20836} 20837_ACEOF 20838if ac_fn_c_try_link "$LINENO"; then : 20839 ac_cv_lib_cerror_libcerror_error_free=yes 20840else 20841 ac_cv_lib_cerror_libcerror_error_free=no 20842fi 20843rm -f core conftest.err conftest.$ac_objext \ 20844 conftest$ac_exeext conftest.$ac_ext 20845LIBS=$ac_check_lib_save_LIBS 20846fi 20847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20848$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20849if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20850 ac_cv_libcerror_dummy=yes 20851else 20852 ac_cv_libcerror=no 20853fi 20854 20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20856$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20857if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20858 $as_echo_n "(cached) " >&6 20859else 20860 ac_check_lib_save_LIBS=$LIBS 20861LIBS="-lcerror $LIBS" 20862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20863/* end confdefs.h. */ 20864 20865/* Override any GCC internal prototype to avoid an error. 20866 Use char because int might match the return type of a GCC 20867 builtin and then its argument prototype would still apply. */ 20868#ifdef __cplusplus 20869extern "C" 20870#endif 20871char libcerror_error_set (); 20872int 20873main () 20874{ 20875return libcerror_error_set (); 20876 ; 20877 return 0; 20878} 20879_ACEOF 20880if ac_fn_c_try_link "$LINENO"; then : 20881 ac_cv_lib_cerror_libcerror_error_set=yes 20882else 20883 ac_cv_lib_cerror_libcerror_error_set=no 20884fi 20885rm -f core conftest.err conftest.$ac_objext \ 20886 conftest$ac_exeext conftest.$ac_ext 20887LIBS=$ac_check_lib_save_LIBS 20888fi 20889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20890$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20891if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20892 ac_cv_libcerror_dummy=yes 20893else 20894 ac_cv_libcerror=no 20895fi 20896 20897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20898$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20899if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20900 $as_echo_n "(cached) " >&6 20901else 20902 ac_check_lib_save_LIBS=$LIBS 20903LIBS="-lcerror $LIBS" 20904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20905/* end confdefs.h. */ 20906 20907/* Override any GCC internal prototype to avoid an error. 20908 Use char because int might match the return type of a GCC 20909 builtin and then its argument prototype would still apply. */ 20910#ifdef __cplusplus 20911extern "C" 20912#endif 20913char libcerror_error_matches (); 20914int 20915main () 20916{ 20917return libcerror_error_matches (); 20918 ; 20919 return 0; 20920} 20921_ACEOF 20922if ac_fn_c_try_link "$LINENO"; then : 20923 ac_cv_lib_cerror_libcerror_error_matches=yes 20924else 20925 ac_cv_lib_cerror_libcerror_error_matches=no 20926fi 20927rm -f core conftest.err conftest.$ac_objext \ 20928 conftest$ac_exeext conftest.$ac_ext 20929LIBS=$ac_check_lib_save_LIBS 20930fi 20931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20932$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20933if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20934 ac_cv_libcerror_dummy=yes 20935else 20936 ac_cv_libcerror=no 20937fi 20938 20939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 20940$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 20941if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 20942 $as_echo_n "(cached) " >&6 20943else 20944 ac_check_lib_save_LIBS=$LIBS 20945LIBS="-lcerror $LIBS" 20946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20947/* end confdefs.h. */ 20948 20949/* Override any GCC internal prototype to avoid an error. 20950 Use char because int might match the return type of a GCC 20951 builtin and then its argument prototype would still apply. */ 20952#ifdef __cplusplus 20953extern "C" 20954#endif 20955char libcerror_error_fprint (); 20956int 20957main () 20958{ 20959return libcerror_error_fprint (); 20960 ; 20961 return 0; 20962} 20963_ACEOF 20964if ac_fn_c_try_link "$LINENO"; then : 20965 ac_cv_lib_cerror_libcerror_error_fprint=yes 20966else 20967 ac_cv_lib_cerror_libcerror_error_fprint=no 20968fi 20969rm -f core conftest.err conftest.$ac_objext \ 20970 conftest$ac_exeext conftest.$ac_ext 20971LIBS=$ac_check_lib_save_LIBS 20972fi 20973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 20974$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 20975if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 20976 ac_cv_libcerror_dummy=yes 20977else 20978 ac_cv_libcerror=no 20979fi 20980 20981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 20982$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 20983if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 20984 $as_echo_n "(cached) " >&6 20985else 20986 ac_check_lib_save_LIBS=$LIBS 20987LIBS="-lcerror $LIBS" 20988cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20989/* end confdefs.h. */ 20990 20991/* Override any GCC internal prototype to avoid an error. 20992 Use char because int might match the return type of a GCC 20993 builtin and then its argument prototype would still apply. */ 20994#ifdef __cplusplus 20995extern "C" 20996#endif 20997char libcerror_error_sprint (); 20998int 20999main () 21000{ 21001return libcerror_error_sprint (); 21002 ; 21003 return 0; 21004} 21005_ACEOF 21006if ac_fn_c_try_link "$LINENO"; then : 21007 ac_cv_lib_cerror_libcerror_error_sprint=yes 21008else 21009 ac_cv_lib_cerror_libcerror_error_sprint=no 21010fi 21011rm -f core conftest.err conftest.$ac_objext \ 21012 conftest$ac_exeext conftest.$ac_ext 21013LIBS=$ac_check_lib_save_LIBS 21014fi 21015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21016$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21017if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21018 ac_cv_libcerror_dummy=yes 21019else 21020 ac_cv_libcerror=no 21021fi 21022 21023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21024$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21025if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21026 $as_echo_n "(cached) " >&6 21027else 21028 ac_check_lib_save_LIBS=$LIBS 21029LIBS="-lcerror $LIBS" 21030cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21031/* end confdefs.h. */ 21032 21033/* Override any GCC internal prototype to avoid an error. 21034 Use char because int might match the return type of a GCC 21035 builtin and then its argument prototype would still apply. */ 21036#ifdef __cplusplus 21037extern "C" 21038#endif 21039char libcerror_error_backtrace_fprint (); 21040int 21041main () 21042{ 21043return libcerror_error_backtrace_fprint (); 21044 ; 21045 return 0; 21046} 21047_ACEOF 21048if ac_fn_c_try_link "$LINENO"; then : 21049 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21050else 21051 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21052fi 21053rm -f core conftest.err conftest.$ac_objext \ 21054 conftest$ac_exeext conftest.$ac_ext 21055LIBS=$ac_check_lib_save_LIBS 21056fi 21057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21058$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21059if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21060 ac_cv_libcerror_dummy=yes 21061else 21062 ac_cv_libcerror=no 21063fi 21064 21065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21066$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21067if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21068 $as_echo_n "(cached) " >&6 21069else 21070 ac_check_lib_save_LIBS=$LIBS 21071LIBS="-lcerror $LIBS" 21072cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21073/* end confdefs.h. */ 21074 21075/* Override any GCC internal prototype to avoid an error. 21076 Use char because int might match the return type of a GCC 21077 builtin and then its argument prototype would still apply. */ 21078#ifdef __cplusplus 21079extern "C" 21080#endif 21081char libcerror_error_backtrace_sprint (); 21082int 21083main () 21084{ 21085return libcerror_error_backtrace_sprint (); 21086 ; 21087 return 0; 21088} 21089_ACEOF 21090if ac_fn_c_try_link "$LINENO"; then : 21091 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21092else 21093 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21094fi 21095rm -f core conftest.err conftest.$ac_objext \ 21096 conftest$ac_exeext conftest.$ac_ext 21097LIBS=$ac_check_lib_save_LIBS 21098fi 21099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21100$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21101if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21102 ac_cv_libcerror_dummy=yes 21103else 21104 ac_cv_libcerror=no 21105fi 21106 21107 21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21109$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21110if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21111 $as_echo_n "(cached) " >&6 21112else 21113 ac_check_lib_save_LIBS=$LIBS 21114LIBS="-lcerror $LIBS" 21115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21116/* end confdefs.h. */ 21117 21118/* Override any GCC internal prototype to avoid an error. 21119 Use char because int might match the return type of a GCC 21120 builtin and then its argument prototype would still apply. */ 21121#ifdef __cplusplus 21122extern "C" 21123#endif 21124char libcerror_system_set_error (); 21125int 21126main () 21127{ 21128return libcerror_system_set_error (); 21129 ; 21130 return 0; 21131} 21132_ACEOF 21133if ac_fn_c_try_link "$LINENO"; then : 21134 ac_cv_lib_cerror_libcerror_system_set_error=yes 21135else 21136 ac_cv_lib_cerror_libcerror_system_set_error=no 21137fi 21138rm -f core conftest.err conftest.$ac_objext \ 21139 conftest$ac_exeext conftest.$ac_ext 21140LIBS=$ac_check_lib_save_LIBS 21141fi 21142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21143$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21144if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21145 ac_cv_libcerror_dummy=yes 21146else 21147 ac_cv_libcerror=no 21148fi 21149 21150 21151 ac_cv_libcerror_LIBADD="-lcerror" 21152fi 21153 21154fi 21155 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21157$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21158as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21159See \`config.log' for more details" "$LINENO" 5; } 21160 21161fi 21162 21163fi 21164 21165 if test "x$ac_cv_libcerror" = xyes; then : 21166 21167$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21168 21169 21170fi 21171 21172 if test "x$ac_cv_libcerror" = xyes; then : 21173 HAVE_LIBCERROR=1 21174 21175else 21176 HAVE_LIBCERROR=0 21177 21178 21179fi 21180 21181 21182 if test "x$ac_cv_libcerror" != xyes; then : 21183 for ac_header in stdarg.h varargs.h 21184do : 21185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21186ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21187if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21188 cat >>confdefs.h <<_ACEOF 21189#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21190_ACEOF 21191 21192fi 21193 21194done 21195 21196 21197 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21199$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21200as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21201See \`config.log' for more details" "$LINENO" 5; } 21202 21203fi 21204 21205 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21206 for ac_func in wcstombs 21207do : 21208 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21209if test "x$ac_cv_func_wcstombs" = xyes; then : 21210 cat >>confdefs.h <<_ACEOF 21211#define HAVE_WCSTOMBS 1 21212_ACEOF 21213 21214fi 21215done 21216 21217 21218 if test "x$ac_cv_func_wcstombs" != xyes; then : 21219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21221as_fn_error 1 "Missing function: wcstombs 21222See \`config.log' for more details" "$LINENO" 5; } 21223 21224fi 21225 21226fi 21227 21228 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21229if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21230 ac_have_decl=1 21231else 21232 ac_have_decl=0 21233fi 21234 21235cat >>confdefs.h <<_ACEOF 21236#define HAVE_DECL_STRERROR_R $ac_have_decl 21237_ACEOF 21238 21239for ac_func in strerror_r 21240do : 21241 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21242if test "x$ac_cv_func_strerror_r" = xyes; then : 21243 cat >>confdefs.h <<_ACEOF 21244#define HAVE_STRERROR_R 1 21245_ACEOF 21246 21247fi 21248done 21249 21250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21251$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21252if ${ac_cv_func_strerror_r_char_p+:} false; then : 21253 $as_echo_n "(cached) " >&6 21254else 21255 21256 ac_cv_func_strerror_r_char_p=no 21257 if test $ac_cv_have_decl_strerror_r = yes; then 21258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21259/* end confdefs.h. */ 21260$ac_includes_default 21261int 21262main () 21263{ 21264 21265 char buf[100]; 21266 char x = *strerror_r (0, buf, sizeof buf); 21267 char *p = strerror_r (0, buf, sizeof buf); 21268 return !p || x; 21269 21270 ; 21271 return 0; 21272} 21273_ACEOF 21274if ac_fn_c_try_compile "$LINENO"; then : 21275 ac_cv_func_strerror_r_char_p=yes 21276fi 21277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21278 else 21279 # strerror_r is not declared. Choose between 21280 # systems that have relatively inaccessible declarations for the 21281 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21282 # former has a strerror_r that returns char*, while the latter 21283 # has a strerror_r that returns `int'. 21284 # This test should segfault on the DEC system. 21285 if test "$cross_compiling" = yes; then : 21286 : 21287else 21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21289/* end confdefs.h. */ 21290$ac_includes_default 21291 extern char *strerror_r (); 21292int 21293main () 21294{ 21295char buf[100]; 21296 char x = *strerror_r (0, buf, sizeof buf); 21297 return ! isalpha (x); 21298 ; 21299 return 0; 21300} 21301_ACEOF 21302if ac_fn_c_try_run "$LINENO"; then : 21303 ac_cv_func_strerror_r_char_p=yes 21304fi 21305rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21306 conftest.$ac_objext conftest.beam conftest.$ac_ext 21307fi 21308 21309 fi 21310 21311fi 21312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21313$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21314if test $ac_cv_func_strerror_r_char_p = yes; then 21315 21316$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21317 21318fi 21319 21320 21321 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21322 for ac_func in strerror 21323do : 21324 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21325if test "x$ac_cv_func_strerror" = xyes; then : 21326 cat >>confdefs.h <<_ACEOF 21327#define HAVE_STRERROR 1 21328_ACEOF 21329 21330fi 21331done 21332 21333 21334 if test "x$ac_cv_func_strerror" != xyes; then : 21335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21337as_fn_error 1 "Missing functions: strerror_r and strerror 21338See \`config.log' for more details" "$LINENO" 5; } 21339 21340fi 21341 21342fi 21343 21344 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21345 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21346 21347 ac_cv_libcerror=local 21348 21349 21350 21351$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21352 21353 HAVE_LOCAL_LIBCERROR=1 21354 21355 21356fi 21357 21358 if test "x$ac_cv_libcerror" = xlocal; then 21359 HAVE_LOCAL_LIBCERROR_TRUE= 21360 HAVE_LOCAL_LIBCERROR_FALSE='#' 21361else 21362 HAVE_LOCAL_LIBCERROR_TRUE='#' 21363 HAVE_LOCAL_LIBCERROR_FALSE= 21364fi 21365 21366 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21367 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21368 21369 21370fi 21371 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21372 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21373 21374 21375fi 21376 21377 if test "x$ac_cv_libcerror" = xyes; then : 21378 ax_libcerror_pc_libs_private=-lcerror 21379 21380 21381fi 21382 21383 if test "x$ac_cv_libcerror" = xyes; then : 21384 ax_libcerror_spec_requires=libcerror 21385 21386 ax_libcerror_spec_build_requires=libcerror-devel 21387 21388 21389fi 21390 21391 21392 21393 # Check whether --enable-multi-threading-support was given. 21394if test "${enable_multi_threading_support+set}" = set; then : 21395 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21396else 21397 ac_cv_enable_multi_threading_support=yes 21398fi 21399 21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21401$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21402if ${ac_cv_enable_multi_threading_support+:} false; then : 21403 $as_echo_n "(cached) " >&6 21404else 21405 ac_cv_enable_multi_threading_support=yes 21406fi 21407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21408$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21409 21410 21411# Check whether --with-libcthreads was given. 21412if test "${with_libcthreads+set}" = set; then : 21413 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21414else 21415 ac_cv_with_libcthreads=auto-detect 21416fi 21417 21418 { $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 21419$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; } 21420if ${ac_cv_with_libcthreads+:} false; then : 21421 $as_echo_n "(cached) " >&6 21422else 21423 ac_cv_with_libcthreads=auto-detect 21424fi 21425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21426$as_echo "$ac_cv_with_libcthreads" >&6; } 21427 21428 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21429 ac_cv_libcthreads="no" 21430 ac_cv_libcthreads_multi_threading="no" 21431else 21432 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21433 ac_cv_libcthreads=no 21434else 21435 ac_cv_libcthreads=check 21436 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21437 if test -d "$ac_cv_with_libcthreads"; then : 21438 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21439 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21440else 21441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21443as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21444See \`config.log' for more details" "$LINENO" 5; } 21445 21446fi 21447 21448else 21449 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21450 21451pkg_failed=no 21452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21453$as_echo_n "checking for libcthreads... " >&6; } 21454 21455if test -n "$libcthreads_CFLAGS"; then 21456 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21457 elif test -n "$PKG_CONFIG"; then 21458 if test -n "$PKG_CONFIG" && \ 21459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21460 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21461 ac_status=$? 21462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21463 test $ac_status = 0; }; then 21464 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21465 test "x$?" != "x0" && pkg_failed=yes 21466else 21467 pkg_failed=yes 21468fi 21469 else 21470 pkg_failed=untried 21471fi 21472if test -n "$libcthreads_LIBS"; then 21473 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21474 elif test -n "$PKG_CONFIG"; then 21475 if test -n "$PKG_CONFIG" && \ 21476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21477 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21478 ac_status=$? 21479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21480 test $ac_status = 0; }; then 21481 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21482 test "x$?" != "x0" && pkg_failed=yes 21483else 21484 pkg_failed=yes 21485fi 21486 else 21487 pkg_failed=untried 21488fi 21489 21490 21491 21492if test $pkg_failed = yes; then 21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21494$as_echo "no" >&6; } 21495 21496if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21497 _pkg_short_errors_supported=yes 21498else 21499 _pkg_short_errors_supported=no 21500fi 21501 if test $_pkg_short_errors_supported = yes; then 21502 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21503 else 21504 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21505 fi 21506 # Put the nasty error message in config.log where it belongs 21507 echo "$libcthreads_PKG_ERRORS" >&5 21508 21509 ac_cv_libcthreads=check 21510elif test $pkg_failed = untried; then 21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21512$as_echo "no" >&6; } 21513 ac_cv_libcthreads=check 21514else 21515 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21516 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21518$as_echo "yes" >&6; } 21519 ac_cv_libcthreads=yes 21520fi 21521 21522fi 21523 if test "x$ac_cv_libcthreads" = xyes; then : 21524 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21525 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21526fi 21527 21528fi 21529 21530 if test "x$ac_cv_libcthreads" = xcheck; then : 21531 for ac_header in libcthreads.h 21532do : 21533 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21534if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21535 cat >>confdefs.h <<_ACEOF 21536#define HAVE_LIBCTHREADS_H 1 21537_ACEOF 21538 21539fi 21540 21541done 21542 21543 21544 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21545 ac_cv_libcthreads=no 21546else 21547 ac_cv_libcthreads=yes 21548 21549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21550$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21551if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21552 $as_echo_n "(cached) " >&6 21553else 21554 ac_check_lib_save_LIBS=$LIBS 21555LIBS="-lcthreads $LIBS" 21556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21557/* end confdefs.h. */ 21558 21559/* Override any GCC internal prototype to avoid an error. 21560 Use char because int might match the return type of a GCC 21561 builtin and then its argument prototype would still apply. */ 21562#ifdef __cplusplus 21563extern "C" 21564#endif 21565char libcthreads_get_version (); 21566int 21567main () 21568{ 21569return libcthreads_get_version (); 21570 ; 21571 return 0; 21572} 21573_ACEOF 21574if ac_fn_c_try_link "$LINENO"; then : 21575 ac_cv_lib_cthreads_libcthreads_get_version=yes 21576else 21577 ac_cv_lib_cthreads_libcthreads_get_version=no 21578fi 21579rm -f core conftest.err conftest.$ac_objext \ 21580 conftest$ac_exeext conftest.$ac_ext 21581LIBS=$ac_check_lib_save_LIBS 21582fi 21583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21584$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21585if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21586 ac_cv_libcthreads_dummy=yes 21587else 21588 ac_cv_libcthreads=no 21589fi 21590 21591 21592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21593$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21594if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21595 $as_echo_n "(cached) " >&6 21596else 21597 ac_check_lib_save_LIBS=$LIBS 21598LIBS="-lcthreads $LIBS" 21599cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21600/* end confdefs.h. */ 21601 21602/* Override any GCC internal prototype to avoid an error. 21603 Use char because int might match the return type of a GCC 21604 builtin and then its argument prototype would still apply. */ 21605#ifdef __cplusplus 21606extern "C" 21607#endif 21608char libcthreads_thread_create (); 21609int 21610main () 21611{ 21612return libcthreads_thread_create (); 21613 ; 21614 return 0; 21615} 21616_ACEOF 21617if ac_fn_c_try_link "$LINENO"; then : 21618 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21619else 21620 ac_cv_lib_cthreads_libcthreads_thread_create=no 21621fi 21622rm -f core conftest.err conftest.$ac_objext \ 21623 conftest$ac_exeext conftest.$ac_ext 21624LIBS=$ac_check_lib_save_LIBS 21625fi 21626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21627$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21628if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21629 ac_cv_libcthreads_dummy=yes 21630else 21631 ac_cv_libcthreads=no 21632fi 21633 21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21635$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21636if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21637 $as_echo_n "(cached) " >&6 21638else 21639 ac_check_lib_save_LIBS=$LIBS 21640LIBS="-lcthreads $LIBS" 21641cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21642/* end confdefs.h. */ 21643 21644/* Override any GCC internal prototype to avoid an error. 21645 Use char because int might match the return type of a GCC 21646 builtin and then its argument prototype would still apply. */ 21647#ifdef __cplusplus 21648extern "C" 21649#endif 21650char libcthreads_thread_join (); 21651int 21652main () 21653{ 21654return libcthreads_thread_join (); 21655 ; 21656 return 0; 21657} 21658_ACEOF 21659if ac_fn_c_try_link "$LINENO"; then : 21660 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21661else 21662 ac_cv_lib_cthreads_libcthreads_thread_join=no 21663fi 21664rm -f core conftest.err conftest.$ac_objext \ 21665 conftest$ac_exeext conftest.$ac_ext 21666LIBS=$ac_check_lib_save_LIBS 21667fi 21668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21669$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21670if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21671 ac_cv_libcthreads_dummy=yes 21672else 21673 ac_cv_libcthreads=no 21674fi 21675 21676 21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21678$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21679if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21680 $as_echo_n "(cached) " >&6 21681else 21682 ac_check_lib_save_LIBS=$LIBS 21683LIBS="-lcthreads $LIBS" 21684cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21685/* end confdefs.h. */ 21686 21687/* Override any GCC internal prototype to avoid an error. 21688 Use char because int might match the return type of a GCC 21689 builtin and then its argument prototype would still apply. */ 21690#ifdef __cplusplus 21691extern "C" 21692#endif 21693char libcthreads_thread_attributes_initialize (); 21694int 21695main () 21696{ 21697return libcthreads_thread_attributes_initialize (); 21698 ; 21699 return 0; 21700} 21701_ACEOF 21702if ac_fn_c_try_link "$LINENO"; then : 21703 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21704else 21705 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21706fi 21707rm -f core conftest.err conftest.$ac_objext \ 21708 conftest$ac_exeext conftest.$ac_ext 21709LIBS=$ac_check_lib_save_LIBS 21710fi 21711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21712$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21713if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21714 ac_cv_libcthreads_dummy=yes 21715else 21716 ac_cv_libcthreads=no 21717fi 21718 21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21720$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21721if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21722 $as_echo_n "(cached) " >&6 21723else 21724 ac_check_lib_save_LIBS=$LIBS 21725LIBS="-lcthreads $LIBS" 21726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21727/* end confdefs.h. */ 21728 21729/* Override any GCC internal prototype to avoid an error. 21730 Use char because int might match the return type of a GCC 21731 builtin and then its argument prototype would still apply. */ 21732#ifdef __cplusplus 21733extern "C" 21734#endif 21735char libcthreads_thread_attributes_free (); 21736int 21737main () 21738{ 21739return libcthreads_thread_attributes_free (); 21740 ; 21741 return 0; 21742} 21743_ACEOF 21744if ac_fn_c_try_link "$LINENO"; then : 21745 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21746else 21747 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21748fi 21749rm -f core conftest.err conftest.$ac_objext \ 21750 conftest$ac_exeext conftest.$ac_ext 21751LIBS=$ac_check_lib_save_LIBS 21752fi 21753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21754$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21755if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21756 ac_cv_libcthreads_dummy=yes 21757else 21758 ac_cv_libcthreads=no 21759fi 21760 21761 21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21763$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21764if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21765 $as_echo_n "(cached) " >&6 21766else 21767 ac_check_lib_save_LIBS=$LIBS 21768LIBS="-lcthreads $LIBS" 21769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21770/* end confdefs.h. */ 21771 21772/* Override any GCC internal prototype to avoid an error. 21773 Use char because int might match the return type of a GCC 21774 builtin and then its argument prototype would still apply. */ 21775#ifdef __cplusplus 21776extern "C" 21777#endif 21778char libcthreads_condition_initialize (); 21779int 21780main () 21781{ 21782return libcthreads_condition_initialize (); 21783 ; 21784 return 0; 21785} 21786_ACEOF 21787if ac_fn_c_try_link "$LINENO"; then : 21788 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21789else 21790 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21791fi 21792rm -f core conftest.err conftest.$ac_objext \ 21793 conftest$ac_exeext conftest.$ac_ext 21794LIBS=$ac_check_lib_save_LIBS 21795fi 21796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21797$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21798if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21799 ac_cv_libcthreads_dummy=yes 21800else 21801 ac_cv_libcthreads=no 21802fi 21803 21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21805$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21806if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21807 $as_echo_n "(cached) " >&6 21808else 21809 ac_check_lib_save_LIBS=$LIBS 21810LIBS="-lcthreads $LIBS" 21811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21812/* end confdefs.h. */ 21813 21814/* Override any GCC internal prototype to avoid an error. 21815 Use char because int might match the return type of a GCC 21816 builtin and then its argument prototype would still apply. */ 21817#ifdef __cplusplus 21818extern "C" 21819#endif 21820char libcthreads_condition_free (); 21821int 21822main () 21823{ 21824return libcthreads_condition_free (); 21825 ; 21826 return 0; 21827} 21828_ACEOF 21829if ac_fn_c_try_link "$LINENO"; then : 21830 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21831else 21832 ac_cv_lib_cthreads_libcthreads_condition_free=no 21833fi 21834rm -f core conftest.err conftest.$ac_objext \ 21835 conftest$ac_exeext conftest.$ac_ext 21836LIBS=$ac_check_lib_save_LIBS 21837fi 21838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21839$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21840if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21841 ac_cv_libcthreads_dummy=yes 21842else 21843 ac_cv_libcthreads=no 21844fi 21845 21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21847$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21848if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21849 $as_echo_n "(cached) " >&6 21850else 21851 ac_check_lib_save_LIBS=$LIBS 21852LIBS="-lcthreads $LIBS" 21853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21854/* end confdefs.h. */ 21855 21856/* Override any GCC internal prototype to avoid an error. 21857 Use char because int might match the return type of a GCC 21858 builtin and then its argument prototype would still apply. */ 21859#ifdef __cplusplus 21860extern "C" 21861#endif 21862char libcthreads_condition_broadcast (); 21863int 21864main () 21865{ 21866return libcthreads_condition_broadcast (); 21867 ; 21868 return 0; 21869} 21870_ACEOF 21871if ac_fn_c_try_link "$LINENO"; then : 21872 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21873else 21874 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21875fi 21876rm -f core conftest.err conftest.$ac_objext \ 21877 conftest$ac_exeext conftest.$ac_ext 21878LIBS=$ac_check_lib_save_LIBS 21879fi 21880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21881$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21882if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21883 ac_cv_libcthreads_dummy=yes 21884else 21885 ac_cv_libcthreads=no 21886fi 21887 21888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21889$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21890if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21891 $as_echo_n "(cached) " >&6 21892else 21893 ac_check_lib_save_LIBS=$LIBS 21894LIBS="-lcthreads $LIBS" 21895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21896/* end confdefs.h. */ 21897 21898/* Override any GCC internal prototype to avoid an error. 21899 Use char because int might match the return type of a GCC 21900 builtin and then its argument prototype would still apply. */ 21901#ifdef __cplusplus 21902extern "C" 21903#endif 21904char libcthreads_condition_signal (); 21905int 21906main () 21907{ 21908return libcthreads_condition_signal (); 21909 ; 21910 return 0; 21911} 21912_ACEOF 21913if ac_fn_c_try_link "$LINENO"; then : 21914 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21915else 21916 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21917fi 21918rm -f core conftest.err conftest.$ac_objext \ 21919 conftest$ac_exeext conftest.$ac_ext 21920LIBS=$ac_check_lib_save_LIBS 21921fi 21922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21923$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21924if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21925 ac_cv_libcthreads_dummy=yes 21926else 21927 ac_cv_libcthreads=no 21928fi 21929 21930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21931$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21932if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 21933 $as_echo_n "(cached) " >&6 21934else 21935 ac_check_lib_save_LIBS=$LIBS 21936LIBS="-lcthreads $LIBS" 21937cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21938/* end confdefs.h. */ 21939 21940/* Override any GCC internal prototype to avoid an error. 21941 Use char because int might match the return type of a GCC 21942 builtin and then its argument prototype would still apply. */ 21943#ifdef __cplusplus 21944extern "C" 21945#endif 21946char libcthreads_condition_wait (); 21947int 21948main () 21949{ 21950return libcthreads_condition_wait (); 21951 ; 21952 return 0; 21953} 21954_ACEOF 21955if ac_fn_c_try_link "$LINENO"; then : 21956 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 21957else 21958 ac_cv_lib_cthreads_libcthreads_condition_wait=no 21959fi 21960rm -f core conftest.err conftest.$ac_objext \ 21961 conftest$ac_exeext conftest.$ac_ext 21962LIBS=$ac_check_lib_save_LIBS 21963fi 21964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 21965$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 21966if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 21967 ac_cv_libcthreads_dummy=yes 21968else 21969 ac_cv_libcthreads=no 21970fi 21971 21972 21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 21974$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 21975if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 21976 $as_echo_n "(cached) " >&6 21977else 21978 ac_check_lib_save_LIBS=$LIBS 21979LIBS="-lcthreads $LIBS" 21980cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21981/* end confdefs.h. */ 21982 21983/* Override any GCC internal prototype to avoid an error. 21984 Use char because int might match the return type of a GCC 21985 builtin and then its argument prototype would still apply. */ 21986#ifdef __cplusplus 21987extern "C" 21988#endif 21989char libcthreads_lock_initialize (); 21990int 21991main () 21992{ 21993return libcthreads_lock_initialize (); 21994 ; 21995 return 0; 21996} 21997_ACEOF 21998if ac_fn_c_try_link "$LINENO"; then : 21999 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22000else 22001 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22002fi 22003rm -f core conftest.err conftest.$ac_objext \ 22004 conftest$ac_exeext conftest.$ac_ext 22005LIBS=$ac_check_lib_save_LIBS 22006fi 22007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22008$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22009if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22010 ac_cv_libcthreads_dummy=yes 22011else 22012 ac_cv_libcthreads=no 22013fi 22014 22015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22016$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22017if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22018 $as_echo_n "(cached) " >&6 22019else 22020 ac_check_lib_save_LIBS=$LIBS 22021LIBS="-lcthreads $LIBS" 22022cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22023/* end confdefs.h. */ 22024 22025/* Override any GCC internal prototype to avoid an error. 22026 Use char because int might match the return type of a GCC 22027 builtin and then its argument prototype would still apply. */ 22028#ifdef __cplusplus 22029extern "C" 22030#endif 22031char libcthreads_lock_free (); 22032int 22033main () 22034{ 22035return libcthreads_lock_free (); 22036 ; 22037 return 0; 22038} 22039_ACEOF 22040if ac_fn_c_try_link "$LINENO"; then : 22041 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22042else 22043 ac_cv_lib_cthreads_libcthreads_lock_free=no 22044fi 22045rm -f core conftest.err conftest.$ac_objext \ 22046 conftest$ac_exeext conftest.$ac_ext 22047LIBS=$ac_check_lib_save_LIBS 22048fi 22049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22050$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22051if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22052 ac_cv_libcthreads_dummy=yes 22053else 22054 ac_cv_libcthreads=no 22055fi 22056 22057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22058$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22059if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22060 $as_echo_n "(cached) " >&6 22061else 22062 ac_check_lib_save_LIBS=$LIBS 22063LIBS="-lcthreads $LIBS" 22064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22065/* end confdefs.h. */ 22066 22067/* Override any GCC internal prototype to avoid an error. 22068 Use char because int might match the return type of a GCC 22069 builtin and then its argument prototype would still apply. */ 22070#ifdef __cplusplus 22071extern "C" 22072#endif 22073char libcthreads_lock_grab (); 22074int 22075main () 22076{ 22077return libcthreads_lock_grab (); 22078 ; 22079 return 0; 22080} 22081_ACEOF 22082if ac_fn_c_try_link "$LINENO"; then : 22083 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22084else 22085 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22086fi 22087rm -f core conftest.err conftest.$ac_objext \ 22088 conftest$ac_exeext conftest.$ac_ext 22089LIBS=$ac_check_lib_save_LIBS 22090fi 22091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22092$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22093if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22094 ac_cv_libcthreads_dummy=yes 22095else 22096 ac_cv_libcthreads=no 22097fi 22098 22099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22100$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22101if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22102 $as_echo_n "(cached) " >&6 22103else 22104 ac_check_lib_save_LIBS=$LIBS 22105LIBS="-lcthreads $LIBS" 22106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22107/* end confdefs.h. */ 22108 22109/* Override any GCC internal prototype to avoid an error. 22110 Use char because int might match the return type of a GCC 22111 builtin and then its argument prototype would still apply. */ 22112#ifdef __cplusplus 22113extern "C" 22114#endif 22115char libcthreads_lock_release (); 22116int 22117main () 22118{ 22119return libcthreads_lock_release (); 22120 ; 22121 return 0; 22122} 22123_ACEOF 22124if ac_fn_c_try_link "$LINENO"; then : 22125 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22126else 22127 ac_cv_lib_cthreads_libcthreads_lock_release=no 22128fi 22129rm -f core conftest.err conftest.$ac_objext \ 22130 conftest$ac_exeext conftest.$ac_ext 22131LIBS=$ac_check_lib_save_LIBS 22132fi 22133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22134$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22135if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22136 ac_cv_libcthreads_dummy=yes 22137else 22138 ac_cv_libcthreads=no 22139fi 22140 22141 22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22143$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22144if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22145 $as_echo_n "(cached) " >&6 22146else 22147 ac_check_lib_save_LIBS=$LIBS 22148LIBS="-lcthreads $LIBS" 22149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22150/* end confdefs.h. */ 22151 22152/* Override any GCC internal prototype to avoid an error. 22153 Use char because int might match the return type of a GCC 22154 builtin and then its argument prototype would still apply. */ 22155#ifdef __cplusplus 22156extern "C" 22157#endif 22158char libcthreads_mutex_initialize (); 22159int 22160main () 22161{ 22162return libcthreads_mutex_initialize (); 22163 ; 22164 return 0; 22165} 22166_ACEOF 22167if ac_fn_c_try_link "$LINENO"; then : 22168 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22169else 22170 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22171fi 22172rm -f core conftest.err conftest.$ac_objext \ 22173 conftest$ac_exeext conftest.$ac_ext 22174LIBS=$ac_check_lib_save_LIBS 22175fi 22176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22177$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22178if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22179 ac_cv_libcthreads_dummy=yes 22180else 22181 ac_cv_libcthreads=no 22182fi 22183 22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22185$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22186if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22187 $as_echo_n "(cached) " >&6 22188else 22189 ac_check_lib_save_LIBS=$LIBS 22190LIBS="-lcthreads $LIBS" 22191cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22192/* end confdefs.h. */ 22193 22194/* Override any GCC internal prototype to avoid an error. 22195 Use char because int might match the return type of a GCC 22196 builtin and then its argument prototype would still apply. */ 22197#ifdef __cplusplus 22198extern "C" 22199#endif 22200char libcthreads_mutex_free (); 22201int 22202main () 22203{ 22204return libcthreads_mutex_free (); 22205 ; 22206 return 0; 22207} 22208_ACEOF 22209if ac_fn_c_try_link "$LINENO"; then : 22210 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22211else 22212 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22213fi 22214rm -f core conftest.err conftest.$ac_objext \ 22215 conftest$ac_exeext conftest.$ac_ext 22216LIBS=$ac_check_lib_save_LIBS 22217fi 22218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22219$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22220if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22221 ac_cv_libcthreads_dummy=yes 22222else 22223 ac_cv_libcthreads=no 22224fi 22225 22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22227$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22228if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22229 $as_echo_n "(cached) " >&6 22230else 22231 ac_check_lib_save_LIBS=$LIBS 22232LIBS="-lcthreads $LIBS" 22233cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22234/* end confdefs.h. */ 22235 22236/* Override any GCC internal prototype to avoid an error. 22237 Use char because int might match the return type of a GCC 22238 builtin and then its argument prototype would still apply. */ 22239#ifdef __cplusplus 22240extern "C" 22241#endif 22242char libcthreads_mutex_grab (); 22243int 22244main () 22245{ 22246return libcthreads_mutex_grab (); 22247 ; 22248 return 0; 22249} 22250_ACEOF 22251if ac_fn_c_try_link "$LINENO"; then : 22252 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22253else 22254 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22255fi 22256rm -f core conftest.err conftest.$ac_objext \ 22257 conftest$ac_exeext conftest.$ac_ext 22258LIBS=$ac_check_lib_save_LIBS 22259fi 22260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22261$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22262if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22263 ac_cv_libcthreads_dummy=yes 22264else 22265 ac_cv_libcthreads=no 22266fi 22267 22268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22269$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22270if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22271 $as_echo_n "(cached) " >&6 22272else 22273 ac_check_lib_save_LIBS=$LIBS 22274LIBS="-lcthreads $LIBS" 22275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22276/* end confdefs.h. */ 22277 22278/* Override any GCC internal prototype to avoid an error. 22279 Use char because int might match the return type of a GCC 22280 builtin and then its argument prototype would still apply. */ 22281#ifdef __cplusplus 22282extern "C" 22283#endif 22284char libcthreads_mutex_try_grab (); 22285int 22286main () 22287{ 22288return libcthreads_mutex_try_grab (); 22289 ; 22290 return 0; 22291} 22292_ACEOF 22293if ac_fn_c_try_link "$LINENO"; then : 22294 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22295else 22296 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22297fi 22298rm -f core conftest.err conftest.$ac_objext \ 22299 conftest$ac_exeext conftest.$ac_ext 22300LIBS=$ac_check_lib_save_LIBS 22301fi 22302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22303$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22304if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22305 ac_cv_libcthreads_dummy=yes 22306else 22307 ac_cv_libcthreads=no 22308fi 22309 22310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22311$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22312if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22313 $as_echo_n "(cached) " >&6 22314else 22315 ac_check_lib_save_LIBS=$LIBS 22316LIBS="-lcthreads $LIBS" 22317cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22318/* end confdefs.h. */ 22319 22320/* Override any GCC internal prototype to avoid an error. 22321 Use char because int might match the return type of a GCC 22322 builtin and then its argument prototype would still apply. */ 22323#ifdef __cplusplus 22324extern "C" 22325#endif 22326char libcthreads_mutex_release (); 22327int 22328main () 22329{ 22330return libcthreads_mutex_release (); 22331 ; 22332 return 0; 22333} 22334_ACEOF 22335if ac_fn_c_try_link "$LINENO"; then : 22336 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22337else 22338 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22339fi 22340rm -f core conftest.err conftest.$ac_objext \ 22341 conftest$ac_exeext conftest.$ac_ext 22342LIBS=$ac_check_lib_save_LIBS 22343fi 22344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22345$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22346if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22347 ac_cv_libcthreads_dummy=yes 22348else 22349 ac_cv_libcthreads=no 22350fi 22351 22352 22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22354$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22355if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22356 $as_echo_n "(cached) " >&6 22357else 22358 ac_check_lib_save_LIBS=$LIBS 22359LIBS="-lcthreads $LIBS" 22360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22361/* end confdefs.h. */ 22362 22363/* Override any GCC internal prototype to avoid an error. 22364 Use char because int might match the return type of a GCC 22365 builtin and then its argument prototype would still apply. */ 22366#ifdef __cplusplus 22367extern "C" 22368#endif 22369char libcthreads_read_write_lock_initialize (); 22370int 22371main () 22372{ 22373return libcthreads_read_write_lock_initialize (); 22374 ; 22375 return 0; 22376} 22377_ACEOF 22378if ac_fn_c_try_link "$LINENO"; then : 22379 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22380else 22381 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22382fi 22383rm -f core conftest.err conftest.$ac_objext \ 22384 conftest$ac_exeext conftest.$ac_ext 22385LIBS=$ac_check_lib_save_LIBS 22386fi 22387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22388$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22389if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22390 ac_cv_libcthreads_dummy=yes 22391else 22392 ac_cv_libcthreads=no 22393fi 22394 22395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22396$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22397if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22398 $as_echo_n "(cached) " >&6 22399else 22400 ac_check_lib_save_LIBS=$LIBS 22401LIBS="-lcthreads $LIBS" 22402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22403/* end confdefs.h. */ 22404 22405/* Override any GCC internal prototype to avoid an error. 22406 Use char because int might match the return type of a GCC 22407 builtin and then its argument prototype would still apply. */ 22408#ifdef __cplusplus 22409extern "C" 22410#endif 22411char libcthreads_read_write_lock_free (); 22412int 22413main () 22414{ 22415return libcthreads_read_write_lock_free (); 22416 ; 22417 return 0; 22418} 22419_ACEOF 22420if ac_fn_c_try_link "$LINENO"; then : 22421 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22422else 22423 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22424fi 22425rm -f core conftest.err conftest.$ac_objext \ 22426 conftest$ac_exeext conftest.$ac_ext 22427LIBS=$ac_check_lib_save_LIBS 22428fi 22429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22430$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22431if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22432 ac_cv_libcthreads_dummy=yes 22433else 22434 ac_cv_libcthreads=no 22435fi 22436 22437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22438$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22439if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22440 $as_echo_n "(cached) " >&6 22441else 22442 ac_check_lib_save_LIBS=$LIBS 22443LIBS="-lcthreads $LIBS" 22444cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22445/* end confdefs.h. */ 22446 22447/* Override any GCC internal prototype to avoid an error. 22448 Use char because int might match the return type of a GCC 22449 builtin and then its argument prototype would still apply. */ 22450#ifdef __cplusplus 22451extern "C" 22452#endif 22453char libcthreads_read_write_lock_grab_for_read (); 22454int 22455main () 22456{ 22457return libcthreads_read_write_lock_grab_for_read (); 22458 ; 22459 return 0; 22460} 22461_ACEOF 22462if ac_fn_c_try_link "$LINENO"; then : 22463 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22464else 22465 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22466fi 22467rm -f core conftest.err conftest.$ac_objext \ 22468 conftest$ac_exeext conftest.$ac_ext 22469LIBS=$ac_check_lib_save_LIBS 22470fi 22471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22472$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22473if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22474 ac_cv_libcthreads_dummy=yes 22475else 22476 ac_cv_libcthreads=no 22477fi 22478 22479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22480$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22481if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22482 $as_echo_n "(cached) " >&6 22483else 22484 ac_check_lib_save_LIBS=$LIBS 22485LIBS="-lcthreads $LIBS" 22486cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22487/* end confdefs.h. */ 22488 22489/* Override any GCC internal prototype to avoid an error. 22490 Use char because int might match the return type of a GCC 22491 builtin and then its argument prototype would still apply. */ 22492#ifdef __cplusplus 22493extern "C" 22494#endif 22495char libcthreads_read_write_lock_grab_for_write (); 22496int 22497main () 22498{ 22499return libcthreads_read_write_lock_grab_for_write (); 22500 ; 22501 return 0; 22502} 22503_ACEOF 22504if ac_fn_c_try_link "$LINENO"; then : 22505 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22506else 22507 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22508fi 22509rm -f core conftest.err conftest.$ac_objext \ 22510 conftest$ac_exeext conftest.$ac_ext 22511LIBS=$ac_check_lib_save_LIBS 22512fi 22513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22514$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22515if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22516 ac_cv_libcthreads_dummy=yes 22517else 22518 ac_cv_libcthreads=no 22519fi 22520 22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22522$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22523if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22524 $as_echo_n "(cached) " >&6 22525else 22526 ac_check_lib_save_LIBS=$LIBS 22527LIBS="-lcthreads $LIBS" 22528cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22529/* end confdefs.h. */ 22530 22531/* Override any GCC internal prototype to avoid an error. 22532 Use char because int might match the return type of a GCC 22533 builtin and then its argument prototype would still apply. */ 22534#ifdef __cplusplus 22535extern "C" 22536#endif 22537char libcthreads_read_write_lock_release_for_read (); 22538int 22539main () 22540{ 22541return libcthreads_read_write_lock_release_for_read (); 22542 ; 22543 return 0; 22544} 22545_ACEOF 22546if ac_fn_c_try_link "$LINENO"; then : 22547 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22548else 22549 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22550fi 22551rm -f core conftest.err conftest.$ac_objext \ 22552 conftest$ac_exeext conftest.$ac_ext 22553LIBS=$ac_check_lib_save_LIBS 22554fi 22555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22556$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22557if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22558 ac_cv_libcthreads_dummy=yes 22559else 22560 ac_cv_libcthreads=no 22561fi 22562 22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22564$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22565if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22566 $as_echo_n "(cached) " >&6 22567else 22568 ac_check_lib_save_LIBS=$LIBS 22569LIBS="-lcthreads $LIBS" 22570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22571/* end confdefs.h. */ 22572 22573/* Override any GCC internal prototype to avoid an error. 22574 Use char because int might match the return type of a GCC 22575 builtin and then its argument prototype would still apply. */ 22576#ifdef __cplusplus 22577extern "C" 22578#endif 22579char libcthreads_read_write_lock_release_for_write (); 22580int 22581main () 22582{ 22583return libcthreads_read_write_lock_release_for_write (); 22584 ; 22585 return 0; 22586} 22587_ACEOF 22588if ac_fn_c_try_link "$LINENO"; then : 22589 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22590else 22591 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22592fi 22593rm -f core conftest.err conftest.$ac_objext \ 22594 conftest$ac_exeext conftest.$ac_ext 22595LIBS=$ac_check_lib_save_LIBS 22596fi 22597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22598$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22599if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22600 ac_cv_libcthreads_dummy=yes 22601else 22602 ac_cv_libcthreads=no 22603fi 22604 22605 22606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22607$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22608if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22609 $as_echo_n "(cached) " >&6 22610else 22611 ac_check_lib_save_LIBS=$LIBS 22612LIBS="-lcthreads $LIBS" 22613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22614/* end confdefs.h. */ 22615 22616/* Override any GCC internal prototype to avoid an error. 22617 Use char because int might match the return type of a GCC 22618 builtin and then its argument prototype would still apply. */ 22619#ifdef __cplusplus 22620extern "C" 22621#endif 22622char libcthreads_queue_initialize (); 22623int 22624main () 22625{ 22626return libcthreads_queue_initialize (); 22627 ; 22628 return 0; 22629} 22630_ACEOF 22631if ac_fn_c_try_link "$LINENO"; then : 22632 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22633else 22634 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22635fi 22636rm -f core conftest.err conftest.$ac_objext \ 22637 conftest$ac_exeext conftest.$ac_ext 22638LIBS=$ac_check_lib_save_LIBS 22639fi 22640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22641$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22642if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22643 ac_cv_libcthreads_dummy=yes 22644else 22645 ac_cv_libcthreads=no 22646fi 22647 22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22649$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22650if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22651 $as_echo_n "(cached) " >&6 22652else 22653 ac_check_lib_save_LIBS=$LIBS 22654LIBS="-lcthreads $LIBS" 22655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22656/* end confdefs.h. */ 22657 22658/* Override any GCC internal prototype to avoid an error. 22659 Use char because int might match the return type of a GCC 22660 builtin and then its argument prototype would still apply. */ 22661#ifdef __cplusplus 22662extern "C" 22663#endif 22664char libcthreads_queue_free (); 22665int 22666main () 22667{ 22668return libcthreads_queue_free (); 22669 ; 22670 return 0; 22671} 22672_ACEOF 22673if ac_fn_c_try_link "$LINENO"; then : 22674 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22675else 22676 ac_cv_lib_cthreads_libcthreads_queue_free=no 22677fi 22678rm -f core conftest.err conftest.$ac_objext \ 22679 conftest$ac_exeext conftest.$ac_ext 22680LIBS=$ac_check_lib_save_LIBS 22681fi 22682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22683$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22684if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22685 ac_cv_libcthreads_dummy=yes 22686else 22687 ac_cv_libcthreads=no 22688fi 22689 22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22691$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22692if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22693 $as_echo_n "(cached) " >&6 22694else 22695 ac_check_lib_save_LIBS=$LIBS 22696LIBS="-lcthreads $LIBS" 22697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22698/* end confdefs.h. */ 22699 22700/* Override any GCC internal prototype to avoid an error. 22701 Use char because int might match the return type of a GCC 22702 builtin and then its argument prototype would still apply. */ 22703#ifdef __cplusplus 22704extern "C" 22705#endif 22706char libcthreads_queue_type_pop (); 22707int 22708main () 22709{ 22710return libcthreads_queue_type_pop (); 22711 ; 22712 return 0; 22713} 22714_ACEOF 22715if ac_fn_c_try_link "$LINENO"; then : 22716 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22717else 22718 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22719fi 22720rm -f core conftest.err conftest.$ac_objext \ 22721 conftest$ac_exeext conftest.$ac_ext 22722LIBS=$ac_check_lib_save_LIBS 22723fi 22724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22725$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22726if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22727 ac_cv_libcthreads_dummy=yes 22728else 22729 ac_cv_libcthreads=no 22730fi 22731 22732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22733$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22734if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22735 $as_echo_n "(cached) " >&6 22736else 22737 ac_check_lib_save_LIBS=$LIBS 22738LIBS="-lcthreads $LIBS" 22739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22740/* end confdefs.h. */ 22741 22742/* Override any GCC internal prototype to avoid an error. 22743 Use char because int might match the return type of a GCC 22744 builtin and then its argument prototype would still apply. */ 22745#ifdef __cplusplus 22746extern "C" 22747#endif 22748char libcthreads_queue_pop (); 22749int 22750main () 22751{ 22752return libcthreads_queue_pop (); 22753 ; 22754 return 0; 22755} 22756_ACEOF 22757if ac_fn_c_try_link "$LINENO"; then : 22758 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22759else 22760 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22761fi 22762rm -f core conftest.err conftest.$ac_objext \ 22763 conftest$ac_exeext conftest.$ac_ext 22764LIBS=$ac_check_lib_save_LIBS 22765fi 22766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22767$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22768if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22769 ac_cv_libcthreads_dummy=yes 22770else 22771 ac_cv_libcthreads=no 22772fi 22773 22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22775$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22776if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22777 $as_echo_n "(cached) " >&6 22778else 22779 ac_check_lib_save_LIBS=$LIBS 22780LIBS="-lcthreads $LIBS" 22781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22782/* end confdefs.h. */ 22783 22784/* Override any GCC internal prototype to avoid an error. 22785 Use char because int might match the return type of a GCC 22786 builtin and then its argument prototype would still apply. */ 22787#ifdef __cplusplus 22788extern "C" 22789#endif 22790char libcthreads_queue_try_push (); 22791int 22792main () 22793{ 22794return libcthreads_queue_try_push (); 22795 ; 22796 return 0; 22797} 22798_ACEOF 22799if ac_fn_c_try_link "$LINENO"; then : 22800 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22801else 22802 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22803fi 22804rm -f core conftest.err conftest.$ac_objext \ 22805 conftest$ac_exeext conftest.$ac_ext 22806LIBS=$ac_check_lib_save_LIBS 22807fi 22808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22809$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22810if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22811 ac_cv_libcthreads_dummy=yes 22812else 22813 ac_cv_libcthreads=no 22814fi 22815 22816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22817$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22818if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22819 $as_echo_n "(cached) " >&6 22820else 22821 ac_check_lib_save_LIBS=$LIBS 22822LIBS="-lcthreads $LIBS" 22823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22824/* end confdefs.h. */ 22825 22826/* Override any GCC internal prototype to avoid an error. 22827 Use char because int might match the return type of a GCC 22828 builtin and then its argument prototype would still apply. */ 22829#ifdef __cplusplus 22830extern "C" 22831#endif 22832char libcthreads_queue_push (); 22833int 22834main () 22835{ 22836return libcthreads_queue_push (); 22837 ; 22838 return 0; 22839} 22840_ACEOF 22841if ac_fn_c_try_link "$LINENO"; then : 22842 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22843else 22844 ac_cv_lib_cthreads_libcthreads_queue_push=no 22845fi 22846rm -f core conftest.err conftest.$ac_objext \ 22847 conftest$ac_exeext conftest.$ac_ext 22848LIBS=$ac_check_lib_save_LIBS 22849fi 22850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22851$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22852if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22853 ac_cv_libcthreads_dummy=yes 22854else 22855 ac_cv_libcthreads=no 22856fi 22857 22858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22859$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22860if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22861 $as_echo_n "(cached) " >&6 22862else 22863 ac_check_lib_save_LIBS=$LIBS 22864LIBS="-lcthreads $LIBS" 22865cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22866/* end confdefs.h. */ 22867 22868/* Override any GCC internal prototype to avoid an error. 22869 Use char because int might match the return type of a GCC 22870 builtin and then its argument prototype would still apply. */ 22871#ifdef __cplusplus 22872extern "C" 22873#endif 22874char libcthreads_queue_push_sorted (); 22875int 22876main () 22877{ 22878return libcthreads_queue_push_sorted (); 22879 ; 22880 return 0; 22881} 22882_ACEOF 22883if ac_fn_c_try_link "$LINENO"; then : 22884 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22885else 22886 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22887fi 22888rm -f core conftest.err conftest.$ac_objext \ 22889 conftest$ac_exeext conftest.$ac_ext 22890LIBS=$ac_check_lib_save_LIBS 22891fi 22892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22893$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22894if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22895 ac_cv_libcthreads_dummy=yes 22896else 22897 ac_cv_libcthreads=no 22898fi 22899 22900 22901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22902$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22903if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22904 $as_echo_n "(cached) " >&6 22905else 22906 ac_check_lib_save_LIBS=$LIBS 22907LIBS="-lcthreads $LIBS" 22908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22909/* end confdefs.h. */ 22910 22911/* Override any GCC internal prototype to avoid an error. 22912 Use char because int might match the return type of a GCC 22913 builtin and then its argument prototype would still apply. */ 22914#ifdef __cplusplus 22915extern "C" 22916#endif 22917char libcthreads_thread_pool_create (); 22918int 22919main () 22920{ 22921return libcthreads_thread_pool_create (); 22922 ; 22923 return 0; 22924} 22925_ACEOF 22926if ac_fn_c_try_link "$LINENO"; then : 22927 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22928else 22929 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22930fi 22931rm -f core conftest.err conftest.$ac_objext \ 22932 conftest$ac_exeext conftest.$ac_ext 22933LIBS=$ac_check_lib_save_LIBS 22934fi 22935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22936$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22937if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22938 ac_cv_libcthreads_dummy=yes 22939else 22940 ac_cv_libcthreads=no 22941fi 22942 22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 22944$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 22945if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 22946 $as_echo_n "(cached) " >&6 22947else 22948 ac_check_lib_save_LIBS=$LIBS 22949LIBS="-lcthreads $LIBS" 22950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22951/* end confdefs.h. */ 22952 22953/* Override any GCC internal prototype to avoid an error. 22954 Use char because int might match the return type of a GCC 22955 builtin and then its argument prototype would still apply. */ 22956#ifdef __cplusplus 22957extern "C" 22958#endif 22959char libcthreads_thread_pool_push (); 22960int 22961main () 22962{ 22963return libcthreads_thread_pool_push (); 22964 ; 22965 return 0; 22966} 22967_ACEOF 22968if ac_fn_c_try_link "$LINENO"; then : 22969 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 22970else 22971 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 22972fi 22973rm -f core conftest.err conftest.$ac_objext \ 22974 conftest$ac_exeext conftest.$ac_ext 22975LIBS=$ac_check_lib_save_LIBS 22976fi 22977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 22978$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 22979if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 22980 ac_cv_libcthreads_dummy=yes 22981else 22982 ac_cv_libcthreads=no 22983fi 22984 22985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 22986$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 22987if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 22988 $as_echo_n "(cached) " >&6 22989else 22990 ac_check_lib_save_LIBS=$LIBS 22991LIBS="-lcthreads $LIBS" 22992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22993/* end confdefs.h. */ 22994 22995/* Override any GCC internal prototype to avoid an error. 22996 Use char because int might match the return type of a GCC 22997 builtin and then its argument prototype would still apply. */ 22998#ifdef __cplusplus 22999extern "C" 23000#endif 23001char libcthreads_thread_pool_push_sorted (); 23002int 23003main () 23004{ 23005return libcthreads_thread_pool_push_sorted (); 23006 ; 23007 return 0; 23008} 23009_ACEOF 23010if ac_fn_c_try_link "$LINENO"; then : 23011 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23012else 23013 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23014fi 23015rm -f core conftest.err conftest.$ac_objext \ 23016 conftest$ac_exeext conftest.$ac_ext 23017LIBS=$ac_check_lib_save_LIBS 23018fi 23019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23020$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23021if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23022 ac_cv_libcthreads_dummy=yes 23023else 23024 ac_cv_libcthreads=no 23025fi 23026 23027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23028$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23029if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23030 $as_echo_n "(cached) " >&6 23031else 23032 ac_check_lib_save_LIBS=$LIBS 23033LIBS="-lcthreads $LIBS" 23034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23035/* end confdefs.h. */ 23036 23037/* Override any GCC internal prototype to avoid an error. 23038 Use char because int might match the return type of a GCC 23039 builtin and then its argument prototype would still apply. */ 23040#ifdef __cplusplus 23041extern "C" 23042#endif 23043char libcthreads_thread_pool_join (); 23044int 23045main () 23046{ 23047return libcthreads_thread_pool_join (); 23048 ; 23049 return 0; 23050} 23051_ACEOF 23052if ac_fn_c_try_link "$LINENO"; then : 23053 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23054else 23055 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23056fi 23057rm -f core conftest.err conftest.$ac_objext \ 23058 conftest$ac_exeext conftest.$ac_ext 23059LIBS=$ac_check_lib_save_LIBS 23060fi 23061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23062$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23063if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23064 ac_cv_libcthreads_dummy=yes 23065else 23066 ac_cv_libcthreads=no 23067fi 23068 23069 23070 ac_cv_libcthreads_LIBADD="-lcthreads" 23071fi 23072 23073fi 23074 23075 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23078as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23079See \`config.log' for more details" "$LINENO" 5; } 23080 23081fi 23082 23083fi 23084 23085 if test "x$ac_cv_libcthreads" = xyes; then : 23086 23087$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23088 23089 23090fi 23091 23092 if test "x$ac_cv_libcthreads" = xyes; then : 23093 ac_cv_libcthreads_multi_threading=libcthreads 23094else 23095 ac_cv_libcthreads_multi_threading=no 23096fi 23097 23098 if test "x$ac_cv_libcthreads" = xyes; then : 23099 HAVE_LIBCTHREADS=1 23100 23101else 23102 HAVE_LIBCTHREADS=0 23103 23104 23105fi 23106 23107 23108 if test "x$ac_cv_libcthreads" != xyes; then : 23109 if test "x$ac_cv_enable_winapi" = xno; then : 23110 23111 23112# Check whether --with-pthread was given. 23113if test "${with_pthread+set}" = set; then : 23114 withval=$with_pthread; ac_cv_with_pthread=$withval 23115else 23116 ac_cv_with_pthread=auto-detect 23117fi 23118 23119 { $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 23120$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; } 23121if ${ac_cv_with_pthread+:} false; then : 23122 $as_echo_n "(cached) " >&6 23123else 23124 ac_cv_with_pthread=auto-detect 23125fi 23126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23127$as_echo "$ac_cv_with_pthread" >&6; } 23128 23129 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23130 if test -d "$ac_cv_with_pthread"; then : 23131 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23132 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23133else 23134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23135$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23136 23137fi 23138 23139fi 23140 23141 if test "x$ac_cv_with_pthread" = xno; then : 23142 ac_cv_pthread=no 23143else 23144 for ac_header in pthread.h 23145do : 23146 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23147if test "x$ac_cv_header_pthread_h" = xyes; then : 23148 cat >>confdefs.h <<_ACEOF 23149#define HAVE_PTHREAD_H 1 23150_ACEOF 23151 23152fi 23153 23154done 23155 23156 23157 if test "x$ac_cv_header_pthread_h" = xno; then : 23158 ac_cv_pthread=no 23159else 23160 ac_cv_pthread=pthread 23161 23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23163$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23164if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23165 $as_echo_n "(cached) " >&6 23166else 23167 ac_check_lib_save_LIBS=$LIBS 23168LIBS="-lpthread $LIBS" 23169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23170/* end confdefs.h. */ 23171 23172/* Override any GCC internal prototype to avoid an error. 23173 Use char because int might match the return type of a GCC 23174 builtin and then its argument prototype would still apply. */ 23175#ifdef __cplusplus 23176extern "C" 23177#endif 23178char pthread_create (); 23179int 23180main () 23181{ 23182return pthread_create (); 23183 ; 23184 return 0; 23185} 23186_ACEOF 23187if ac_fn_c_try_link "$LINENO"; then : 23188 ac_cv_lib_pthread_pthread_create=yes 23189else 23190 ac_cv_lib_pthread_pthread_create=no 23191fi 23192rm -f core conftest.err conftest.$ac_objext \ 23193 conftest$ac_exeext conftest.$ac_ext 23194LIBS=$ac_check_lib_save_LIBS 23195fi 23196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23197$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23198if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23199 ac_pthread_dummy=yes 23200else 23201 ac_cv_pthread=no 23202fi 23203 23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23205$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23206if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23207 $as_echo_n "(cached) " >&6 23208else 23209 ac_check_lib_save_LIBS=$LIBS 23210LIBS="-lpthread $LIBS" 23211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23212/* end confdefs.h. */ 23213 23214/* Override any GCC internal prototype to avoid an error. 23215 Use char because int might match the return type of a GCC 23216 builtin and then its argument prototype would still apply. */ 23217#ifdef __cplusplus 23218extern "C" 23219#endif 23220char pthread_exit (); 23221int 23222main () 23223{ 23224return pthread_exit (); 23225 ; 23226 return 0; 23227} 23228_ACEOF 23229if ac_fn_c_try_link "$LINENO"; then : 23230 ac_cv_lib_pthread_pthread_exit=yes 23231else 23232 ac_cv_lib_pthread_pthread_exit=no 23233fi 23234rm -f core conftest.err conftest.$ac_objext \ 23235 conftest$ac_exeext conftest.$ac_ext 23236LIBS=$ac_check_lib_save_LIBS 23237fi 23238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23239$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23240if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23241 ac_pthread_dummy=yes 23242else 23243 ac_cv_pthread=no 23244fi 23245 23246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23247$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23248if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23249 $as_echo_n "(cached) " >&6 23250else 23251 ac_check_lib_save_LIBS=$LIBS 23252LIBS="-lpthread $LIBS" 23253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23254/* end confdefs.h. */ 23255 23256/* Override any GCC internal prototype to avoid an error. 23257 Use char because int might match the return type of a GCC 23258 builtin and then its argument prototype would still apply. */ 23259#ifdef __cplusplus 23260extern "C" 23261#endif 23262char pthread_join (); 23263int 23264main () 23265{ 23266return pthread_join (); 23267 ; 23268 return 0; 23269} 23270_ACEOF 23271if ac_fn_c_try_link "$LINENO"; then : 23272 ac_cv_lib_pthread_pthread_join=yes 23273else 23274 ac_cv_lib_pthread_pthread_join=no 23275fi 23276rm -f core conftest.err conftest.$ac_objext \ 23277 conftest$ac_exeext conftest.$ac_ext 23278LIBS=$ac_check_lib_save_LIBS 23279fi 23280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23281$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23282if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23283 ac_pthread_dummy=yes 23284else 23285 ac_cv_pthread=no 23286fi 23287 23288 23289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23290$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23291if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23292 $as_echo_n "(cached) " >&6 23293else 23294 ac_check_lib_save_LIBS=$LIBS 23295LIBS="-lpthread $LIBS" 23296cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23297/* end confdefs.h. */ 23298 23299/* Override any GCC internal prototype to avoid an error. 23300 Use char because int might match the return type of a GCC 23301 builtin and then its argument prototype would still apply. */ 23302#ifdef __cplusplus 23303extern "C" 23304#endif 23305char pthread_cond_init (); 23306int 23307main () 23308{ 23309return pthread_cond_init (); 23310 ; 23311 return 0; 23312} 23313_ACEOF 23314if ac_fn_c_try_link "$LINENO"; then : 23315 ac_cv_lib_pthread_pthread_cond_init=yes 23316else 23317 ac_cv_lib_pthread_pthread_cond_init=no 23318fi 23319rm -f core conftest.err conftest.$ac_objext \ 23320 conftest$ac_exeext conftest.$ac_ext 23321LIBS=$ac_check_lib_save_LIBS 23322fi 23323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23324$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23325if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23326 ac_pthread_dummy=yes 23327else 23328 ac_cv_pthread=no 23329fi 23330 23331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23332$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23333if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23334 $as_echo_n "(cached) " >&6 23335else 23336 ac_check_lib_save_LIBS=$LIBS 23337LIBS="-lpthread $LIBS" 23338cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23339/* end confdefs.h. */ 23340 23341/* Override any GCC internal prototype to avoid an error. 23342 Use char because int might match the return type of a GCC 23343 builtin and then its argument prototype would still apply. */ 23344#ifdef __cplusplus 23345extern "C" 23346#endif 23347char pthread_cond_destroy (); 23348int 23349main () 23350{ 23351return pthread_cond_destroy (); 23352 ; 23353 return 0; 23354} 23355_ACEOF 23356if ac_fn_c_try_link "$LINENO"; then : 23357 ac_cv_lib_pthread_pthread_cond_destroy=yes 23358else 23359 ac_cv_lib_pthread_pthread_cond_destroy=no 23360fi 23361rm -f core conftest.err conftest.$ac_objext \ 23362 conftest$ac_exeext conftest.$ac_ext 23363LIBS=$ac_check_lib_save_LIBS 23364fi 23365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23366$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23367if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23368 ac_pthread_dummy=yes 23369else 23370 ac_cv_pthread=no 23371fi 23372 23373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23374$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23375if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23376 $as_echo_n "(cached) " >&6 23377else 23378 ac_check_lib_save_LIBS=$LIBS 23379LIBS="-lpthread $LIBS" 23380cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23381/* end confdefs.h. */ 23382 23383/* Override any GCC internal prototype to avoid an error. 23384 Use char because int might match the return type of a GCC 23385 builtin and then its argument prototype would still apply. */ 23386#ifdef __cplusplus 23387extern "C" 23388#endif 23389char pthread_cond_broadcast (); 23390int 23391main () 23392{ 23393return pthread_cond_broadcast (); 23394 ; 23395 return 0; 23396} 23397_ACEOF 23398if ac_fn_c_try_link "$LINENO"; then : 23399 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23400else 23401 ac_cv_lib_pthread_pthread_cond_broadcast=no 23402fi 23403rm -f core conftest.err conftest.$ac_objext \ 23404 conftest$ac_exeext conftest.$ac_ext 23405LIBS=$ac_check_lib_save_LIBS 23406fi 23407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23408$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23409if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23410 ac_pthread_dummy=yes 23411else 23412 ac_cv_pthread=no 23413fi 23414 23415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23416$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23417if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23418 $as_echo_n "(cached) " >&6 23419else 23420 ac_check_lib_save_LIBS=$LIBS 23421LIBS="-lpthread $LIBS" 23422cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23423/* end confdefs.h. */ 23424 23425/* Override any GCC internal prototype to avoid an error. 23426 Use char because int might match the return type of a GCC 23427 builtin and then its argument prototype would still apply. */ 23428#ifdef __cplusplus 23429extern "C" 23430#endif 23431char pthread_cond_signal (); 23432int 23433main () 23434{ 23435return pthread_cond_signal (); 23436 ; 23437 return 0; 23438} 23439_ACEOF 23440if ac_fn_c_try_link "$LINENO"; then : 23441 ac_cv_lib_pthread_pthread_cond_signal=yes 23442else 23443 ac_cv_lib_pthread_pthread_cond_signal=no 23444fi 23445rm -f core conftest.err conftest.$ac_objext \ 23446 conftest$ac_exeext conftest.$ac_ext 23447LIBS=$ac_check_lib_save_LIBS 23448fi 23449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23450$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23451if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23452 ac_pthread_dummy=yes 23453else 23454 ac_cv_pthread=no 23455fi 23456 23457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23458$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23459if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23460 $as_echo_n "(cached) " >&6 23461else 23462 ac_check_lib_save_LIBS=$LIBS 23463LIBS="-lpthread $LIBS" 23464cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23465/* end confdefs.h. */ 23466 23467/* Override any GCC internal prototype to avoid an error. 23468 Use char because int might match the return type of a GCC 23469 builtin and then its argument prototype would still apply. */ 23470#ifdef __cplusplus 23471extern "C" 23472#endif 23473char pthread_cond_wait (); 23474int 23475main () 23476{ 23477return pthread_cond_wait (); 23478 ; 23479 return 0; 23480} 23481_ACEOF 23482if ac_fn_c_try_link "$LINENO"; then : 23483 ac_cv_lib_pthread_pthread_cond_wait=yes 23484else 23485 ac_cv_lib_pthread_pthread_cond_wait=no 23486fi 23487rm -f core conftest.err conftest.$ac_objext \ 23488 conftest$ac_exeext conftest.$ac_ext 23489LIBS=$ac_check_lib_save_LIBS 23490fi 23491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23492$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23493if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23494 ac_pthread_dummy=yes 23495else 23496 ac_cv_pthread=no 23497fi 23498 23499 23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23501$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23502if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23503 $as_echo_n "(cached) " >&6 23504else 23505 ac_check_lib_save_LIBS=$LIBS 23506LIBS="-lpthread $LIBS" 23507cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23508/* end confdefs.h. */ 23509 23510/* Override any GCC internal prototype to avoid an error. 23511 Use char because int might match the return type of a GCC 23512 builtin and then its argument prototype would still apply. */ 23513#ifdef __cplusplus 23514extern "C" 23515#endif 23516char pthread_mutex_init (); 23517int 23518main () 23519{ 23520return pthread_mutex_init (); 23521 ; 23522 return 0; 23523} 23524_ACEOF 23525if ac_fn_c_try_link "$LINENO"; then : 23526 ac_cv_lib_pthread_pthread_mutex_init=yes 23527else 23528 ac_cv_lib_pthread_pthread_mutex_init=no 23529fi 23530rm -f core conftest.err conftest.$ac_objext \ 23531 conftest$ac_exeext conftest.$ac_ext 23532LIBS=$ac_check_lib_save_LIBS 23533fi 23534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23535$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23536if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23537 ac_pthread_dummy=yes 23538else 23539 ac_cv_pthread=no 23540fi 23541 23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23543$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23544if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23545 $as_echo_n "(cached) " >&6 23546else 23547 ac_check_lib_save_LIBS=$LIBS 23548LIBS="-lpthread $LIBS" 23549cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23550/* end confdefs.h. */ 23551 23552/* Override any GCC internal prototype to avoid an error. 23553 Use char because int might match the return type of a GCC 23554 builtin and then its argument prototype would still apply. */ 23555#ifdef __cplusplus 23556extern "C" 23557#endif 23558char pthread_mutex_destroy (); 23559int 23560main () 23561{ 23562return pthread_mutex_destroy (); 23563 ; 23564 return 0; 23565} 23566_ACEOF 23567if ac_fn_c_try_link "$LINENO"; then : 23568 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23569else 23570 ac_cv_lib_pthread_pthread_mutex_destroy=no 23571fi 23572rm -f core conftest.err conftest.$ac_objext \ 23573 conftest$ac_exeext conftest.$ac_ext 23574LIBS=$ac_check_lib_save_LIBS 23575fi 23576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23577$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23578if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23579 ac_pthread_dummy=yes 23580else 23581 ac_cv_pthread=no 23582fi 23583 23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23585$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23586if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23587 $as_echo_n "(cached) " >&6 23588else 23589 ac_check_lib_save_LIBS=$LIBS 23590LIBS="-lpthread $LIBS" 23591cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23592/* end confdefs.h. */ 23593 23594/* Override any GCC internal prototype to avoid an error. 23595 Use char because int might match the return type of a GCC 23596 builtin and then its argument prototype would still apply. */ 23597#ifdef __cplusplus 23598extern "C" 23599#endif 23600char pthread_mutex_lock (); 23601int 23602main () 23603{ 23604return pthread_mutex_lock (); 23605 ; 23606 return 0; 23607} 23608_ACEOF 23609if ac_fn_c_try_link "$LINENO"; then : 23610 ac_cv_lib_pthread_pthread_mutex_lock=yes 23611else 23612 ac_cv_lib_pthread_pthread_mutex_lock=no 23613fi 23614rm -f core conftest.err conftest.$ac_objext \ 23615 conftest$ac_exeext conftest.$ac_ext 23616LIBS=$ac_check_lib_save_LIBS 23617fi 23618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23619$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23620if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23621 ac_pthread_dummy=yes 23622else 23623 ac_cv_pthread=no 23624fi 23625 23626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23627$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23628if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23629 $as_echo_n "(cached) " >&6 23630else 23631 ac_check_lib_save_LIBS=$LIBS 23632LIBS="-lpthread $LIBS" 23633cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23634/* end confdefs.h. */ 23635 23636/* Override any GCC internal prototype to avoid an error. 23637 Use char because int might match the return type of a GCC 23638 builtin and then its argument prototype would still apply. */ 23639#ifdef __cplusplus 23640extern "C" 23641#endif 23642char pthread_mutex_trylock (); 23643int 23644main () 23645{ 23646return pthread_mutex_trylock (); 23647 ; 23648 return 0; 23649} 23650_ACEOF 23651if ac_fn_c_try_link "$LINENO"; then : 23652 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23653else 23654 ac_cv_lib_pthread_pthread_mutex_trylock=no 23655fi 23656rm -f core conftest.err conftest.$ac_objext \ 23657 conftest$ac_exeext conftest.$ac_ext 23658LIBS=$ac_check_lib_save_LIBS 23659fi 23660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23661$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23662if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23663 ac_pthread_dummy=yes 23664else 23665 ac_cv_pthread=no 23666fi 23667 23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23669$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23670if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23671 $as_echo_n "(cached) " >&6 23672else 23673 ac_check_lib_save_LIBS=$LIBS 23674LIBS="-lpthread $LIBS" 23675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23676/* end confdefs.h. */ 23677 23678/* Override any GCC internal prototype to avoid an error. 23679 Use char because int might match the return type of a GCC 23680 builtin and then its argument prototype would still apply. */ 23681#ifdef __cplusplus 23682extern "C" 23683#endif 23684char pthread_mutex_unlock (); 23685int 23686main () 23687{ 23688return pthread_mutex_unlock (); 23689 ; 23690 return 0; 23691} 23692_ACEOF 23693if ac_fn_c_try_link "$LINENO"; then : 23694 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23695else 23696 ac_cv_lib_pthread_pthread_mutex_unlock=no 23697fi 23698rm -f core conftest.err conftest.$ac_objext \ 23699 conftest$ac_exeext conftest.$ac_ext 23700LIBS=$ac_check_lib_save_LIBS 23701fi 23702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23703$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23704if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23705 ac_pthread_dummy=yes 23706else 23707 ac_cv_pthread=no 23708fi 23709 23710 23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23712$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23713if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23714 $as_echo_n "(cached) " >&6 23715else 23716 ac_check_lib_save_LIBS=$LIBS 23717LIBS="-lpthread $LIBS" 23718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23719/* end confdefs.h. */ 23720 23721/* Override any GCC internal prototype to avoid an error. 23722 Use char because int might match the return type of a GCC 23723 builtin and then its argument prototype would still apply. */ 23724#ifdef __cplusplus 23725extern "C" 23726#endif 23727char pthread_rwlock_init (); 23728int 23729main () 23730{ 23731return pthread_rwlock_init (); 23732 ; 23733 return 0; 23734} 23735_ACEOF 23736if ac_fn_c_try_link "$LINENO"; then : 23737 ac_cv_lib_pthread_pthread_rwlock_init=yes 23738else 23739 ac_cv_lib_pthread_pthread_rwlock_init=no 23740fi 23741rm -f core conftest.err conftest.$ac_objext \ 23742 conftest$ac_exeext conftest.$ac_ext 23743LIBS=$ac_check_lib_save_LIBS 23744fi 23745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23746$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23747if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23748 ac_pthread_dummy=yes 23749else 23750 ac_cv_pthread=no 23751fi 23752 23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23754$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23755if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23756 $as_echo_n "(cached) " >&6 23757else 23758 ac_check_lib_save_LIBS=$LIBS 23759LIBS="-lpthread $LIBS" 23760cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23761/* end confdefs.h. */ 23762 23763/* Override any GCC internal prototype to avoid an error. 23764 Use char because int might match the return type of a GCC 23765 builtin and then its argument prototype would still apply. */ 23766#ifdef __cplusplus 23767extern "C" 23768#endif 23769char pthread_rwlock_destroy (); 23770int 23771main () 23772{ 23773return pthread_rwlock_destroy (); 23774 ; 23775 return 0; 23776} 23777_ACEOF 23778if ac_fn_c_try_link "$LINENO"; then : 23779 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23780else 23781 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23782fi 23783rm -f core conftest.err conftest.$ac_objext \ 23784 conftest$ac_exeext conftest.$ac_ext 23785LIBS=$ac_check_lib_save_LIBS 23786fi 23787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23788$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23789if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23790 ac_pthread_dummy=yes 23791else 23792 ac_cv_pthread=no 23793fi 23794 23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23796$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23797if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23798 $as_echo_n "(cached) " >&6 23799else 23800 ac_check_lib_save_LIBS=$LIBS 23801LIBS="-lpthread $LIBS" 23802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23803/* end confdefs.h. */ 23804 23805/* Override any GCC internal prototype to avoid an error. 23806 Use char because int might match the return type of a GCC 23807 builtin and then its argument prototype would still apply. */ 23808#ifdef __cplusplus 23809extern "C" 23810#endif 23811char pthread_rwlock_rdlock (); 23812int 23813main () 23814{ 23815return pthread_rwlock_rdlock (); 23816 ; 23817 return 0; 23818} 23819_ACEOF 23820if ac_fn_c_try_link "$LINENO"; then : 23821 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23822else 23823 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23824fi 23825rm -f core conftest.err conftest.$ac_objext \ 23826 conftest$ac_exeext conftest.$ac_ext 23827LIBS=$ac_check_lib_save_LIBS 23828fi 23829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23830$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23831if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23832 ac_pthread_dummy=yes 23833else 23834 ac_cv_pthread=no 23835fi 23836 23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23838$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23839if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23840 $as_echo_n "(cached) " >&6 23841else 23842 ac_check_lib_save_LIBS=$LIBS 23843LIBS="-lpthread $LIBS" 23844cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23845/* end confdefs.h. */ 23846 23847/* Override any GCC internal prototype to avoid an error. 23848 Use char because int might match the return type of a GCC 23849 builtin and then its argument prototype would still apply. */ 23850#ifdef __cplusplus 23851extern "C" 23852#endif 23853char pthread_rwlock_wrlock (); 23854int 23855main () 23856{ 23857return pthread_rwlock_wrlock (); 23858 ; 23859 return 0; 23860} 23861_ACEOF 23862if ac_fn_c_try_link "$LINENO"; then : 23863 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23864else 23865 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23866fi 23867rm -f core conftest.err conftest.$ac_objext \ 23868 conftest$ac_exeext conftest.$ac_ext 23869LIBS=$ac_check_lib_save_LIBS 23870fi 23871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23872$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23873if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23874 ac_pthread_dummy=yes 23875else 23876 ac_cv_pthread=no 23877fi 23878 23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23880$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23881if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23882 $as_echo_n "(cached) " >&6 23883else 23884 ac_check_lib_save_LIBS=$LIBS 23885LIBS="-lpthread $LIBS" 23886cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23887/* end confdefs.h. */ 23888 23889/* Override any GCC internal prototype to avoid an error. 23890 Use char because int might match the return type of a GCC 23891 builtin and then its argument prototype would still apply. */ 23892#ifdef __cplusplus 23893extern "C" 23894#endif 23895char pthread_rwlock_unlock (); 23896int 23897main () 23898{ 23899return pthread_rwlock_unlock (); 23900 ; 23901 return 0; 23902} 23903_ACEOF 23904if ac_fn_c_try_link "$LINENO"; then : 23905 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23906else 23907 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23908fi 23909rm -f core conftest.err conftest.$ac_objext \ 23910 conftest$ac_exeext conftest.$ac_ext 23911LIBS=$ac_check_lib_save_LIBS 23912fi 23913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23914$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23915if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23916 ac_pthread_dummy=yes 23917else 23918 ac_cv_pthread=no 23919fi 23920 23921 23922 ac_cv_pthread_LIBADD="-lpthread"; 23923 23924fi 23925 23926fi 23927 23928 if test "x$ac_cv_pthread" = xpthread; then : 23929 23930$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23931 23932 23933fi 23934 23935 if test "x$ac_cv_pthread" != xno; then : 23936 HAVE_PTHREAD=1 23937 23938else 23939 HAVE_PTHREAD=0 23940 23941 23942fi 23943 23944 23945 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 23946 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 23947 23948 23949fi 23950 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 23951 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 23952 23953 23954fi 23955 23956 if test "x$ac_cv_pthread" = xpthread; then : 23957 ax_pthread_pc_libs_private=-lpthread 23958 23959 23960fi 23961 23962 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 23963else 23964 ac_cv_libcthreads_multi_threading="winapi" 23965fi 23966 23967 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 23968 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 23969 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 23970 23971 ac_cv_libcthreads=local 23972else 23973 ac_cv_libcthreads=no 23974fi 23975 23976 23977 23978$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 23979 23980 HAVE_LOCAL_LIBCTHREADS=1 23981 23982 23983fi 23984 23985fi 23986 23987 if test "x$ac_cv_libcthreads" = xlocal; then 23988 HAVE_LOCAL_LIBCTHREADS_TRUE= 23989 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 23990else 23991 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 23992 HAVE_LOCAL_LIBCTHREADS_FALSE= 23993fi 23994 23995 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 23996 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 23997 23998 23999fi 24000 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24001 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24002 24003 24004fi 24005 24006 if test "x$ac_cv_libcthreads" != xno; then : 24007 24008$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24009 24010 HAVE_MULTI_THREAD_SUPPORT=1 24011 24012else 24013 HAVE_MULTI_THREAD_SUPPORT=0 24014 24015 24016fi 24017 24018 if test "x$ac_cv_libcthreads" = xyes; then : 24019 ax_libcthreads_pc_libs_private=-lcthreads 24020 24021 24022fi 24023 24024 if test "x$ac_cv_libcthreads" = xyes; then : 24025 ax_libcthreads_spec_requires=libcthreads 24026 24027 ax_libcthreads_spec_build_requires=libcthreads-devel 24028 24029 24030fi 24031 24032 24033 24034 24035# Check whether --with-libcdata was given. 24036if test "${with_libcdata+set}" = set; then : 24037 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24038else 24039 ac_cv_with_libcdata=auto-detect 24040fi 24041 24042 { $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 24043$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; } 24044if ${ac_cv_with_libcdata+:} false; then : 24045 $as_echo_n "(cached) " >&6 24046else 24047 ac_cv_with_libcdata=auto-detect 24048fi 24049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24050$as_echo "$ac_cv_with_libcdata" >&6; } 24051 24052 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24053 ac_cv_libcdata=no 24054else 24055 ac_cv_libcdata=check 24056 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24057 if test -d "$ac_cv_with_libcdata"; then : 24058 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24059 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24060else 24061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24062$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24063as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24064See \`config.log' for more details" "$LINENO" 5; } 24065 24066fi 24067 24068else 24069 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24070 24071pkg_failed=no 24072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24073$as_echo_n "checking for libcdata... " >&6; } 24074 24075if test -n "$libcdata_CFLAGS"; then 24076 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24077 elif test -n "$PKG_CONFIG"; then 24078 if test -n "$PKG_CONFIG" && \ 24079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24080 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24081 ac_status=$? 24082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24083 test $ac_status = 0; }; then 24084 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24085 test "x$?" != "x0" && pkg_failed=yes 24086else 24087 pkg_failed=yes 24088fi 24089 else 24090 pkg_failed=untried 24091fi 24092if test -n "$libcdata_LIBS"; then 24093 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24094 elif test -n "$PKG_CONFIG"; then 24095 if test -n "$PKG_CONFIG" && \ 24096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24097 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24098 ac_status=$? 24099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24100 test $ac_status = 0; }; then 24101 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24102 test "x$?" != "x0" && pkg_failed=yes 24103else 24104 pkg_failed=yes 24105fi 24106 else 24107 pkg_failed=untried 24108fi 24109 24110 24111 24112if test $pkg_failed = yes; then 24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24114$as_echo "no" >&6; } 24115 24116if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24117 _pkg_short_errors_supported=yes 24118else 24119 _pkg_short_errors_supported=no 24120fi 24121 if test $_pkg_short_errors_supported = yes; then 24122 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24123 else 24124 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24125 fi 24126 # Put the nasty error message in config.log where it belongs 24127 echo "$libcdata_PKG_ERRORS" >&5 24128 24129 ac_cv_libcdata=check 24130elif test $pkg_failed = untried; then 24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24132$as_echo "no" >&6; } 24133 ac_cv_libcdata=check 24134else 24135 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24136 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24138$as_echo "yes" >&6; } 24139 ac_cv_libcdata=yes 24140fi 24141 24142fi 24143 if test "x$ac_cv_libcdata" = xyes; then : 24144 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24145 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24146fi 24147 24148fi 24149 24150 if test "x$ac_cv_libcdata" = xcheck; then : 24151 for ac_header in libcdata.h 24152do : 24153 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24154if test "x$ac_cv_header_libcdata_h" = xyes; then : 24155 cat >>confdefs.h <<_ACEOF 24156#define HAVE_LIBCDATA_H 1 24157_ACEOF 24158 24159fi 24160 24161done 24162 24163 24164 if test "x$ac_cv_header_libcdata_h" = xno; then : 24165 ac_cv_libcdata=no 24166else 24167 ac_cv_libcdata=yes 24168 24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24170$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24171if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24172 $as_echo_n "(cached) " >&6 24173else 24174 ac_check_lib_save_LIBS=$LIBS 24175LIBS="-lcdata $LIBS" 24176cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24177/* end confdefs.h. */ 24178 24179/* Override any GCC internal prototype to avoid an error. 24180 Use char because int might match the return type of a GCC 24181 builtin and then its argument prototype would still apply. */ 24182#ifdef __cplusplus 24183extern "C" 24184#endif 24185char libcdata_get_version (); 24186int 24187main () 24188{ 24189return libcdata_get_version (); 24190 ; 24191 return 0; 24192} 24193_ACEOF 24194if ac_fn_c_try_link "$LINENO"; then : 24195 ac_cv_lib_cdata_libcdata_get_version=yes 24196else 24197 ac_cv_lib_cdata_libcdata_get_version=no 24198fi 24199rm -f core conftest.err conftest.$ac_objext \ 24200 conftest$ac_exeext conftest.$ac_ext 24201LIBS=$ac_check_lib_save_LIBS 24202fi 24203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24204$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24205if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24206 ac_cv_libcdata_dummy=yes 24207else 24208 ac_cv_libcdata=no 24209fi 24210 24211 24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24213$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24214if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24215 $as_echo_n "(cached) " >&6 24216else 24217 ac_check_lib_save_LIBS=$LIBS 24218LIBS="-lcdata $LIBS" 24219cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24220/* end confdefs.h. */ 24221 24222/* Override any GCC internal prototype to avoid an error. 24223 Use char because int might match the return type of a GCC 24224 builtin and then its argument prototype would still apply. */ 24225#ifdef __cplusplus 24226extern "C" 24227#endif 24228char libcdata_array_initialize (); 24229int 24230main () 24231{ 24232return libcdata_array_initialize (); 24233 ; 24234 return 0; 24235} 24236_ACEOF 24237if ac_fn_c_try_link "$LINENO"; then : 24238 ac_cv_lib_cdata_libcdata_array_initialize=yes 24239else 24240 ac_cv_lib_cdata_libcdata_array_initialize=no 24241fi 24242rm -f core conftest.err conftest.$ac_objext \ 24243 conftest$ac_exeext conftest.$ac_ext 24244LIBS=$ac_check_lib_save_LIBS 24245fi 24246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24247$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24248if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24249 ac_cv_libcdata_dummy=yes 24250else 24251 ac_cv_libcdata=no 24252fi 24253 24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24255$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24256if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24257 $as_echo_n "(cached) " >&6 24258else 24259 ac_check_lib_save_LIBS=$LIBS 24260LIBS="-lcdata $LIBS" 24261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24262/* end confdefs.h. */ 24263 24264/* Override any GCC internal prototype to avoid an error. 24265 Use char because int might match the return type of a GCC 24266 builtin and then its argument prototype would still apply. */ 24267#ifdef __cplusplus 24268extern "C" 24269#endif 24270char libcdata_array_free (); 24271int 24272main () 24273{ 24274return libcdata_array_free (); 24275 ; 24276 return 0; 24277} 24278_ACEOF 24279if ac_fn_c_try_link "$LINENO"; then : 24280 ac_cv_lib_cdata_libcdata_array_free=yes 24281else 24282 ac_cv_lib_cdata_libcdata_array_free=no 24283fi 24284rm -f core conftest.err conftest.$ac_objext \ 24285 conftest$ac_exeext conftest.$ac_ext 24286LIBS=$ac_check_lib_save_LIBS 24287fi 24288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24289$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24290if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24291 ac_cv_libcdata_dummy=yes 24292else 24293 ac_cv_libcdata=no 24294fi 24295 24296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24297$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24298if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24299 $as_echo_n "(cached) " >&6 24300else 24301 ac_check_lib_save_LIBS=$LIBS 24302LIBS="-lcdata $LIBS" 24303cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24304/* end confdefs.h. */ 24305 24306/* Override any GCC internal prototype to avoid an error. 24307 Use char because int might match the return type of a GCC 24308 builtin and then its argument prototype would still apply. */ 24309#ifdef __cplusplus 24310extern "C" 24311#endif 24312char libcdata_array_empty (); 24313int 24314main () 24315{ 24316return libcdata_array_empty (); 24317 ; 24318 return 0; 24319} 24320_ACEOF 24321if ac_fn_c_try_link "$LINENO"; then : 24322 ac_cv_lib_cdata_libcdata_array_empty=yes 24323else 24324 ac_cv_lib_cdata_libcdata_array_empty=no 24325fi 24326rm -f core conftest.err conftest.$ac_objext \ 24327 conftest$ac_exeext conftest.$ac_ext 24328LIBS=$ac_check_lib_save_LIBS 24329fi 24330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24331$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24332if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24333 ac_cv_libcdata_dummy=yes 24334else 24335 ac_cv_libcdata=no 24336fi 24337 24338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24339$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24340if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24341 $as_echo_n "(cached) " >&6 24342else 24343 ac_check_lib_save_LIBS=$LIBS 24344LIBS="-lcdata $LIBS" 24345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24346/* end confdefs.h. */ 24347 24348/* Override any GCC internal prototype to avoid an error. 24349 Use char because int might match the return type of a GCC 24350 builtin and then its argument prototype would still apply. */ 24351#ifdef __cplusplus 24352extern "C" 24353#endif 24354char libcdata_array_clone (); 24355int 24356main () 24357{ 24358return libcdata_array_clone (); 24359 ; 24360 return 0; 24361} 24362_ACEOF 24363if ac_fn_c_try_link "$LINENO"; then : 24364 ac_cv_lib_cdata_libcdata_array_clone=yes 24365else 24366 ac_cv_lib_cdata_libcdata_array_clone=no 24367fi 24368rm -f core conftest.err conftest.$ac_objext \ 24369 conftest$ac_exeext conftest.$ac_ext 24370LIBS=$ac_check_lib_save_LIBS 24371fi 24372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24373$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24374if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24375 ac_cv_libcdata_dummy=yes 24376else 24377 ac_cv_libcdata=no 24378fi 24379 24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24381$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24382if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24383 $as_echo_n "(cached) " >&6 24384else 24385 ac_check_lib_save_LIBS=$LIBS 24386LIBS="-lcdata $LIBS" 24387cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24388/* end confdefs.h. */ 24389 24390/* Override any GCC internal prototype to avoid an error. 24391 Use char because int might match the return type of a GCC 24392 builtin and then its argument prototype would still apply. */ 24393#ifdef __cplusplus 24394extern "C" 24395#endif 24396char libcdata_array_resize (); 24397int 24398main () 24399{ 24400return libcdata_array_resize (); 24401 ; 24402 return 0; 24403} 24404_ACEOF 24405if ac_fn_c_try_link "$LINENO"; then : 24406 ac_cv_lib_cdata_libcdata_array_resize=yes 24407else 24408 ac_cv_lib_cdata_libcdata_array_resize=no 24409fi 24410rm -f core conftest.err conftest.$ac_objext \ 24411 conftest$ac_exeext conftest.$ac_ext 24412LIBS=$ac_check_lib_save_LIBS 24413fi 24414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24415$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24416if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24417 ac_cv_libcdata_dummy=yes 24418else 24419 ac_cv_libcdata=no 24420fi 24421 24422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24423$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24424if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24425 $as_echo_n "(cached) " >&6 24426else 24427 ac_check_lib_save_LIBS=$LIBS 24428LIBS="-lcdata $LIBS" 24429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24430/* end confdefs.h. */ 24431 24432/* Override any GCC internal prototype to avoid an error. 24433 Use char because int might match the return type of a GCC 24434 builtin and then its argument prototype would still apply. */ 24435#ifdef __cplusplus 24436extern "C" 24437#endif 24438char libcdata_array_reverse (); 24439int 24440main () 24441{ 24442return libcdata_array_reverse (); 24443 ; 24444 return 0; 24445} 24446_ACEOF 24447if ac_fn_c_try_link "$LINENO"; then : 24448 ac_cv_lib_cdata_libcdata_array_reverse=yes 24449else 24450 ac_cv_lib_cdata_libcdata_array_reverse=no 24451fi 24452rm -f core conftest.err conftest.$ac_objext \ 24453 conftest$ac_exeext conftest.$ac_ext 24454LIBS=$ac_check_lib_save_LIBS 24455fi 24456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24457$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24458if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24459 ac_cv_libcdata_dummy=yes 24460else 24461 ac_cv_libcdata=no 24462fi 24463 24464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24465$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24466if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24467 $as_echo_n "(cached) " >&6 24468else 24469 ac_check_lib_save_LIBS=$LIBS 24470LIBS="-lcdata $LIBS" 24471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24472/* end confdefs.h. */ 24473 24474/* Override any GCC internal prototype to avoid an error. 24475 Use char because int might match the return type of a GCC 24476 builtin and then its argument prototype would still apply. */ 24477#ifdef __cplusplus 24478extern "C" 24479#endif 24480char libcdata_array_get_number_of_entries (); 24481int 24482main () 24483{ 24484return libcdata_array_get_number_of_entries (); 24485 ; 24486 return 0; 24487} 24488_ACEOF 24489if ac_fn_c_try_link "$LINENO"; then : 24490 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24491else 24492 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24493fi 24494rm -f core conftest.err conftest.$ac_objext \ 24495 conftest$ac_exeext conftest.$ac_ext 24496LIBS=$ac_check_lib_save_LIBS 24497fi 24498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24499$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24500if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24501 ac_cv_libcdata_dummy=yes 24502else 24503 ac_cv_libcdata=no 24504fi 24505 24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24507$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24508if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24509 $as_echo_n "(cached) " >&6 24510else 24511 ac_check_lib_save_LIBS=$LIBS 24512LIBS="-lcdata $LIBS" 24513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24514/* end confdefs.h. */ 24515 24516/* Override any GCC internal prototype to avoid an error. 24517 Use char because int might match the return type of a GCC 24518 builtin and then its argument prototype would still apply. */ 24519#ifdef __cplusplus 24520extern "C" 24521#endif 24522char libcdata_array_get_entry_by_index (); 24523int 24524main () 24525{ 24526return libcdata_array_get_entry_by_index (); 24527 ; 24528 return 0; 24529} 24530_ACEOF 24531if ac_fn_c_try_link "$LINENO"; then : 24532 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24533else 24534 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24535fi 24536rm -f core conftest.err conftest.$ac_objext \ 24537 conftest$ac_exeext conftest.$ac_ext 24538LIBS=$ac_check_lib_save_LIBS 24539fi 24540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24541$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24542if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24543 ac_cv_libcdata_dummy=yes 24544else 24545 ac_cv_libcdata=no 24546fi 24547 24548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24549$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24550if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24551 $as_echo_n "(cached) " >&6 24552else 24553 ac_check_lib_save_LIBS=$LIBS 24554LIBS="-lcdata $LIBS" 24555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24556/* end confdefs.h. */ 24557 24558/* Override any GCC internal prototype to avoid an error. 24559 Use char because int might match the return type of a GCC 24560 builtin and then its argument prototype would still apply. */ 24561#ifdef __cplusplus 24562extern "C" 24563#endif 24564char libcdata_array_get_entry_by_value (); 24565int 24566main () 24567{ 24568return libcdata_array_get_entry_by_value (); 24569 ; 24570 return 0; 24571} 24572_ACEOF 24573if ac_fn_c_try_link "$LINENO"; then : 24574 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24575else 24576 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24577fi 24578rm -f core conftest.err conftest.$ac_objext \ 24579 conftest$ac_exeext conftest.$ac_ext 24580LIBS=$ac_check_lib_save_LIBS 24581fi 24582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24583$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24584if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24585 ac_cv_libcdata_dummy=yes 24586else 24587 ac_cv_libcdata=no 24588fi 24589 24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24591$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24592if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24593 $as_echo_n "(cached) " >&6 24594else 24595 ac_check_lib_save_LIBS=$LIBS 24596LIBS="-lcdata $LIBS" 24597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24598/* end confdefs.h. */ 24599 24600/* Override any GCC internal prototype to avoid an error. 24601 Use char because int might match the return type of a GCC 24602 builtin and then its argument prototype would still apply. */ 24603#ifdef __cplusplus 24604extern "C" 24605#endif 24606char libcdata_array_set_entry_by_index (); 24607int 24608main () 24609{ 24610return libcdata_array_set_entry_by_index (); 24611 ; 24612 return 0; 24613} 24614_ACEOF 24615if ac_fn_c_try_link "$LINENO"; then : 24616 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24617else 24618 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24619fi 24620rm -f core conftest.err conftest.$ac_objext \ 24621 conftest$ac_exeext conftest.$ac_ext 24622LIBS=$ac_check_lib_save_LIBS 24623fi 24624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24625$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24626if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24627 ac_cv_libcdata_dummy=yes 24628else 24629 ac_cv_libcdata=no 24630fi 24631 24632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24633$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24634if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24635 $as_echo_n "(cached) " >&6 24636else 24637 ac_check_lib_save_LIBS=$LIBS 24638LIBS="-lcdata $LIBS" 24639cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24640/* end confdefs.h. */ 24641 24642/* Override any GCC internal prototype to avoid an error. 24643 Use char because int might match the return type of a GCC 24644 builtin and then its argument prototype would still apply. */ 24645#ifdef __cplusplus 24646extern "C" 24647#endif 24648char libcdata_array_prepend_entry (); 24649int 24650main () 24651{ 24652return libcdata_array_prepend_entry (); 24653 ; 24654 return 0; 24655} 24656_ACEOF 24657if ac_fn_c_try_link "$LINENO"; then : 24658 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24659else 24660 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24661fi 24662rm -f core conftest.err conftest.$ac_objext \ 24663 conftest$ac_exeext conftest.$ac_ext 24664LIBS=$ac_check_lib_save_LIBS 24665fi 24666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24667$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24668if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24669 ac_cv_libcdata_dummy=yes 24670else 24671 ac_cv_libcdata=no 24672fi 24673 24674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24675$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24676if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24677 $as_echo_n "(cached) " >&6 24678else 24679 ac_check_lib_save_LIBS=$LIBS 24680LIBS="-lcdata $LIBS" 24681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24682/* end confdefs.h. */ 24683 24684/* Override any GCC internal prototype to avoid an error. 24685 Use char because int might match the return type of a GCC 24686 builtin and then its argument prototype would still apply. */ 24687#ifdef __cplusplus 24688extern "C" 24689#endif 24690char libcdata_array_append_entry (); 24691int 24692main () 24693{ 24694return libcdata_array_append_entry (); 24695 ; 24696 return 0; 24697} 24698_ACEOF 24699if ac_fn_c_try_link "$LINENO"; then : 24700 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24701else 24702 ac_cv_lib_cdata_libcdata_array_append_entry=no 24703fi 24704rm -f core conftest.err conftest.$ac_objext \ 24705 conftest$ac_exeext conftest.$ac_ext 24706LIBS=$ac_check_lib_save_LIBS 24707fi 24708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24709$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24710if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24711 ac_cv_libcdata_dummy=yes 24712else 24713 ac_cv_libcdata=no 24714fi 24715 24716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24717$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24718if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24719 $as_echo_n "(cached) " >&6 24720else 24721 ac_check_lib_save_LIBS=$LIBS 24722LIBS="-lcdata $LIBS" 24723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24724/* end confdefs.h. */ 24725 24726/* Override any GCC internal prototype to avoid an error. 24727 Use char because int might match the return type of a GCC 24728 builtin and then its argument prototype would still apply. */ 24729#ifdef __cplusplus 24730extern "C" 24731#endif 24732char libcdata_array_insert_entry (); 24733int 24734main () 24735{ 24736return libcdata_array_insert_entry (); 24737 ; 24738 return 0; 24739} 24740_ACEOF 24741if ac_fn_c_try_link "$LINENO"; then : 24742 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24743else 24744 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24745fi 24746rm -f core conftest.err conftest.$ac_objext \ 24747 conftest$ac_exeext conftest.$ac_ext 24748LIBS=$ac_check_lib_save_LIBS 24749fi 24750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24751$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24752if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24753 ac_cv_libcdata_dummy=yes 24754else 24755 ac_cv_libcdata=no 24756fi 24757 24758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24759$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24760if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24761 $as_echo_n "(cached) " >&6 24762else 24763 ac_check_lib_save_LIBS=$LIBS 24764LIBS="-lcdata $LIBS" 24765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24766/* end confdefs.h. */ 24767 24768/* Override any GCC internal prototype to avoid an error. 24769 Use char because int might match the return type of a GCC 24770 builtin and then its argument prototype would still apply. */ 24771#ifdef __cplusplus 24772extern "C" 24773#endif 24774char libcdata_array_remove_entry (); 24775int 24776main () 24777{ 24778return libcdata_array_remove_entry (); 24779 ; 24780 return 0; 24781} 24782_ACEOF 24783if ac_fn_c_try_link "$LINENO"; then : 24784 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24785else 24786 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24787fi 24788rm -f core conftest.err conftest.$ac_objext \ 24789 conftest$ac_exeext conftest.$ac_ext 24790LIBS=$ac_check_lib_save_LIBS 24791fi 24792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24793$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24794if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24795 ac_cv_libcdata_dummy=yes 24796else 24797 ac_cv_libcdata=no 24798fi 24799 24800 24801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24802$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24803if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24804 $as_echo_n "(cached) " >&6 24805else 24806 ac_check_lib_save_LIBS=$LIBS 24807LIBS="-lcdata $LIBS" 24808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24809/* end confdefs.h. */ 24810 24811/* Override any GCC internal prototype to avoid an error. 24812 Use char because int might match the return type of a GCC 24813 builtin and then its argument prototype would still apply. */ 24814#ifdef __cplusplus 24815extern "C" 24816#endif 24817char libfdata_btree_initialize (); 24818int 24819main () 24820{ 24821return libfdata_btree_initialize (); 24822 ; 24823 return 0; 24824} 24825_ACEOF 24826if ac_fn_c_try_link "$LINENO"; then : 24827 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24828else 24829 ac_cv_lib_cdata_libfdata_btree_initialize=no 24830fi 24831rm -f core conftest.err conftest.$ac_objext \ 24832 conftest$ac_exeext conftest.$ac_ext 24833LIBS=$ac_check_lib_save_LIBS 24834fi 24835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24836$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24837if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24838 ac_cv_libcdata_dummy=yes 24839else 24840 ac_cv_libcdata=no 24841fi 24842 24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24844$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24845if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24846 $as_echo_n "(cached) " >&6 24847else 24848 ac_check_lib_save_LIBS=$LIBS 24849LIBS="-lcdata $LIBS" 24850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24851/* end confdefs.h. */ 24852 24853/* Override any GCC internal prototype to avoid an error. 24854 Use char because int might match the return type of a GCC 24855 builtin and then its argument prototype would still apply. */ 24856#ifdef __cplusplus 24857extern "C" 24858#endif 24859char libcdata_btree_free (); 24860int 24861main () 24862{ 24863return libcdata_btree_free (); 24864 ; 24865 return 0; 24866} 24867_ACEOF 24868if ac_fn_c_try_link "$LINENO"; then : 24869 ac_cv_lib_cdata_libcdata_btree_free=yes 24870else 24871 ac_cv_lib_cdata_libcdata_btree_free=no 24872fi 24873rm -f core conftest.err conftest.$ac_objext \ 24874 conftest$ac_exeext conftest.$ac_ext 24875LIBS=$ac_check_lib_save_LIBS 24876fi 24877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24878$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24879if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24880 ac_cv_libcdata_dummy=yes 24881else 24882 ac_cv_libcdata=no 24883fi 24884 24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24886$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24887if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24888 $as_echo_n "(cached) " >&6 24889else 24890 ac_check_lib_save_LIBS=$LIBS 24891LIBS="-lcdata $LIBS" 24892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24893/* end confdefs.h. */ 24894 24895/* Override any GCC internal prototype to avoid an error. 24896 Use char because int might match the return type of a GCC 24897 builtin and then its argument prototype would still apply. */ 24898#ifdef __cplusplus 24899extern "C" 24900#endif 24901char libcdata_btree_get_number_of_values (); 24902int 24903main () 24904{ 24905return libcdata_btree_get_number_of_values (); 24906 ; 24907 return 0; 24908} 24909_ACEOF 24910if ac_fn_c_try_link "$LINENO"; then : 24911 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24912else 24913 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24914fi 24915rm -f core conftest.err conftest.$ac_objext \ 24916 conftest$ac_exeext conftest.$ac_ext 24917LIBS=$ac_check_lib_save_LIBS 24918fi 24919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24920$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24921if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24922 ac_cv_libcdata_dummy=yes 24923else 24924 ac_cv_libcdata=no 24925fi 24926 24927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24928$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24929if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24930 $as_echo_n "(cached) " >&6 24931else 24932 ac_check_lib_save_LIBS=$LIBS 24933LIBS="-lcdata $LIBS" 24934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24935/* end confdefs.h. */ 24936 24937/* Override any GCC internal prototype to avoid an error. 24938 Use char because int might match the return type of a GCC 24939 builtin and then its argument prototype would still apply. */ 24940#ifdef __cplusplus 24941extern "C" 24942#endif 24943char libcdata_btree_get_value_by_index (); 24944int 24945main () 24946{ 24947return libcdata_btree_get_value_by_index (); 24948 ; 24949 return 0; 24950} 24951_ACEOF 24952if ac_fn_c_try_link "$LINENO"; then : 24953 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 24954else 24955 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 24956fi 24957rm -f core conftest.err conftest.$ac_objext \ 24958 conftest$ac_exeext conftest.$ac_ext 24959LIBS=$ac_check_lib_save_LIBS 24960fi 24961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 24962$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 24963if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 24964 ac_cv_libcdata_dummy=yes 24965else 24966 ac_cv_libcdata=no 24967fi 24968 24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 24970$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 24971if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 24972 $as_echo_n "(cached) " >&6 24973else 24974 ac_check_lib_save_LIBS=$LIBS 24975LIBS="-lcdata $LIBS" 24976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24977/* end confdefs.h. */ 24978 24979/* Override any GCC internal prototype to avoid an error. 24980 Use char because int might match the return type of a GCC 24981 builtin and then its argument prototype would still apply. */ 24982#ifdef __cplusplus 24983extern "C" 24984#endif 24985char libcdata_btree_get_value_by_value (); 24986int 24987main () 24988{ 24989return libcdata_btree_get_value_by_value (); 24990 ; 24991 return 0; 24992} 24993_ACEOF 24994if ac_fn_c_try_link "$LINENO"; then : 24995 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 24996else 24997 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 24998fi 24999rm -f core conftest.err conftest.$ac_objext \ 25000 conftest$ac_exeext conftest.$ac_ext 25001LIBS=$ac_check_lib_save_LIBS 25002fi 25003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25004$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25005if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25006 ac_cv_libcdata_dummy=yes 25007else 25008 ac_cv_libcdata=no 25009fi 25010 25011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25012$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25013if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25014 $as_echo_n "(cached) " >&6 25015else 25016 ac_check_lib_save_LIBS=$LIBS 25017LIBS="-lcdata $LIBS" 25018cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25019/* end confdefs.h. */ 25020 25021/* Override any GCC internal prototype to avoid an error. 25022 Use char because int might match the return type of a GCC 25023 builtin and then its argument prototype would still apply. */ 25024#ifdef __cplusplus 25025extern "C" 25026#endif 25027char libcdata_btree_insert_value (); 25028int 25029main () 25030{ 25031return libcdata_btree_insert_value (); 25032 ; 25033 return 0; 25034} 25035_ACEOF 25036if ac_fn_c_try_link "$LINENO"; then : 25037 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25038else 25039 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25040fi 25041rm -f core conftest.err conftest.$ac_objext \ 25042 conftest$ac_exeext conftest.$ac_ext 25043LIBS=$ac_check_lib_save_LIBS 25044fi 25045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25046$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25047if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25048 ac_cv_libcdata_dummy=yes 25049else 25050 ac_cv_libcdata=no 25051fi 25052 25053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25054$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25055if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25056 $as_echo_n "(cached) " >&6 25057else 25058 ac_check_lib_save_LIBS=$LIBS 25059LIBS="-lcdata $LIBS" 25060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25061/* end confdefs.h. */ 25062 25063/* Override any GCC internal prototype to avoid an error. 25064 Use char because int might match the return type of a GCC 25065 builtin and then its argument prototype would still apply. */ 25066#ifdef __cplusplus 25067extern "C" 25068#endif 25069char libcdata_btree_replace_value (); 25070int 25071main () 25072{ 25073return libcdata_btree_replace_value (); 25074 ; 25075 return 0; 25076} 25077_ACEOF 25078if ac_fn_c_try_link "$LINENO"; then : 25079 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25080else 25081 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25082fi 25083rm -f core conftest.err conftest.$ac_objext \ 25084 conftest$ac_exeext conftest.$ac_ext 25085LIBS=$ac_check_lib_save_LIBS 25086fi 25087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25088$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25089if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25090 ac_cv_libcdata_dummy=yes 25091else 25092 ac_cv_libcdata=no 25093fi 25094 25095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25096$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25097if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25098 $as_echo_n "(cached) " >&6 25099else 25100 ac_check_lib_save_LIBS=$LIBS 25101LIBS="-lcdata $LIBS" 25102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25103/* end confdefs.h. */ 25104 25105/* Override any GCC internal prototype to avoid an error. 25106 Use char because int might match the return type of a GCC 25107 builtin and then its argument prototype would still apply. */ 25108#ifdef __cplusplus 25109extern "C" 25110#endif 25111char libcdata_btree_remove_value (); 25112int 25113main () 25114{ 25115return libcdata_btree_remove_value (); 25116 ; 25117 return 0; 25118} 25119_ACEOF 25120if ac_fn_c_try_link "$LINENO"; then : 25121 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25122else 25123 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25124fi 25125rm -f core conftest.err conftest.$ac_objext \ 25126 conftest$ac_exeext conftest.$ac_ext 25127LIBS=$ac_check_lib_save_LIBS 25128fi 25129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25130$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25131if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25132 ac_cv_libcdata_dummy=yes 25133else 25134 ac_cv_libcdata=no 25135fi 25136 25137 25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25139$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25140if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25141 $as_echo_n "(cached) " >&6 25142else 25143 ac_check_lib_save_LIBS=$LIBS 25144LIBS="-lcdata $LIBS" 25145cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25146/* end confdefs.h. */ 25147 25148/* Override any GCC internal prototype to avoid an error. 25149 Use char because int might match the return type of a GCC 25150 builtin and then its argument prototype would still apply. */ 25151#ifdef __cplusplus 25152extern "C" 25153#endif 25154char libcdata_list_initialize (); 25155int 25156main () 25157{ 25158return libcdata_list_initialize (); 25159 ; 25160 return 0; 25161} 25162_ACEOF 25163if ac_fn_c_try_link "$LINENO"; then : 25164 ac_cv_lib_cdata_libcdata_list_initialize=yes 25165else 25166 ac_cv_lib_cdata_libcdata_list_initialize=no 25167fi 25168rm -f core conftest.err conftest.$ac_objext \ 25169 conftest$ac_exeext conftest.$ac_ext 25170LIBS=$ac_check_lib_save_LIBS 25171fi 25172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25173$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25174if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25175 ac_cv_libcdata_dummy=yes 25176else 25177 ac_cv_libcdata=no 25178fi 25179 25180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25181$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25182if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25183 $as_echo_n "(cached) " >&6 25184else 25185 ac_check_lib_save_LIBS=$LIBS 25186LIBS="-lcdata $LIBS" 25187cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25188/* end confdefs.h. */ 25189 25190/* Override any GCC internal prototype to avoid an error. 25191 Use char because int might match the return type of a GCC 25192 builtin and then its argument prototype would still apply. */ 25193#ifdef __cplusplus 25194extern "C" 25195#endif 25196char libcdata_list_free (); 25197int 25198main () 25199{ 25200return libcdata_list_free (); 25201 ; 25202 return 0; 25203} 25204_ACEOF 25205if ac_fn_c_try_link "$LINENO"; then : 25206 ac_cv_lib_cdata_libcdata_list_free=yes 25207else 25208 ac_cv_lib_cdata_libcdata_list_free=no 25209fi 25210rm -f core conftest.err conftest.$ac_objext \ 25211 conftest$ac_exeext conftest.$ac_ext 25212LIBS=$ac_check_lib_save_LIBS 25213fi 25214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25215$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25216if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25217 ac_cv_libcdata_dummy=yes 25218else 25219 ac_cv_libcdata=no 25220fi 25221 25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25223$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25224if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25225 $as_echo_n "(cached) " >&6 25226else 25227 ac_check_lib_save_LIBS=$LIBS 25228LIBS="-lcdata $LIBS" 25229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25230/* end confdefs.h. */ 25231 25232/* Override any GCC internal prototype to avoid an error. 25233 Use char because int might match the return type of a GCC 25234 builtin and then its argument prototype would still apply. */ 25235#ifdef __cplusplus 25236extern "C" 25237#endif 25238char libcdata_list_empty (); 25239int 25240main () 25241{ 25242return libcdata_list_empty (); 25243 ; 25244 return 0; 25245} 25246_ACEOF 25247if ac_fn_c_try_link "$LINENO"; then : 25248 ac_cv_lib_cdata_libcdata_list_empty=yes 25249else 25250 ac_cv_lib_cdata_libcdata_list_empty=no 25251fi 25252rm -f core conftest.err conftest.$ac_objext \ 25253 conftest$ac_exeext conftest.$ac_ext 25254LIBS=$ac_check_lib_save_LIBS 25255fi 25256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25257$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25258if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25259 ac_cv_libcdata_dummy=yes 25260else 25261 ac_cv_libcdata=no 25262fi 25263 25264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25265$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25266if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25267 $as_echo_n "(cached) " >&6 25268else 25269 ac_check_lib_save_LIBS=$LIBS 25270LIBS="-lcdata $LIBS" 25271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25272/* end confdefs.h. */ 25273 25274/* Override any GCC internal prototype to avoid an error. 25275 Use char because int might match the return type of a GCC 25276 builtin and then its argument prototype would still apply. */ 25277#ifdef __cplusplus 25278extern "C" 25279#endif 25280char libcdata_list_clone (); 25281int 25282main () 25283{ 25284return libcdata_list_clone (); 25285 ; 25286 return 0; 25287} 25288_ACEOF 25289if ac_fn_c_try_link "$LINENO"; then : 25290 ac_cv_lib_cdata_libcdata_list_clone=yes 25291else 25292 ac_cv_lib_cdata_libcdata_list_clone=no 25293fi 25294rm -f core conftest.err conftest.$ac_objext \ 25295 conftest$ac_exeext conftest.$ac_ext 25296LIBS=$ac_check_lib_save_LIBS 25297fi 25298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25299$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25300if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25301 ac_cv_libcdata_dummy=yes 25302else 25303 ac_cv_libcdata=no 25304fi 25305 25306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25307$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25308if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25309 $as_echo_n "(cached) " >&6 25310else 25311 ac_check_lib_save_LIBS=$LIBS 25312LIBS="-lcdata $LIBS" 25313cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25314/* end confdefs.h. */ 25315 25316/* Override any GCC internal prototype to avoid an error. 25317 Use char because int might match the return type of a GCC 25318 builtin and then its argument prototype would still apply. */ 25319#ifdef __cplusplus 25320extern "C" 25321#endif 25322char libcdata_list_get_number_of_elements (); 25323int 25324main () 25325{ 25326return libcdata_list_get_number_of_elements (); 25327 ; 25328 return 0; 25329} 25330_ACEOF 25331if ac_fn_c_try_link "$LINENO"; then : 25332 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25333else 25334 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25335fi 25336rm -f core conftest.err conftest.$ac_objext \ 25337 conftest$ac_exeext conftest.$ac_ext 25338LIBS=$ac_check_lib_save_LIBS 25339fi 25340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25341$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25342if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25343 ac_cv_libcdata_dummy=yes 25344else 25345 ac_cv_libcdata=no 25346fi 25347 25348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25349$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25350if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25351 $as_echo_n "(cached) " >&6 25352else 25353 ac_check_lib_save_LIBS=$LIBS 25354LIBS="-lcdata $LIBS" 25355cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25356/* end confdefs.h. */ 25357 25358/* Override any GCC internal prototype to avoid an error. 25359 Use char because int might match the return type of a GCC 25360 builtin and then its argument prototype would still apply. */ 25361#ifdef __cplusplus 25362extern "C" 25363#endif 25364char libcdata_list_get_first_element (); 25365int 25366main () 25367{ 25368return libcdata_list_get_first_element (); 25369 ; 25370 return 0; 25371} 25372_ACEOF 25373if ac_fn_c_try_link "$LINENO"; then : 25374 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25375else 25376 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25377fi 25378rm -f core conftest.err conftest.$ac_objext \ 25379 conftest$ac_exeext conftest.$ac_ext 25380LIBS=$ac_check_lib_save_LIBS 25381fi 25382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25383$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25384if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25385 ac_cv_libcdata_dummy=yes 25386else 25387 ac_cv_libcdata=no 25388fi 25389 25390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25391$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25392if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25393 $as_echo_n "(cached) " >&6 25394else 25395 ac_check_lib_save_LIBS=$LIBS 25396LIBS="-lcdata $LIBS" 25397cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25398/* end confdefs.h. */ 25399 25400/* Override any GCC internal prototype to avoid an error. 25401 Use char because int might match the return type of a GCC 25402 builtin and then its argument prototype would still apply. */ 25403#ifdef __cplusplus 25404extern "C" 25405#endif 25406char libcdata_list_get_last_element (); 25407int 25408main () 25409{ 25410return libcdata_list_get_last_element (); 25411 ; 25412 return 0; 25413} 25414_ACEOF 25415if ac_fn_c_try_link "$LINENO"; then : 25416 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25417else 25418 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25419fi 25420rm -f core conftest.err conftest.$ac_objext \ 25421 conftest$ac_exeext conftest.$ac_ext 25422LIBS=$ac_check_lib_save_LIBS 25423fi 25424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25425$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25426if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25427 ac_cv_libcdata_dummy=yes 25428else 25429 ac_cv_libcdata=no 25430fi 25431 25432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25433$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25434if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25435 $as_echo_n "(cached) " >&6 25436else 25437 ac_check_lib_save_LIBS=$LIBS 25438LIBS="-lcdata $LIBS" 25439cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25440/* end confdefs.h. */ 25441 25442/* Override any GCC internal prototype to avoid an error. 25443 Use char because int might match the return type of a GCC 25444 builtin and then its argument prototype would still apply. */ 25445#ifdef __cplusplus 25446extern "C" 25447#endif 25448char libcdata_list_get_element_by_index (); 25449int 25450main () 25451{ 25452return libcdata_list_get_element_by_index (); 25453 ; 25454 return 0; 25455} 25456_ACEOF 25457if ac_fn_c_try_link "$LINENO"; then : 25458 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25459else 25460 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25461fi 25462rm -f core conftest.err conftest.$ac_objext \ 25463 conftest$ac_exeext conftest.$ac_ext 25464LIBS=$ac_check_lib_save_LIBS 25465fi 25466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25467$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25468if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25469 ac_cv_libcdata_dummy=yes 25470else 25471 ac_cv_libcdata=no 25472fi 25473 25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25475$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25476if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25477 $as_echo_n "(cached) " >&6 25478else 25479 ac_check_lib_save_LIBS=$LIBS 25480LIBS="-lcdata $LIBS" 25481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25482/* end confdefs.h. */ 25483 25484/* Override any GCC internal prototype to avoid an error. 25485 Use char because int might match the return type of a GCC 25486 builtin and then its argument prototype would still apply. */ 25487#ifdef __cplusplus 25488extern "C" 25489#endif 25490char libcdata_list_get_value_by_index (); 25491int 25492main () 25493{ 25494return libcdata_list_get_value_by_index (); 25495 ; 25496 return 0; 25497} 25498_ACEOF 25499if ac_fn_c_try_link "$LINENO"; then : 25500 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25501else 25502 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25503fi 25504rm -f core conftest.err conftest.$ac_objext \ 25505 conftest$ac_exeext conftest.$ac_ext 25506LIBS=$ac_check_lib_save_LIBS 25507fi 25508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25509$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25510if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25511 ac_cv_libcdata_dummy=yes 25512else 25513 ac_cv_libcdata=no 25514fi 25515 25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25517$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25518if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25519 $as_echo_n "(cached) " >&6 25520else 25521 ac_check_lib_save_LIBS=$LIBS 25522LIBS="-lcdata $LIBS" 25523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25524/* end confdefs.h. */ 25525 25526/* Override any GCC internal prototype to avoid an error. 25527 Use char because int might match the return type of a GCC 25528 builtin and then its argument prototype would still apply. */ 25529#ifdef __cplusplus 25530extern "C" 25531#endif 25532char libcdata_list_prepend_element (); 25533int 25534main () 25535{ 25536return libcdata_list_prepend_element (); 25537 ; 25538 return 0; 25539} 25540_ACEOF 25541if ac_fn_c_try_link "$LINENO"; then : 25542 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25543else 25544 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25545fi 25546rm -f core conftest.err conftest.$ac_objext \ 25547 conftest$ac_exeext conftest.$ac_ext 25548LIBS=$ac_check_lib_save_LIBS 25549fi 25550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25551$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25552if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25553 ac_cv_libcdata_dummy=yes 25554else 25555 ac_cv_libcdata=no 25556fi 25557 25558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25559$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25560if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25561 $as_echo_n "(cached) " >&6 25562else 25563 ac_check_lib_save_LIBS=$LIBS 25564LIBS="-lcdata $LIBS" 25565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25566/* end confdefs.h. */ 25567 25568/* Override any GCC internal prototype to avoid an error. 25569 Use char because int might match the return type of a GCC 25570 builtin and then its argument prototype would still apply. */ 25571#ifdef __cplusplus 25572extern "C" 25573#endif 25574char libcdata_list_prepend_value (); 25575int 25576main () 25577{ 25578return libcdata_list_prepend_value (); 25579 ; 25580 return 0; 25581} 25582_ACEOF 25583if ac_fn_c_try_link "$LINENO"; then : 25584 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25585else 25586 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25587fi 25588rm -f core conftest.err conftest.$ac_objext \ 25589 conftest$ac_exeext conftest.$ac_ext 25590LIBS=$ac_check_lib_save_LIBS 25591fi 25592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25593$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25594if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25595 ac_cv_libcdata_dummy=yes 25596else 25597 ac_cv_libcdata=no 25598fi 25599 25600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25601$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25602if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25603 $as_echo_n "(cached) " >&6 25604else 25605 ac_check_lib_save_LIBS=$LIBS 25606LIBS="-lcdata $LIBS" 25607cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25608/* end confdefs.h. */ 25609 25610/* Override any GCC internal prototype to avoid an error. 25611 Use char because int might match the return type of a GCC 25612 builtin and then its argument prototype would still apply. */ 25613#ifdef __cplusplus 25614extern "C" 25615#endif 25616char libcdata_list_append_element (); 25617int 25618main () 25619{ 25620return libcdata_list_append_element (); 25621 ; 25622 return 0; 25623} 25624_ACEOF 25625if ac_fn_c_try_link "$LINENO"; then : 25626 ac_cv_lib_cdata_libcdata_list_append_element=yes 25627else 25628 ac_cv_lib_cdata_libcdata_list_append_element=no 25629fi 25630rm -f core conftest.err conftest.$ac_objext \ 25631 conftest$ac_exeext conftest.$ac_ext 25632LIBS=$ac_check_lib_save_LIBS 25633fi 25634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25635$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25636if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25637 ac_cv_libcdata_dummy=yes 25638else 25639 ac_cv_libcdata=no 25640fi 25641 25642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25643$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25644if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25645 $as_echo_n "(cached) " >&6 25646else 25647 ac_check_lib_save_LIBS=$LIBS 25648LIBS="-lcdata $LIBS" 25649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25650/* end confdefs.h. */ 25651 25652/* Override any GCC internal prototype to avoid an error. 25653 Use char because int might match the return type of a GCC 25654 builtin and then its argument prototype would still apply. */ 25655#ifdef __cplusplus 25656extern "C" 25657#endif 25658char libcdata_list_append_value (); 25659int 25660main () 25661{ 25662return libcdata_list_append_value (); 25663 ; 25664 return 0; 25665} 25666_ACEOF 25667if ac_fn_c_try_link "$LINENO"; then : 25668 ac_cv_lib_cdata_libcdata_list_append_value=yes 25669else 25670 ac_cv_lib_cdata_libcdata_list_append_value=no 25671fi 25672rm -f core conftest.err conftest.$ac_objext \ 25673 conftest$ac_exeext conftest.$ac_ext 25674LIBS=$ac_check_lib_save_LIBS 25675fi 25676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25677$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25678if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25679 ac_cv_libcdata_dummy=yes 25680else 25681 ac_cv_libcdata=no 25682fi 25683 25684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25685$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25686if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25687 $as_echo_n "(cached) " >&6 25688else 25689 ac_check_lib_save_LIBS=$LIBS 25690LIBS="-lcdata $LIBS" 25691cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25692/* end confdefs.h. */ 25693 25694/* Override any GCC internal prototype to avoid an error. 25695 Use char because int might match the return type of a GCC 25696 builtin and then its argument prototype would still apply. */ 25697#ifdef __cplusplus 25698extern "C" 25699#endif 25700char libcdata_list_insert_element (); 25701int 25702main () 25703{ 25704return libcdata_list_insert_element (); 25705 ; 25706 return 0; 25707} 25708_ACEOF 25709if ac_fn_c_try_link "$LINENO"; then : 25710 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25711else 25712 ac_cv_lib_cdata_libcdata_list_insert_element=no 25713fi 25714rm -f core conftest.err conftest.$ac_objext \ 25715 conftest$ac_exeext conftest.$ac_ext 25716LIBS=$ac_check_lib_save_LIBS 25717fi 25718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25719$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25720if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25721 ac_cv_libcdata_dummy=yes 25722else 25723 ac_cv_libcdata=no 25724fi 25725 25726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25727$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25728if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25729 $as_echo_n "(cached) " >&6 25730else 25731 ac_check_lib_save_LIBS=$LIBS 25732LIBS="-lcdata $LIBS" 25733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25734/* end confdefs.h. */ 25735 25736/* Override any GCC internal prototype to avoid an error. 25737 Use char because int might match the return type of a GCC 25738 builtin and then its argument prototype would still apply. */ 25739#ifdef __cplusplus 25740extern "C" 25741#endif 25742char libcdata_list_insert_value (); 25743int 25744main () 25745{ 25746return libcdata_list_insert_value (); 25747 ; 25748 return 0; 25749} 25750_ACEOF 25751if ac_fn_c_try_link "$LINENO"; then : 25752 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25753else 25754 ac_cv_lib_cdata_libcdata_list_insert_value=no 25755fi 25756rm -f core conftest.err conftest.$ac_objext \ 25757 conftest$ac_exeext conftest.$ac_ext 25758LIBS=$ac_check_lib_save_LIBS 25759fi 25760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25761$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25762if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25763 ac_cv_libcdata_dummy=yes 25764else 25765 ac_cv_libcdata=no 25766fi 25767 25768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25769$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25770if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25771 $as_echo_n "(cached) " >&6 25772else 25773 ac_check_lib_save_LIBS=$LIBS 25774LIBS="-lcdata $LIBS" 25775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25776/* end confdefs.h. */ 25777 25778/* Override any GCC internal prototype to avoid an error. 25779 Use char because int might match the return type of a GCC 25780 builtin and then its argument prototype would still apply. */ 25781#ifdef __cplusplus 25782extern "C" 25783#endif 25784char libcdata_list_remove_element (); 25785int 25786main () 25787{ 25788return libcdata_list_remove_element (); 25789 ; 25790 return 0; 25791} 25792_ACEOF 25793if ac_fn_c_try_link "$LINENO"; then : 25794 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25795else 25796 ac_cv_lib_cdata_libcdata_list_remove_element=no 25797fi 25798rm -f core conftest.err conftest.$ac_objext \ 25799 conftest$ac_exeext conftest.$ac_ext 25800LIBS=$ac_check_lib_save_LIBS 25801fi 25802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25803$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25804if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25805 ac_cv_libcdata_dummy=yes 25806else 25807 ac_cv_libcdata=no 25808fi 25809 25810 25811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25812$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25813if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25814 $as_echo_n "(cached) " >&6 25815else 25816 ac_check_lib_save_LIBS=$LIBS 25817LIBS="-lcdata $LIBS" 25818cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25819/* end confdefs.h. */ 25820 25821/* Override any GCC internal prototype to avoid an error. 25822 Use char because int might match the return type of a GCC 25823 builtin and then its argument prototype would still apply. */ 25824#ifdef __cplusplus 25825extern "C" 25826#endif 25827char libcdata_list_element_initialize (); 25828int 25829main () 25830{ 25831return libcdata_list_element_initialize (); 25832 ; 25833 return 0; 25834} 25835_ACEOF 25836if ac_fn_c_try_link "$LINENO"; then : 25837 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25838else 25839 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25840fi 25841rm -f core conftest.err conftest.$ac_objext \ 25842 conftest$ac_exeext conftest.$ac_ext 25843LIBS=$ac_check_lib_save_LIBS 25844fi 25845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25846$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25847if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25848 ac_cv_libcdata_dummy=yes 25849else 25850 ac_cv_libcdata=no 25851fi 25852 25853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25854$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25855if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25856 $as_echo_n "(cached) " >&6 25857else 25858 ac_check_lib_save_LIBS=$LIBS 25859LIBS="-lcdata $LIBS" 25860cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25861/* end confdefs.h. */ 25862 25863/* Override any GCC internal prototype to avoid an error. 25864 Use char because int might match the return type of a GCC 25865 builtin and then its argument prototype would still apply. */ 25866#ifdef __cplusplus 25867extern "C" 25868#endif 25869char libcdata_list_element_free (); 25870int 25871main () 25872{ 25873return libcdata_list_element_free (); 25874 ; 25875 return 0; 25876} 25877_ACEOF 25878if ac_fn_c_try_link "$LINENO"; then : 25879 ac_cv_lib_cdata_libcdata_list_element_free=yes 25880else 25881 ac_cv_lib_cdata_libcdata_list_element_free=no 25882fi 25883rm -f core conftest.err conftest.$ac_objext \ 25884 conftest$ac_exeext conftest.$ac_ext 25885LIBS=$ac_check_lib_save_LIBS 25886fi 25887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25888$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25889if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25890 ac_cv_libcdata_dummy=yes 25891else 25892 ac_cv_libcdata=no 25893fi 25894 25895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25896$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25897if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25898 $as_echo_n "(cached) " >&6 25899else 25900 ac_check_lib_save_LIBS=$LIBS 25901LIBS="-lcdata $LIBS" 25902cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25903/* end confdefs.h. */ 25904 25905/* Override any GCC internal prototype to avoid an error. 25906 Use char because int might match the return type of a GCC 25907 builtin and then its argument prototype would still apply. */ 25908#ifdef __cplusplus 25909extern "C" 25910#endif 25911char libcdata_list_element_get_value (); 25912int 25913main () 25914{ 25915return libcdata_list_element_get_value (); 25916 ; 25917 return 0; 25918} 25919_ACEOF 25920if ac_fn_c_try_link "$LINENO"; then : 25921 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25922else 25923 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25924fi 25925rm -f core conftest.err conftest.$ac_objext \ 25926 conftest$ac_exeext conftest.$ac_ext 25927LIBS=$ac_check_lib_save_LIBS 25928fi 25929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25930$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25931if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25932 ac_cv_libcdata_dummy=yes 25933else 25934 ac_cv_libcdata=no 25935fi 25936 25937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25938$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 25939if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 25940 $as_echo_n "(cached) " >&6 25941else 25942 ac_check_lib_save_LIBS=$LIBS 25943LIBS="-lcdata $LIBS" 25944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25945/* end confdefs.h. */ 25946 25947/* Override any GCC internal prototype to avoid an error. 25948 Use char because int might match the return type of a GCC 25949 builtin and then its argument prototype would still apply. */ 25950#ifdef __cplusplus 25951extern "C" 25952#endif 25953char libcdata_list_element_set_value (); 25954int 25955main () 25956{ 25957return libcdata_list_element_set_value (); 25958 ; 25959 return 0; 25960} 25961_ACEOF 25962if ac_fn_c_try_link "$LINENO"; then : 25963 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 25964else 25965 ac_cv_lib_cdata_libcdata_list_element_set_value=no 25966fi 25967rm -f core conftest.err conftest.$ac_objext \ 25968 conftest$ac_exeext conftest.$ac_ext 25969LIBS=$ac_check_lib_save_LIBS 25970fi 25971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 25972$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 25973if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 25974 ac_cv_libcdata_dummy=yes 25975else 25976 ac_cv_libcdata=no 25977fi 25978 25979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 25980$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 25981if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 25982 $as_echo_n "(cached) " >&6 25983else 25984 ac_check_lib_save_LIBS=$LIBS 25985LIBS="-lcdata $LIBS" 25986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25987/* end confdefs.h. */ 25988 25989/* Override any GCC internal prototype to avoid an error. 25990 Use char because int might match the return type of a GCC 25991 builtin and then its argument prototype would still apply. */ 25992#ifdef __cplusplus 25993extern "C" 25994#endif 25995char libcdata_list_element_get_previous_element (); 25996int 25997main () 25998{ 25999return libcdata_list_element_get_previous_element (); 26000 ; 26001 return 0; 26002} 26003_ACEOF 26004if ac_fn_c_try_link "$LINENO"; then : 26005 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26006else 26007 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26008fi 26009rm -f core conftest.err conftest.$ac_objext \ 26010 conftest$ac_exeext conftest.$ac_ext 26011LIBS=$ac_check_lib_save_LIBS 26012fi 26013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26014$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26015if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26016 ac_cv_libcdata_dummy=yes 26017else 26018 ac_cv_libcdata=no 26019fi 26020 26021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26022$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26023if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26024 $as_echo_n "(cached) " >&6 26025else 26026 ac_check_lib_save_LIBS=$LIBS 26027LIBS="-lcdata $LIBS" 26028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26029/* end confdefs.h. */ 26030 26031/* Override any GCC internal prototype to avoid an error. 26032 Use char because int might match the return type of a GCC 26033 builtin and then its argument prototype would still apply. */ 26034#ifdef __cplusplus 26035extern "C" 26036#endif 26037char libcdata_list_element_set_previous_element (); 26038int 26039main () 26040{ 26041return libcdata_list_element_set_previous_element (); 26042 ; 26043 return 0; 26044} 26045_ACEOF 26046if ac_fn_c_try_link "$LINENO"; then : 26047 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26048else 26049 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26050fi 26051rm -f core conftest.err conftest.$ac_objext \ 26052 conftest$ac_exeext conftest.$ac_ext 26053LIBS=$ac_check_lib_save_LIBS 26054fi 26055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26056$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26057if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26058 ac_cv_libcdata_dummy=yes 26059else 26060 ac_cv_libcdata=no 26061fi 26062 26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26064$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26065if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26066 $as_echo_n "(cached) " >&6 26067else 26068 ac_check_lib_save_LIBS=$LIBS 26069LIBS="-lcdata $LIBS" 26070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26071/* end confdefs.h. */ 26072 26073/* Override any GCC internal prototype to avoid an error. 26074 Use char because int might match the return type of a GCC 26075 builtin and then its argument prototype would still apply. */ 26076#ifdef __cplusplus 26077extern "C" 26078#endif 26079char libcdata_list_element_get_next_element (); 26080int 26081main () 26082{ 26083return libcdata_list_element_get_next_element (); 26084 ; 26085 return 0; 26086} 26087_ACEOF 26088if ac_fn_c_try_link "$LINENO"; then : 26089 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26090else 26091 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26092fi 26093rm -f core conftest.err conftest.$ac_objext \ 26094 conftest$ac_exeext conftest.$ac_ext 26095LIBS=$ac_check_lib_save_LIBS 26096fi 26097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26098$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26099if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26100 ac_cv_libcdata_dummy=yes 26101else 26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26103$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26104if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26105 $as_echo_n "(cached) " >&6 26106else 26107 ac_check_lib_save_LIBS=$LIBS 26108LIBS="-lcdata $LIBS" 26109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26110/* end confdefs.h. */ 26111 26112/* Override any GCC internal prototype to avoid an error. 26113 Use char because int might match the return type of a GCC 26114 builtin and then its argument prototype would still apply. */ 26115#ifdef __cplusplus 26116extern "C" 26117#endif 26118char libcdata_list_element_set_next_element (); 26119int 26120main () 26121{ 26122return libcdata_list_element_set_next_element (); 26123 ; 26124 return 0; 26125} 26126_ACEOF 26127if ac_fn_c_try_link "$LINENO"; then : 26128 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26129else 26130 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26131fi 26132rm -f core conftest.err conftest.$ac_objext \ 26133 conftest$ac_exeext conftest.$ac_ext 26134LIBS=$ac_check_lib_save_LIBS 26135fi 26136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26137$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26138if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26139 ac_cv_libcdata_dummy=yes 26140else 26141 ac_cv_libcdata=no 26142fi 26143 26144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26145$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26146if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26147 $as_echo_n "(cached) " >&6 26148else 26149 ac_check_lib_save_LIBS=$LIBS 26150LIBS="-lcdata $LIBS" 26151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26152/* end confdefs.h. */ 26153 26154/* Override any GCC internal prototype to avoid an error. 26155 Use char because int might match the return type of a GCC 26156 builtin and then its argument prototype would still apply. */ 26157#ifdef __cplusplus 26158extern "C" 26159#endif 26160char libcdata_list_element_get_elements (); 26161int 26162main () 26163{ 26164return libcdata_list_element_get_elements (); 26165 ; 26166 return 0; 26167} 26168_ACEOF 26169if ac_fn_c_try_link "$LINENO"; then : 26170 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26171else 26172 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26173fi 26174rm -f core conftest.err conftest.$ac_objext \ 26175 conftest$ac_exeext conftest.$ac_ext 26176LIBS=$ac_check_lib_save_LIBS 26177fi 26178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26179$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26180if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26181 ac_cv_libcdata_dummy=yes 26182else 26183 ac_cv_libcdata=no 26184fi 26185 26186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26187$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26188if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26189 $as_echo_n "(cached) " >&6 26190else 26191 ac_check_lib_save_LIBS=$LIBS 26192LIBS="-lcdata $LIBS" 26193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26194/* end confdefs.h. */ 26195 26196/* Override any GCC internal prototype to avoid an error. 26197 Use char because int might match the return type of a GCC 26198 builtin and then its argument prototype would still apply. */ 26199#ifdef __cplusplus 26200extern "C" 26201#endif 26202char libcdata_list_element_set_elements (); 26203int 26204main () 26205{ 26206return libcdata_list_element_set_elements (); 26207 ; 26208 return 0; 26209} 26210_ACEOF 26211if ac_fn_c_try_link "$LINENO"; then : 26212 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26213else 26214 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26215fi 26216rm -f core conftest.err conftest.$ac_objext \ 26217 conftest$ac_exeext conftest.$ac_ext 26218LIBS=$ac_check_lib_save_LIBS 26219fi 26220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26221$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26222if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26223 ac_cv_libcdata_dummy=yes 26224else 26225 ac_cv_libcdata=no 26226fi 26227 26228 ac_cv_libcdata=no 26229fi 26230 26231 26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26233$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26234if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26235 $as_echo_n "(cached) " >&6 26236else 26237 ac_check_lib_save_LIBS=$LIBS 26238LIBS="-lcdata $LIBS" 26239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26240/* end confdefs.h. */ 26241 26242/* Override any GCC internal prototype to avoid an error. 26243 Use char because int might match the return type of a GCC 26244 builtin and then its argument prototype would still apply. */ 26245#ifdef __cplusplus 26246extern "C" 26247#endif 26248char libcdata_range_list_initialize (); 26249int 26250main () 26251{ 26252return libcdata_range_list_initialize (); 26253 ; 26254 return 0; 26255} 26256_ACEOF 26257if ac_fn_c_try_link "$LINENO"; then : 26258 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26259else 26260 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26261fi 26262rm -f core conftest.err conftest.$ac_objext \ 26263 conftest$ac_exeext conftest.$ac_ext 26264LIBS=$ac_check_lib_save_LIBS 26265fi 26266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26267$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26268if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26269 ac_cv_libcdata_dummy=yes 26270else 26271 ac_cv_libcdata=no 26272fi 26273 26274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26275$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26276if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26277 $as_echo_n "(cached) " >&6 26278else 26279 ac_check_lib_save_LIBS=$LIBS 26280LIBS="-lcdata $LIBS" 26281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26282/* end confdefs.h. */ 26283 26284/* Override any GCC internal prototype to avoid an error. 26285 Use char because int might match the return type of a GCC 26286 builtin and then its argument prototype would still apply. */ 26287#ifdef __cplusplus 26288extern "C" 26289#endif 26290char libcdata_range_list_free (); 26291int 26292main () 26293{ 26294return libcdata_range_list_free (); 26295 ; 26296 return 0; 26297} 26298_ACEOF 26299if ac_fn_c_try_link "$LINENO"; then : 26300 ac_cv_lib_cdata_libcdata_range_list_free=yes 26301else 26302 ac_cv_lib_cdata_libcdata_range_list_free=no 26303fi 26304rm -f core conftest.err conftest.$ac_objext \ 26305 conftest$ac_exeext conftest.$ac_ext 26306LIBS=$ac_check_lib_save_LIBS 26307fi 26308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26309$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26310if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26311 ac_cv_libcdata_dummy=yes 26312else 26313 ac_cv_libcdata=no 26314fi 26315 26316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26317$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26318if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26319 $as_echo_n "(cached) " >&6 26320else 26321 ac_check_lib_save_LIBS=$LIBS 26322LIBS="-lcdata $LIBS" 26323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26324/* end confdefs.h. */ 26325 26326/* Override any GCC internal prototype to avoid an error. 26327 Use char because int might match the return type of a GCC 26328 builtin and then its argument prototype would still apply. */ 26329#ifdef __cplusplus 26330extern "C" 26331#endif 26332char libcdata_range_list_empty (); 26333int 26334main () 26335{ 26336return libcdata_range_list_empty (); 26337 ; 26338 return 0; 26339} 26340_ACEOF 26341if ac_fn_c_try_link "$LINENO"; then : 26342 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26343else 26344 ac_cv_lib_cdata_libcdata_range_list_empty=no 26345fi 26346rm -f core conftest.err conftest.$ac_objext \ 26347 conftest$ac_exeext conftest.$ac_ext 26348LIBS=$ac_check_lib_save_LIBS 26349fi 26350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26351$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26352if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26353 ac_cv_libcdata_dummy=yes 26354else 26355 ac_cv_libcdata=no 26356fi 26357 26358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26359$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26360if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26361 $as_echo_n "(cached) " >&6 26362else 26363 ac_check_lib_save_LIBS=$LIBS 26364LIBS="-lcdata $LIBS" 26365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26366/* end confdefs.h. */ 26367 26368/* Override any GCC internal prototype to avoid an error. 26369 Use char because int might match the return type of a GCC 26370 builtin and then its argument prototype would still apply. */ 26371#ifdef __cplusplus 26372extern "C" 26373#endif 26374char libcdata_range_list_clone (); 26375int 26376main () 26377{ 26378return libcdata_range_list_clone (); 26379 ; 26380 return 0; 26381} 26382_ACEOF 26383if ac_fn_c_try_link "$LINENO"; then : 26384 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26385else 26386 ac_cv_lib_cdata_libcdata_range_list_clone=no 26387fi 26388rm -f core conftest.err conftest.$ac_objext \ 26389 conftest$ac_exeext conftest.$ac_ext 26390LIBS=$ac_check_lib_save_LIBS 26391fi 26392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26393$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26394if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26395 ac_cv_libcdata_dummy=yes 26396else 26397 ac_cv_libcdata=no 26398fi 26399 26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26401$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26402if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26403 $as_echo_n "(cached) " >&6 26404else 26405 ac_check_lib_save_LIBS=$LIBS 26406LIBS="-lcdata $LIBS" 26407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26408/* end confdefs.h. */ 26409 26410/* Override any GCC internal prototype to avoid an error. 26411 Use char because int might match the return type of a GCC 26412 builtin and then its argument prototype would still apply. */ 26413#ifdef __cplusplus 26414extern "C" 26415#endif 26416char libcdata_range_list_get_number_of_elements (); 26417int 26418main () 26419{ 26420return libcdata_range_list_get_number_of_elements (); 26421 ; 26422 return 0; 26423} 26424_ACEOF 26425if ac_fn_c_try_link "$LINENO"; then : 26426 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26427else 26428 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26429fi 26430rm -f core conftest.err conftest.$ac_objext \ 26431 conftest$ac_exeext conftest.$ac_ext 26432LIBS=$ac_check_lib_save_LIBS 26433fi 26434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26435$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26436if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26437 ac_cv_libcdata_dummy=yes 26438else 26439 ac_cv_libcdata=no 26440fi 26441 26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26443$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26444if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26445 $as_echo_n "(cached) " >&6 26446else 26447 ac_check_lib_save_LIBS=$LIBS 26448LIBS="-lcdata $LIBS" 26449cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26450/* end confdefs.h. */ 26451 26452/* Override any GCC internal prototype to avoid an error. 26453 Use char because int might match the return type of a GCC 26454 builtin and then its argument prototype would still apply. */ 26455#ifdef __cplusplus 26456extern "C" 26457#endif 26458char libcdata_range_list_insert_range (); 26459int 26460main () 26461{ 26462return libcdata_range_list_insert_range (); 26463 ; 26464 return 0; 26465} 26466_ACEOF 26467if ac_fn_c_try_link "$LINENO"; then : 26468 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26469else 26470 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26471fi 26472rm -f core conftest.err conftest.$ac_objext \ 26473 conftest$ac_exeext conftest.$ac_ext 26474LIBS=$ac_check_lib_save_LIBS 26475fi 26476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26477$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26478if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26479 ac_cv_libcdata_dummy=yes 26480else 26481 ac_cv_libcdata=no 26482fi 26483 26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26485$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26486if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26487 $as_echo_n "(cached) " >&6 26488else 26489 ac_check_lib_save_LIBS=$LIBS 26490LIBS="-lcdata $LIBS" 26491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26492/* end confdefs.h. */ 26493 26494/* Override any GCC internal prototype to avoid an error. 26495 Use char because int might match the return type of a GCC 26496 builtin and then its argument prototype would still apply. */ 26497#ifdef __cplusplus 26498extern "C" 26499#endif 26500char libcdata_range_list_insert_range_list (); 26501int 26502main () 26503{ 26504return libcdata_range_list_insert_range_list (); 26505 ; 26506 return 0; 26507} 26508_ACEOF 26509if ac_fn_c_try_link "$LINENO"; then : 26510 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26511else 26512 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26513fi 26514rm -f core conftest.err conftest.$ac_objext \ 26515 conftest$ac_exeext conftest.$ac_ext 26516LIBS=$ac_check_lib_save_LIBS 26517fi 26518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26519$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26520if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26521 ac_cv_libcdata_dummy=yes 26522else 26523 ac_cv_libcdata=no 26524fi 26525 26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26527$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26528if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26529 $as_echo_n "(cached) " >&6 26530else 26531 ac_check_lib_save_LIBS=$LIBS 26532LIBS="-lcdata $LIBS" 26533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26534/* end confdefs.h. */ 26535 26536/* Override any GCC internal prototype to avoid an error. 26537 Use char because int might match the return type of a GCC 26538 builtin and then its argument prototype would still apply. */ 26539#ifdef __cplusplus 26540extern "C" 26541#endif 26542char libcdata_range_list_remove_range (); 26543int 26544main () 26545{ 26546return libcdata_range_list_remove_range (); 26547 ; 26548 return 0; 26549} 26550_ACEOF 26551if ac_fn_c_try_link "$LINENO"; then : 26552 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26553else 26554 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26555fi 26556rm -f core conftest.err conftest.$ac_objext \ 26557 conftest$ac_exeext conftest.$ac_ext 26558LIBS=$ac_check_lib_save_LIBS 26559fi 26560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26561$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26562if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26563 ac_cv_libcdata_dummy=yes 26564else 26565 ac_cv_libcdata=no 26566fi 26567 26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26569$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26570if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26571 $as_echo_n "(cached) " >&6 26572else 26573 ac_check_lib_save_LIBS=$LIBS 26574LIBS="-lcdata $LIBS" 26575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26576/* end confdefs.h. */ 26577 26578/* Override any GCC internal prototype to avoid an error. 26579 Use char because int might match the return type of a GCC 26580 builtin and then its argument prototype would still apply. */ 26581#ifdef __cplusplus 26582extern "C" 26583#endif 26584char libcdata_range_list_get_range_by_index (); 26585int 26586main () 26587{ 26588return libcdata_range_list_get_range_by_index (); 26589 ; 26590 return 0; 26591} 26592_ACEOF 26593if ac_fn_c_try_link "$LINENO"; then : 26594 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26595else 26596 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26597fi 26598rm -f core conftest.err conftest.$ac_objext \ 26599 conftest$ac_exeext conftest.$ac_ext 26600LIBS=$ac_check_lib_save_LIBS 26601fi 26602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26603$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26604if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26605 ac_cv_libcdata_dummy=yes 26606else 26607 ac_cv_libcdata=no 26608fi 26609 26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26611$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26612if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26613 $as_echo_n "(cached) " >&6 26614else 26615 ac_check_lib_save_LIBS=$LIBS 26616LIBS="-lcdata $LIBS" 26617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26618/* end confdefs.h. */ 26619 26620/* Override any GCC internal prototype to avoid an error. 26621 Use char because int might match the return type of a GCC 26622 builtin and then its argument prototype would still apply. */ 26623#ifdef __cplusplus 26624extern "C" 26625#endif 26626char libcdata_range_list_get_range_at_offset (); 26627int 26628main () 26629{ 26630return libcdata_range_list_get_range_at_offset (); 26631 ; 26632 return 0; 26633} 26634_ACEOF 26635if ac_fn_c_try_link "$LINENO"; then : 26636 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26637else 26638 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26639fi 26640rm -f core conftest.err conftest.$ac_objext \ 26641 conftest$ac_exeext conftest.$ac_ext 26642LIBS=$ac_check_lib_save_LIBS 26643fi 26644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26645$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26646if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26647 ac_cv_libcdata_dummy=yes 26648else 26649 ac_cv_libcdata=no 26650fi 26651 26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26653$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26654if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26655 $as_echo_n "(cached) " >&6 26656else 26657 ac_check_lib_save_LIBS=$LIBS 26658LIBS="-lcdata $LIBS" 26659cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26660/* end confdefs.h. */ 26661 26662/* Override any GCC internal prototype to avoid an error. 26663 Use char because int might match the return type of a GCC 26664 builtin and then its argument prototype would still apply. */ 26665#ifdef __cplusplus 26666extern "C" 26667#endif 26668char libcdata_range_list_range_is_present (); 26669int 26670main () 26671{ 26672return libcdata_range_list_range_is_present (); 26673 ; 26674 return 0; 26675} 26676_ACEOF 26677if ac_fn_c_try_link "$LINENO"; then : 26678 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26679else 26680 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26681fi 26682rm -f core conftest.err conftest.$ac_objext \ 26683 conftest$ac_exeext conftest.$ac_ext 26684LIBS=$ac_check_lib_save_LIBS 26685fi 26686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26687$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26688if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26689 ac_cv_libcdata_dummy=yes 26690else 26691 ac_cv_libcdata=no 26692fi 26693 26694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26695$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26696if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26697 $as_echo_n "(cached) " >&6 26698else 26699 ac_check_lib_save_LIBS=$LIBS 26700LIBS="-lcdata $LIBS" 26701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26702/* end confdefs.h. */ 26703 26704/* Override any GCC internal prototype to avoid an error. 26705 Use char because int might match the return type of a GCC 26706 builtin and then its argument prototype would still apply. */ 26707#ifdef __cplusplus 26708extern "C" 26709#endif 26710char libcdata_range_list_get_spanning_range (); 26711int 26712main () 26713{ 26714return libcdata_range_list_get_spanning_range (); 26715 ; 26716 return 0; 26717} 26718_ACEOF 26719if ac_fn_c_try_link "$LINENO"; then : 26720 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26721else 26722 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26723fi 26724rm -f core conftest.err conftest.$ac_objext \ 26725 conftest$ac_exeext conftest.$ac_ext 26726LIBS=$ac_check_lib_save_LIBS 26727fi 26728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26729$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26730if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26731 ac_cv_libcdata_dummy=yes 26732else 26733 ac_cv_libcdata=no 26734fi 26735 26736 26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26738$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26739if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26740 $as_echo_n "(cached) " >&6 26741else 26742 ac_check_lib_save_LIBS=$LIBS 26743LIBS="-lcdata $LIBS" 26744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26745/* end confdefs.h. */ 26746 26747/* Override any GCC internal prototype to avoid an error. 26748 Use char because int might match the return type of a GCC 26749 builtin and then its argument prototype would still apply. */ 26750#ifdef __cplusplus 26751extern "C" 26752#endif 26753char libcdata_tree_node_initialize (); 26754int 26755main () 26756{ 26757return libcdata_tree_node_initialize (); 26758 ; 26759 return 0; 26760} 26761_ACEOF 26762if ac_fn_c_try_link "$LINENO"; then : 26763 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26764else 26765 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26766fi 26767rm -f core conftest.err conftest.$ac_objext \ 26768 conftest$ac_exeext conftest.$ac_ext 26769LIBS=$ac_check_lib_save_LIBS 26770fi 26771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26772$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26773if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26774 ac_cv_libcdata_dummy=yes 26775else 26776 ac_cv_libcdata=no 26777fi 26778 26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26780$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26781if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26782 $as_echo_n "(cached) " >&6 26783else 26784 ac_check_lib_save_LIBS=$LIBS 26785LIBS="-lcdata $LIBS" 26786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26787/* end confdefs.h. */ 26788 26789/* Override any GCC internal prototype to avoid an error. 26790 Use char because int might match the return type of a GCC 26791 builtin and then its argument prototype would still apply. */ 26792#ifdef __cplusplus 26793extern "C" 26794#endif 26795char libcdata_tree_node_free (); 26796int 26797main () 26798{ 26799return libcdata_tree_node_free (); 26800 ; 26801 return 0; 26802} 26803_ACEOF 26804if ac_fn_c_try_link "$LINENO"; then : 26805 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26806else 26807 ac_cv_lib_cdata_libcdata_tree_node_free=no 26808fi 26809rm -f core conftest.err conftest.$ac_objext \ 26810 conftest$ac_exeext conftest.$ac_ext 26811LIBS=$ac_check_lib_save_LIBS 26812fi 26813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26814$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26815if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26816 ac_cv_libcdata_dummy=yes 26817else 26818 ac_cv_libcdata=no 26819fi 26820 26821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26822$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26823if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26824 $as_echo_n "(cached) " >&6 26825else 26826 ac_check_lib_save_LIBS=$LIBS 26827LIBS="-lcdata $LIBS" 26828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26829/* end confdefs.h. */ 26830 26831/* Override any GCC internal prototype to avoid an error. 26832 Use char because int might match the return type of a GCC 26833 builtin and then its argument prototype would still apply. */ 26834#ifdef __cplusplus 26835extern "C" 26836#endif 26837char libcdata_tree_node_empty (); 26838int 26839main () 26840{ 26841return libcdata_tree_node_empty (); 26842 ; 26843 return 0; 26844} 26845_ACEOF 26846if ac_fn_c_try_link "$LINENO"; then : 26847 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26848else 26849 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26850fi 26851rm -f core conftest.err conftest.$ac_objext \ 26852 conftest$ac_exeext conftest.$ac_ext 26853LIBS=$ac_check_lib_save_LIBS 26854fi 26855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26856$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26857if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26858 ac_cv_libcdata_dummy=yes 26859else 26860 ac_cv_libcdata=no 26861fi 26862 26863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26864$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26865if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26866 $as_echo_n "(cached) " >&6 26867else 26868 ac_check_lib_save_LIBS=$LIBS 26869LIBS="-lcdata $LIBS" 26870cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26871/* end confdefs.h. */ 26872 26873/* Override any GCC internal prototype to avoid an error. 26874 Use char because int might match the return type of a GCC 26875 builtin and then its argument prototype would still apply. */ 26876#ifdef __cplusplus 26877extern "C" 26878#endif 26879char libcdata_tree_node_clone (); 26880int 26881main () 26882{ 26883return libcdata_tree_node_clone (); 26884 ; 26885 return 0; 26886} 26887_ACEOF 26888if ac_fn_c_try_link "$LINENO"; then : 26889 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26890else 26891 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26892fi 26893rm -f core conftest.err conftest.$ac_objext \ 26894 conftest$ac_exeext conftest.$ac_ext 26895LIBS=$ac_check_lib_save_LIBS 26896fi 26897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26898$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26899if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26900 ac_cv_libcdata_dummy=yes 26901else 26902 ac_cv_libcdata=no 26903fi 26904 26905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26906$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26907if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26908 $as_echo_n "(cached) " >&6 26909else 26910 ac_check_lib_save_LIBS=$LIBS 26911LIBS="-lcdata $LIBS" 26912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26913/* end confdefs.h. */ 26914 26915/* Override any GCC internal prototype to avoid an error. 26916 Use char because int might match the return type of a GCC 26917 builtin and then its argument prototype would still apply. */ 26918#ifdef __cplusplus 26919extern "C" 26920#endif 26921char libcdata_tree_node_get_value (); 26922int 26923main () 26924{ 26925return libcdata_tree_node_get_value (); 26926 ; 26927 return 0; 26928} 26929_ACEOF 26930if ac_fn_c_try_link "$LINENO"; then : 26931 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 26932else 26933 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 26934fi 26935rm -f core conftest.err conftest.$ac_objext \ 26936 conftest$ac_exeext conftest.$ac_ext 26937LIBS=$ac_check_lib_save_LIBS 26938fi 26939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 26940$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 26941if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 26942 ac_cv_libcdata_dummy=yes 26943else 26944 ac_cv_libcdata=no 26945fi 26946 26947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 26948$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 26949if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 26950 $as_echo_n "(cached) " >&6 26951else 26952 ac_check_lib_save_LIBS=$LIBS 26953LIBS="-lcdata $LIBS" 26954cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26955/* end confdefs.h. */ 26956 26957/* Override any GCC internal prototype to avoid an error. 26958 Use char because int might match the return type of a GCC 26959 builtin and then its argument prototype would still apply. */ 26960#ifdef __cplusplus 26961extern "C" 26962#endif 26963char libcdata_tree_node_set_value (); 26964int 26965main () 26966{ 26967return libcdata_tree_node_set_value (); 26968 ; 26969 return 0; 26970} 26971_ACEOF 26972if ac_fn_c_try_link "$LINENO"; then : 26973 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 26974else 26975 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 26976fi 26977rm -f core conftest.err conftest.$ac_objext \ 26978 conftest$ac_exeext conftest.$ac_ext 26979LIBS=$ac_check_lib_save_LIBS 26980fi 26981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 26982$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 26983if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 26984 ac_cv_libcdata_dummy=yes 26985else 26986 ac_cv_libcdata=no 26987fi 26988 26989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 26990$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 26991if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 26992 $as_echo_n "(cached) " >&6 26993else 26994 ac_check_lib_save_LIBS=$LIBS 26995LIBS="-lcdata $LIBS" 26996cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26997/* end confdefs.h. */ 26998 26999/* Override any GCC internal prototype to avoid an error. 27000 Use char because int might match the return type of a GCC 27001 builtin and then its argument prototype would still apply. */ 27002#ifdef __cplusplus 27003extern "C" 27004#endif 27005char libcdata_tree_node_get_parent_node (); 27006int 27007main () 27008{ 27009return libcdata_tree_node_get_parent_node (); 27010 ; 27011 return 0; 27012} 27013_ACEOF 27014if ac_fn_c_try_link "$LINENO"; then : 27015 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27016else 27017 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27018fi 27019rm -f core conftest.err conftest.$ac_objext \ 27020 conftest$ac_exeext conftest.$ac_ext 27021LIBS=$ac_check_lib_save_LIBS 27022fi 27023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27024$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27025if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27026 ac_cv_libcdata_dummy=yes 27027else 27028 ac_cv_libcdata=no 27029fi 27030 27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27032$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27033if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27034 $as_echo_n "(cached) " >&6 27035else 27036 ac_check_lib_save_LIBS=$LIBS 27037LIBS="-lcdata $LIBS" 27038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27039/* end confdefs.h. */ 27040 27041/* Override any GCC internal prototype to avoid an error. 27042 Use char because int might match the return type of a GCC 27043 builtin and then its argument prototype would still apply. */ 27044#ifdef __cplusplus 27045extern "C" 27046#endif 27047char libcdata_tree_node_set_parent_node (); 27048int 27049main () 27050{ 27051return libcdata_tree_node_set_parent_node (); 27052 ; 27053 return 0; 27054} 27055_ACEOF 27056if ac_fn_c_try_link "$LINENO"; then : 27057 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27058else 27059 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27060fi 27061rm -f core conftest.err conftest.$ac_objext \ 27062 conftest$ac_exeext conftest.$ac_ext 27063LIBS=$ac_check_lib_save_LIBS 27064fi 27065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27066$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27067if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27068 ac_cv_libcdata_dummy=yes 27069else 27070 ac_cv_libcdata=no 27071fi 27072 27073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27074$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27075if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27076 $as_echo_n "(cached) " >&6 27077else 27078 ac_check_lib_save_LIBS=$LIBS 27079LIBS="-lcdata $LIBS" 27080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27081/* end confdefs.h. */ 27082 27083/* Override any GCC internal prototype to avoid an error. 27084 Use char because int might match the return type of a GCC 27085 builtin and then its argument prototype would still apply. */ 27086#ifdef __cplusplus 27087extern "C" 27088#endif 27089char libcdata_tree_node_get_previous_node (); 27090int 27091main () 27092{ 27093return libcdata_tree_node_get_previous_node (); 27094 ; 27095 return 0; 27096} 27097_ACEOF 27098if ac_fn_c_try_link "$LINENO"; then : 27099 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27100else 27101 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27102fi 27103rm -f core conftest.err conftest.$ac_objext \ 27104 conftest$ac_exeext conftest.$ac_ext 27105LIBS=$ac_check_lib_save_LIBS 27106fi 27107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27108$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27109if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27110 ac_cv_libcdata_dummy=yes 27111else 27112 ac_cv_libcdata=no 27113fi 27114 27115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27116$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27117if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27118 $as_echo_n "(cached) " >&6 27119else 27120 ac_check_lib_save_LIBS=$LIBS 27121LIBS="-lcdata $LIBS" 27122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27123/* end confdefs.h. */ 27124 27125/* Override any GCC internal prototype to avoid an error. 27126 Use char because int might match the return type of a GCC 27127 builtin and then its argument prototype would still apply. */ 27128#ifdef __cplusplus 27129extern "C" 27130#endif 27131char libcdata_tree_node_set_previous_node (); 27132int 27133main () 27134{ 27135return libcdata_tree_node_set_previous_node (); 27136 ; 27137 return 0; 27138} 27139_ACEOF 27140if ac_fn_c_try_link "$LINENO"; then : 27141 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27142else 27143 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27144fi 27145rm -f core conftest.err conftest.$ac_objext \ 27146 conftest$ac_exeext conftest.$ac_ext 27147LIBS=$ac_check_lib_save_LIBS 27148fi 27149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27150$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27151if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27152 ac_cv_libcdata_dummy=yes 27153else 27154 ac_cv_libcdata=no 27155fi 27156 27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27158$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27159if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27160 $as_echo_n "(cached) " >&6 27161else 27162 ac_check_lib_save_LIBS=$LIBS 27163LIBS="-lcdata $LIBS" 27164cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27165/* end confdefs.h. */ 27166 27167/* Override any GCC internal prototype to avoid an error. 27168 Use char because int might match the return type of a GCC 27169 builtin and then its argument prototype would still apply. */ 27170#ifdef __cplusplus 27171extern "C" 27172#endif 27173char libcdata_tree_node_get_next_node (); 27174int 27175main () 27176{ 27177return libcdata_tree_node_get_next_node (); 27178 ; 27179 return 0; 27180} 27181_ACEOF 27182if ac_fn_c_try_link "$LINENO"; then : 27183 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27184else 27185 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27186fi 27187rm -f core conftest.err conftest.$ac_objext \ 27188 conftest$ac_exeext conftest.$ac_ext 27189LIBS=$ac_check_lib_save_LIBS 27190fi 27191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27192$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27193if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27194 ac_cv_libcdata_dummy=yes 27195else 27196 ac_cv_libcdata=no 27197fi 27198 27199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27200$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27201if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27202 $as_echo_n "(cached) " >&6 27203else 27204 ac_check_lib_save_LIBS=$LIBS 27205LIBS="-lcdata $LIBS" 27206cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27207/* end confdefs.h. */ 27208 27209/* Override any GCC internal prototype to avoid an error. 27210 Use char because int might match the return type of a GCC 27211 builtin and then its argument prototype would still apply. */ 27212#ifdef __cplusplus 27213extern "C" 27214#endif 27215char libcdata_tree_node_set_next_node (); 27216int 27217main () 27218{ 27219return libcdata_tree_node_set_next_node (); 27220 ; 27221 return 0; 27222} 27223_ACEOF 27224if ac_fn_c_try_link "$LINENO"; then : 27225 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27226else 27227 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27228fi 27229rm -f core conftest.err conftest.$ac_objext \ 27230 conftest$ac_exeext conftest.$ac_ext 27231LIBS=$ac_check_lib_save_LIBS 27232fi 27233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27234$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27235if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27236 ac_cv_libcdata_dummy=yes 27237else 27238 ac_cv_libcdata=no 27239fi 27240 27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27242$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27243if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27244 $as_echo_n "(cached) " >&6 27245else 27246 ac_check_lib_save_LIBS=$LIBS 27247LIBS="-lcdata $LIBS" 27248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27249/* end confdefs.h. */ 27250 27251/* Override any GCC internal prototype to avoid an error. 27252 Use char because int might match the return type of a GCC 27253 builtin and then its argument prototype would still apply. */ 27254#ifdef __cplusplus 27255extern "C" 27256#endif 27257char libcdata_tree_node_get_nodes (); 27258int 27259main () 27260{ 27261return libcdata_tree_node_get_nodes (); 27262 ; 27263 return 0; 27264} 27265_ACEOF 27266if ac_fn_c_try_link "$LINENO"; then : 27267 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27268else 27269 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27270fi 27271rm -f core conftest.err conftest.$ac_objext \ 27272 conftest$ac_exeext conftest.$ac_ext 27273LIBS=$ac_check_lib_save_LIBS 27274fi 27275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27276$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27277if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27278 ac_cv_libcdata_dummy=yes 27279else 27280 ac_cv_libcdata=no 27281fi 27282 27283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27284$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27285if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27286 $as_echo_n "(cached) " >&6 27287else 27288 ac_check_lib_save_LIBS=$LIBS 27289LIBS="-lcdata $LIBS" 27290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27291/* end confdefs.h. */ 27292 27293/* Override any GCC internal prototype to avoid an error. 27294 Use char because int might match the return type of a GCC 27295 builtin and then its argument prototype would still apply. */ 27296#ifdef __cplusplus 27297extern "C" 27298#endif 27299char libcdata_tree_node_set_nodes (); 27300int 27301main () 27302{ 27303return libcdata_tree_node_set_nodes (); 27304 ; 27305 return 0; 27306} 27307_ACEOF 27308if ac_fn_c_try_link "$LINENO"; then : 27309 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27310else 27311 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27312fi 27313rm -f core conftest.err conftest.$ac_objext \ 27314 conftest$ac_exeext conftest.$ac_ext 27315LIBS=$ac_check_lib_save_LIBS 27316fi 27317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27318$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27319if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27320 ac_cv_libcdata_dummy=yes 27321else 27322 ac_cv_libcdata=no 27323fi 27324 27325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27326$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27327if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27328 $as_echo_n "(cached) " >&6 27329else 27330 ac_check_lib_save_LIBS=$LIBS 27331LIBS="-lcdata $LIBS" 27332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27333/* end confdefs.h. */ 27334 27335/* Override any GCC internal prototype to avoid an error. 27336 Use char because int might match the return type of a GCC 27337 builtin and then its argument prototype would still apply. */ 27338#ifdef __cplusplus 27339extern "C" 27340#endif 27341char libcdata_tree_node_append_node (); 27342int 27343main () 27344{ 27345return libcdata_tree_node_append_node (); 27346 ; 27347 return 0; 27348} 27349_ACEOF 27350if ac_fn_c_try_link "$LINENO"; then : 27351 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27352else 27353 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27354fi 27355rm -f core conftest.err conftest.$ac_objext \ 27356 conftest$ac_exeext conftest.$ac_ext 27357LIBS=$ac_check_lib_save_LIBS 27358fi 27359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27360$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27361if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27362 ac_cv_libcdata_dummy=yes 27363else 27364 ac_cv_libcdata=no 27365fi 27366 27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27368$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27369if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27370 $as_echo_n "(cached) " >&6 27371else 27372 ac_check_lib_save_LIBS=$LIBS 27373LIBS="-lcdata $LIBS" 27374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27375/* end confdefs.h. */ 27376 27377/* Override any GCC internal prototype to avoid an error. 27378 Use char because int might match the return type of a GCC 27379 builtin and then its argument prototype would still apply. */ 27380#ifdef __cplusplus 27381extern "C" 27382#endif 27383char libcdata_tree_node_append_value (); 27384int 27385main () 27386{ 27387return libcdata_tree_node_append_value (); 27388 ; 27389 return 0; 27390} 27391_ACEOF 27392if ac_fn_c_try_link "$LINENO"; then : 27393 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27394else 27395 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27396fi 27397rm -f core conftest.err conftest.$ac_objext \ 27398 conftest$ac_exeext conftest.$ac_ext 27399LIBS=$ac_check_lib_save_LIBS 27400fi 27401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27402$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27403if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27404 ac_cv_libcdata_dummy=yes 27405else 27406 ac_cv_libcdata=no 27407fi 27408 27409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27410$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27411if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27412 $as_echo_n "(cached) " >&6 27413else 27414 ac_check_lib_save_LIBS=$LIBS 27415LIBS="-lcdata $LIBS" 27416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27417/* end confdefs.h. */ 27418 27419/* Override any GCC internal prototype to avoid an error. 27420 Use char because int might match the return type of a GCC 27421 builtin and then its argument prototype would still apply. */ 27422#ifdef __cplusplus 27423extern "C" 27424#endif 27425char libcdata_tree_node_insert_node (); 27426int 27427main () 27428{ 27429return libcdata_tree_node_insert_node (); 27430 ; 27431 return 0; 27432} 27433_ACEOF 27434if ac_fn_c_try_link "$LINENO"; then : 27435 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27436else 27437 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27438fi 27439rm -f core conftest.err conftest.$ac_objext \ 27440 conftest$ac_exeext conftest.$ac_ext 27441LIBS=$ac_check_lib_save_LIBS 27442fi 27443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27444$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27445if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27446 ac_cv_libcdata_dummy=yes 27447else 27448 ac_cv_libcdata=no 27449fi 27450 27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27452$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27453if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27454 $as_echo_n "(cached) " >&6 27455else 27456 ac_check_lib_save_LIBS=$LIBS 27457LIBS="-lcdata $LIBS" 27458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27459/* end confdefs.h. */ 27460 27461/* Override any GCC internal prototype to avoid an error. 27462 Use char because int might match the return type of a GCC 27463 builtin and then its argument prototype would still apply. */ 27464#ifdef __cplusplus 27465extern "C" 27466#endif 27467char libcdata_tree_node_insert_value (); 27468int 27469main () 27470{ 27471return libcdata_tree_node_insert_value (); 27472 ; 27473 return 0; 27474} 27475_ACEOF 27476if ac_fn_c_try_link "$LINENO"; then : 27477 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27478else 27479 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27480fi 27481rm -f core conftest.err conftest.$ac_objext \ 27482 conftest$ac_exeext conftest.$ac_ext 27483LIBS=$ac_check_lib_save_LIBS 27484fi 27485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27486$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27487if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27488 ac_cv_libcdata_dummy=yes 27489else 27490 ac_cv_libcdata=no 27491fi 27492 27493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27494$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27495if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27496 $as_echo_n "(cached) " >&6 27497else 27498 ac_check_lib_save_LIBS=$LIBS 27499LIBS="-lcdata $LIBS" 27500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27501/* end confdefs.h. */ 27502 27503/* Override any GCC internal prototype to avoid an error. 27504 Use char because int might match the return type of a GCC 27505 builtin and then its argument prototype would still apply. */ 27506#ifdef __cplusplus 27507extern "C" 27508#endif 27509char libcdata_tree_node_replace_node (); 27510int 27511main () 27512{ 27513return libcdata_tree_node_replace_node (); 27514 ; 27515 return 0; 27516} 27517_ACEOF 27518if ac_fn_c_try_link "$LINENO"; then : 27519 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27520else 27521 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27522fi 27523rm -f core conftest.err conftest.$ac_objext \ 27524 conftest$ac_exeext conftest.$ac_ext 27525LIBS=$ac_check_lib_save_LIBS 27526fi 27527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27528$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27529if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27530 ac_cv_libcdata_dummy=yes 27531else 27532 ac_cv_libcdata=no 27533fi 27534 27535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27536$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27537if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27538 $as_echo_n "(cached) " >&6 27539else 27540 ac_check_lib_save_LIBS=$LIBS 27541LIBS="-lcdata $LIBS" 27542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27543/* end confdefs.h. */ 27544 27545/* Override any GCC internal prototype to avoid an error. 27546 Use char because int might match the return type of a GCC 27547 builtin and then its argument prototype would still apply. */ 27548#ifdef __cplusplus 27549extern "C" 27550#endif 27551char libcdata_tree_node_remove_node (); 27552int 27553main () 27554{ 27555return libcdata_tree_node_remove_node (); 27556 ; 27557 return 0; 27558} 27559_ACEOF 27560if ac_fn_c_try_link "$LINENO"; then : 27561 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27562else 27563 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27564fi 27565rm -f core conftest.err conftest.$ac_objext \ 27566 conftest$ac_exeext conftest.$ac_ext 27567LIBS=$ac_check_lib_save_LIBS 27568fi 27569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27570$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27571if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27572 ac_cv_libcdata_dummy=yes 27573else 27574 ac_cv_libcdata=no 27575fi 27576 27577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27578$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27579if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27580 $as_echo_n "(cached) " >&6 27581else 27582 ac_check_lib_save_LIBS=$LIBS 27583LIBS="-lcdata $LIBS" 27584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27585/* end confdefs.h. */ 27586 27587/* Override any GCC internal prototype to avoid an error. 27588 Use char because int might match the return type of a GCC 27589 builtin and then its argument prototype would still apply. */ 27590#ifdef __cplusplus 27591extern "C" 27592#endif 27593char libcdata_tree_node_get_number_of_sub_nodes (); 27594int 27595main () 27596{ 27597return libcdata_tree_node_get_number_of_sub_nodes (); 27598 ; 27599 return 0; 27600} 27601_ACEOF 27602if ac_fn_c_try_link "$LINENO"; then : 27603 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27604else 27605 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27606fi 27607rm -f core conftest.err conftest.$ac_objext \ 27608 conftest$ac_exeext conftest.$ac_ext 27609LIBS=$ac_check_lib_save_LIBS 27610fi 27611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27612$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27613if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27614 ac_cv_libcdata_dummy=yes 27615else 27616 ac_cv_libcdata=no 27617fi 27618 27619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27620$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27621if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27622 $as_echo_n "(cached) " >&6 27623else 27624 ac_check_lib_save_LIBS=$LIBS 27625LIBS="-lcdata $LIBS" 27626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27627/* end confdefs.h. */ 27628 27629/* Override any GCC internal prototype to avoid an error. 27630 Use char because int might match the return type of a GCC 27631 builtin and then its argument prototype would still apply. */ 27632#ifdef __cplusplus 27633extern "C" 27634#endif 27635char libcdata_tree_node_get_sub_node_by_index (); 27636int 27637main () 27638{ 27639return libcdata_tree_node_get_sub_node_by_index (); 27640 ; 27641 return 0; 27642} 27643_ACEOF 27644if ac_fn_c_try_link "$LINENO"; then : 27645 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27646else 27647 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27648fi 27649rm -f core conftest.err conftest.$ac_objext \ 27650 conftest$ac_exeext conftest.$ac_ext 27651LIBS=$ac_check_lib_save_LIBS 27652fi 27653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27654$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27655if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27656 ac_cv_libcdata_dummy=yes 27657else 27658 ac_cv_libcdata=no 27659fi 27660 27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27662$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27663if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27664 $as_echo_n "(cached) " >&6 27665else 27666 ac_check_lib_save_LIBS=$LIBS 27667LIBS="-lcdata $LIBS" 27668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27669/* end confdefs.h. */ 27670 27671/* Override any GCC internal prototype to avoid an error. 27672 Use char because int might match the return type of a GCC 27673 builtin and then its argument prototype would still apply. */ 27674#ifdef __cplusplus 27675extern "C" 27676#endif 27677char libcdata_tree_node_get_leaf_node_list (); 27678int 27679main () 27680{ 27681return libcdata_tree_node_get_leaf_node_list (); 27682 ; 27683 return 0; 27684} 27685_ACEOF 27686if ac_fn_c_try_link "$LINENO"; then : 27687 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27688else 27689 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27690fi 27691rm -f core conftest.err conftest.$ac_objext \ 27692 conftest$ac_exeext conftest.$ac_ext 27693LIBS=$ac_check_lib_save_LIBS 27694fi 27695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27696$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27697if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27698 ac_cv_libcdata_dummy=yes 27699else 27700 ac_cv_libcdata=no 27701fi 27702 27703 27704 ac_cv_libcdata_LIBADD="-lcdata" 27705fi 27706 27707fi 27708 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27711as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27712See \`config.log' for more details" "$LINENO" 5; } 27713 27714fi 27715 27716fi 27717 27718 if test "x$ac_cv_libcdata" = xyes; then : 27719 27720$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27721 27722 27723fi 27724 27725 if test "x$ac_cv_libcdata" = xyes; then : 27726 HAVE_LIBCDATA=1 27727 27728else 27729 HAVE_LIBCDATA=0 27730 27731 27732fi 27733 27734 27735 if test "x$ac_cv_libcdata" != xyes; then : 27736 27737 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27738 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27739 27740 ac_cv_libcdata=local 27741 27742 27743 27744$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27745 27746 HAVE_LOCAL_LIBCDATA=1 27747 27748 27749fi 27750 27751 if test "x$ac_cv_libcdata" = xlocal; then 27752 HAVE_LOCAL_LIBCDATA_TRUE= 27753 HAVE_LOCAL_LIBCDATA_FALSE='#' 27754else 27755 HAVE_LOCAL_LIBCDATA_TRUE='#' 27756 HAVE_LOCAL_LIBCDATA_FALSE= 27757fi 27758 27759 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27760 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27761 27762 27763fi 27764 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27765 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27766 27767 27768fi 27769 27770 if test "x$ac_cv_libcdata" = xyes; then : 27771 ax_libcdata_pc_libs_private=-lcdata 27772 27773 27774fi 27775 27776 if test "x$ac_cv_libcdata" = xyes; then : 27777 ax_libcdata_spec_requires=libcdata 27778 27779 ax_libcdata_spec_build_requires=libcdata-devel 27780 27781 27782fi 27783 27784 27785 27786 27787# Check whether --with-libclocale was given. 27788if test "${with_libclocale+set}" = set; then : 27789 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27790else 27791 ac_cv_with_libclocale=auto-detect 27792fi 27793 27794 { $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 27795$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; } 27796if ${ac_cv_with_libclocale+:} false; then : 27797 $as_echo_n "(cached) " >&6 27798else 27799 ac_cv_with_libclocale=auto-detect 27800fi 27801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27802$as_echo "$ac_cv_with_libclocale" >&6; } 27803 27804 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27805 ac_cv_libclocale=no 27806else 27807 ac_cv_libclocale=check 27808 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27809 if test -d "$ac_cv_with_libclocale"; then : 27810 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27811 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27812else 27813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27815as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27816See \`config.log' for more details" "$LINENO" 5; } 27817 27818fi 27819 27820else 27821 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27822 27823pkg_failed=no 27824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27825$as_echo_n "checking for libclocale... " >&6; } 27826 27827if test -n "$libclocale_CFLAGS"; then 27828 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27829 elif test -n "$PKG_CONFIG"; then 27830 if test -n "$PKG_CONFIG" && \ 27831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27832 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27833 ac_status=$? 27834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27835 test $ac_status = 0; }; then 27836 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27837 test "x$?" != "x0" && pkg_failed=yes 27838else 27839 pkg_failed=yes 27840fi 27841 else 27842 pkg_failed=untried 27843fi 27844if test -n "$libclocale_LIBS"; then 27845 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27846 elif test -n "$PKG_CONFIG"; then 27847 if test -n "$PKG_CONFIG" && \ 27848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27849 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27850 ac_status=$? 27851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27852 test $ac_status = 0; }; then 27853 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27854 test "x$?" != "x0" && pkg_failed=yes 27855else 27856 pkg_failed=yes 27857fi 27858 else 27859 pkg_failed=untried 27860fi 27861 27862 27863 27864if test $pkg_failed = yes; then 27865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27866$as_echo "no" >&6; } 27867 27868if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27869 _pkg_short_errors_supported=yes 27870else 27871 _pkg_short_errors_supported=no 27872fi 27873 if test $_pkg_short_errors_supported = yes; then 27874 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27875 else 27876 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27877 fi 27878 # Put the nasty error message in config.log where it belongs 27879 echo "$libclocale_PKG_ERRORS" >&5 27880 27881 ac_cv_libclocale=check 27882elif test $pkg_failed = untried; then 27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27884$as_echo "no" >&6; } 27885 ac_cv_libclocale=check 27886else 27887 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27888 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27890$as_echo "yes" >&6; } 27891 ac_cv_libclocale=yes 27892fi 27893 27894fi 27895 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27897$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27898if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27899 $as_echo_n "(cached) " >&6 27900else 27901 ac_ext=c 27902ac_cpp='$CPP $CPPFLAGS' 27903ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27904ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27905ac_compiler_gnu=$ac_cv_c_compiler_gnu 27906 27907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27908/* end confdefs.h. */ 27909#include <libclocale/features.h> 27910int 27911main () 27912{ 27913#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27914#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27915#endif 27916 ; 27917 return 0; 27918} 27919_ACEOF 27920if ac_fn_c_try_compile "$LINENO"; then : 27921 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27922else 27923 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27924fi 27925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27926 ac_ext=c 27927ac_cpp='$CPP $CPPFLAGS' 27928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27930ac_compiler_gnu=$ac_cv_c_compiler_gnu 27931 27932fi 27933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 27934$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 27935 27936 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 27937 ac_cv_libclocale=no 27938fi 27939 27940fi 27941 if test "x$ac_cv_libclocale" = xyes; then : 27942 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 27943 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 27944fi 27945 27946fi 27947 27948 if test "x$ac_cv_libclocale" = xcheck; then : 27949 for ac_header in libclocale.h 27950do : 27951 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 27952if test "x$ac_cv_header_libclocale_h" = xyes; then : 27953 cat >>confdefs.h <<_ACEOF 27954#define HAVE_LIBCLOCALE_H 1 27955_ACEOF 27956 27957fi 27958 27959done 27960 27961 27962 if test "x$ac_cv_header_libclocale_h" = xno; then : 27963 ac_cv_libclocale=no 27964else 27965 ac_cv_libclocale=yes 27966 27967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 27968$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 27969if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 27970 $as_echo_n "(cached) " >&6 27971else 27972 ac_check_lib_save_LIBS=$LIBS 27973LIBS="-lclocale $LIBS" 27974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27975/* end confdefs.h. */ 27976 27977/* Override any GCC internal prototype to avoid an error. 27978 Use char because int might match the return type of a GCC 27979 builtin and then its argument prototype would still apply. */ 27980#ifdef __cplusplus 27981extern "C" 27982#endif 27983char libclocale_get_version (); 27984int 27985main () 27986{ 27987return libclocale_get_version (); 27988 ; 27989 return 0; 27990} 27991_ACEOF 27992if ac_fn_c_try_link "$LINENO"; then : 27993 ac_cv_lib_clocale_libclocale_get_version=yes 27994else 27995 ac_cv_lib_clocale_libclocale_get_version=no 27996fi 27997rm -f core conftest.err conftest.$ac_objext \ 27998 conftest$ac_exeext conftest.$ac_ext 27999LIBS=$ac_check_lib_save_LIBS 28000fi 28001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 28002$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28003if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28004 ac_cv_libclocale_dummy=yes 28005else 28006 ac_cv_libclocale=no 28007fi 28008 28009 28010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28011$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28012if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28013 $as_echo_n "(cached) " >&6 28014else 28015 ac_check_lib_save_LIBS=$LIBS 28016LIBS="-lclocale $LIBS" 28017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28018/* end confdefs.h. */ 28019 28020/* Override any GCC internal prototype to avoid an error. 28021 Use char because int might match the return type of a GCC 28022 builtin and then its argument prototype would still apply. */ 28023#ifdef __cplusplus 28024extern "C" 28025#endif 28026char libclocale_codepage (); 28027int 28028main () 28029{ 28030return libclocale_codepage (); 28031 ; 28032 return 0; 28033} 28034_ACEOF 28035if ac_fn_c_try_link "$LINENO"; then : 28036 ac_cv_lib_clocale_libclocale_codepage=yes 28037else 28038 ac_cv_lib_clocale_libclocale_codepage=no 28039fi 28040rm -f core conftest.err conftest.$ac_objext \ 28041 conftest$ac_exeext conftest.$ac_ext 28042LIBS=$ac_check_lib_save_LIBS 28043fi 28044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28045$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28046if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28047 ac_cv_libclocale_dummy=yes 28048else 28049 ac_cv_libclocale=no 28050fi 28051 28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28053$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28054if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28055 $as_echo_n "(cached) " >&6 28056else 28057 ac_check_lib_save_LIBS=$LIBS 28058LIBS="-lclocale $LIBS" 28059cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28060/* end confdefs.h. */ 28061 28062/* Override any GCC internal prototype to avoid an error. 28063 Use char because int might match the return type of a GCC 28064 builtin and then its argument prototype would still apply. */ 28065#ifdef __cplusplus 28066extern "C" 28067#endif 28068char libclocale_codepage_get (); 28069int 28070main () 28071{ 28072return libclocale_codepage_get (); 28073 ; 28074 return 0; 28075} 28076_ACEOF 28077if ac_fn_c_try_link "$LINENO"; then : 28078 ac_cv_lib_clocale_libclocale_codepage_get=yes 28079else 28080 ac_cv_lib_clocale_libclocale_codepage_get=no 28081fi 28082rm -f core conftest.err conftest.$ac_objext \ 28083 conftest$ac_exeext conftest.$ac_ext 28084LIBS=$ac_check_lib_save_LIBS 28085fi 28086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28087$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28088if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28089 ac_cv_libclocale_dummy=yes 28090else 28091 ac_cv_libclocale=no 28092fi 28093 28094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28095$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28096if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28097 $as_echo_n "(cached) " >&6 28098else 28099 ac_check_lib_save_LIBS=$LIBS 28100LIBS="-lclocale $LIBS" 28101cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28102/* end confdefs.h. */ 28103 28104/* Override any GCC internal prototype to avoid an error. 28105 Use char because int might match the return type of a GCC 28106 builtin and then its argument prototype would still apply. */ 28107#ifdef __cplusplus 28108extern "C" 28109#endif 28110char libclocale_codepage_set (); 28111int 28112main () 28113{ 28114return libclocale_codepage_set (); 28115 ; 28116 return 0; 28117} 28118_ACEOF 28119if ac_fn_c_try_link "$LINENO"; then : 28120 ac_cv_lib_clocale_libclocale_codepage_set=yes 28121else 28122 ac_cv_lib_clocale_libclocale_codepage_set=no 28123fi 28124rm -f core conftest.err conftest.$ac_objext \ 28125 conftest$ac_exeext conftest.$ac_ext 28126LIBS=$ac_check_lib_save_LIBS 28127fi 28128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28129$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28130if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28131 ac_cv_libclocale_dummy=yes 28132else 28133 ac_cv_libclocale=no 28134fi 28135 28136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28137$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28138if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28139 $as_echo_n "(cached) " >&6 28140else 28141 ac_check_lib_save_LIBS=$LIBS 28142LIBS="-lclocale $LIBS" 28143cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28144/* end confdefs.h. */ 28145 28146/* Override any GCC internal prototype to avoid an error. 28147 Use char because int might match the return type of a GCC 28148 builtin and then its argument prototype would still apply. */ 28149#ifdef __cplusplus 28150extern "C" 28151#endif 28152char libclocale_codepage_copy_from_string (); 28153int 28154main () 28155{ 28156return libclocale_codepage_copy_from_string (); 28157 ; 28158 return 0; 28159} 28160_ACEOF 28161if ac_fn_c_try_link "$LINENO"; then : 28162 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28163else 28164 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28165fi 28166rm -f core conftest.err conftest.$ac_objext \ 28167 conftest$ac_exeext conftest.$ac_ext 28168LIBS=$ac_check_lib_save_LIBS 28169fi 28170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28171$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28172if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28173 ac_cv_libclocale_dummy=yes 28174else 28175 ac_cv_libclocale=no 28176fi 28177 28178 28179 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28181$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28182if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28183 $as_echo_n "(cached) " >&6 28184else 28185 ac_check_lib_save_LIBS=$LIBS 28186LIBS="-lclocale $LIBS" 28187cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28188/* end confdefs.h. */ 28189 28190/* Override any GCC internal prototype to avoid an error. 28191 Use char because int might match the return type of a GCC 28192 builtin and then its argument prototype would still apply. */ 28193#ifdef __cplusplus 28194extern "C" 28195#endif 28196char libclocale_codepage_copy_from_string_wide (); 28197int 28198main () 28199{ 28200return libclocale_codepage_copy_from_string_wide (); 28201 ; 28202 return 0; 28203} 28204_ACEOF 28205if ac_fn_c_try_link "$LINENO"; then : 28206 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28207else 28208 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28209fi 28210rm -f core conftest.err conftest.$ac_objext \ 28211 conftest$ac_exeext conftest.$ac_ext 28212LIBS=$ac_check_lib_save_LIBS 28213fi 28214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28215$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28216if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28217 ac_cv_libclocale_dummy=yes 28218else 28219 ac_cv_libclocale=no 28220fi 28221 28222 28223fi 28224 28225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28226$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28227if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28228 $as_echo_n "(cached) " >&6 28229else 28230 ac_check_lib_save_LIBS=$LIBS 28231LIBS="-lclocale $LIBS" 28232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28233/* end confdefs.h. */ 28234 28235/* Override any GCC internal prototype to avoid an error. 28236 Use char because int might match the return type of a GCC 28237 builtin and then its argument prototype would still apply. */ 28238#ifdef __cplusplus 28239extern "C" 28240#endif 28241char libclocale_locale_get_codepage (); 28242int 28243main () 28244{ 28245return libclocale_locale_get_codepage (); 28246 ; 28247 return 0; 28248} 28249_ACEOF 28250if ac_fn_c_try_link "$LINENO"; then : 28251 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28252else 28253 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28254fi 28255rm -f core conftest.err conftest.$ac_objext \ 28256 conftest$ac_exeext conftest.$ac_ext 28257LIBS=$ac_check_lib_save_LIBS 28258fi 28259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28260$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28261if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28262 ac_cv_libclocale_dummy=yes 28263else 28264 ac_cv_libclocale=no 28265fi 28266 28267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28268$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28269if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28270 $as_echo_n "(cached) " >&6 28271else 28272 ac_check_lib_save_LIBS=$LIBS 28273LIBS="-lclocale $LIBS" 28274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28275/* end confdefs.h. */ 28276 28277/* Override any GCC internal prototype to avoid an error. 28278 Use char because int might match the return type of a GCC 28279 builtin and then its argument prototype would still apply. */ 28280#ifdef __cplusplus 28281extern "C" 28282#endif 28283char libclocale_locale_get_decimal_point (); 28284int 28285main () 28286{ 28287return libclocale_locale_get_decimal_point (); 28288 ; 28289 return 0; 28290} 28291_ACEOF 28292if ac_fn_c_try_link "$LINENO"; then : 28293 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28294else 28295 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28296fi 28297rm -f core conftest.err conftest.$ac_objext \ 28298 conftest$ac_exeext conftest.$ac_ext 28299LIBS=$ac_check_lib_save_LIBS 28300fi 28301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28302$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28303if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28304 ac_cv_libclocale_dummy=yes 28305else 28306 ac_cv_libclocale=no 28307fi 28308 28309 28310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28311$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28312if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28313 $as_echo_n "(cached) " >&6 28314else 28315 ac_check_lib_save_LIBS=$LIBS 28316LIBS="-lclocale $LIBS" 28317cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28318/* end confdefs.h. */ 28319 28320/* Override any GCC internal prototype to avoid an error. 28321 Use char because int might match the return type of a GCC 28322 builtin and then its argument prototype would still apply. */ 28323#ifdef __cplusplus 28324extern "C" 28325#endif 28326char libclocale_initialize (); 28327int 28328main () 28329{ 28330return libclocale_initialize (); 28331 ; 28332 return 0; 28333} 28334_ACEOF 28335if ac_fn_c_try_link "$LINENO"; then : 28336 ac_cv_lib_clocale_libclocale_initialize=yes 28337else 28338 ac_cv_lib_clocale_libclocale_initialize=no 28339fi 28340rm -f core conftest.err conftest.$ac_objext \ 28341 conftest$ac_exeext conftest.$ac_ext 28342LIBS=$ac_check_lib_save_LIBS 28343fi 28344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28345$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28346if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28347 ac_cv_libclocale_dummy=yes 28348else 28349 ac_cv_libclocale=no 28350fi 28351 28352 28353 ac_cv_libclocale_LIBADD="-lclocale" 28354fi 28355 28356fi 28357 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28360as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28361See \`config.log' for more details" "$LINENO" 5; } 28362 28363fi 28364 28365fi 28366 28367 if test "x$ac_cv_libclocale" = xyes; then : 28368 28369$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28370 28371 28372fi 28373 28374 if test "x$ac_cv_libclocale" = xyes; then : 28375 HAVE_LIBCLOCALE=1 28376 28377else 28378 HAVE_LIBCLOCALE=0 28379 28380 28381fi 28382 28383 28384 if test "x$ac_cv_libclocale" != xyes; then : 28385 for ac_header in langinfo.h locale.h 28386do : 28387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28388ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28389if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28390 cat >>confdefs.h <<_ACEOF 28391#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28392_ACEOF 28393 28394fi 28395 28396done 28397 28398 28399 for ac_func in getenv 28400do : 28401 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28402if test "x$ac_cv_func_getenv" = xyes; then : 28403 cat >>confdefs.h <<_ACEOF 28404#define HAVE_GETENV 1 28405_ACEOF 28406 28407fi 28408done 28409 28410 28411 if test "x$ac_cv_func_getenv" != xyes; then : 28412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28414as_fn_error 1 "Missing function: getenv 28415See \`config.log' for more details" "$LINENO" 5; } 28416 28417fi 28418 28419 if test "x$ac_cv_enable_winapi" = xno; then : 28420 for ac_func in localeconv 28421do : 28422 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28423if test "x$ac_cv_func_localeconv" = xyes; then : 28424 cat >>confdefs.h <<_ACEOF 28425#define HAVE_LOCALECONV 1 28426_ACEOF 28427 28428fi 28429done 28430 28431 28432 if test "x$ac_cv_func_localeconv" != xyes; then : 28433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28435as_fn_error 1 "Missing function: localeconv 28436See \`config.log' for more details" "$LINENO" 5; } 28437 28438fi 28439 28440fi 28441 28442 for ac_func in setlocale 28443do : 28444 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28445if test "x$ac_cv_func_setlocale" = xyes; then : 28446 cat >>confdefs.h <<_ACEOF 28447#define HAVE_SETLOCALE 1 28448_ACEOF 28449 28450fi 28451done 28452 28453 28454 if test "x$ac_cv_func_setlocale" != 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: setlocale 28458See \`config.log' for more details" "$LINENO" 5; } 28459 28460fi 28461 28462 for ac_func in nl_langinfo 28463do : 28464 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28465if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28466 cat >>confdefs.h <<_ACEOF 28467#define HAVE_NL_LANGINFO 1 28468_ACEOF 28469 28470fi 28471done 28472 28473 28474 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28476$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28477if ${ac_cv_cv_langinfo_codeset+:} false; then : 28478 $as_echo_n "(cached) " >&6 28479else 28480 ac_ext=c 28481ac_cpp='$CPP $CPPFLAGS' 28482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28484ac_compiler_gnu=$ac_cv_c_compiler_gnu 28485 28486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28487/* end confdefs.h. */ 28488#include <langinfo.h> 28489int 28490main () 28491{ 28492char* charset = nl_langinfo( CODESET ); 28493 ; 28494 return 0; 28495} 28496_ACEOF 28497if ac_fn_c_try_link "$LINENO"; then : 28498 ac_cv_cv_langinfo_codeset=yes 28499else 28500 ac_cv_cv_langinfo_codeset=no 28501fi 28502rm -f core conftest.err conftest.$ac_objext \ 28503 conftest$ac_exeext conftest.$ac_ext 28504 ac_ext=c 28505ac_cpp='$CPP $CPPFLAGS' 28506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28508ac_compiler_gnu=$ac_cv_c_compiler_gnu 28509 28510fi 28511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28512$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28513else 28514 ac_cv_cv_langinfo_codeset=no 28515fi 28516 28517 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28518 28519$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28520 28521 28522fi 28523 28524 28525 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28526 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28527 28528 ac_cv_libclocale=local 28529 28530 28531 28532$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28533 28534 HAVE_LOCAL_LIBCLOCALE=1 28535 28536 28537fi 28538 28539 if test "x$ac_cv_libclocale" = xlocal; then 28540 HAVE_LOCAL_LIBCLOCALE_TRUE= 28541 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28542else 28543 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28544 HAVE_LOCAL_LIBCLOCALE_FALSE= 28545fi 28546 28547 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28548 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28549 28550 28551fi 28552 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28553 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28554 28555 28556fi 28557 28558 if test "x$ac_cv_libclocale" = xyes; then : 28559 ax_libclocale_pc_libs_private=-lclocale 28560 28561 28562fi 28563 28564 if test "x$ac_cv_libclocale" = xyes; then : 28565 ax_libclocale_spec_requires=libclocale 28566 28567 ax_libclocale_spec_build_requires=libclocale-devel 28568 28569 28570fi 28571 28572 28573 28574 28575# Check whether --with-libcnotify was given. 28576if test "${with_libcnotify+set}" = set; then : 28577 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28578else 28579 ac_cv_with_libcnotify=auto-detect 28580fi 28581 28582 { $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 28583$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; } 28584if ${ac_cv_with_libcnotify+:} false; then : 28585 $as_echo_n "(cached) " >&6 28586else 28587 ac_cv_with_libcnotify=auto-detect 28588fi 28589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28590$as_echo "$ac_cv_with_libcnotify" >&6; } 28591 28592 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28593 ac_cv_libcnotify=no 28594else 28595 ac_cv_libcnotify=check 28596 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28597 if test -d "$ac_cv_with_libcnotify"; then : 28598 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28599 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28600else 28601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28602$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28603as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28604See \`config.log' for more details" "$LINENO" 5; } 28605 28606fi 28607 28608else 28609 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28610 28611pkg_failed=no 28612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28613$as_echo_n "checking for libcnotify... " >&6; } 28614 28615if test -n "$libcnotify_CFLAGS"; then 28616 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28617 elif test -n "$PKG_CONFIG"; then 28618 if test -n "$PKG_CONFIG" && \ 28619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28620 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28621 ac_status=$? 28622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28623 test $ac_status = 0; }; then 28624 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28625 test "x$?" != "x0" && pkg_failed=yes 28626else 28627 pkg_failed=yes 28628fi 28629 else 28630 pkg_failed=untried 28631fi 28632if test -n "$libcnotify_LIBS"; then 28633 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28634 elif test -n "$PKG_CONFIG"; then 28635 if test -n "$PKG_CONFIG" && \ 28636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28637 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28638 ac_status=$? 28639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28640 test $ac_status = 0; }; then 28641 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28642 test "x$?" != "x0" && pkg_failed=yes 28643else 28644 pkg_failed=yes 28645fi 28646 else 28647 pkg_failed=untried 28648fi 28649 28650 28651 28652if test $pkg_failed = yes; then 28653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28654$as_echo "no" >&6; } 28655 28656if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28657 _pkg_short_errors_supported=yes 28658else 28659 _pkg_short_errors_supported=no 28660fi 28661 if test $_pkg_short_errors_supported = yes; then 28662 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28663 else 28664 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28665 fi 28666 # Put the nasty error message in config.log where it belongs 28667 echo "$libcnotify_PKG_ERRORS" >&5 28668 28669 ac_cv_libcnotify=check 28670elif test $pkg_failed = untried; then 28671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28672$as_echo "no" >&6; } 28673 ac_cv_libcnotify=check 28674else 28675 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28676 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28678$as_echo "yes" >&6; } 28679 ac_cv_libcnotify=yes 28680fi 28681 28682fi 28683 if test "x$ac_cv_libcnotify" = xyes; then : 28684 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28685 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28686fi 28687 28688fi 28689 28690 if test "x$ac_cv_libcnotify" = xcheck; then : 28691 for ac_header in libcnotify.h 28692do : 28693 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28694if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28695 cat >>confdefs.h <<_ACEOF 28696#define HAVE_LIBCNOTIFY_H 1 28697_ACEOF 28698 28699fi 28700 28701done 28702 28703 28704 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28705 ac_cv_libcnotify=no 28706else 28707 ac_cv_libcnotify=yes 28708 28709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28710$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28711if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28712 $as_echo_n "(cached) " >&6 28713else 28714 ac_check_lib_save_LIBS=$LIBS 28715LIBS="-lcnotify $LIBS" 28716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28717/* end confdefs.h. */ 28718 28719/* Override any GCC internal prototype to avoid an error. 28720 Use char because int might match the return type of a GCC 28721 builtin and then its argument prototype would still apply. */ 28722#ifdef __cplusplus 28723extern "C" 28724#endif 28725char libcnotify_get_version (); 28726int 28727main () 28728{ 28729return libcnotify_get_version (); 28730 ; 28731 return 0; 28732} 28733_ACEOF 28734if ac_fn_c_try_link "$LINENO"; then : 28735 ac_cv_lib_cnotify_libcnotify_get_version=yes 28736else 28737 ac_cv_lib_cnotify_libcnotify_get_version=no 28738fi 28739rm -f core conftest.err conftest.$ac_objext \ 28740 conftest$ac_exeext conftest.$ac_ext 28741LIBS=$ac_check_lib_save_LIBS 28742fi 28743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28744$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28745if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28746 ac_cv_libcnotify_dummy=yes 28747else 28748 ac_cv_libcnotify=no 28749fi 28750 28751 28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28753$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28754if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28755 $as_echo_n "(cached) " >&6 28756else 28757 ac_check_lib_save_LIBS=$LIBS 28758LIBS="-lcnotify $LIBS" 28759cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28760/* end confdefs.h. */ 28761 28762/* Override any GCC internal prototype to avoid an error. 28763 Use char because int might match the return type of a GCC 28764 builtin and then its argument prototype would still apply. */ 28765#ifdef __cplusplus 28766extern "C" 28767#endif 28768char libcnotify_printf (); 28769int 28770main () 28771{ 28772return libcnotify_printf (); 28773 ; 28774 return 0; 28775} 28776_ACEOF 28777if ac_fn_c_try_link "$LINENO"; then : 28778 ac_cv_lib_cnotify_libcnotify_printf=yes 28779else 28780 ac_cv_lib_cnotify_libcnotify_printf=no 28781fi 28782rm -f core conftest.err conftest.$ac_objext \ 28783 conftest$ac_exeext conftest.$ac_ext 28784LIBS=$ac_check_lib_save_LIBS 28785fi 28786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28787$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28788if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28789 ac_cv_libcnotify_dummy=yes 28790else 28791 ac_cv_libcnotify=no 28792fi 28793 28794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28795$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28796if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28797 $as_echo_n "(cached) " >&6 28798else 28799 ac_check_lib_save_LIBS=$LIBS 28800LIBS="-lcnotify $LIBS" 28801cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28802/* end confdefs.h. */ 28803 28804/* Override any GCC internal prototype to avoid an error. 28805 Use char because int might match the return type of a GCC 28806 builtin and then its argument prototype would still apply. */ 28807#ifdef __cplusplus 28808extern "C" 28809#endif 28810char libcnotify_print_data (); 28811int 28812main () 28813{ 28814return libcnotify_print_data (); 28815 ; 28816 return 0; 28817} 28818_ACEOF 28819if ac_fn_c_try_link "$LINENO"; then : 28820 ac_cv_lib_cnotify_libcnotify_print_data=yes 28821else 28822 ac_cv_lib_cnotify_libcnotify_print_data=no 28823fi 28824rm -f core conftest.err conftest.$ac_objext \ 28825 conftest$ac_exeext conftest.$ac_ext 28826LIBS=$ac_check_lib_save_LIBS 28827fi 28828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28829$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28830if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28831 ac_cv_libcnotify_dummy=yes 28832else 28833 ac_cv_libcnotify=no 28834fi 28835 28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28837$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28838if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28839 $as_echo_n "(cached) " >&6 28840else 28841 ac_check_lib_save_LIBS=$LIBS 28842LIBS="-lcnotify $LIBS" 28843cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28844/* end confdefs.h. */ 28845 28846/* Override any GCC internal prototype to avoid an error. 28847 Use char because int might match the return type of a GCC 28848 builtin and then its argument prototype would still apply. */ 28849#ifdef __cplusplus 28850extern "C" 28851#endif 28852char libcnotify_print_error_backtrace (); 28853int 28854main () 28855{ 28856return libcnotify_print_error_backtrace (); 28857 ; 28858 return 0; 28859} 28860_ACEOF 28861if ac_fn_c_try_link "$LINENO"; then : 28862 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28863else 28864 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28865fi 28866rm -f core conftest.err conftest.$ac_objext \ 28867 conftest$ac_exeext conftest.$ac_ext 28868LIBS=$ac_check_lib_save_LIBS 28869fi 28870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28871$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28872if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28873 ac_cv_libcnotify_dummy=yes 28874else 28875 ac_cv_libcnotify=no 28876fi 28877 28878 28879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28880$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28881if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28882 $as_echo_n "(cached) " >&6 28883else 28884 ac_check_lib_save_LIBS=$LIBS 28885LIBS="-lcnotify $LIBS" 28886cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28887/* end confdefs.h. */ 28888 28889/* Override any GCC internal prototype to avoid an error. 28890 Use char because int might match the return type of a GCC 28891 builtin and then its argument prototype would still apply. */ 28892#ifdef __cplusplus 28893extern "C" 28894#endif 28895char libcnotify_stream_set (); 28896int 28897main () 28898{ 28899return libcnotify_stream_set (); 28900 ; 28901 return 0; 28902} 28903_ACEOF 28904if ac_fn_c_try_link "$LINENO"; then : 28905 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28906else 28907 ac_cv_lib_cnotify_libcnotify_stream_set=no 28908fi 28909rm -f core conftest.err conftest.$ac_objext \ 28910 conftest$ac_exeext conftest.$ac_ext 28911LIBS=$ac_check_lib_save_LIBS 28912fi 28913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28914$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28915if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28916 ac_cv_libcnotify_dummy=yes 28917else 28918 ac_cv_libcnotify=no 28919fi 28920 28921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28922$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28923if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28924 $as_echo_n "(cached) " >&6 28925else 28926 ac_check_lib_save_LIBS=$LIBS 28927LIBS="-lcnotify $LIBS" 28928cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28929/* end confdefs.h. */ 28930 28931/* Override any GCC internal prototype to avoid an error. 28932 Use char because int might match the return type of a GCC 28933 builtin and then its argument prototype would still apply. */ 28934#ifdef __cplusplus 28935extern "C" 28936#endif 28937char libcnotify_stream_open (); 28938int 28939main () 28940{ 28941return libcnotify_stream_open (); 28942 ; 28943 return 0; 28944} 28945_ACEOF 28946if ac_fn_c_try_link "$LINENO"; then : 28947 ac_cv_lib_cnotify_libcnotify_stream_open=yes 28948else 28949 ac_cv_lib_cnotify_libcnotify_stream_open=no 28950fi 28951rm -f core conftest.err conftest.$ac_objext \ 28952 conftest$ac_exeext conftest.$ac_ext 28953LIBS=$ac_check_lib_save_LIBS 28954fi 28955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 28956$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 28957if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 28958 ac_cv_libcnotify_dummy=yes 28959else 28960 ac_cv_libcnotify=no 28961fi 28962 28963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 28964$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 28965if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 28966 $as_echo_n "(cached) " >&6 28967else 28968 ac_check_lib_save_LIBS=$LIBS 28969LIBS="-lcnotify $LIBS" 28970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28971/* end confdefs.h. */ 28972 28973/* Override any GCC internal prototype to avoid an error. 28974 Use char because int might match the return type of a GCC 28975 builtin and then its argument prototype would still apply. */ 28976#ifdef __cplusplus 28977extern "C" 28978#endif 28979char libcnotify_stream_close (); 28980int 28981main () 28982{ 28983return libcnotify_stream_close (); 28984 ; 28985 return 0; 28986} 28987_ACEOF 28988if ac_fn_c_try_link "$LINENO"; then : 28989 ac_cv_lib_cnotify_libcnotify_stream_close=yes 28990else 28991 ac_cv_lib_cnotify_libcnotify_stream_close=no 28992fi 28993rm -f core conftest.err conftest.$ac_objext \ 28994 conftest$ac_exeext conftest.$ac_ext 28995LIBS=$ac_check_lib_save_LIBS 28996fi 28997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 28998$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 28999if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29000 ac_cv_libcnotify_dummy=yes 29001else 29002 ac_cv_libcnotify=no 29003fi 29004 29005 29006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29007$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29008if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29009 $as_echo_n "(cached) " >&6 29010else 29011 ac_check_lib_save_LIBS=$LIBS 29012LIBS="-lcnotify $LIBS" 29013cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29014/* end confdefs.h. */ 29015 29016/* Override any GCC internal prototype to avoid an error. 29017 Use char because int might match the return type of a GCC 29018 builtin and then its argument prototype would still apply. */ 29019#ifdef __cplusplus 29020extern "C" 29021#endif 29022char libcnotify_verbose_set (); 29023int 29024main () 29025{ 29026return libcnotify_verbose_set (); 29027 ; 29028 return 0; 29029} 29030_ACEOF 29031if ac_fn_c_try_link "$LINENO"; then : 29032 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29033else 29034 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29035fi 29036rm -f core conftest.err conftest.$ac_objext \ 29037 conftest$ac_exeext conftest.$ac_ext 29038LIBS=$ac_check_lib_save_LIBS 29039fi 29040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29041$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29042if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29043 ac_cv_libcnotify_dummy=yes 29044else 29045 ac_cv_libcnotify=no 29046fi 29047 29048 29049 ac_cv_libcnotify_LIBADD="-lcnotify" 29050fi 29051 29052fi 29053 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29056as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29057See \`config.log' for more details" "$LINENO" 5; } 29058 29059fi 29060 29061fi 29062 29063 if test "x$ac_cv_libcnotify" = xyes; then : 29064 29065$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29066 29067 29068fi 29069 29070 if test "x$ac_cv_libcnotify" = xyes; then : 29071 HAVE_LIBCNOTIFY=1 29072 29073else 29074 HAVE_LIBCNOTIFY=0 29075 29076 29077fi 29078 29079 29080 if test "x$ac_cv_libcnotify" != xyes; then : 29081 for ac_header in stdarg.h varargs.h 29082do : 29083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29084ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29085if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29086 cat >>confdefs.h <<_ACEOF 29087#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29088_ACEOF 29089 29090fi 29091 29092done 29093 29094 29095 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29098as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29099See \`config.log' for more details" "$LINENO" 5; } 29100 29101fi 29102 29103 for ac_header in errno.h 29104do : 29105 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29106if test "x$ac_cv_header_errno_h" = xyes; then : 29107 cat >>confdefs.h <<_ACEOF 29108#define HAVE_ERRNO_H 1 29109_ACEOF 29110 29111fi 29112 29113done 29114 29115 29116 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29117 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29118 29119 ac_cv_libcnotify=local 29120 29121 29122 29123$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29124 29125 HAVE_LOCAL_LIBCNOTIFY=1 29126 29127 29128fi 29129 29130 if test "x$ac_cv_libcnotify" = xlocal; then 29131 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29132 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29133else 29134 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29135 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29136fi 29137 29138 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29139 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29140 29141 29142fi 29143 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29144 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29145 29146 29147fi 29148 29149 if test "x$ac_cv_libcnotify" = xyes; then : 29150 ax_libcnotify_pc_libs_private=-lcnotify 29151 29152 29153fi 29154 29155 if test "x$ac_cv_libcnotify" = xyes; then : 29156 ax_libcnotify_spec_requires=libcnotify 29157 29158 ax_libcnotify_spec_build_requires=libcnotify-devel 29159 29160 29161fi 29162 29163 29164 29165 29166# Check whether --with-libcsplit was given. 29167if test "${with_libcsplit+set}" = set; then : 29168 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29169else 29170 ac_cv_with_libcsplit=auto-detect 29171fi 29172 29173 { $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 29174$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; } 29175if ${ac_cv_with_libcsplit+:} false; then : 29176 $as_echo_n "(cached) " >&6 29177else 29178 ac_cv_with_libcsplit=auto-detect 29179fi 29180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29181$as_echo "$ac_cv_with_libcsplit" >&6; } 29182 29183 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29184 ac_cv_libcsplit=no 29185else 29186 ac_cv_libcsplit=check 29187 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29188 if test -d "$ac_cv_with_libcsplit"; then : 29189 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29190 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29191else 29192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29193$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29194as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29195See \`config.log' for more details" "$LINENO" 5; } 29196 29197fi 29198 29199else 29200 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29201 29202pkg_failed=no 29203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29204$as_echo_n "checking for libcsplit... " >&6; } 29205 29206if test -n "$libcsplit_CFLAGS"; then 29207 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29208 elif test -n "$PKG_CONFIG"; then 29209 if test -n "$PKG_CONFIG" && \ 29210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29211 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29212 ac_status=$? 29213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29214 test $ac_status = 0; }; then 29215 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29216 test "x$?" != "x0" && pkg_failed=yes 29217else 29218 pkg_failed=yes 29219fi 29220 else 29221 pkg_failed=untried 29222fi 29223if test -n "$libcsplit_LIBS"; then 29224 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29225 elif test -n "$PKG_CONFIG"; then 29226 if test -n "$PKG_CONFIG" && \ 29227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29228 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29229 ac_status=$? 29230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29231 test $ac_status = 0; }; then 29232 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29233 test "x$?" != "x0" && pkg_failed=yes 29234else 29235 pkg_failed=yes 29236fi 29237 else 29238 pkg_failed=untried 29239fi 29240 29241 29242 29243if test $pkg_failed = yes; then 29244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29245$as_echo "no" >&6; } 29246 29247if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29248 _pkg_short_errors_supported=yes 29249else 29250 _pkg_short_errors_supported=no 29251fi 29252 if test $_pkg_short_errors_supported = yes; then 29253 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29254 else 29255 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29256 fi 29257 # Put the nasty error message in config.log where it belongs 29258 echo "$libcsplit_PKG_ERRORS" >&5 29259 29260 ac_cv_libcsplit=check 29261elif test $pkg_failed = untried; then 29262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29263$as_echo "no" >&6; } 29264 ac_cv_libcsplit=check 29265else 29266 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29267 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29269$as_echo "yes" >&6; } 29270 ac_cv_libcsplit=yes 29271fi 29272 29273fi 29274 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29276$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29277if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29278 $as_echo_n "(cached) " >&6 29279else 29280 ac_ext=c 29281ac_cpp='$CPP $CPPFLAGS' 29282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29284ac_compiler_gnu=$ac_cv_c_compiler_gnu 29285 29286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29287/* end confdefs.h. */ 29288#include <libcsplit/features.h> 29289int 29290main () 29291{ 29292#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29293#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29294#endif 29295 ; 29296 return 0; 29297} 29298_ACEOF 29299if ac_fn_c_try_compile "$LINENO"; then : 29300 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29301else 29302 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29303fi 29304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29305 ac_ext=c 29306ac_cpp='$CPP $CPPFLAGS' 29307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29309ac_compiler_gnu=$ac_cv_c_compiler_gnu 29310 29311fi 29312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29313$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29314 29315 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29316 ac_cv_libcsplit=no 29317fi 29318 29319fi 29320 if test "x$ac_cv_libcsplit" = xyes; then : 29321 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29322 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29323fi 29324 29325fi 29326 29327 if test "x$ac_cv_libcsplit" = xcheck; then : 29328 for ac_header in libcsplit.h 29329do : 29330 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29331if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29332 cat >>confdefs.h <<_ACEOF 29333#define HAVE_LIBCSPLIT_H 1 29334_ACEOF 29335 29336fi 29337 29338done 29339 29340 29341 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29342 ac_cv_libcsplit=no 29343else 29344 ac_cv_libcsplit=yes 29345 29346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29347$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29348if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29349 $as_echo_n "(cached) " >&6 29350else 29351 ac_check_lib_save_LIBS=$LIBS 29352LIBS="-lcsplit $LIBS" 29353cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29354/* end confdefs.h. */ 29355 29356/* Override any GCC internal prototype to avoid an error. 29357 Use char because int might match the return type of a GCC 29358 builtin and then its argument prototype would still apply. */ 29359#ifdef __cplusplus 29360extern "C" 29361#endif 29362char libcsplit_get_version (); 29363int 29364main () 29365{ 29366return libcsplit_get_version (); 29367 ; 29368 return 0; 29369} 29370_ACEOF 29371if ac_fn_c_try_link "$LINENO"; then : 29372 ac_cv_lib_csplit_libcsplit_get_version=yes 29373else 29374 ac_cv_lib_csplit_libcsplit_get_version=no 29375fi 29376rm -f core conftest.err conftest.$ac_objext \ 29377 conftest$ac_exeext conftest.$ac_ext 29378LIBS=$ac_check_lib_save_LIBS 29379fi 29380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29381$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29382if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29383 ac_cv_libcsplit_dummy=yes 29384else 29385 ac_cv_libcsplit=no 29386fi 29387 29388 29389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29390$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29391if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29392 $as_echo_n "(cached) " >&6 29393else 29394 ac_check_lib_save_LIBS=$LIBS 29395LIBS="-lcsplit $LIBS" 29396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29397/* end confdefs.h. */ 29398 29399/* Override any GCC internal prototype to avoid an error. 29400 Use char because int might match the return type of a GCC 29401 builtin and then its argument prototype would still apply. */ 29402#ifdef __cplusplus 29403extern "C" 29404#endif 29405char libcsplit_narrow_string_split (); 29406int 29407main () 29408{ 29409return libcsplit_narrow_string_split (); 29410 ; 29411 return 0; 29412} 29413_ACEOF 29414if ac_fn_c_try_link "$LINENO"; then : 29415 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29416else 29417 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29418fi 29419rm -f core conftest.err conftest.$ac_objext \ 29420 conftest$ac_exeext conftest.$ac_ext 29421LIBS=$ac_check_lib_save_LIBS 29422fi 29423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29424$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29425if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29426 ac_cv_libcsplit_dummy=yes 29427else 29428 ac_cv_libcsplit=no 29429fi 29430 29431 29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29433$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29434if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29435 $as_echo_n "(cached) " >&6 29436else 29437 ac_check_lib_save_LIBS=$LIBS 29438LIBS="-lcsplit $LIBS" 29439cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29440/* end confdefs.h. */ 29441 29442/* Override any GCC internal prototype to avoid an error. 29443 Use char because int might match the return type of a GCC 29444 builtin and then its argument prototype would still apply. */ 29445#ifdef __cplusplus 29446extern "C" 29447#endif 29448char libcsplit_narrow_split_string_free (); 29449int 29450main () 29451{ 29452return libcsplit_narrow_split_string_free (); 29453 ; 29454 return 0; 29455} 29456_ACEOF 29457if ac_fn_c_try_link "$LINENO"; then : 29458 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29459else 29460 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29461fi 29462rm -f core conftest.err conftest.$ac_objext \ 29463 conftest$ac_exeext conftest.$ac_ext 29464LIBS=$ac_check_lib_save_LIBS 29465fi 29466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29467$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29468if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29469 ac_cv_libcsplit_dummy=yes 29470else 29471 ac_cv_libcsplit=no 29472fi 29473 29474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29475$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29476if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29477 $as_echo_n "(cached) " >&6 29478else 29479 ac_check_lib_save_LIBS=$LIBS 29480LIBS="-lcsplit $LIBS" 29481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29482/* end confdefs.h. */ 29483 29484/* Override any GCC internal prototype to avoid an error. 29485 Use char because int might match the return type of a GCC 29486 builtin and then its argument prototype would still apply. */ 29487#ifdef __cplusplus 29488extern "C" 29489#endif 29490char libcsplit_narrow_split_string_get_string (); 29491int 29492main () 29493{ 29494return libcsplit_narrow_split_string_get_string (); 29495 ; 29496 return 0; 29497} 29498_ACEOF 29499if ac_fn_c_try_link "$LINENO"; then : 29500 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29501else 29502 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29503fi 29504rm -f core conftest.err conftest.$ac_objext \ 29505 conftest$ac_exeext conftest.$ac_ext 29506LIBS=$ac_check_lib_save_LIBS 29507fi 29508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29509$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29510if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29511 ac_cv_libcsplit_dummy=yes 29512else 29513 ac_cv_libcsplit=no 29514fi 29515 29516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29517$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29518if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29519 $as_echo_n "(cached) " >&6 29520else 29521 ac_check_lib_save_LIBS=$LIBS 29522LIBS="-lcsplit $LIBS" 29523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29524/* end confdefs.h. */ 29525 29526/* Override any GCC internal prototype to avoid an error. 29527 Use char because int might match the return type of a GCC 29528 builtin and then its argument prototype would still apply. */ 29529#ifdef __cplusplus 29530extern "C" 29531#endif 29532char libcsplit_narrow_split_string_get_number_of_segments (); 29533int 29534main () 29535{ 29536return libcsplit_narrow_split_string_get_number_of_segments (); 29537 ; 29538 return 0; 29539} 29540_ACEOF 29541if ac_fn_c_try_link "$LINENO"; then : 29542 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29543else 29544 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29545fi 29546rm -f core conftest.err conftest.$ac_objext \ 29547 conftest$ac_exeext conftest.$ac_ext 29548LIBS=$ac_check_lib_save_LIBS 29549fi 29550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29551$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29552if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29553 ac_cv_libcsplit_dummy=yes 29554else 29555 ac_cv_libcsplit=no 29556fi 29557 29558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29559$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29560if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29561 $as_echo_n "(cached) " >&6 29562else 29563 ac_check_lib_save_LIBS=$LIBS 29564LIBS="-lcsplit $LIBS" 29565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29566/* end confdefs.h. */ 29567 29568/* Override any GCC internal prototype to avoid an error. 29569 Use char because int might match the return type of a GCC 29570 builtin and then its argument prototype would still apply. */ 29571#ifdef __cplusplus 29572extern "C" 29573#endif 29574char libcsplit_narrow_split_string_get_segment_by_index (); 29575int 29576main () 29577{ 29578return libcsplit_narrow_split_string_get_segment_by_index (); 29579 ; 29580 return 0; 29581} 29582_ACEOF 29583if ac_fn_c_try_link "$LINENO"; then : 29584 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29585else 29586 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29587fi 29588rm -f core conftest.err conftest.$ac_objext \ 29589 conftest$ac_exeext conftest.$ac_ext 29590LIBS=$ac_check_lib_save_LIBS 29591fi 29592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29593$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29594if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29595 ac_cv_libcsplit_dummy=yes 29596else 29597 ac_cv_libcsplit=no 29598fi 29599 29600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29601$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29602if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29603 $as_echo_n "(cached) " >&6 29604else 29605 ac_check_lib_save_LIBS=$LIBS 29606LIBS="-lcsplit $LIBS" 29607cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29608/* end confdefs.h. */ 29609 29610/* Override any GCC internal prototype to avoid an error. 29611 Use char because int might match the return type of a GCC 29612 builtin and then its argument prototype would still apply. */ 29613#ifdef __cplusplus 29614extern "C" 29615#endif 29616char libcsplit_narrow_split_string_set_segment_by_index (); 29617int 29618main () 29619{ 29620return libcsplit_narrow_split_string_set_segment_by_index (); 29621 ; 29622 return 0; 29623} 29624_ACEOF 29625if ac_fn_c_try_link "$LINENO"; then : 29626 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29627else 29628 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29629fi 29630rm -f core conftest.err conftest.$ac_objext \ 29631 conftest$ac_exeext conftest.$ac_ext 29632LIBS=$ac_check_lib_save_LIBS 29633fi 29634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29635$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29636if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29637 ac_cv_libcsplit_dummy=yes 29638else 29639 ac_cv_libcsplit=no 29640fi 29641 29642 29643 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29645$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29646if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29647 $as_echo_n "(cached) " >&6 29648else 29649 ac_check_lib_save_LIBS=$LIBS 29650LIBS="-lcsplit $LIBS" 29651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29652/* end confdefs.h. */ 29653 29654/* Override any GCC internal prototype to avoid an error. 29655 Use char because int might match the return type of a GCC 29656 builtin and then its argument prototype would still apply. */ 29657#ifdef __cplusplus 29658extern "C" 29659#endif 29660char libcsplit_wide_string_split (); 29661int 29662main () 29663{ 29664return libcsplit_wide_string_split (); 29665 ; 29666 return 0; 29667} 29668_ACEOF 29669if ac_fn_c_try_link "$LINENO"; then : 29670 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29671else 29672 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29673fi 29674rm -f core conftest.err conftest.$ac_objext \ 29675 conftest$ac_exeext conftest.$ac_ext 29676LIBS=$ac_check_lib_save_LIBS 29677fi 29678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29679$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29680if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29681 ac_cv_libcsplit_dummy=yes 29682else 29683 ac_cv_libcsplit=no 29684fi 29685 29686 29687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29688$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29689if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29690 $as_echo_n "(cached) " >&6 29691else 29692 ac_check_lib_save_LIBS=$LIBS 29693LIBS="-lcsplit $LIBS" 29694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29695/* end confdefs.h. */ 29696 29697/* Override any GCC internal prototype to avoid an error. 29698 Use char because int might match the return type of a GCC 29699 builtin and then its argument prototype would still apply. */ 29700#ifdef __cplusplus 29701extern "C" 29702#endif 29703char libcsplit_wide_split_string_free (); 29704int 29705main () 29706{ 29707return libcsplit_wide_split_string_free (); 29708 ; 29709 return 0; 29710} 29711_ACEOF 29712if ac_fn_c_try_link "$LINENO"; then : 29713 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29714else 29715 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29716fi 29717rm -f core conftest.err conftest.$ac_objext \ 29718 conftest$ac_exeext conftest.$ac_ext 29719LIBS=$ac_check_lib_save_LIBS 29720fi 29721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29722$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29723if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29724 ac_cv_libcsplit_dummy=yes 29725else 29726 ac_cv_libcsplit=no 29727fi 29728 29729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29730$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29731if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29732 $as_echo_n "(cached) " >&6 29733else 29734 ac_check_lib_save_LIBS=$LIBS 29735LIBS="-lcsplit $LIBS" 29736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29737/* end confdefs.h. */ 29738 29739/* Override any GCC internal prototype to avoid an error. 29740 Use char because int might match the return type of a GCC 29741 builtin and then its argument prototype would still apply. */ 29742#ifdef __cplusplus 29743extern "C" 29744#endif 29745char libcsplit_wide_split_string_get_string (); 29746int 29747main () 29748{ 29749return libcsplit_wide_split_string_get_string (); 29750 ; 29751 return 0; 29752} 29753_ACEOF 29754if ac_fn_c_try_link "$LINENO"; then : 29755 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29756else 29757 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29758fi 29759rm -f core conftest.err conftest.$ac_objext \ 29760 conftest$ac_exeext conftest.$ac_ext 29761LIBS=$ac_check_lib_save_LIBS 29762fi 29763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29764$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29765if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29766 ac_cv_libcsplit_dummy=yes 29767else 29768 ac_cv_libcsplit=no 29769fi 29770 29771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29772$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29773if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29774 $as_echo_n "(cached) " >&6 29775else 29776 ac_check_lib_save_LIBS=$LIBS 29777LIBS="-lcsplit $LIBS" 29778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29779/* end confdefs.h. */ 29780 29781/* Override any GCC internal prototype to avoid an error. 29782 Use char because int might match the return type of a GCC 29783 builtin and then its argument prototype would still apply. */ 29784#ifdef __cplusplus 29785extern "C" 29786#endif 29787char libcsplit_wide_split_string_get_number_of_segments (); 29788int 29789main () 29790{ 29791return libcsplit_wide_split_string_get_number_of_segments (); 29792 ; 29793 return 0; 29794} 29795_ACEOF 29796if ac_fn_c_try_link "$LINENO"; then : 29797 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29798else 29799 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29800fi 29801rm -f core conftest.err conftest.$ac_objext \ 29802 conftest$ac_exeext conftest.$ac_ext 29803LIBS=$ac_check_lib_save_LIBS 29804fi 29805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29806$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29807if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29808 ac_cv_libcsplit_dummy=yes 29809else 29810 ac_cv_libcsplit=no 29811fi 29812 29813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29814$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29815if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29816 $as_echo_n "(cached) " >&6 29817else 29818 ac_check_lib_save_LIBS=$LIBS 29819LIBS="-lcsplit $LIBS" 29820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29821/* end confdefs.h. */ 29822 29823/* Override any GCC internal prototype to avoid an error. 29824 Use char because int might match the return type of a GCC 29825 builtin and then its argument prototype would still apply. */ 29826#ifdef __cplusplus 29827extern "C" 29828#endif 29829char libcsplit_wide_split_string_get_segment_by_index (); 29830int 29831main () 29832{ 29833return libcsplit_wide_split_string_get_segment_by_index (); 29834 ; 29835 return 0; 29836} 29837_ACEOF 29838if ac_fn_c_try_link "$LINENO"; then : 29839 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29840else 29841 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29842fi 29843rm -f core conftest.err conftest.$ac_objext \ 29844 conftest$ac_exeext conftest.$ac_ext 29845LIBS=$ac_check_lib_save_LIBS 29846fi 29847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29848$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29849if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29850 ac_cv_libcsplit_dummy=yes 29851else 29852 ac_cv_libcsplit=no 29853fi 29854 29855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29856$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29857if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29858 $as_echo_n "(cached) " >&6 29859else 29860 ac_check_lib_save_LIBS=$LIBS 29861LIBS="-lcsplit $LIBS" 29862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29863/* end confdefs.h. */ 29864 29865/* Override any GCC internal prototype to avoid an error. 29866 Use char because int might match the return type of a GCC 29867 builtin and then its argument prototype would still apply. */ 29868#ifdef __cplusplus 29869extern "C" 29870#endif 29871char libcsplit_wide_split_string_set_segment_by_index (); 29872int 29873main () 29874{ 29875return libcsplit_wide_split_string_set_segment_by_index (); 29876 ; 29877 return 0; 29878} 29879_ACEOF 29880if ac_fn_c_try_link "$LINENO"; then : 29881 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29882else 29883 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29884fi 29885rm -f core conftest.err conftest.$ac_objext \ 29886 conftest$ac_exeext conftest.$ac_ext 29887LIBS=$ac_check_lib_save_LIBS 29888fi 29889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29890$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29891if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29892 ac_cv_libcsplit_dummy=yes 29893else 29894 ac_cv_libcsplit=no 29895fi 29896 29897 29898fi 29899 29900 ac_cv_libcsplit_LIBADD="-lcsplit" 29901fi 29902 29903fi 29904 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29907as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29908See \`config.log' for more details" "$LINENO" 5; } 29909 29910fi 29911 29912fi 29913 29914 if test "x$ac_cv_libcsplit" = xyes; then : 29915 29916$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29917 29918 29919fi 29920 29921 if test "x$ac_cv_libcsplit" = xyes; then : 29922 HAVE_LIBCSPLIT=1 29923 29924else 29925 HAVE_LIBCSPLIT=0 29926 29927 29928fi 29929 29930 29931 if test "x$ac_cv_libcsplit" != xyes; then : 29932 29933 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 29934 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 29935 29936 ac_cv_libcsplit=local 29937 29938 29939 29940$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 29941 29942 HAVE_LOCAL_LIBCSPLIT=1 29943 29944 29945fi 29946 29947 if test "x$ac_cv_libcsplit" = xlocal; then 29948 HAVE_LOCAL_LIBCSPLIT_TRUE= 29949 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 29950else 29951 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 29952 HAVE_LOCAL_LIBCSPLIT_FALSE= 29953fi 29954 29955 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 29956 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 29957 29958 29959fi 29960 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 29961 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 29962 29963 29964fi 29965 29966 if test "x$ac_cv_libcsplit" = xyes; then : 29967 ax_libcsplit_pc_libs_private=-lcsplit 29968 29969 29970fi 29971 29972 if test "x$ac_cv_libcsplit" = xyes; then : 29973 ax_libcsplit_spec_requires=libcsplit 29974 29975 ax_libcsplit_spec_build_requires=libcsplit-devel 29976 29977 29978fi 29979 29980 29981 29982 29983# Check whether --with-libuna was given. 29984if test "${with_libuna+set}" = set; then : 29985 withval=$with_libuna; ac_cv_with_libuna=$withval 29986else 29987 ac_cv_with_libuna=auto-detect 29988fi 29989 29990 { $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 29991$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; } 29992if ${ac_cv_with_libuna+:} false; then : 29993 $as_echo_n "(cached) " >&6 29994else 29995 ac_cv_with_libuna=auto-detect 29996fi 29997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 29998$as_echo "$ac_cv_with_libuna" >&6; } 29999 30000 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30001 ac_cv_libuna=no 30002else 30003 ac_cv_libuna=check 30004 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30005 if test -d "$ac_cv_with_libuna"; then : 30006 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30007 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30008else 30009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30011as_fn_error 1 "no such directory: $ac_cv_with_libuna 30012See \`config.log' for more details" "$LINENO" 5; } 30013 30014fi 30015 30016else 30017 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30018 30019pkg_failed=no 30020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30021$as_echo_n "checking for libuna... " >&6; } 30022 30023if test -n "$libuna_CFLAGS"; then 30024 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30025 elif test -n "$PKG_CONFIG"; then 30026 if test -n "$PKG_CONFIG" && \ 30027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30028 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30029 ac_status=$? 30030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30031 test $ac_status = 0; }; then 30032 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30033 test "x$?" != "x0" && pkg_failed=yes 30034else 30035 pkg_failed=yes 30036fi 30037 else 30038 pkg_failed=untried 30039fi 30040if test -n "$libuna_LIBS"; then 30041 pkg_cv_libuna_LIBS="$libuna_LIBS" 30042 elif test -n "$PKG_CONFIG"; then 30043 if test -n "$PKG_CONFIG" && \ 30044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30045 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30046 ac_status=$? 30047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30048 test $ac_status = 0; }; then 30049 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30050 test "x$?" != "x0" && pkg_failed=yes 30051else 30052 pkg_failed=yes 30053fi 30054 else 30055 pkg_failed=untried 30056fi 30057 30058 30059 30060if test $pkg_failed = yes; then 30061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30062$as_echo "no" >&6; } 30063 30064if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30065 _pkg_short_errors_supported=yes 30066else 30067 _pkg_short_errors_supported=no 30068fi 30069 if test $_pkg_short_errors_supported = yes; then 30070 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30071 else 30072 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30073 fi 30074 # Put the nasty error message in config.log where it belongs 30075 echo "$libuna_PKG_ERRORS" >&5 30076 30077 ac_cv_libuna=check 30078elif test $pkg_failed = untried; then 30079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30080$as_echo "no" >&6; } 30081 ac_cv_libuna=check 30082else 30083 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30084 libuna_LIBS=$pkg_cv_libuna_LIBS 30085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30086$as_echo "yes" >&6; } 30087 ac_cv_libuna=yes 30088fi 30089 30090fi 30091 if test "x$ac_cv_libuna" = xyes; then : 30092 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30093 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30094fi 30095 30096fi 30097 30098 if test "x$ac_cv_libuna" = xcheck; then : 30099 for ac_header in libuna.h 30100do : 30101 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30102if test "x$ac_cv_header_libuna_h" = xyes; then : 30103 cat >>confdefs.h <<_ACEOF 30104#define HAVE_LIBUNA_H 1 30105_ACEOF 30106 30107fi 30108 30109done 30110 30111 30112 if test "x$ac_cv_header_libuna_h" = xno; then : 30113 ac_cv_libuna=no 30114else 30115 ac_cv_libuna=yes 30116 30117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30118$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30119if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30120 $as_echo_n "(cached) " >&6 30121else 30122 ac_check_lib_save_LIBS=$LIBS 30123LIBS="-luna $LIBS" 30124cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30125/* end confdefs.h. */ 30126 30127/* Override any GCC internal prototype to avoid an error. 30128 Use char because int might match the return type of a GCC 30129 builtin and then its argument prototype would still apply. */ 30130#ifdef __cplusplus 30131extern "C" 30132#endif 30133char libuna_get_version (); 30134int 30135main () 30136{ 30137return libuna_get_version (); 30138 ; 30139 return 0; 30140} 30141_ACEOF 30142if ac_fn_c_try_link "$LINENO"; then : 30143 ac_cv_lib_una_libuna_get_version=yes 30144else 30145 ac_cv_lib_una_libuna_get_version=no 30146fi 30147rm -f core conftest.err conftest.$ac_objext \ 30148 conftest$ac_exeext conftest.$ac_ext 30149LIBS=$ac_check_lib_save_LIBS 30150fi 30151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30152$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30153if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30154 ac_cv_libuna_dummy=yes 30155else 30156 ac_cv_libuna=no 30157fi 30158 30159 30160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30161$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30162if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30163 $as_echo_n "(cached) " >&6 30164else 30165 ac_check_lib_save_LIBS=$LIBS 30166LIBS="-luna $LIBS" 30167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30168/* end confdefs.h. */ 30169 30170/* Override any GCC internal prototype to avoid an error. 30171 Use char because int might match the return type of a GCC 30172 builtin and then its argument prototype would still apply. */ 30173#ifdef __cplusplus 30174extern "C" 30175#endif 30176char libuna_base16_stream_size_to_byte_stream (); 30177int 30178main () 30179{ 30180return libuna_base16_stream_size_to_byte_stream (); 30181 ; 30182 return 0; 30183} 30184_ACEOF 30185if ac_fn_c_try_link "$LINENO"; then : 30186 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30187else 30188 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30189fi 30190rm -f core conftest.err conftest.$ac_objext \ 30191 conftest$ac_exeext conftest.$ac_ext 30192LIBS=$ac_check_lib_save_LIBS 30193fi 30194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30195$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30196if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30197 ac_cv_libuna_dummy=yes 30198else 30199 ac_cv_libuna=no 30200fi 30201 30202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30203$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30204if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30205 $as_echo_n "(cached) " >&6 30206else 30207 ac_check_lib_save_LIBS=$LIBS 30208LIBS="-luna $LIBS" 30209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30210/* end confdefs.h. */ 30211 30212/* Override any GCC internal prototype to avoid an error. 30213 Use char because int might match the return type of a GCC 30214 builtin and then its argument prototype would still apply. */ 30215#ifdef __cplusplus 30216extern "C" 30217#endif 30218char libuna_base16_stream_copy_to_byte_stream (); 30219int 30220main () 30221{ 30222return libuna_base16_stream_copy_to_byte_stream (); 30223 ; 30224 return 0; 30225} 30226_ACEOF 30227if ac_fn_c_try_link "$LINENO"; then : 30228 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30229else 30230 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30231fi 30232rm -f core conftest.err conftest.$ac_objext \ 30233 conftest$ac_exeext conftest.$ac_ext 30234LIBS=$ac_check_lib_save_LIBS 30235fi 30236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30237$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30238if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30239 ac_cv_libuna_dummy=yes 30240else 30241 ac_cv_libuna=no 30242fi 30243 30244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30245$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30246if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30247 $as_echo_n "(cached) " >&6 30248else 30249 ac_check_lib_save_LIBS=$LIBS 30250LIBS="-luna $LIBS" 30251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30252/* end confdefs.h. */ 30253 30254/* Override any GCC internal prototype to avoid an error. 30255 Use char because int might match the return type of a GCC 30256 builtin and then its argument prototype would still apply. */ 30257#ifdef __cplusplus 30258extern "C" 30259#endif 30260char libuna_base16_stream_size_from_byte_stream (); 30261int 30262main () 30263{ 30264return libuna_base16_stream_size_from_byte_stream (); 30265 ; 30266 return 0; 30267} 30268_ACEOF 30269if ac_fn_c_try_link "$LINENO"; then : 30270 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30271else 30272 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30273fi 30274rm -f core conftest.err conftest.$ac_objext \ 30275 conftest$ac_exeext conftest.$ac_ext 30276LIBS=$ac_check_lib_save_LIBS 30277fi 30278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30279$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30280if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30281 ac_cv_libuna_dummy=yes 30282else 30283 ac_cv_libuna=no 30284fi 30285 30286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30287$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30288if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30289 $as_echo_n "(cached) " >&6 30290else 30291 ac_check_lib_save_LIBS=$LIBS 30292LIBS="-luna $LIBS" 30293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30294/* end confdefs.h. */ 30295 30296/* Override any GCC internal prototype to avoid an error. 30297 Use char because int might match the return type of a GCC 30298 builtin and then its argument prototype would still apply. */ 30299#ifdef __cplusplus 30300extern "C" 30301#endif 30302char libuna_base16_stream_copy_from_byte_stream (); 30303int 30304main () 30305{ 30306return libuna_base16_stream_copy_from_byte_stream (); 30307 ; 30308 return 0; 30309} 30310_ACEOF 30311if ac_fn_c_try_link "$LINENO"; then : 30312 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30313else 30314 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30315fi 30316rm -f core conftest.err conftest.$ac_objext \ 30317 conftest$ac_exeext conftest.$ac_ext 30318LIBS=$ac_check_lib_save_LIBS 30319fi 30320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30321$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30322if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30323 ac_cv_libuna_dummy=yes 30324else 30325 ac_cv_libuna=no 30326fi 30327 30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30329$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30330if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30331 $as_echo_n "(cached) " >&6 30332else 30333 ac_check_lib_save_LIBS=$LIBS 30334LIBS="-luna $LIBS" 30335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30336/* end confdefs.h. */ 30337 30338/* Override any GCC internal prototype to avoid an error. 30339 Use char because int might match the return type of a GCC 30340 builtin and then its argument prototype would still apply. */ 30341#ifdef __cplusplus 30342extern "C" 30343#endif 30344char libuna_base16_stream_with_index_copy_from_byte_stream (); 30345int 30346main () 30347{ 30348return libuna_base16_stream_with_index_copy_from_byte_stream (); 30349 ; 30350 return 0; 30351} 30352_ACEOF 30353if ac_fn_c_try_link "$LINENO"; then : 30354 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30355else 30356 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30357fi 30358rm -f core conftest.err conftest.$ac_objext \ 30359 conftest$ac_exeext conftest.$ac_ext 30360LIBS=$ac_check_lib_save_LIBS 30361fi 30362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30363$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30364if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30365 ac_cv_libuna_dummy=yes 30366else 30367 ac_cv_libuna=no 30368fi 30369 30370 30371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30372$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30373if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30374 $as_echo_n "(cached) " >&6 30375else 30376 ac_check_lib_save_LIBS=$LIBS 30377LIBS="-luna $LIBS" 30378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30379/* end confdefs.h. */ 30380 30381/* Override any GCC internal prototype to avoid an error. 30382 Use char because int might match the return type of a GCC 30383 builtin and then its argument prototype would still apply. */ 30384#ifdef __cplusplus 30385extern "C" 30386#endif 30387char libuna_base32_quintuplet_copy_from_base32_stream (); 30388int 30389main () 30390{ 30391return libuna_base32_quintuplet_copy_from_base32_stream (); 30392 ; 30393 return 0; 30394} 30395_ACEOF 30396if ac_fn_c_try_link "$LINENO"; then : 30397 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30398else 30399 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30400fi 30401rm -f core conftest.err conftest.$ac_objext \ 30402 conftest$ac_exeext conftest.$ac_ext 30403LIBS=$ac_check_lib_save_LIBS 30404fi 30405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30406$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30407if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30408 ac_cv_libuna_dummy=yes 30409else 30410 ac_cv_libuna=no 30411fi 30412 30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30414$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30415if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30416 $as_echo_n "(cached) " >&6 30417else 30418 ac_check_lib_save_LIBS=$LIBS 30419LIBS="-luna $LIBS" 30420cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30421/* end confdefs.h. */ 30422 30423/* Override any GCC internal prototype to avoid an error. 30424 Use char because int might match the return type of a GCC 30425 builtin and then its argument prototype would still apply. */ 30426#ifdef __cplusplus 30427extern "C" 30428#endif 30429char libuna_base32_quintuplet_copy_to_base32_stream (); 30430int 30431main () 30432{ 30433return libuna_base32_quintuplet_copy_to_base32_stream (); 30434 ; 30435 return 0; 30436} 30437_ACEOF 30438if ac_fn_c_try_link "$LINENO"; then : 30439 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30440else 30441 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30442fi 30443rm -f core conftest.err conftest.$ac_objext \ 30444 conftest$ac_exeext conftest.$ac_ext 30445LIBS=$ac_check_lib_save_LIBS 30446fi 30447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30448$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30449if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30450 ac_cv_libuna_dummy=yes 30451else 30452 ac_cv_libuna=no 30453fi 30454 30455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30456$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30457if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30458 $as_echo_n "(cached) " >&6 30459else 30460 ac_check_lib_save_LIBS=$LIBS 30461LIBS="-luna $LIBS" 30462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30463/* end confdefs.h. */ 30464 30465/* Override any GCC internal prototype to avoid an error. 30466 Use char because int might match the return type of a GCC 30467 builtin and then its argument prototype would still apply. */ 30468#ifdef __cplusplus 30469extern "C" 30470#endif 30471char libuna_base32_quintuplet_copy_from_byte_stream (); 30472int 30473main () 30474{ 30475return libuna_base32_quintuplet_copy_from_byte_stream (); 30476 ; 30477 return 0; 30478} 30479_ACEOF 30480if ac_fn_c_try_link "$LINENO"; then : 30481 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30482else 30483 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30484fi 30485rm -f core conftest.err conftest.$ac_objext \ 30486 conftest$ac_exeext conftest.$ac_ext 30487LIBS=$ac_check_lib_save_LIBS 30488fi 30489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30490$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30491if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30492 ac_cv_libuna_dummy=yes 30493else 30494 ac_cv_libuna=no 30495fi 30496 30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30498$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30499if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30500 $as_echo_n "(cached) " >&6 30501else 30502 ac_check_lib_save_LIBS=$LIBS 30503LIBS="-luna $LIBS" 30504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30505/* end confdefs.h. */ 30506 30507/* Override any GCC internal prototype to avoid an error. 30508 Use char because int might match the return type of a GCC 30509 builtin and then its argument prototype would still apply. */ 30510#ifdef __cplusplus 30511extern "C" 30512#endif 30513char libuna_base32_quintuplet_copy_to_byte_stream (); 30514int 30515main () 30516{ 30517return libuna_base32_quintuplet_copy_to_byte_stream (); 30518 ; 30519 return 0; 30520} 30521_ACEOF 30522if ac_fn_c_try_link "$LINENO"; then : 30523 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30524else 30525 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30526fi 30527rm -f core conftest.err conftest.$ac_objext \ 30528 conftest$ac_exeext conftest.$ac_ext 30529LIBS=$ac_check_lib_save_LIBS 30530fi 30531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30532$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30533if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30534 ac_cv_libuna_dummy=yes 30535else 30536 ac_cv_libuna=no 30537fi 30538 30539 30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30541$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30542if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30543 $as_echo_n "(cached) " >&6 30544else 30545 ac_check_lib_save_LIBS=$LIBS 30546LIBS="-luna $LIBS" 30547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30548/* end confdefs.h. */ 30549 30550/* Override any GCC internal prototype to avoid an error. 30551 Use char because int might match the return type of a GCC 30552 builtin and then its argument prototype would still apply. */ 30553#ifdef __cplusplus 30554extern "C" 30555#endif 30556char libuna_base32_stream_size_to_byte_stream (); 30557int 30558main () 30559{ 30560return libuna_base32_stream_size_to_byte_stream (); 30561 ; 30562 return 0; 30563} 30564_ACEOF 30565if ac_fn_c_try_link "$LINENO"; then : 30566 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30567else 30568 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30569fi 30570rm -f core conftest.err conftest.$ac_objext \ 30571 conftest$ac_exeext conftest.$ac_ext 30572LIBS=$ac_check_lib_save_LIBS 30573fi 30574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30575$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30576if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30577 ac_cv_libuna_dummy=yes 30578else 30579 ac_cv_libuna=no 30580fi 30581 30582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30583$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30584if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30585 $as_echo_n "(cached) " >&6 30586else 30587 ac_check_lib_save_LIBS=$LIBS 30588LIBS="-luna $LIBS" 30589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30590/* end confdefs.h. */ 30591 30592/* Override any GCC internal prototype to avoid an error. 30593 Use char because int might match the return type of a GCC 30594 builtin and then its argument prototype would still apply. */ 30595#ifdef __cplusplus 30596extern "C" 30597#endif 30598char libuna_base32_stream_copy_to_byte_stream (); 30599int 30600main () 30601{ 30602return libuna_base32_stream_copy_to_byte_stream (); 30603 ; 30604 return 0; 30605} 30606_ACEOF 30607if ac_fn_c_try_link "$LINENO"; then : 30608 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30609else 30610 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30611fi 30612rm -f core conftest.err conftest.$ac_objext \ 30613 conftest$ac_exeext conftest.$ac_ext 30614LIBS=$ac_check_lib_save_LIBS 30615fi 30616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30617$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30618if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30619 ac_cv_libuna_dummy=yes 30620else 30621 ac_cv_libuna=no 30622fi 30623 30624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30625$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30626if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30627 $as_echo_n "(cached) " >&6 30628else 30629 ac_check_lib_save_LIBS=$LIBS 30630LIBS="-luna $LIBS" 30631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30632/* end confdefs.h. */ 30633 30634/* Override any GCC internal prototype to avoid an error. 30635 Use char because int might match the return type of a GCC 30636 builtin and then its argument prototype would still apply. */ 30637#ifdef __cplusplus 30638extern "C" 30639#endif 30640char libuna_base32_stream_size_from_byte_stream (); 30641int 30642main () 30643{ 30644return libuna_base32_stream_size_from_byte_stream (); 30645 ; 30646 return 0; 30647} 30648_ACEOF 30649if ac_fn_c_try_link "$LINENO"; then : 30650 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30651else 30652 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30653fi 30654rm -f core conftest.err conftest.$ac_objext \ 30655 conftest$ac_exeext conftest.$ac_ext 30656LIBS=$ac_check_lib_save_LIBS 30657fi 30658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30659$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30660if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30661 ac_cv_libuna_dummy=yes 30662else 30663 ac_cv_libuna=no 30664fi 30665 30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30667$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30668if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30669 $as_echo_n "(cached) " >&6 30670else 30671 ac_check_lib_save_LIBS=$LIBS 30672LIBS="-luna $LIBS" 30673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30674/* end confdefs.h. */ 30675 30676/* Override any GCC internal prototype to avoid an error. 30677 Use char because int might match the return type of a GCC 30678 builtin and then its argument prototype would still apply. */ 30679#ifdef __cplusplus 30680extern "C" 30681#endif 30682char libuna_base32_stream_copy_from_byte_stream (); 30683int 30684main () 30685{ 30686return libuna_base32_stream_copy_from_byte_stream (); 30687 ; 30688 return 0; 30689} 30690_ACEOF 30691if ac_fn_c_try_link "$LINENO"; then : 30692 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30693else 30694 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30695fi 30696rm -f core conftest.err conftest.$ac_objext \ 30697 conftest$ac_exeext conftest.$ac_ext 30698LIBS=$ac_check_lib_save_LIBS 30699fi 30700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30701$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30702if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30703 ac_cv_libuna_dummy=yes 30704else 30705 ac_cv_libuna=no 30706fi 30707 30708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30709$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30710if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30711 $as_echo_n "(cached) " >&6 30712else 30713 ac_check_lib_save_LIBS=$LIBS 30714LIBS="-luna $LIBS" 30715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30716/* end confdefs.h. */ 30717 30718/* Override any GCC internal prototype to avoid an error. 30719 Use char because int might match the return type of a GCC 30720 builtin and then its argument prototype would still apply. */ 30721#ifdef __cplusplus 30722extern "C" 30723#endif 30724char libuna_base32_stream_with_index_copy_from_byte_stream (); 30725int 30726main () 30727{ 30728return libuna_base32_stream_with_index_copy_from_byte_stream (); 30729 ; 30730 return 0; 30731} 30732_ACEOF 30733if ac_fn_c_try_link "$LINENO"; then : 30734 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30735else 30736 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30737fi 30738rm -f core conftest.err conftest.$ac_objext \ 30739 conftest$ac_exeext conftest.$ac_ext 30740LIBS=$ac_check_lib_save_LIBS 30741fi 30742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30743$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30744if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30745 ac_cv_libuna_dummy=yes 30746else 30747 ac_cv_libuna=no 30748fi 30749 30750 30751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30752$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30753if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30754 $as_echo_n "(cached) " >&6 30755else 30756 ac_check_lib_save_LIBS=$LIBS 30757LIBS="-luna $LIBS" 30758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30759/* end confdefs.h. */ 30760 30761/* Override any GCC internal prototype to avoid an error. 30762 Use char because int might match the return type of a GCC 30763 builtin and then its argument prototype would still apply. */ 30764#ifdef __cplusplus 30765extern "C" 30766#endif 30767char libuna_base64_triplet_copy_from_base64_stream (); 30768int 30769main () 30770{ 30771return libuna_base64_triplet_copy_from_base64_stream (); 30772 ; 30773 return 0; 30774} 30775_ACEOF 30776if ac_fn_c_try_link "$LINENO"; then : 30777 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30778else 30779 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30780fi 30781rm -f core conftest.err conftest.$ac_objext \ 30782 conftest$ac_exeext conftest.$ac_ext 30783LIBS=$ac_check_lib_save_LIBS 30784fi 30785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30786$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30787if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30788 ac_cv_libuna_dummy=yes 30789else 30790 ac_cv_libuna=no 30791fi 30792 30793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30794$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30795if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30796 $as_echo_n "(cached) " >&6 30797else 30798 ac_check_lib_save_LIBS=$LIBS 30799LIBS="-luna $LIBS" 30800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30801/* end confdefs.h. */ 30802 30803/* Override any GCC internal prototype to avoid an error. 30804 Use char because int might match the return type of a GCC 30805 builtin and then its argument prototype would still apply. */ 30806#ifdef __cplusplus 30807extern "C" 30808#endif 30809char libuna_base64_triplet_copy_to_base64_stream (); 30810int 30811main () 30812{ 30813return libuna_base64_triplet_copy_to_base64_stream (); 30814 ; 30815 return 0; 30816} 30817_ACEOF 30818if ac_fn_c_try_link "$LINENO"; then : 30819 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30820else 30821 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30822fi 30823rm -f core conftest.err conftest.$ac_objext \ 30824 conftest$ac_exeext conftest.$ac_ext 30825LIBS=$ac_check_lib_save_LIBS 30826fi 30827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30828$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30829if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30830 ac_cv_libuna_dummy=yes 30831else 30832 ac_cv_libuna=no 30833fi 30834 30835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30836$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30837if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30838 $as_echo_n "(cached) " >&6 30839else 30840 ac_check_lib_save_LIBS=$LIBS 30841LIBS="-luna $LIBS" 30842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30843/* end confdefs.h. */ 30844 30845/* Override any GCC internal prototype to avoid an error. 30846 Use char because int might match the return type of a GCC 30847 builtin and then its argument prototype would still apply. */ 30848#ifdef __cplusplus 30849extern "C" 30850#endif 30851char libuna_base64_triplet_copy_from_byte_stream (); 30852int 30853main () 30854{ 30855return libuna_base64_triplet_copy_from_byte_stream (); 30856 ; 30857 return 0; 30858} 30859_ACEOF 30860if ac_fn_c_try_link "$LINENO"; then : 30861 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30862else 30863 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30864fi 30865rm -f core conftest.err conftest.$ac_objext \ 30866 conftest$ac_exeext conftest.$ac_ext 30867LIBS=$ac_check_lib_save_LIBS 30868fi 30869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30870$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30871if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30872 ac_cv_libuna_dummy=yes 30873else 30874 ac_cv_libuna=no 30875fi 30876 30877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30878$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30879if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30880 $as_echo_n "(cached) " >&6 30881else 30882 ac_check_lib_save_LIBS=$LIBS 30883LIBS="-luna $LIBS" 30884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30885/* end confdefs.h. */ 30886 30887/* Override any GCC internal prototype to avoid an error. 30888 Use char because int might match the return type of a GCC 30889 builtin and then its argument prototype would still apply. */ 30890#ifdef __cplusplus 30891extern "C" 30892#endif 30893char libuna_base64_triplet_copy_to_byte_stream (); 30894int 30895main () 30896{ 30897return libuna_base64_triplet_copy_to_byte_stream (); 30898 ; 30899 return 0; 30900} 30901_ACEOF 30902if ac_fn_c_try_link "$LINENO"; then : 30903 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30904else 30905 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30906fi 30907rm -f core conftest.err conftest.$ac_objext \ 30908 conftest$ac_exeext conftest.$ac_ext 30909LIBS=$ac_check_lib_save_LIBS 30910fi 30911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 30912$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30913if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30914 ac_cv_libuna_dummy=yes 30915else 30916 ac_cv_libuna=no 30917fi 30918 30919 30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30921$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30922if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30923 $as_echo_n "(cached) " >&6 30924else 30925 ac_check_lib_save_LIBS=$LIBS 30926LIBS="-luna $LIBS" 30927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30928/* end confdefs.h. */ 30929 30930/* Override any GCC internal prototype to avoid an error. 30931 Use char because int might match the return type of a GCC 30932 builtin and then its argument prototype would still apply. */ 30933#ifdef __cplusplus 30934extern "C" 30935#endif 30936char libuna_base64_stream_size_to_byte_stream (); 30937int 30938main () 30939{ 30940return libuna_base64_stream_size_to_byte_stream (); 30941 ; 30942 return 0; 30943} 30944_ACEOF 30945if ac_fn_c_try_link "$LINENO"; then : 30946 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 30947else 30948 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 30949fi 30950rm -f core conftest.err conftest.$ac_objext \ 30951 conftest$ac_exeext conftest.$ac_ext 30952LIBS=$ac_check_lib_save_LIBS 30953fi 30954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 30955$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 30956if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 30957 ac_cv_libuna_dummy=yes 30958else 30959 ac_cv_libuna=no 30960fi 30961 30962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 30963$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 30964if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 30965 $as_echo_n "(cached) " >&6 30966else 30967 ac_check_lib_save_LIBS=$LIBS 30968LIBS="-luna $LIBS" 30969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30970/* end confdefs.h. */ 30971 30972/* Override any GCC internal prototype to avoid an error. 30973 Use char because int might match the return type of a GCC 30974 builtin and then its argument prototype would still apply. */ 30975#ifdef __cplusplus 30976extern "C" 30977#endif 30978char libuna_base64_stream_copy_to_byte_stream (); 30979int 30980main () 30981{ 30982return libuna_base64_stream_copy_to_byte_stream (); 30983 ; 30984 return 0; 30985} 30986_ACEOF 30987if ac_fn_c_try_link "$LINENO"; then : 30988 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 30989else 30990 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 30991fi 30992rm -f core conftest.err conftest.$ac_objext \ 30993 conftest$ac_exeext conftest.$ac_ext 30994LIBS=$ac_check_lib_save_LIBS 30995fi 30996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 30997$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 30998if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 30999 ac_cv_libuna_dummy=yes 31000else 31001 ac_cv_libuna=no 31002fi 31003 31004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31005$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31006if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31007 $as_echo_n "(cached) " >&6 31008else 31009 ac_check_lib_save_LIBS=$LIBS 31010LIBS="-luna $LIBS" 31011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31012/* end confdefs.h. */ 31013 31014/* Override any GCC internal prototype to avoid an error. 31015 Use char because int might match the return type of a GCC 31016 builtin and then its argument prototype would still apply. */ 31017#ifdef __cplusplus 31018extern "C" 31019#endif 31020char libuna_base64_stream_size_from_byte_stream (); 31021int 31022main () 31023{ 31024return libuna_base64_stream_size_from_byte_stream (); 31025 ; 31026 return 0; 31027} 31028_ACEOF 31029if ac_fn_c_try_link "$LINENO"; then : 31030 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31031else 31032 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31033fi 31034rm -f core conftest.err conftest.$ac_objext \ 31035 conftest$ac_exeext conftest.$ac_ext 31036LIBS=$ac_check_lib_save_LIBS 31037fi 31038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31039$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31040if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31041 ac_cv_libuna_dummy=yes 31042else 31043 ac_cv_libuna=no 31044fi 31045 31046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31047$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31048if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31049 $as_echo_n "(cached) " >&6 31050else 31051 ac_check_lib_save_LIBS=$LIBS 31052LIBS="-luna $LIBS" 31053cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31054/* end confdefs.h. */ 31055 31056/* Override any GCC internal prototype to avoid an error. 31057 Use char because int might match the return type of a GCC 31058 builtin and then its argument prototype would still apply. */ 31059#ifdef __cplusplus 31060extern "C" 31061#endif 31062char libuna_base64_stream_copy_from_byte_stream (); 31063int 31064main () 31065{ 31066return libuna_base64_stream_copy_from_byte_stream (); 31067 ; 31068 return 0; 31069} 31070_ACEOF 31071if ac_fn_c_try_link "$LINENO"; then : 31072 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31073else 31074 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31075fi 31076rm -f core conftest.err conftest.$ac_objext \ 31077 conftest$ac_exeext conftest.$ac_ext 31078LIBS=$ac_check_lib_save_LIBS 31079fi 31080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31081$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31082if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31083 ac_cv_libuna_dummy=yes 31084else 31085 ac_cv_libuna=no 31086fi 31087 31088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31089$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31090if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31091 $as_echo_n "(cached) " >&6 31092else 31093 ac_check_lib_save_LIBS=$LIBS 31094LIBS="-luna $LIBS" 31095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31096/* end confdefs.h. */ 31097 31098/* Override any GCC internal prototype to avoid an error. 31099 Use char because int might match the return type of a GCC 31100 builtin and then its argument prototype would still apply. */ 31101#ifdef __cplusplus 31102extern "C" 31103#endif 31104char libuna_base64_stream_with_index_copy_from_byte_stream (); 31105int 31106main () 31107{ 31108return libuna_base64_stream_with_index_copy_from_byte_stream (); 31109 ; 31110 return 0; 31111} 31112_ACEOF 31113if ac_fn_c_try_link "$LINENO"; then : 31114 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31115else 31116 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31117fi 31118rm -f core conftest.err conftest.$ac_objext \ 31119 conftest$ac_exeext conftest.$ac_ext 31120LIBS=$ac_check_lib_save_LIBS 31121fi 31122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31123$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31124if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31125 ac_cv_libuna_dummy=yes 31126else 31127 ac_cv_libuna=no 31128fi 31129 31130 31131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31132$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31133if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31134 $as_echo_n "(cached) " >&6 31135else 31136 ac_check_lib_save_LIBS=$LIBS 31137LIBS="-luna $LIBS" 31138cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31139/* end confdefs.h. */ 31140 31141/* Override any GCC internal prototype to avoid an error. 31142 Use char because int might match the return type of a GCC 31143 builtin and then its argument prototype would still apply. */ 31144#ifdef __cplusplus 31145extern "C" 31146#endif 31147char libuna_byte_stream_size_from_utf8 (); 31148int 31149main () 31150{ 31151return libuna_byte_stream_size_from_utf8 (); 31152 ; 31153 return 0; 31154} 31155_ACEOF 31156if ac_fn_c_try_link "$LINENO"; then : 31157 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31158else 31159 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31160fi 31161rm -f core conftest.err conftest.$ac_objext \ 31162 conftest$ac_exeext conftest.$ac_ext 31163LIBS=$ac_check_lib_save_LIBS 31164fi 31165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31166$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31167if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31168 ac_cv_libuna_dummy=yes 31169else 31170 ac_cv_libuna=no 31171fi 31172 31173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31174$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31175if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31176 $as_echo_n "(cached) " >&6 31177else 31178 ac_check_lib_save_LIBS=$LIBS 31179LIBS="-luna $LIBS" 31180cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31181/* end confdefs.h. */ 31182 31183/* Override any GCC internal prototype to avoid an error. 31184 Use char because int might match the return type of a GCC 31185 builtin and then its argument prototype would still apply. */ 31186#ifdef __cplusplus 31187extern "C" 31188#endif 31189char libuna_byte_stream_copy_from_utf8 (); 31190int 31191main () 31192{ 31193return libuna_byte_stream_copy_from_utf8 (); 31194 ; 31195 return 0; 31196} 31197_ACEOF 31198if ac_fn_c_try_link "$LINENO"; then : 31199 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31200else 31201 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31202fi 31203rm -f core conftest.err conftest.$ac_objext \ 31204 conftest$ac_exeext conftest.$ac_ext 31205LIBS=$ac_check_lib_save_LIBS 31206fi 31207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31208$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31209if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31210 ac_cv_libuna_dummy=yes 31211else 31212 ac_cv_libuna=no 31213fi 31214 31215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31216$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31217if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31218 $as_echo_n "(cached) " >&6 31219else 31220 ac_check_lib_save_LIBS=$LIBS 31221LIBS="-luna $LIBS" 31222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31223/* end confdefs.h. */ 31224 31225/* Override any GCC internal prototype to avoid an error. 31226 Use char because int might match the return type of a GCC 31227 builtin and then its argument prototype would still apply. */ 31228#ifdef __cplusplus 31229extern "C" 31230#endif 31231char libuna_byte_stream_size_from_utf16 (); 31232int 31233main () 31234{ 31235return libuna_byte_stream_size_from_utf16 (); 31236 ; 31237 return 0; 31238} 31239_ACEOF 31240if ac_fn_c_try_link "$LINENO"; then : 31241 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31242else 31243 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31244fi 31245rm -f core conftest.err conftest.$ac_objext \ 31246 conftest$ac_exeext conftest.$ac_ext 31247LIBS=$ac_check_lib_save_LIBS 31248fi 31249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31250$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31251if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31252 ac_cv_libuna_dummy=yes 31253else 31254 ac_cv_libuna=no 31255fi 31256 31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31258$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31259if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31260 $as_echo_n "(cached) " >&6 31261else 31262 ac_check_lib_save_LIBS=$LIBS 31263LIBS="-luna $LIBS" 31264cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31265/* end confdefs.h. */ 31266 31267/* Override any GCC internal prototype to avoid an error. 31268 Use char because int might match the return type of a GCC 31269 builtin and then its argument prototype would still apply. */ 31270#ifdef __cplusplus 31271extern "C" 31272#endif 31273char libuna_byte_stream_copy_from_utf16 (); 31274int 31275main () 31276{ 31277return libuna_byte_stream_copy_from_utf16 (); 31278 ; 31279 return 0; 31280} 31281_ACEOF 31282if ac_fn_c_try_link "$LINENO"; then : 31283 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31284else 31285 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31286fi 31287rm -f core conftest.err conftest.$ac_objext \ 31288 conftest$ac_exeext conftest.$ac_ext 31289LIBS=$ac_check_lib_save_LIBS 31290fi 31291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31292$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31293if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31294 ac_cv_libuna_dummy=yes 31295else 31296 ac_cv_libuna=no 31297fi 31298 31299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31300$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31301if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31302 $as_echo_n "(cached) " >&6 31303else 31304 ac_check_lib_save_LIBS=$LIBS 31305LIBS="-luna $LIBS" 31306cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31307/* end confdefs.h. */ 31308 31309/* Override any GCC internal prototype to avoid an error. 31310 Use char because int might match the return type of a GCC 31311 builtin and then its argument prototype would still apply. */ 31312#ifdef __cplusplus 31313extern "C" 31314#endif 31315char libuna_byte_stream_size_from_utf32 (); 31316int 31317main () 31318{ 31319return libuna_byte_stream_size_from_utf32 (); 31320 ; 31321 return 0; 31322} 31323_ACEOF 31324if ac_fn_c_try_link "$LINENO"; then : 31325 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31326else 31327 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31328fi 31329rm -f core conftest.err conftest.$ac_objext \ 31330 conftest$ac_exeext conftest.$ac_ext 31331LIBS=$ac_check_lib_save_LIBS 31332fi 31333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31334$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31335if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31336 ac_cv_libuna_dummy=yes 31337else 31338 ac_cv_libuna=no 31339fi 31340 31341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31342$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31343if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31344 $as_echo_n "(cached) " >&6 31345else 31346 ac_check_lib_save_LIBS=$LIBS 31347LIBS="-luna $LIBS" 31348cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31349/* end confdefs.h. */ 31350 31351/* Override any GCC internal prototype to avoid an error. 31352 Use char because int might match the return type of a GCC 31353 builtin and then its argument prototype would still apply. */ 31354#ifdef __cplusplus 31355extern "C" 31356#endif 31357char libuna_byte_stream_copy_from_utf32 (); 31358int 31359main () 31360{ 31361return libuna_byte_stream_copy_from_utf32 (); 31362 ; 31363 return 0; 31364} 31365_ACEOF 31366if ac_fn_c_try_link "$LINENO"; then : 31367 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31368else 31369 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31370fi 31371rm -f core conftest.err conftest.$ac_objext \ 31372 conftest$ac_exeext conftest.$ac_ext 31373LIBS=$ac_check_lib_save_LIBS 31374fi 31375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31376$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31377if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31378 ac_cv_libuna_dummy=yes 31379else 31380 ac_cv_libuna=no 31381fi 31382 31383 31384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31385$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31386if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31387 $as_echo_n "(cached) " >&6 31388else 31389 ac_check_lib_save_LIBS=$LIBS 31390LIBS="-luna $LIBS" 31391cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31392/* end confdefs.h. */ 31393 31394/* Override any GCC internal prototype to avoid an error. 31395 Use char because int might match the return type of a GCC 31396 builtin and then its argument prototype would still apply. */ 31397#ifdef __cplusplus 31398extern "C" 31399#endif 31400char libuna_utf8_stream_size_from_utf8 (); 31401int 31402main () 31403{ 31404return libuna_utf8_stream_size_from_utf8 (); 31405 ; 31406 return 0; 31407} 31408_ACEOF 31409if ac_fn_c_try_link "$LINENO"; then : 31410 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31411else 31412 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31413fi 31414rm -f core conftest.err conftest.$ac_objext \ 31415 conftest$ac_exeext conftest.$ac_ext 31416LIBS=$ac_check_lib_save_LIBS 31417fi 31418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31419$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31420if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31421 ac_cv_libuna_dummy=yes 31422else 31423 ac_cv_libuna=no 31424fi 31425 31426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31427$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31428if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31429 $as_echo_n "(cached) " >&6 31430else 31431 ac_check_lib_save_LIBS=$LIBS 31432LIBS="-luna $LIBS" 31433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31434/* end confdefs.h. */ 31435 31436/* Override any GCC internal prototype to avoid an error. 31437 Use char because int might match the return type of a GCC 31438 builtin and then its argument prototype would still apply. */ 31439#ifdef __cplusplus 31440extern "C" 31441#endif 31442char libuna_utf8_stream_copy_from_utf8 (); 31443int 31444main () 31445{ 31446return libuna_utf8_stream_copy_from_utf8 (); 31447 ; 31448 return 0; 31449} 31450_ACEOF 31451if ac_fn_c_try_link "$LINENO"; then : 31452 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31453else 31454 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31455fi 31456rm -f core conftest.err conftest.$ac_objext \ 31457 conftest$ac_exeext conftest.$ac_ext 31458LIBS=$ac_check_lib_save_LIBS 31459fi 31460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31461$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31462if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31463 ac_cv_libuna_dummy=yes 31464else 31465 ac_cv_libuna=no 31466fi 31467 31468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31469$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31470if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31471 $as_echo_n "(cached) " >&6 31472else 31473 ac_check_lib_save_LIBS=$LIBS 31474LIBS="-luna $LIBS" 31475cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31476/* end confdefs.h. */ 31477 31478/* Override any GCC internal prototype to avoid an error. 31479 Use char because int might match the return type of a GCC 31480 builtin and then its argument prototype would still apply. */ 31481#ifdef __cplusplus 31482extern "C" 31483#endif 31484char libuna_utf8_stream_size_from_utf16 (); 31485int 31486main () 31487{ 31488return libuna_utf8_stream_size_from_utf16 (); 31489 ; 31490 return 0; 31491} 31492_ACEOF 31493if ac_fn_c_try_link "$LINENO"; then : 31494 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31495else 31496 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31497fi 31498rm -f core conftest.err conftest.$ac_objext \ 31499 conftest$ac_exeext conftest.$ac_ext 31500LIBS=$ac_check_lib_save_LIBS 31501fi 31502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31503$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31504if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31505 ac_cv_libuna_dummy=yes 31506else 31507 ac_cv_libuna=no 31508fi 31509 31510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31511$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31512if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31513 $as_echo_n "(cached) " >&6 31514else 31515 ac_check_lib_save_LIBS=$LIBS 31516LIBS="-luna $LIBS" 31517cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31518/* end confdefs.h. */ 31519 31520/* Override any GCC internal prototype to avoid an error. 31521 Use char because int might match the return type of a GCC 31522 builtin and then its argument prototype would still apply. */ 31523#ifdef __cplusplus 31524extern "C" 31525#endif 31526char libuna_utf8_stream_copy_from_utf16 (); 31527int 31528main () 31529{ 31530return libuna_utf8_stream_copy_from_utf16 (); 31531 ; 31532 return 0; 31533} 31534_ACEOF 31535if ac_fn_c_try_link "$LINENO"; then : 31536 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31537else 31538 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31539fi 31540rm -f core conftest.err conftest.$ac_objext \ 31541 conftest$ac_exeext conftest.$ac_ext 31542LIBS=$ac_check_lib_save_LIBS 31543fi 31544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31545$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31546if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31547 ac_cv_libuna_dummy=yes 31548else 31549 ac_cv_libuna=no 31550fi 31551 31552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31553$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31554if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31555 $as_echo_n "(cached) " >&6 31556else 31557 ac_check_lib_save_LIBS=$LIBS 31558LIBS="-luna $LIBS" 31559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31560/* end confdefs.h. */ 31561 31562/* Override any GCC internal prototype to avoid an error. 31563 Use char because int might match the return type of a GCC 31564 builtin and then its argument prototype would still apply. */ 31565#ifdef __cplusplus 31566extern "C" 31567#endif 31568char libuna_utf8_stream_size_from_utf32 (); 31569int 31570main () 31571{ 31572return libuna_utf8_stream_size_from_utf32 (); 31573 ; 31574 return 0; 31575} 31576_ACEOF 31577if ac_fn_c_try_link "$LINENO"; then : 31578 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31579else 31580 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31581fi 31582rm -f core conftest.err conftest.$ac_objext \ 31583 conftest$ac_exeext conftest.$ac_ext 31584LIBS=$ac_check_lib_save_LIBS 31585fi 31586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31587$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31588if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31589 ac_cv_libuna_dummy=yes 31590else 31591 ac_cv_libuna=no 31592fi 31593 31594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31595$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31596if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31597 $as_echo_n "(cached) " >&6 31598else 31599 ac_check_lib_save_LIBS=$LIBS 31600LIBS="-luna $LIBS" 31601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31602/* end confdefs.h. */ 31603 31604/* Override any GCC internal prototype to avoid an error. 31605 Use char because int might match the return type of a GCC 31606 builtin and then its argument prototype would still apply. */ 31607#ifdef __cplusplus 31608extern "C" 31609#endif 31610char libuna_utf8_stream_copy_from_utf32 (); 31611int 31612main () 31613{ 31614return libuna_utf8_stream_copy_from_utf32 (); 31615 ; 31616 return 0; 31617} 31618_ACEOF 31619if ac_fn_c_try_link "$LINENO"; then : 31620 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31621else 31622 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31623fi 31624rm -f core conftest.err conftest.$ac_objext \ 31625 conftest$ac_exeext conftest.$ac_ext 31626LIBS=$ac_check_lib_save_LIBS 31627fi 31628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31629$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31630if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31631 ac_cv_libuna_dummy=yes 31632else 31633 ac_cv_libuna=no 31634fi 31635 31636 31637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31638$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31639if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31640 $as_echo_n "(cached) " >&6 31641else 31642 ac_check_lib_save_LIBS=$LIBS 31643LIBS="-luna $LIBS" 31644cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31645/* end confdefs.h. */ 31646 31647/* Override any GCC internal prototype to avoid an error. 31648 Use char because int might match the return type of a GCC 31649 builtin and then its argument prototype would still apply. */ 31650#ifdef __cplusplus 31651extern "C" 31652#endif 31653char libuna_utf16_stream_size_from_utf8 (); 31654int 31655main () 31656{ 31657return libuna_utf16_stream_size_from_utf8 (); 31658 ; 31659 return 0; 31660} 31661_ACEOF 31662if ac_fn_c_try_link "$LINENO"; then : 31663 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31664else 31665 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31666fi 31667rm -f core conftest.err conftest.$ac_objext \ 31668 conftest$ac_exeext conftest.$ac_ext 31669LIBS=$ac_check_lib_save_LIBS 31670fi 31671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31672$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31673if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31674 ac_cv_libuna_dummy=yes 31675else 31676 ac_cv_libuna=no 31677fi 31678 31679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31680$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31681if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31682 $as_echo_n "(cached) " >&6 31683else 31684 ac_check_lib_save_LIBS=$LIBS 31685LIBS="-luna $LIBS" 31686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31687/* end confdefs.h. */ 31688 31689/* Override any GCC internal prototype to avoid an error. 31690 Use char because int might match the return type of a GCC 31691 builtin and then its argument prototype would still apply. */ 31692#ifdef __cplusplus 31693extern "C" 31694#endif 31695char libuna_utf16_stream_copy_from_utf8 (); 31696int 31697main () 31698{ 31699return libuna_utf16_stream_copy_from_utf8 (); 31700 ; 31701 return 0; 31702} 31703_ACEOF 31704if ac_fn_c_try_link "$LINENO"; then : 31705 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31706else 31707 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31708fi 31709rm -f core conftest.err conftest.$ac_objext \ 31710 conftest$ac_exeext conftest.$ac_ext 31711LIBS=$ac_check_lib_save_LIBS 31712fi 31713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31714$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31715if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31716 ac_cv_libuna_dummy=yes 31717else 31718 ac_cv_libuna=no 31719fi 31720 31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31722$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31723if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31724 $as_echo_n "(cached) " >&6 31725else 31726 ac_check_lib_save_LIBS=$LIBS 31727LIBS="-luna $LIBS" 31728cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31729/* end confdefs.h. */ 31730 31731/* Override any GCC internal prototype to avoid an error. 31732 Use char because int might match the return type of a GCC 31733 builtin and then its argument prototype would still apply. */ 31734#ifdef __cplusplus 31735extern "C" 31736#endif 31737char libuna_utf16_stream_size_from_utf16 (); 31738int 31739main () 31740{ 31741return libuna_utf16_stream_size_from_utf16 (); 31742 ; 31743 return 0; 31744} 31745_ACEOF 31746if ac_fn_c_try_link "$LINENO"; then : 31747 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31748else 31749 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31750fi 31751rm -f core conftest.err conftest.$ac_objext \ 31752 conftest$ac_exeext conftest.$ac_ext 31753LIBS=$ac_check_lib_save_LIBS 31754fi 31755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31756$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31757if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31758 ac_cv_libuna_dummy=yes 31759else 31760 ac_cv_libuna=no 31761fi 31762 31763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31764$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31765if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31766 $as_echo_n "(cached) " >&6 31767else 31768 ac_check_lib_save_LIBS=$LIBS 31769LIBS="-luna $LIBS" 31770cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31771/* end confdefs.h. */ 31772 31773/* Override any GCC internal prototype to avoid an error. 31774 Use char because int might match the return type of a GCC 31775 builtin and then its argument prototype would still apply. */ 31776#ifdef __cplusplus 31777extern "C" 31778#endif 31779char libuna_utf16_stream_copy_from_utf16 (); 31780int 31781main () 31782{ 31783return libuna_utf16_stream_copy_from_utf16 (); 31784 ; 31785 return 0; 31786} 31787_ACEOF 31788if ac_fn_c_try_link "$LINENO"; then : 31789 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31790else 31791 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31792fi 31793rm -f core conftest.err conftest.$ac_objext \ 31794 conftest$ac_exeext conftest.$ac_ext 31795LIBS=$ac_check_lib_save_LIBS 31796fi 31797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31798$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31799if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31800 ac_cv_libuna_dummy=yes 31801else 31802 ac_cv_libuna=no 31803fi 31804 31805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31806$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31807if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31808 $as_echo_n "(cached) " >&6 31809else 31810 ac_check_lib_save_LIBS=$LIBS 31811LIBS="-luna $LIBS" 31812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31813/* end confdefs.h. */ 31814 31815/* Override any GCC internal prototype to avoid an error. 31816 Use char because int might match the return type of a GCC 31817 builtin and then its argument prototype would still apply. */ 31818#ifdef __cplusplus 31819extern "C" 31820#endif 31821char libuna_utf16_stream_size_from_utf32 (); 31822int 31823main () 31824{ 31825return libuna_utf16_stream_size_from_utf32 (); 31826 ; 31827 return 0; 31828} 31829_ACEOF 31830if ac_fn_c_try_link "$LINENO"; then : 31831 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31832else 31833 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31834fi 31835rm -f core conftest.err conftest.$ac_objext \ 31836 conftest$ac_exeext conftest.$ac_ext 31837LIBS=$ac_check_lib_save_LIBS 31838fi 31839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31840$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31841if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31842 ac_cv_libuna_dummy=yes 31843else 31844 ac_cv_libuna=no 31845fi 31846 31847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31848$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31849if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31850 $as_echo_n "(cached) " >&6 31851else 31852 ac_check_lib_save_LIBS=$LIBS 31853LIBS="-luna $LIBS" 31854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31855/* end confdefs.h. */ 31856 31857/* Override any GCC internal prototype to avoid an error. 31858 Use char because int might match the return type of a GCC 31859 builtin and then its argument prototype would still apply. */ 31860#ifdef __cplusplus 31861extern "C" 31862#endif 31863char libuna_utf16_stream_copy_from_utf32 (); 31864int 31865main () 31866{ 31867return libuna_utf16_stream_copy_from_utf32 (); 31868 ; 31869 return 0; 31870} 31871_ACEOF 31872if ac_fn_c_try_link "$LINENO"; then : 31873 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31874else 31875 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31876fi 31877rm -f core conftest.err conftest.$ac_objext \ 31878 conftest$ac_exeext conftest.$ac_ext 31879LIBS=$ac_check_lib_save_LIBS 31880fi 31881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31882$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31883if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31884 ac_cv_libuna_dummy=yes 31885else 31886 ac_cv_libuna=no 31887fi 31888 31889 31890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31891$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31892if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31893 $as_echo_n "(cached) " >&6 31894else 31895 ac_check_lib_save_LIBS=$LIBS 31896LIBS="-luna $LIBS" 31897cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31898/* end confdefs.h. */ 31899 31900/* Override any GCC internal prototype to avoid an error. 31901 Use char because int might match the return type of a GCC 31902 builtin and then its argument prototype would still apply. */ 31903#ifdef __cplusplus 31904extern "C" 31905#endif 31906char libuna_utf32_stream_size_from_utf8 (); 31907int 31908main () 31909{ 31910return libuna_utf32_stream_size_from_utf8 (); 31911 ; 31912 return 0; 31913} 31914_ACEOF 31915if ac_fn_c_try_link "$LINENO"; then : 31916 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31917else 31918 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31919fi 31920rm -f core conftest.err conftest.$ac_objext \ 31921 conftest$ac_exeext conftest.$ac_ext 31922LIBS=$ac_check_lib_save_LIBS 31923fi 31924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31925$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31926if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31927 ac_cv_libuna_dummy=yes 31928else 31929 ac_cv_libuna=no 31930fi 31931 31932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 31933$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 31934if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 31935 $as_echo_n "(cached) " >&6 31936else 31937 ac_check_lib_save_LIBS=$LIBS 31938LIBS="-luna $LIBS" 31939cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31940/* end confdefs.h. */ 31941 31942/* Override any GCC internal prototype to avoid an error. 31943 Use char because int might match the return type of a GCC 31944 builtin and then its argument prototype would still apply. */ 31945#ifdef __cplusplus 31946extern "C" 31947#endif 31948char libuna_utf32_stream_copy_from_utf8 (); 31949int 31950main () 31951{ 31952return libuna_utf32_stream_copy_from_utf8 (); 31953 ; 31954 return 0; 31955} 31956_ACEOF 31957if ac_fn_c_try_link "$LINENO"; then : 31958 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 31959else 31960 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 31961fi 31962rm -f core conftest.err conftest.$ac_objext \ 31963 conftest$ac_exeext conftest.$ac_ext 31964LIBS=$ac_check_lib_save_LIBS 31965fi 31966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 31967$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 31968if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 31969 ac_cv_libuna_dummy=yes 31970else 31971 ac_cv_libuna=no 31972fi 31973 31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 31975$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 31976if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 31977 $as_echo_n "(cached) " >&6 31978else 31979 ac_check_lib_save_LIBS=$LIBS 31980LIBS="-luna $LIBS" 31981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31982/* end confdefs.h. */ 31983 31984/* Override any GCC internal prototype to avoid an error. 31985 Use char because int might match the return type of a GCC 31986 builtin and then its argument prototype would still apply. */ 31987#ifdef __cplusplus 31988extern "C" 31989#endif 31990char libuna_utf32_stream_size_from_utf16 (); 31991int 31992main () 31993{ 31994return libuna_utf32_stream_size_from_utf16 (); 31995 ; 31996 return 0; 31997} 31998_ACEOF 31999if ac_fn_c_try_link "$LINENO"; then : 32000 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32001else 32002 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32003fi 32004rm -f core conftest.err conftest.$ac_objext \ 32005 conftest$ac_exeext conftest.$ac_ext 32006LIBS=$ac_check_lib_save_LIBS 32007fi 32008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32009$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32010if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32011 ac_cv_libuna_dummy=yes 32012else 32013 ac_cv_libuna=no 32014fi 32015 32016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32017$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32018if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32019 $as_echo_n "(cached) " >&6 32020else 32021 ac_check_lib_save_LIBS=$LIBS 32022LIBS="-luna $LIBS" 32023cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32024/* end confdefs.h. */ 32025 32026/* Override any GCC internal prototype to avoid an error. 32027 Use char because int might match the return type of a GCC 32028 builtin and then its argument prototype would still apply. */ 32029#ifdef __cplusplus 32030extern "C" 32031#endif 32032char libuna_utf32_stream_copy_from_utf16 (); 32033int 32034main () 32035{ 32036return libuna_utf32_stream_copy_from_utf16 (); 32037 ; 32038 return 0; 32039} 32040_ACEOF 32041if ac_fn_c_try_link "$LINENO"; then : 32042 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32043else 32044 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32045fi 32046rm -f core conftest.err conftest.$ac_objext \ 32047 conftest$ac_exeext conftest.$ac_ext 32048LIBS=$ac_check_lib_save_LIBS 32049fi 32050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32051$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32052if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32053 ac_cv_libuna_dummy=yes 32054else 32055 ac_cv_libuna=no 32056fi 32057 32058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32059$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32060if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32061 $as_echo_n "(cached) " >&6 32062else 32063 ac_check_lib_save_LIBS=$LIBS 32064LIBS="-luna $LIBS" 32065cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32066/* end confdefs.h. */ 32067 32068/* Override any GCC internal prototype to avoid an error. 32069 Use char because int might match the return type of a GCC 32070 builtin and then its argument prototype would still apply. */ 32071#ifdef __cplusplus 32072extern "C" 32073#endif 32074char libuna_utf32_stream_size_from_utf32 (); 32075int 32076main () 32077{ 32078return libuna_utf32_stream_size_from_utf32 (); 32079 ; 32080 return 0; 32081} 32082_ACEOF 32083if ac_fn_c_try_link "$LINENO"; then : 32084 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32085else 32086 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32087fi 32088rm -f core conftest.err conftest.$ac_objext \ 32089 conftest$ac_exeext conftest.$ac_ext 32090LIBS=$ac_check_lib_save_LIBS 32091fi 32092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32093$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32094if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32095 ac_cv_libuna_dummy=yes 32096else 32097 ac_cv_libuna=no 32098fi 32099 32100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32101$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32102if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32103 $as_echo_n "(cached) " >&6 32104else 32105 ac_check_lib_save_LIBS=$LIBS 32106LIBS="-luna $LIBS" 32107cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32108/* end confdefs.h. */ 32109 32110/* Override any GCC internal prototype to avoid an error. 32111 Use char because int might match the return type of a GCC 32112 builtin and then its argument prototype would still apply. */ 32113#ifdef __cplusplus 32114extern "C" 32115#endif 32116char libuna_utf32_stream_copy_from_utf32 (); 32117int 32118main () 32119{ 32120return libuna_utf32_stream_copy_from_utf32 (); 32121 ; 32122 return 0; 32123} 32124_ACEOF 32125if ac_fn_c_try_link "$LINENO"; then : 32126 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32127else 32128 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32129fi 32130rm -f core conftest.err conftest.$ac_objext \ 32131 conftest$ac_exeext conftest.$ac_ext 32132LIBS=$ac_check_lib_save_LIBS 32133fi 32134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32135$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32136if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32137 ac_cv_libuna_dummy=yes 32138else 32139 ac_cv_libuna=no 32140fi 32141 32142 32143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32144$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32145if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32146 $as_echo_n "(cached) " >&6 32147else 32148 ac_check_lib_save_LIBS=$LIBS 32149LIBS="-luna $LIBS" 32150cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32151/* end confdefs.h. */ 32152 32153/* Override any GCC internal prototype to avoid an error. 32154 Use char because int might match the return type of a GCC 32155 builtin and then its argument prototype would still apply. */ 32156#ifdef __cplusplus 32157extern "C" 32158#endif 32159char libuna_utf8_string_size_from_byte_stream (); 32160int 32161main () 32162{ 32163return libuna_utf8_string_size_from_byte_stream (); 32164 ; 32165 return 0; 32166} 32167_ACEOF 32168if ac_fn_c_try_link "$LINENO"; then : 32169 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32170else 32171 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32172fi 32173rm -f core conftest.err conftest.$ac_objext \ 32174 conftest$ac_exeext conftest.$ac_ext 32175LIBS=$ac_check_lib_save_LIBS 32176fi 32177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32178$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32179if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32180 ac_cv_libuna_dummy=yes 32181else 32182 ac_cv_libuna=no 32183fi 32184 32185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32186$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32187if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32188 $as_echo_n "(cached) " >&6 32189else 32190 ac_check_lib_save_LIBS=$LIBS 32191LIBS="-luna $LIBS" 32192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32193/* end confdefs.h. */ 32194 32195/* Override any GCC internal prototype to avoid an error. 32196 Use char because int might match the return type of a GCC 32197 builtin and then its argument prototype would still apply. */ 32198#ifdef __cplusplus 32199extern "C" 32200#endif 32201char libuna_utf8_string_copy_from_byte_stream (); 32202int 32203main () 32204{ 32205return libuna_utf8_string_copy_from_byte_stream (); 32206 ; 32207 return 0; 32208} 32209_ACEOF 32210if ac_fn_c_try_link "$LINENO"; then : 32211 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32212else 32213 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32214fi 32215rm -f core conftest.err conftest.$ac_objext \ 32216 conftest$ac_exeext conftest.$ac_ext 32217LIBS=$ac_check_lib_save_LIBS 32218fi 32219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32220$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32221if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32222 ac_cv_libuna_dummy=yes 32223else 32224 ac_cv_libuna=no 32225fi 32226 32227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32228$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32229if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32230 $as_echo_n "(cached) " >&6 32231else 32232 ac_check_lib_save_LIBS=$LIBS 32233LIBS="-luna $LIBS" 32234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32235/* end confdefs.h. */ 32236 32237/* Override any GCC internal prototype to avoid an error. 32238 Use char because int might match the return type of a GCC 32239 builtin and then its argument prototype would still apply. */ 32240#ifdef __cplusplus 32241extern "C" 32242#endif 32243char libuna_utf8_string_with_index_copy_from_byte_stream (); 32244int 32245main () 32246{ 32247return libuna_utf8_string_with_index_copy_from_byte_stream (); 32248 ; 32249 return 0; 32250} 32251_ACEOF 32252if ac_fn_c_try_link "$LINENO"; then : 32253 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32254else 32255 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32256fi 32257rm -f core conftest.err conftest.$ac_objext \ 32258 conftest$ac_exeext conftest.$ac_ext 32259LIBS=$ac_check_lib_save_LIBS 32260fi 32261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32262$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32263if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32264 ac_cv_libuna_dummy=yes 32265else 32266 ac_cv_libuna=no 32267fi 32268 32269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32270$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32271if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32272 $as_echo_n "(cached) " >&6 32273else 32274 ac_check_lib_save_LIBS=$LIBS 32275LIBS="-luna $LIBS" 32276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32277/* end confdefs.h. */ 32278 32279/* Override any GCC internal prototype to avoid an error. 32280 Use char because int might match the return type of a GCC 32281 builtin and then its argument prototype would still apply. */ 32282#ifdef __cplusplus 32283extern "C" 32284#endif 32285char libuna_utf8_string_size_from_utf7_stream (); 32286int 32287main () 32288{ 32289return libuna_utf8_string_size_from_utf7_stream (); 32290 ; 32291 return 0; 32292} 32293_ACEOF 32294if ac_fn_c_try_link "$LINENO"; then : 32295 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32296else 32297 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32298fi 32299rm -f core conftest.err conftest.$ac_objext \ 32300 conftest$ac_exeext conftest.$ac_ext 32301LIBS=$ac_check_lib_save_LIBS 32302fi 32303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32304$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32305if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32306 ac_cv_libuna_dummy=yes 32307else 32308 ac_cv_libuna=no 32309fi 32310 32311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32312$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32313if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32314 $as_echo_n "(cached) " >&6 32315else 32316 ac_check_lib_save_LIBS=$LIBS 32317LIBS="-luna $LIBS" 32318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32319/* end confdefs.h. */ 32320 32321/* Override any GCC internal prototype to avoid an error. 32322 Use char because int might match the return type of a GCC 32323 builtin and then its argument prototype would still apply. */ 32324#ifdef __cplusplus 32325extern "C" 32326#endif 32327char libuna_utf8_string_copy_from_utf7_stream (); 32328int 32329main () 32330{ 32331return libuna_utf8_string_copy_from_utf7_stream (); 32332 ; 32333 return 0; 32334} 32335_ACEOF 32336if ac_fn_c_try_link "$LINENO"; then : 32337 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32338else 32339 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32340fi 32341rm -f core conftest.err conftest.$ac_objext \ 32342 conftest$ac_exeext conftest.$ac_ext 32343LIBS=$ac_check_lib_save_LIBS 32344fi 32345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32346$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32347if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32348 ac_cv_libuna_dummy=yes 32349else 32350 ac_cv_libuna=no 32351fi 32352 32353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32354$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32355if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32356 $as_echo_n "(cached) " >&6 32357else 32358 ac_check_lib_save_LIBS=$LIBS 32359LIBS="-luna $LIBS" 32360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32361/* end confdefs.h. */ 32362 32363/* Override any GCC internal prototype to avoid an error. 32364 Use char because int might match the return type of a GCC 32365 builtin and then its argument prototype would still apply. */ 32366#ifdef __cplusplus 32367extern "C" 32368#endif 32369char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32370int 32371main () 32372{ 32373return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32374 ; 32375 return 0; 32376} 32377_ACEOF 32378if ac_fn_c_try_link "$LINENO"; then : 32379 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32380else 32381 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32382fi 32383rm -f core conftest.err conftest.$ac_objext \ 32384 conftest$ac_exeext conftest.$ac_ext 32385LIBS=$ac_check_lib_save_LIBS 32386fi 32387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32388$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32389if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32390 ac_cv_libuna_dummy=yes 32391else 32392 ac_cv_libuna=no 32393fi 32394 32395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32396$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32397if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32398 $as_echo_n "(cached) " >&6 32399else 32400 ac_check_lib_save_LIBS=$LIBS 32401LIBS="-luna $LIBS" 32402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32403/* end confdefs.h. */ 32404 32405/* Override any GCC internal prototype to avoid an error. 32406 Use char because int might match the return type of a GCC 32407 builtin and then its argument prototype would still apply. */ 32408#ifdef __cplusplus 32409extern "C" 32410#endif 32411char libuna_utf8_string_size_from_utf8_stream (); 32412int 32413main () 32414{ 32415return libuna_utf8_string_size_from_utf8_stream (); 32416 ; 32417 return 0; 32418} 32419_ACEOF 32420if ac_fn_c_try_link "$LINENO"; then : 32421 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32422else 32423 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32424fi 32425rm -f core conftest.err conftest.$ac_objext \ 32426 conftest$ac_exeext conftest.$ac_ext 32427LIBS=$ac_check_lib_save_LIBS 32428fi 32429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32430$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32431if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32432 ac_cv_libuna_dummy=yes 32433else 32434 ac_cv_libuna=no 32435fi 32436 32437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32438$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32439if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32440 $as_echo_n "(cached) " >&6 32441else 32442 ac_check_lib_save_LIBS=$LIBS 32443LIBS="-luna $LIBS" 32444cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32445/* end confdefs.h. */ 32446 32447/* Override any GCC internal prototype to avoid an error. 32448 Use char because int might match the return type of a GCC 32449 builtin and then its argument prototype would still apply. */ 32450#ifdef __cplusplus 32451extern "C" 32452#endif 32453char libuna_utf8_string_copy_from_utf8_stream (); 32454int 32455main () 32456{ 32457return libuna_utf8_string_copy_from_utf8_stream (); 32458 ; 32459 return 0; 32460} 32461_ACEOF 32462if ac_fn_c_try_link "$LINENO"; then : 32463 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32464else 32465 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32466fi 32467rm -f core conftest.err conftest.$ac_objext \ 32468 conftest$ac_exeext conftest.$ac_ext 32469LIBS=$ac_check_lib_save_LIBS 32470fi 32471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32472$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32473if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32474 ac_cv_libuna_dummy=yes 32475else 32476 ac_cv_libuna=no 32477fi 32478 32479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32480$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32481if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32482 $as_echo_n "(cached) " >&6 32483else 32484 ac_check_lib_save_LIBS=$LIBS 32485LIBS="-luna $LIBS" 32486cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32487/* end confdefs.h. */ 32488 32489/* Override any GCC internal prototype to avoid an error. 32490 Use char because int might match the return type of a GCC 32491 builtin and then its argument prototype would still apply. */ 32492#ifdef __cplusplus 32493extern "C" 32494#endif 32495char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32496int 32497main () 32498{ 32499return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32500 ; 32501 return 0; 32502} 32503_ACEOF 32504if ac_fn_c_try_link "$LINENO"; then : 32505 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32506else 32507 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32508fi 32509rm -f core conftest.err conftest.$ac_objext \ 32510 conftest$ac_exeext conftest.$ac_ext 32511LIBS=$ac_check_lib_save_LIBS 32512fi 32513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32514$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32515if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32516 ac_cv_libuna_dummy=yes 32517else 32518 ac_cv_libuna=no 32519fi 32520 32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32522$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32523if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32524 $as_echo_n "(cached) " >&6 32525else 32526 ac_check_lib_save_LIBS=$LIBS 32527LIBS="-luna $LIBS" 32528cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32529/* end confdefs.h. */ 32530 32531/* Override any GCC internal prototype to avoid an error. 32532 Use char because int might match the return type of a GCC 32533 builtin and then its argument prototype would still apply. */ 32534#ifdef __cplusplus 32535extern "C" 32536#endif 32537char libuna_utf8_string_size_from_utf16_stream (); 32538int 32539main () 32540{ 32541return libuna_utf8_string_size_from_utf16_stream (); 32542 ; 32543 return 0; 32544} 32545_ACEOF 32546if ac_fn_c_try_link "$LINENO"; then : 32547 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32548else 32549 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32550fi 32551rm -f core conftest.err conftest.$ac_objext \ 32552 conftest$ac_exeext conftest.$ac_ext 32553LIBS=$ac_check_lib_save_LIBS 32554fi 32555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32556$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32557if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32558 ac_cv_libuna_dummy=yes 32559else 32560 ac_cv_libuna=no 32561fi 32562 32563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32564$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32565if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32566 $as_echo_n "(cached) " >&6 32567else 32568 ac_check_lib_save_LIBS=$LIBS 32569LIBS="-luna $LIBS" 32570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32571/* end confdefs.h. */ 32572 32573/* Override any GCC internal prototype to avoid an error. 32574 Use char because int might match the return type of a GCC 32575 builtin and then its argument prototype would still apply. */ 32576#ifdef __cplusplus 32577extern "C" 32578#endif 32579char libuna_utf8_string_copy_from_utf16_stream (); 32580int 32581main () 32582{ 32583return libuna_utf8_string_copy_from_utf16_stream (); 32584 ; 32585 return 0; 32586} 32587_ACEOF 32588if ac_fn_c_try_link "$LINENO"; then : 32589 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32590else 32591 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32592fi 32593rm -f core conftest.err conftest.$ac_objext \ 32594 conftest$ac_exeext conftest.$ac_ext 32595LIBS=$ac_check_lib_save_LIBS 32596fi 32597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32598$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32599if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32600 ac_cv_libuna_dummy=yes 32601else 32602 ac_cv_libuna=no 32603fi 32604 32605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32606$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32607if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32608 $as_echo_n "(cached) " >&6 32609else 32610 ac_check_lib_save_LIBS=$LIBS 32611LIBS="-luna $LIBS" 32612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32613/* end confdefs.h. */ 32614 32615/* Override any GCC internal prototype to avoid an error. 32616 Use char because int might match the return type of a GCC 32617 builtin and then its argument prototype would still apply. */ 32618#ifdef __cplusplus 32619extern "C" 32620#endif 32621char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32622int 32623main () 32624{ 32625return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32626 ; 32627 return 0; 32628} 32629_ACEOF 32630if ac_fn_c_try_link "$LINENO"; then : 32631 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32632else 32633 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32634fi 32635rm -f core conftest.err conftest.$ac_objext \ 32636 conftest$ac_exeext conftest.$ac_ext 32637LIBS=$ac_check_lib_save_LIBS 32638fi 32639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32640$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32641if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32642 ac_cv_libuna_dummy=yes 32643else 32644 ac_cv_libuna=no 32645fi 32646 32647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32648$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32649if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32650 $as_echo_n "(cached) " >&6 32651else 32652 ac_check_lib_save_LIBS=$LIBS 32653LIBS="-luna $LIBS" 32654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32655/* end confdefs.h. */ 32656 32657/* Override any GCC internal prototype to avoid an error. 32658 Use char because int might match the return type of a GCC 32659 builtin and then its argument prototype would still apply. */ 32660#ifdef __cplusplus 32661extern "C" 32662#endif 32663char libuna_utf8_string_size_from_utf32_stream (); 32664int 32665main () 32666{ 32667return libuna_utf8_string_size_from_utf32_stream (); 32668 ; 32669 return 0; 32670} 32671_ACEOF 32672if ac_fn_c_try_link "$LINENO"; then : 32673 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32674else 32675 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32676fi 32677rm -f core conftest.err conftest.$ac_objext \ 32678 conftest$ac_exeext conftest.$ac_ext 32679LIBS=$ac_check_lib_save_LIBS 32680fi 32681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32682$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32683if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32684 ac_cv_libuna_dummy=yes 32685else 32686 ac_cv_libuna=no 32687fi 32688 32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32690$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32691if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32692 $as_echo_n "(cached) " >&6 32693else 32694 ac_check_lib_save_LIBS=$LIBS 32695LIBS="-luna $LIBS" 32696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32697/* end confdefs.h. */ 32698 32699/* Override any GCC internal prototype to avoid an error. 32700 Use char because int might match the return type of a GCC 32701 builtin and then its argument prototype would still apply. */ 32702#ifdef __cplusplus 32703extern "C" 32704#endif 32705char libuna_utf8_string_copy_from_utf32_stream (); 32706int 32707main () 32708{ 32709return libuna_utf8_string_copy_from_utf32_stream (); 32710 ; 32711 return 0; 32712} 32713_ACEOF 32714if ac_fn_c_try_link "$LINENO"; then : 32715 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32716else 32717 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32718fi 32719rm -f core conftest.err conftest.$ac_objext \ 32720 conftest$ac_exeext conftest.$ac_ext 32721LIBS=$ac_check_lib_save_LIBS 32722fi 32723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32724$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32725if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32726 ac_cv_libuna_dummy=yes 32727else 32728 ac_cv_libuna=no 32729fi 32730 32731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32732$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32733if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32734 $as_echo_n "(cached) " >&6 32735else 32736 ac_check_lib_save_LIBS=$LIBS 32737LIBS="-luna $LIBS" 32738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32739/* end confdefs.h. */ 32740 32741/* Override any GCC internal prototype to avoid an error. 32742 Use char because int might match the return type of a GCC 32743 builtin and then its argument prototype would still apply. */ 32744#ifdef __cplusplus 32745extern "C" 32746#endif 32747char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32748int 32749main () 32750{ 32751return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32752 ; 32753 return 0; 32754} 32755_ACEOF 32756if ac_fn_c_try_link "$LINENO"; then : 32757 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32758else 32759 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32760fi 32761rm -f core conftest.err conftest.$ac_objext \ 32762 conftest$ac_exeext conftest.$ac_ext 32763LIBS=$ac_check_lib_save_LIBS 32764fi 32765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32766$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32767if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32768 ac_cv_libuna_dummy=yes 32769else 32770 ac_cv_libuna=no 32771fi 32772 32773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32774$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32775if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32776 $as_echo_n "(cached) " >&6 32777else 32778 ac_check_lib_save_LIBS=$LIBS 32779LIBS="-luna $LIBS" 32780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32781/* end confdefs.h. */ 32782 32783/* Override any GCC internal prototype to avoid an error. 32784 Use char because int might match the return type of a GCC 32785 builtin and then its argument prototype would still apply. */ 32786#ifdef __cplusplus 32787extern "C" 32788#endif 32789char libuna_utf8_string_size_from_utf16 (); 32790int 32791main () 32792{ 32793return libuna_utf8_string_size_from_utf16 (); 32794 ; 32795 return 0; 32796} 32797_ACEOF 32798if ac_fn_c_try_link "$LINENO"; then : 32799 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32800else 32801 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32802fi 32803rm -f core conftest.err conftest.$ac_objext \ 32804 conftest$ac_exeext conftest.$ac_ext 32805LIBS=$ac_check_lib_save_LIBS 32806fi 32807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32808$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32809if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32810 ac_cv_libuna_dummy=yes 32811else 32812 ac_cv_libuna=no 32813fi 32814 32815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32816$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32817if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32818 $as_echo_n "(cached) " >&6 32819else 32820 ac_check_lib_save_LIBS=$LIBS 32821LIBS="-luna $LIBS" 32822cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32823/* end confdefs.h. */ 32824 32825/* Override any GCC internal prototype to avoid an error. 32826 Use char because int might match the return type of a GCC 32827 builtin and then its argument prototype would still apply. */ 32828#ifdef __cplusplus 32829extern "C" 32830#endif 32831char libuna_utf8_string_copy_from_utf16 (); 32832int 32833main () 32834{ 32835return libuna_utf8_string_copy_from_utf16 (); 32836 ; 32837 return 0; 32838} 32839_ACEOF 32840if ac_fn_c_try_link "$LINENO"; then : 32841 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32842else 32843 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32844fi 32845rm -f core conftest.err conftest.$ac_objext \ 32846 conftest$ac_exeext conftest.$ac_ext 32847LIBS=$ac_check_lib_save_LIBS 32848fi 32849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32850$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32851if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32852 ac_cv_libuna_dummy=yes 32853else 32854 ac_cv_libuna=no 32855fi 32856 32857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32858$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32859if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32860 $as_echo_n "(cached) " >&6 32861else 32862 ac_check_lib_save_LIBS=$LIBS 32863LIBS="-luna $LIBS" 32864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32865/* end confdefs.h. */ 32866 32867/* Override any GCC internal prototype to avoid an error. 32868 Use char because int might match the return type of a GCC 32869 builtin and then its argument prototype would still apply. */ 32870#ifdef __cplusplus 32871extern "C" 32872#endif 32873char libuna_utf8_string_with_index_copy_from_utf16 (); 32874int 32875main () 32876{ 32877return libuna_utf8_string_with_index_copy_from_utf16 (); 32878 ; 32879 return 0; 32880} 32881_ACEOF 32882if ac_fn_c_try_link "$LINENO"; then : 32883 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32884else 32885 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32886fi 32887rm -f core conftest.err conftest.$ac_objext \ 32888 conftest$ac_exeext conftest.$ac_ext 32889LIBS=$ac_check_lib_save_LIBS 32890fi 32891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32892$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32893if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32894 ac_cv_libuna_dummy=yes 32895else 32896 ac_cv_libuna=no 32897fi 32898 32899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32900$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32901if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32902 $as_echo_n "(cached) " >&6 32903else 32904 ac_check_lib_save_LIBS=$LIBS 32905LIBS="-luna $LIBS" 32906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32907/* end confdefs.h. */ 32908 32909/* Override any GCC internal prototype to avoid an error. 32910 Use char because int might match the return type of a GCC 32911 builtin and then its argument prototype would still apply. */ 32912#ifdef __cplusplus 32913extern "C" 32914#endif 32915char libuna_utf8_string_size_from_utf32 (); 32916int 32917main () 32918{ 32919return libuna_utf8_string_size_from_utf32 (); 32920 ; 32921 return 0; 32922} 32923_ACEOF 32924if ac_fn_c_try_link "$LINENO"; then : 32925 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32926else 32927 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 32928fi 32929rm -f core conftest.err conftest.$ac_objext \ 32930 conftest$ac_exeext conftest.$ac_ext 32931LIBS=$ac_check_lib_save_LIBS 32932fi 32933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 32934$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 32935if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 32936 ac_cv_libuna_dummy=yes 32937else 32938 ac_cv_libuna=no 32939fi 32940 32941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 32942$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 32943if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 32944 $as_echo_n "(cached) " >&6 32945else 32946 ac_check_lib_save_LIBS=$LIBS 32947LIBS="-luna $LIBS" 32948cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32949/* end confdefs.h. */ 32950 32951/* Override any GCC internal prototype to avoid an error. 32952 Use char because int might match the return type of a GCC 32953 builtin and then its argument prototype would still apply. */ 32954#ifdef __cplusplus 32955extern "C" 32956#endif 32957char libuna_utf8_string_copy_from_utf32 (); 32958int 32959main () 32960{ 32961return libuna_utf8_string_copy_from_utf32 (); 32962 ; 32963 return 0; 32964} 32965_ACEOF 32966if ac_fn_c_try_link "$LINENO"; then : 32967 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 32968else 32969 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 32970fi 32971rm -f core conftest.err conftest.$ac_objext \ 32972 conftest$ac_exeext conftest.$ac_ext 32973LIBS=$ac_check_lib_save_LIBS 32974fi 32975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 32976$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 32977if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 32978 ac_cv_libuna_dummy=yes 32979else 32980 ac_cv_libuna=no 32981fi 32982 32983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 32984$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 32985if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 32986 $as_echo_n "(cached) " >&6 32987else 32988 ac_check_lib_save_LIBS=$LIBS 32989LIBS="-luna $LIBS" 32990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32991/* end confdefs.h. */ 32992 32993/* Override any GCC internal prototype to avoid an error. 32994 Use char because int might match the return type of a GCC 32995 builtin and then its argument prototype would still apply. */ 32996#ifdef __cplusplus 32997extern "C" 32998#endif 32999char libuna_utf8_string_with_index_copy_from_utf32 (); 33000int 33001main () 33002{ 33003return libuna_utf8_string_with_index_copy_from_utf32 (); 33004 ; 33005 return 0; 33006} 33007_ACEOF 33008if ac_fn_c_try_link "$LINENO"; then : 33009 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33010else 33011 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33012fi 33013rm -f core conftest.err conftest.$ac_objext \ 33014 conftest$ac_exeext conftest.$ac_ext 33015LIBS=$ac_check_lib_save_LIBS 33016fi 33017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33018$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33019if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33020 ac_cv_libuna_dummy=yes 33021else 33022 ac_cv_libuna=no 33023fi 33024 33025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33026$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33027if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33028 $as_echo_n "(cached) " >&6 33029else 33030 ac_check_lib_save_LIBS=$LIBS 33031LIBS="-luna $LIBS" 33032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33033/* end confdefs.h. */ 33034 33035/* Override any GCC internal prototype to avoid an error. 33036 Use char because int might match the return type of a GCC 33037 builtin and then its argument prototype would still apply. */ 33038#ifdef __cplusplus 33039extern "C" 33040#endif 33041char libuna_utf8_string_size_from_scsu_stream (); 33042int 33043main () 33044{ 33045return libuna_utf8_string_size_from_scsu_stream (); 33046 ; 33047 return 0; 33048} 33049_ACEOF 33050if ac_fn_c_try_link "$LINENO"; then : 33051 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33052else 33053 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33054fi 33055rm -f core conftest.err conftest.$ac_objext \ 33056 conftest$ac_exeext conftest.$ac_ext 33057LIBS=$ac_check_lib_save_LIBS 33058fi 33059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33060$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33061if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33062 ac_cv_libuna_dummy=yes 33063else 33064 ac_cv_libuna=no 33065fi 33066 33067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33068$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33069if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33070 $as_echo_n "(cached) " >&6 33071else 33072 ac_check_lib_save_LIBS=$LIBS 33073LIBS="-luna $LIBS" 33074cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33075/* end confdefs.h. */ 33076 33077/* Override any GCC internal prototype to avoid an error. 33078 Use char because int might match the return type of a GCC 33079 builtin and then its argument prototype would still apply. */ 33080#ifdef __cplusplus 33081extern "C" 33082#endif 33083char libuna_utf8_string_copy_from_scsu_stream (); 33084int 33085main () 33086{ 33087return libuna_utf8_string_copy_from_scsu_stream (); 33088 ; 33089 return 0; 33090} 33091_ACEOF 33092if ac_fn_c_try_link "$LINENO"; then : 33093 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33094else 33095 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33096fi 33097rm -f core conftest.err conftest.$ac_objext \ 33098 conftest$ac_exeext conftest.$ac_ext 33099LIBS=$ac_check_lib_save_LIBS 33100fi 33101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33102$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33103if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33104 ac_cv_libuna_dummy=yes 33105else 33106 ac_cv_libuna=no 33107fi 33108 33109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33110$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33111if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33112 $as_echo_n "(cached) " >&6 33113else 33114 ac_check_lib_save_LIBS=$LIBS 33115LIBS="-luna $LIBS" 33116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33117/* end confdefs.h. */ 33118 33119/* Override any GCC internal prototype to avoid an error. 33120 Use char because int might match the return type of a GCC 33121 builtin and then its argument prototype would still apply. */ 33122#ifdef __cplusplus 33123extern "C" 33124#endif 33125char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33126int 33127main () 33128{ 33129return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33130 ; 33131 return 0; 33132} 33133_ACEOF 33134if ac_fn_c_try_link "$LINENO"; then : 33135 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33136else 33137 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33138fi 33139rm -f core conftest.err conftest.$ac_objext \ 33140 conftest$ac_exeext conftest.$ac_ext 33141LIBS=$ac_check_lib_save_LIBS 33142fi 33143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33144$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33145if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33146 ac_cv_libuna_dummy=yes 33147else 33148 ac_cv_libuna=no 33149fi 33150 33151 33152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33153$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33154if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33155 $as_echo_n "(cached) " >&6 33156else 33157 ac_check_lib_save_LIBS=$LIBS 33158LIBS="-luna $LIBS" 33159cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33160/* end confdefs.h. */ 33161 33162/* Override any GCC internal prototype to avoid an error. 33163 Use char because int might match the return type of a GCC 33164 builtin and then its argument prototype would still apply. */ 33165#ifdef __cplusplus 33166extern "C" 33167#endif 33168char libuna_utf16_string_size_from_byte_stream (); 33169int 33170main () 33171{ 33172return libuna_utf16_string_size_from_byte_stream (); 33173 ; 33174 return 0; 33175} 33176_ACEOF 33177if ac_fn_c_try_link "$LINENO"; then : 33178 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33179else 33180 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33181fi 33182rm -f core conftest.err conftest.$ac_objext \ 33183 conftest$ac_exeext conftest.$ac_ext 33184LIBS=$ac_check_lib_save_LIBS 33185fi 33186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33187$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33188if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33189 ac_cv_libuna_dummy=yes 33190else 33191 ac_cv_libuna=no 33192fi 33193 33194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33195$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33196if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33197 $as_echo_n "(cached) " >&6 33198else 33199 ac_check_lib_save_LIBS=$LIBS 33200LIBS="-luna $LIBS" 33201cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33202/* end confdefs.h. */ 33203 33204/* Override any GCC internal prototype to avoid an error. 33205 Use char because int might match the return type of a GCC 33206 builtin and then its argument prototype would still apply. */ 33207#ifdef __cplusplus 33208extern "C" 33209#endif 33210char libuna_utf16_string_copy_from_byte_stream (); 33211int 33212main () 33213{ 33214return libuna_utf16_string_copy_from_byte_stream (); 33215 ; 33216 return 0; 33217} 33218_ACEOF 33219if ac_fn_c_try_link "$LINENO"; then : 33220 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33221else 33222 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33223fi 33224rm -f core conftest.err conftest.$ac_objext \ 33225 conftest$ac_exeext conftest.$ac_ext 33226LIBS=$ac_check_lib_save_LIBS 33227fi 33228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33229$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33230if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33231 ac_cv_libuna_dummy=yes 33232else 33233 ac_cv_libuna=no 33234fi 33235 33236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33237$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33238if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33239 $as_echo_n "(cached) " >&6 33240else 33241 ac_check_lib_save_LIBS=$LIBS 33242LIBS="-luna $LIBS" 33243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33244/* end confdefs.h. */ 33245 33246/* Override any GCC internal prototype to avoid an error. 33247 Use char because int might match the return type of a GCC 33248 builtin and then its argument prototype would still apply. */ 33249#ifdef __cplusplus 33250extern "C" 33251#endif 33252char libuna_utf16_string_with_index_copy_from_byte_stream (); 33253int 33254main () 33255{ 33256return libuna_utf16_string_with_index_copy_from_byte_stream (); 33257 ; 33258 return 0; 33259} 33260_ACEOF 33261if ac_fn_c_try_link "$LINENO"; then : 33262 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33263else 33264 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33265fi 33266rm -f core conftest.err conftest.$ac_objext \ 33267 conftest$ac_exeext conftest.$ac_ext 33268LIBS=$ac_check_lib_save_LIBS 33269fi 33270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33271$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33272if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33273 ac_cv_libuna_dummy=yes 33274else 33275 ac_cv_libuna=no 33276fi 33277 33278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33279$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33280if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33281 $as_echo_n "(cached) " >&6 33282else 33283 ac_check_lib_save_LIBS=$LIBS 33284LIBS="-luna $LIBS" 33285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33286/* end confdefs.h. */ 33287 33288/* Override any GCC internal prototype to avoid an error. 33289 Use char because int might match the return type of a GCC 33290 builtin and then its argument prototype would still apply. */ 33291#ifdef __cplusplus 33292extern "C" 33293#endif 33294char libuna_utf16_string_size_from_utf7_stream (); 33295int 33296main () 33297{ 33298return libuna_utf16_string_size_from_utf7_stream (); 33299 ; 33300 return 0; 33301} 33302_ACEOF 33303if ac_fn_c_try_link "$LINENO"; then : 33304 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33305else 33306 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33307fi 33308rm -f core conftest.err conftest.$ac_objext \ 33309 conftest$ac_exeext conftest.$ac_ext 33310LIBS=$ac_check_lib_save_LIBS 33311fi 33312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33313$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33314if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33315 ac_cv_libuna_dummy=yes 33316else 33317 ac_cv_libuna=no 33318fi 33319 33320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33321$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33322if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33323 $as_echo_n "(cached) " >&6 33324else 33325 ac_check_lib_save_LIBS=$LIBS 33326LIBS="-luna $LIBS" 33327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33328/* end confdefs.h. */ 33329 33330/* Override any GCC internal prototype to avoid an error. 33331 Use char because int might match the return type of a GCC 33332 builtin and then its argument prototype would still apply. */ 33333#ifdef __cplusplus 33334extern "C" 33335#endif 33336char libuna_utf16_string_copy_from_utf7_stream (); 33337int 33338main () 33339{ 33340return libuna_utf16_string_copy_from_utf7_stream (); 33341 ; 33342 return 0; 33343} 33344_ACEOF 33345if ac_fn_c_try_link "$LINENO"; then : 33346 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33347else 33348 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33349fi 33350rm -f core conftest.err conftest.$ac_objext \ 33351 conftest$ac_exeext conftest.$ac_ext 33352LIBS=$ac_check_lib_save_LIBS 33353fi 33354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33355$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33356if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33357 ac_cv_libuna_dummy=yes 33358else 33359 ac_cv_libuna=no 33360fi 33361 33362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33363$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33364if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33365 $as_echo_n "(cached) " >&6 33366else 33367 ac_check_lib_save_LIBS=$LIBS 33368LIBS="-luna $LIBS" 33369cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33370/* end confdefs.h. */ 33371 33372/* Override any GCC internal prototype to avoid an error. 33373 Use char because int might match the return type of a GCC 33374 builtin and then its argument prototype would still apply. */ 33375#ifdef __cplusplus 33376extern "C" 33377#endif 33378char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33379int 33380main () 33381{ 33382return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33383 ; 33384 return 0; 33385} 33386_ACEOF 33387if ac_fn_c_try_link "$LINENO"; then : 33388 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33389else 33390 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33391fi 33392rm -f core conftest.err conftest.$ac_objext \ 33393 conftest$ac_exeext conftest.$ac_ext 33394LIBS=$ac_check_lib_save_LIBS 33395fi 33396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33397$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33398if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33399 ac_cv_libuna_dummy=yes 33400else 33401 ac_cv_libuna=no 33402fi 33403 33404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33405$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33406if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33407 $as_echo_n "(cached) " >&6 33408else 33409 ac_check_lib_save_LIBS=$LIBS 33410LIBS="-luna $LIBS" 33411cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33412/* end confdefs.h. */ 33413 33414/* Override any GCC internal prototype to avoid an error. 33415 Use char because int might match the return type of a GCC 33416 builtin and then its argument prototype would still apply. */ 33417#ifdef __cplusplus 33418extern "C" 33419#endif 33420char libuna_utf16_string_size_from_utf8_stream (); 33421int 33422main () 33423{ 33424return libuna_utf16_string_size_from_utf8_stream (); 33425 ; 33426 return 0; 33427} 33428_ACEOF 33429if ac_fn_c_try_link "$LINENO"; then : 33430 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33431else 33432 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33433fi 33434rm -f core conftest.err conftest.$ac_objext \ 33435 conftest$ac_exeext conftest.$ac_ext 33436LIBS=$ac_check_lib_save_LIBS 33437fi 33438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33439$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33440if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33441 ac_cv_libuna_dummy=yes 33442else 33443 ac_cv_libuna=no 33444fi 33445 33446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33447$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33448if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33449 $as_echo_n "(cached) " >&6 33450else 33451 ac_check_lib_save_LIBS=$LIBS 33452LIBS="-luna $LIBS" 33453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33454/* end confdefs.h. */ 33455 33456/* Override any GCC internal prototype to avoid an error. 33457 Use char because int might match the return type of a GCC 33458 builtin and then its argument prototype would still apply. */ 33459#ifdef __cplusplus 33460extern "C" 33461#endif 33462char libuna_utf16_string_copy_from_utf8_stream (); 33463int 33464main () 33465{ 33466return libuna_utf16_string_copy_from_utf8_stream (); 33467 ; 33468 return 0; 33469} 33470_ACEOF 33471if ac_fn_c_try_link "$LINENO"; then : 33472 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33473else 33474 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33475fi 33476rm -f core conftest.err conftest.$ac_objext \ 33477 conftest$ac_exeext conftest.$ac_ext 33478LIBS=$ac_check_lib_save_LIBS 33479fi 33480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33481$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33482if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33483 ac_cv_libuna_dummy=yes 33484else 33485 ac_cv_libuna=no 33486fi 33487 33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33489$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33490if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33491 $as_echo_n "(cached) " >&6 33492else 33493 ac_check_lib_save_LIBS=$LIBS 33494LIBS="-luna $LIBS" 33495cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33496/* end confdefs.h. */ 33497 33498/* Override any GCC internal prototype to avoid an error. 33499 Use char because int might match the return type of a GCC 33500 builtin and then its argument prototype would still apply. */ 33501#ifdef __cplusplus 33502extern "C" 33503#endif 33504char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33505int 33506main () 33507{ 33508return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33509 ; 33510 return 0; 33511} 33512_ACEOF 33513if ac_fn_c_try_link "$LINENO"; then : 33514 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33515else 33516 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33517fi 33518rm -f core conftest.err conftest.$ac_objext \ 33519 conftest$ac_exeext conftest.$ac_ext 33520LIBS=$ac_check_lib_save_LIBS 33521fi 33522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33523$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33524if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33525 ac_cv_libuna_dummy=yes 33526else 33527 ac_cv_libuna=no 33528fi 33529 33530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33531$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33532if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33533 $as_echo_n "(cached) " >&6 33534else 33535 ac_check_lib_save_LIBS=$LIBS 33536LIBS="-luna $LIBS" 33537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33538/* end confdefs.h. */ 33539 33540/* Override any GCC internal prototype to avoid an error. 33541 Use char because int might match the return type of a GCC 33542 builtin and then its argument prototype would still apply. */ 33543#ifdef __cplusplus 33544extern "C" 33545#endif 33546char libuna_utf16_string_size_from_utf16_stream (); 33547int 33548main () 33549{ 33550return libuna_utf16_string_size_from_utf16_stream (); 33551 ; 33552 return 0; 33553} 33554_ACEOF 33555if ac_fn_c_try_link "$LINENO"; then : 33556 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33557else 33558 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33559fi 33560rm -f core conftest.err conftest.$ac_objext \ 33561 conftest$ac_exeext conftest.$ac_ext 33562LIBS=$ac_check_lib_save_LIBS 33563fi 33564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33565$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33566if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33567 ac_cv_libuna_dummy=yes 33568else 33569 ac_cv_libuna=no 33570fi 33571 33572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33573$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33574if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33575 $as_echo_n "(cached) " >&6 33576else 33577 ac_check_lib_save_LIBS=$LIBS 33578LIBS="-luna $LIBS" 33579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33580/* end confdefs.h. */ 33581 33582/* Override any GCC internal prototype to avoid an error. 33583 Use char because int might match the return type of a GCC 33584 builtin and then its argument prototype would still apply. */ 33585#ifdef __cplusplus 33586extern "C" 33587#endif 33588char libuna_utf16_string_copy_from_utf16_stream (); 33589int 33590main () 33591{ 33592return libuna_utf16_string_copy_from_utf16_stream (); 33593 ; 33594 return 0; 33595} 33596_ACEOF 33597if ac_fn_c_try_link "$LINENO"; then : 33598 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33599else 33600 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33601fi 33602rm -f core conftest.err conftest.$ac_objext \ 33603 conftest$ac_exeext conftest.$ac_ext 33604LIBS=$ac_check_lib_save_LIBS 33605fi 33606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33607$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33608if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33609 ac_cv_libuna_dummy=yes 33610else 33611 ac_cv_libuna=no 33612fi 33613 33614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33615$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33616if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33617 $as_echo_n "(cached) " >&6 33618else 33619 ac_check_lib_save_LIBS=$LIBS 33620LIBS="-luna $LIBS" 33621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33622/* end confdefs.h. */ 33623 33624/* Override any GCC internal prototype to avoid an error. 33625 Use char because int might match the return type of a GCC 33626 builtin and then its argument prototype would still apply. */ 33627#ifdef __cplusplus 33628extern "C" 33629#endif 33630char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33631int 33632main () 33633{ 33634return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33635 ; 33636 return 0; 33637} 33638_ACEOF 33639if ac_fn_c_try_link "$LINENO"; then : 33640 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33641else 33642 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33643fi 33644rm -f core conftest.err conftest.$ac_objext \ 33645 conftest$ac_exeext conftest.$ac_ext 33646LIBS=$ac_check_lib_save_LIBS 33647fi 33648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33649$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33650if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33651 ac_cv_libuna_dummy=yes 33652else 33653 ac_cv_libuna=no 33654fi 33655 33656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33657$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33658if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33659 $as_echo_n "(cached) " >&6 33660else 33661 ac_check_lib_save_LIBS=$LIBS 33662LIBS="-luna $LIBS" 33663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33664/* end confdefs.h. */ 33665 33666/* Override any GCC internal prototype to avoid an error. 33667 Use char because int might match the return type of a GCC 33668 builtin and then its argument prototype would still apply. */ 33669#ifdef __cplusplus 33670extern "C" 33671#endif 33672char libuna_utf16_string_size_from_utf32_stream (); 33673int 33674main () 33675{ 33676return libuna_utf16_string_size_from_utf32_stream (); 33677 ; 33678 return 0; 33679} 33680_ACEOF 33681if ac_fn_c_try_link "$LINENO"; then : 33682 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33683else 33684 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33685fi 33686rm -f core conftest.err conftest.$ac_objext \ 33687 conftest$ac_exeext conftest.$ac_ext 33688LIBS=$ac_check_lib_save_LIBS 33689fi 33690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33691$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33692if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33693 ac_cv_libuna_dummy=yes 33694else 33695 ac_cv_libuna=no 33696fi 33697 33698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33699$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33700if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33701 $as_echo_n "(cached) " >&6 33702else 33703 ac_check_lib_save_LIBS=$LIBS 33704LIBS="-luna $LIBS" 33705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33706/* end confdefs.h. */ 33707 33708/* Override any GCC internal prototype to avoid an error. 33709 Use char because int might match the return type of a GCC 33710 builtin and then its argument prototype would still apply. */ 33711#ifdef __cplusplus 33712extern "C" 33713#endif 33714char libuna_utf16_string_copy_from_utf32_stream (); 33715int 33716main () 33717{ 33718return libuna_utf16_string_copy_from_utf32_stream (); 33719 ; 33720 return 0; 33721} 33722_ACEOF 33723if ac_fn_c_try_link "$LINENO"; then : 33724 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33725else 33726 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33727fi 33728rm -f core conftest.err conftest.$ac_objext \ 33729 conftest$ac_exeext conftest.$ac_ext 33730LIBS=$ac_check_lib_save_LIBS 33731fi 33732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33733$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33734if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33735 ac_cv_libuna_dummy=yes 33736else 33737 ac_cv_libuna=no 33738fi 33739 33740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33741$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33742if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33743 $as_echo_n "(cached) " >&6 33744else 33745 ac_check_lib_save_LIBS=$LIBS 33746LIBS="-luna $LIBS" 33747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33748/* end confdefs.h. */ 33749 33750/* Override any GCC internal prototype to avoid an error. 33751 Use char because int might match the return type of a GCC 33752 builtin and then its argument prototype would still apply. */ 33753#ifdef __cplusplus 33754extern "C" 33755#endif 33756char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33757int 33758main () 33759{ 33760return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33761 ; 33762 return 0; 33763} 33764_ACEOF 33765if ac_fn_c_try_link "$LINENO"; then : 33766 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33767else 33768 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33769fi 33770rm -f core conftest.err conftest.$ac_objext \ 33771 conftest$ac_exeext conftest.$ac_ext 33772LIBS=$ac_check_lib_save_LIBS 33773fi 33774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33775$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33776if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33777 ac_cv_libuna_dummy=yes 33778else 33779 ac_cv_libuna=no 33780fi 33781 33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33783$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33784if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33785 $as_echo_n "(cached) " >&6 33786else 33787 ac_check_lib_save_LIBS=$LIBS 33788LIBS="-luna $LIBS" 33789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33790/* end confdefs.h. */ 33791 33792/* Override any GCC internal prototype to avoid an error. 33793 Use char because int might match the return type of a GCC 33794 builtin and then its argument prototype would still apply. */ 33795#ifdef __cplusplus 33796extern "C" 33797#endif 33798char libuna_utf16_string_size_from_utf8 (); 33799int 33800main () 33801{ 33802return libuna_utf16_string_size_from_utf8 (); 33803 ; 33804 return 0; 33805} 33806_ACEOF 33807if ac_fn_c_try_link "$LINENO"; then : 33808 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33809else 33810 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33811fi 33812rm -f core conftest.err conftest.$ac_objext \ 33813 conftest$ac_exeext conftest.$ac_ext 33814LIBS=$ac_check_lib_save_LIBS 33815fi 33816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33817$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33818if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33819 ac_cv_libuna_dummy=yes 33820else 33821 ac_cv_libuna=no 33822fi 33823 33824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33825$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33826if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33827 $as_echo_n "(cached) " >&6 33828else 33829 ac_check_lib_save_LIBS=$LIBS 33830LIBS="-luna $LIBS" 33831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33832/* end confdefs.h. */ 33833 33834/* Override any GCC internal prototype to avoid an error. 33835 Use char because int might match the return type of a GCC 33836 builtin and then its argument prototype would still apply. */ 33837#ifdef __cplusplus 33838extern "C" 33839#endif 33840char libuna_utf16_string_copy_from_utf8 (); 33841int 33842main () 33843{ 33844return libuna_utf16_string_copy_from_utf8 (); 33845 ; 33846 return 0; 33847} 33848_ACEOF 33849if ac_fn_c_try_link "$LINENO"; then : 33850 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33851else 33852 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33853fi 33854rm -f core conftest.err conftest.$ac_objext \ 33855 conftest$ac_exeext conftest.$ac_ext 33856LIBS=$ac_check_lib_save_LIBS 33857fi 33858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33859$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33860if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33861 ac_cv_libuna_dummy=yes 33862else 33863 ac_cv_libuna=no 33864fi 33865 33866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33867$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33868if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33869 $as_echo_n "(cached) " >&6 33870else 33871 ac_check_lib_save_LIBS=$LIBS 33872LIBS="-luna $LIBS" 33873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33874/* end confdefs.h. */ 33875 33876/* Override any GCC internal prototype to avoid an error. 33877 Use char because int might match the return type of a GCC 33878 builtin and then its argument prototype would still apply. */ 33879#ifdef __cplusplus 33880extern "C" 33881#endif 33882char libuna_utf16_string_with_index_copy_from_utf8 (); 33883int 33884main () 33885{ 33886return libuna_utf16_string_with_index_copy_from_utf8 (); 33887 ; 33888 return 0; 33889} 33890_ACEOF 33891if ac_fn_c_try_link "$LINENO"; then : 33892 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33893else 33894 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33895fi 33896rm -f core conftest.err conftest.$ac_objext \ 33897 conftest$ac_exeext conftest.$ac_ext 33898LIBS=$ac_check_lib_save_LIBS 33899fi 33900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33901$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33902if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33903 ac_cv_libuna_dummy=yes 33904else 33905 ac_cv_libuna=no 33906fi 33907 33908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33909$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33910if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33911 $as_echo_n "(cached) " >&6 33912else 33913 ac_check_lib_save_LIBS=$LIBS 33914LIBS="-luna $LIBS" 33915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33916/* end confdefs.h. */ 33917 33918/* Override any GCC internal prototype to avoid an error. 33919 Use char because int might match the return type of a GCC 33920 builtin and then its argument prototype would still apply. */ 33921#ifdef __cplusplus 33922extern "C" 33923#endif 33924char libuna_utf16_string_size_from_utf32 (); 33925int 33926main () 33927{ 33928return libuna_utf16_string_size_from_utf32 (); 33929 ; 33930 return 0; 33931} 33932_ACEOF 33933if ac_fn_c_try_link "$LINENO"; then : 33934 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 33935else 33936 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 33937fi 33938rm -f core conftest.err conftest.$ac_objext \ 33939 conftest$ac_exeext conftest.$ac_ext 33940LIBS=$ac_check_lib_save_LIBS 33941fi 33942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 33943$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 33944if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 33945 ac_cv_libuna_dummy=yes 33946else 33947 ac_cv_libuna=no 33948fi 33949 33950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 33951$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 33952if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 33953 $as_echo_n "(cached) " >&6 33954else 33955 ac_check_lib_save_LIBS=$LIBS 33956LIBS="-luna $LIBS" 33957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33958/* end confdefs.h. */ 33959 33960/* Override any GCC internal prototype to avoid an error. 33961 Use char because int might match the return type of a GCC 33962 builtin and then its argument prototype would still apply. */ 33963#ifdef __cplusplus 33964extern "C" 33965#endif 33966char libuna_utf16_string_copy_from_utf32 (); 33967int 33968main () 33969{ 33970return libuna_utf16_string_copy_from_utf32 (); 33971 ; 33972 return 0; 33973} 33974_ACEOF 33975if ac_fn_c_try_link "$LINENO"; then : 33976 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 33977else 33978 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 33979fi 33980rm -f core conftest.err conftest.$ac_objext \ 33981 conftest$ac_exeext conftest.$ac_ext 33982LIBS=$ac_check_lib_save_LIBS 33983fi 33984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 33985$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 33986if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 33987 ac_cv_libuna_dummy=yes 33988else 33989 ac_cv_libuna=no 33990fi 33991 33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 33993$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 33994if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 33995 $as_echo_n "(cached) " >&6 33996else 33997 ac_check_lib_save_LIBS=$LIBS 33998LIBS="-luna $LIBS" 33999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34000/* end confdefs.h. */ 34001 34002/* Override any GCC internal prototype to avoid an error. 34003 Use char because int might match the return type of a GCC 34004 builtin and then its argument prototype would still apply. */ 34005#ifdef __cplusplus 34006extern "C" 34007#endif 34008char libuna_utf16_string_with_index_copy_from_utf32 (); 34009int 34010main () 34011{ 34012return libuna_utf16_string_with_index_copy_from_utf32 (); 34013 ; 34014 return 0; 34015} 34016_ACEOF 34017if ac_fn_c_try_link "$LINENO"; then : 34018 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34019else 34020 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34021fi 34022rm -f core conftest.err conftest.$ac_objext \ 34023 conftest$ac_exeext conftest.$ac_ext 34024LIBS=$ac_check_lib_save_LIBS 34025fi 34026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34027$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34028if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34029 ac_cv_libuna_dummy=yes 34030else 34031 ac_cv_libuna=no 34032fi 34033 34034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34035$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34036if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34037 $as_echo_n "(cached) " >&6 34038else 34039 ac_check_lib_save_LIBS=$LIBS 34040LIBS="-luna $LIBS" 34041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34042/* end confdefs.h. */ 34043 34044/* Override any GCC internal prototype to avoid an error. 34045 Use char because int might match the return type of a GCC 34046 builtin and then its argument prototype would still apply. */ 34047#ifdef __cplusplus 34048extern "C" 34049#endif 34050char libuna_utf16_string_size_from_scsu_stream (); 34051int 34052main () 34053{ 34054return libuna_utf16_string_size_from_scsu_stream (); 34055 ; 34056 return 0; 34057} 34058_ACEOF 34059if ac_fn_c_try_link "$LINENO"; then : 34060 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34061else 34062 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34063fi 34064rm -f core conftest.err conftest.$ac_objext \ 34065 conftest$ac_exeext conftest.$ac_ext 34066LIBS=$ac_check_lib_save_LIBS 34067fi 34068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34069$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34070if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34071 ac_cv_libuna_dummy=yes 34072else 34073 ac_cv_libuna=no 34074fi 34075 34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34077$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34078if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34079 $as_echo_n "(cached) " >&6 34080else 34081 ac_check_lib_save_LIBS=$LIBS 34082LIBS="-luna $LIBS" 34083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34084/* end confdefs.h. */ 34085 34086/* Override any GCC internal prototype to avoid an error. 34087 Use char because int might match the return type of a GCC 34088 builtin and then its argument prototype would still apply. */ 34089#ifdef __cplusplus 34090extern "C" 34091#endif 34092char libuna_utf16_string_copy_from_scsu_stream (); 34093int 34094main () 34095{ 34096return libuna_utf16_string_copy_from_scsu_stream (); 34097 ; 34098 return 0; 34099} 34100_ACEOF 34101if ac_fn_c_try_link "$LINENO"; then : 34102 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34103else 34104 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34105fi 34106rm -f core conftest.err conftest.$ac_objext \ 34107 conftest$ac_exeext conftest.$ac_ext 34108LIBS=$ac_check_lib_save_LIBS 34109fi 34110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34111$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34112if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34113 ac_cv_libuna_dummy=yes 34114else 34115 ac_cv_libuna=no 34116fi 34117 34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34119$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34120if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34121 $as_echo_n "(cached) " >&6 34122else 34123 ac_check_lib_save_LIBS=$LIBS 34124LIBS="-luna $LIBS" 34125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34126/* end confdefs.h. */ 34127 34128/* Override any GCC internal prototype to avoid an error. 34129 Use char because int might match the return type of a GCC 34130 builtin and then its argument prototype would still apply. */ 34131#ifdef __cplusplus 34132extern "C" 34133#endif 34134char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34135int 34136main () 34137{ 34138return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34139 ; 34140 return 0; 34141} 34142_ACEOF 34143if ac_fn_c_try_link "$LINENO"; then : 34144 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34145else 34146 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34147fi 34148rm -f core conftest.err conftest.$ac_objext \ 34149 conftest$ac_exeext conftest.$ac_ext 34150LIBS=$ac_check_lib_save_LIBS 34151fi 34152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34153$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34154if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34155 ac_cv_libuna_dummy=yes 34156else 34157 ac_cv_libuna=no 34158fi 34159 34160 34161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34162$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34163if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34164 $as_echo_n "(cached) " >&6 34165else 34166 ac_check_lib_save_LIBS=$LIBS 34167LIBS="-luna $LIBS" 34168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34169/* end confdefs.h. */ 34170 34171/* Override any GCC internal prototype to avoid an error. 34172 Use char because int might match the return type of a GCC 34173 builtin and then its argument prototype would still apply. */ 34174#ifdef __cplusplus 34175extern "C" 34176#endif 34177char libuna_utf32_string_size_from_byte_stream (); 34178int 34179main () 34180{ 34181return libuna_utf32_string_size_from_byte_stream (); 34182 ; 34183 return 0; 34184} 34185_ACEOF 34186if ac_fn_c_try_link "$LINENO"; then : 34187 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34188else 34189 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34190fi 34191rm -f core conftest.err conftest.$ac_objext \ 34192 conftest$ac_exeext conftest.$ac_ext 34193LIBS=$ac_check_lib_save_LIBS 34194fi 34195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34196$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34197if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34198 ac_cv_libuna_dummy=yes 34199else 34200 ac_cv_libuna=no 34201fi 34202 34203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34204$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34205if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34206 $as_echo_n "(cached) " >&6 34207else 34208 ac_check_lib_save_LIBS=$LIBS 34209LIBS="-luna $LIBS" 34210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34211/* end confdefs.h. */ 34212 34213/* Override any GCC internal prototype to avoid an error. 34214 Use char because int might match the return type of a GCC 34215 builtin and then its argument prototype would still apply. */ 34216#ifdef __cplusplus 34217extern "C" 34218#endif 34219char libuna_utf32_string_copy_from_byte_stream (); 34220int 34221main () 34222{ 34223return libuna_utf32_string_copy_from_byte_stream (); 34224 ; 34225 return 0; 34226} 34227_ACEOF 34228if ac_fn_c_try_link "$LINENO"; then : 34229 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34230else 34231 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34232fi 34233rm -f core conftest.err conftest.$ac_objext \ 34234 conftest$ac_exeext conftest.$ac_ext 34235LIBS=$ac_check_lib_save_LIBS 34236fi 34237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34238$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34239if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34240 ac_cv_libuna_dummy=yes 34241else 34242 ac_cv_libuna=no 34243fi 34244 34245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34246$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34247if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34248 $as_echo_n "(cached) " >&6 34249else 34250 ac_check_lib_save_LIBS=$LIBS 34251LIBS="-luna $LIBS" 34252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34253/* end confdefs.h. */ 34254 34255/* Override any GCC internal prototype to avoid an error. 34256 Use char because int might match the return type of a GCC 34257 builtin and then its argument prototype would still apply. */ 34258#ifdef __cplusplus 34259extern "C" 34260#endif 34261char libuna_utf32_string_with_index_copy_from_byte_stream (); 34262int 34263main () 34264{ 34265return libuna_utf32_string_with_index_copy_from_byte_stream (); 34266 ; 34267 return 0; 34268} 34269_ACEOF 34270if ac_fn_c_try_link "$LINENO"; then : 34271 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34272else 34273 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34274fi 34275rm -f core conftest.err conftest.$ac_objext \ 34276 conftest$ac_exeext conftest.$ac_ext 34277LIBS=$ac_check_lib_save_LIBS 34278fi 34279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34280$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34281if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34282 ac_cv_libuna_dummy=yes 34283else 34284 ac_cv_libuna=no 34285fi 34286 34287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34288$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34289if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34290 $as_echo_n "(cached) " >&6 34291else 34292 ac_check_lib_save_LIBS=$LIBS 34293LIBS="-luna $LIBS" 34294cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34295/* end confdefs.h. */ 34296 34297/* Override any GCC internal prototype to avoid an error. 34298 Use char because int might match the return type of a GCC 34299 builtin and then its argument prototype would still apply. */ 34300#ifdef __cplusplus 34301extern "C" 34302#endif 34303char libuna_utf32_string_size_from_utf7_stream (); 34304int 34305main () 34306{ 34307return libuna_utf32_string_size_from_utf7_stream (); 34308 ; 34309 return 0; 34310} 34311_ACEOF 34312if ac_fn_c_try_link "$LINENO"; then : 34313 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34314else 34315 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34316fi 34317rm -f core conftest.err conftest.$ac_objext \ 34318 conftest$ac_exeext conftest.$ac_ext 34319LIBS=$ac_check_lib_save_LIBS 34320fi 34321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34322$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34323if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34324 ac_cv_libuna_dummy=yes 34325else 34326 ac_cv_libuna=no 34327fi 34328 34329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34330$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34331if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34332 $as_echo_n "(cached) " >&6 34333else 34334 ac_check_lib_save_LIBS=$LIBS 34335LIBS="-luna $LIBS" 34336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34337/* end confdefs.h. */ 34338 34339/* Override any GCC internal prototype to avoid an error. 34340 Use char because int might match the return type of a GCC 34341 builtin and then its argument prototype would still apply. */ 34342#ifdef __cplusplus 34343extern "C" 34344#endif 34345char libuna_utf32_string_copy_from_utf7_stream (); 34346int 34347main () 34348{ 34349return libuna_utf32_string_copy_from_utf7_stream (); 34350 ; 34351 return 0; 34352} 34353_ACEOF 34354if ac_fn_c_try_link "$LINENO"; then : 34355 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34356else 34357 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34358fi 34359rm -f core conftest.err conftest.$ac_objext \ 34360 conftest$ac_exeext conftest.$ac_ext 34361LIBS=$ac_check_lib_save_LIBS 34362fi 34363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34364$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34365if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34366 ac_cv_libuna_dummy=yes 34367else 34368 ac_cv_libuna=no 34369fi 34370 34371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34372$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34373if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34374 $as_echo_n "(cached) " >&6 34375else 34376 ac_check_lib_save_LIBS=$LIBS 34377LIBS="-luna $LIBS" 34378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34379/* end confdefs.h. */ 34380 34381/* Override any GCC internal prototype to avoid an error. 34382 Use char because int might match the return type of a GCC 34383 builtin and then its argument prototype would still apply. */ 34384#ifdef __cplusplus 34385extern "C" 34386#endif 34387char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34388int 34389main () 34390{ 34391return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34392 ; 34393 return 0; 34394} 34395_ACEOF 34396if ac_fn_c_try_link "$LINENO"; then : 34397 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34398else 34399 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34400fi 34401rm -f core conftest.err conftest.$ac_objext \ 34402 conftest$ac_exeext conftest.$ac_ext 34403LIBS=$ac_check_lib_save_LIBS 34404fi 34405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34406$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34407if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34408 ac_cv_libuna_dummy=yes 34409else 34410 ac_cv_libuna=no 34411fi 34412 34413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34414$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34415if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34416 $as_echo_n "(cached) " >&6 34417else 34418 ac_check_lib_save_LIBS=$LIBS 34419LIBS="-luna $LIBS" 34420cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34421/* end confdefs.h. */ 34422 34423/* Override any GCC internal prototype to avoid an error. 34424 Use char because int might match the return type of a GCC 34425 builtin and then its argument prototype would still apply. */ 34426#ifdef __cplusplus 34427extern "C" 34428#endif 34429char libuna_utf32_string_size_from_utf8_stream (); 34430int 34431main () 34432{ 34433return libuna_utf32_string_size_from_utf8_stream (); 34434 ; 34435 return 0; 34436} 34437_ACEOF 34438if ac_fn_c_try_link "$LINENO"; then : 34439 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34440else 34441 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34442fi 34443rm -f core conftest.err conftest.$ac_objext \ 34444 conftest$ac_exeext conftest.$ac_ext 34445LIBS=$ac_check_lib_save_LIBS 34446fi 34447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34448$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34449if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34450 ac_cv_libuna_dummy=yes 34451else 34452 ac_cv_libuna=no 34453fi 34454 34455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34456$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34457if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34458 $as_echo_n "(cached) " >&6 34459else 34460 ac_check_lib_save_LIBS=$LIBS 34461LIBS="-luna $LIBS" 34462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34463/* end confdefs.h. */ 34464 34465/* Override any GCC internal prototype to avoid an error. 34466 Use char because int might match the return type of a GCC 34467 builtin and then its argument prototype would still apply. */ 34468#ifdef __cplusplus 34469extern "C" 34470#endif 34471char libuna_utf32_string_copy_from_utf8_stream (); 34472int 34473main () 34474{ 34475return libuna_utf32_string_copy_from_utf8_stream (); 34476 ; 34477 return 0; 34478} 34479_ACEOF 34480if ac_fn_c_try_link "$LINENO"; then : 34481 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34482else 34483 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34484fi 34485rm -f core conftest.err conftest.$ac_objext \ 34486 conftest$ac_exeext conftest.$ac_ext 34487LIBS=$ac_check_lib_save_LIBS 34488fi 34489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34490$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34491if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34492 ac_cv_libuna_dummy=yes 34493else 34494 ac_cv_libuna=no 34495fi 34496 34497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34498$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34499if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34500 $as_echo_n "(cached) " >&6 34501else 34502 ac_check_lib_save_LIBS=$LIBS 34503LIBS="-luna $LIBS" 34504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34505/* end confdefs.h. */ 34506 34507/* Override any GCC internal prototype to avoid an error. 34508 Use char because int might match the return type of a GCC 34509 builtin and then its argument prototype would still apply. */ 34510#ifdef __cplusplus 34511extern "C" 34512#endif 34513char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34514int 34515main () 34516{ 34517return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34518 ; 34519 return 0; 34520} 34521_ACEOF 34522if ac_fn_c_try_link "$LINENO"; then : 34523 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34524else 34525 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34526fi 34527rm -f core conftest.err conftest.$ac_objext \ 34528 conftest$ac_exeext conftest.$ac_ext 34529LIBS=$ac_check_lib_save_LIBS 34530fi 34531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34532$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34533if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34534 ac_cv_libuna_dummy=yes 34535else 34536 ac_cv_libuna=no 34537fi 34538 34539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34540$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34541if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34542 $as_echo_n "(cached) " >&6 34543else 34544 ac_check_lib_save_LIBS=$LIBS 34545LIBS="-luna $LIBS" 34546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34547/* end confdefs.h. */ 34548 34549/* Override any GCC internal prototype to avoid an error. 34550 Use char because int might match the return type of a GCC 34551 builtin and then its argument prototype would still apply. */ 34552#ifdef __cplusplus 34553extern "C" 34554#endif 34555char libuna_utf32_string_size_from_utf16_stream (); 34556int 34557main () 34558{ 34559return libuna_utf32_string_size_from_utf16_stream (); 34560 ; 34561 return 0; 34562} 34563_ACEOF 34564if ac_fn_c_try_link "$LINENO"; then : 34565 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34566else 34567 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34568fi 34569rm -f core conftest.err conftest.$ac_objext \ 34570 conftest$ac_exeext conftest.$ac_ext 34571LIBS=$ac_check_lib_save_LIBS 34572fi 34573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34574$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34575if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34576 ac_cv_libuna_dummy=yes 34577else 34578 ac_cv_libuna=no 34579fi 34580 34581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34582$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34583if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34584 $as_echo_n "(cached) " >&6 34585else 34586 ac_check_lib_save_LIBS=$LIBS 34587LIBS="-luna $LIBS" 34588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34589/* end confdefs.h. */ 34590 34591/* Override any GCC internal prototype to avoid an error. 34592 Use char because int might match the return type of a GCC 34593 builtin and then its argument prototype would still apply. */ 34594#ifdef __cplusplus 34595extern "C" 34596#endif 34597char libuna_utf32_string_copy_from_utf16_stream (); 34598int 34599main () 34600{ 34601return libuna_utf32_string_copy_from_utf16_stream (); 34602 ; 34603 return 0; 34604} 34605_ACEOF 34606if ac_fn_c_try_link "$LINENO"; then : 34607 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34608else 34609 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34610fi 34611rm -f core conftest.err conftest.$ac_objext \ 34612 conftest$ac_exeext conftest.$ac_ext 34613LIBS=$ac_check_lib_save_LIBS 34614fi 34615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34616$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34617if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34618 ac_cv_libuna_dummy=yes 34619else 34620 ac_cv_libuna=no 34621fi 34622 34623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34624$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34625if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34626 $as_echo_n "(cached) " >&6 34627else 34628 ac_check_lib_save_LIBS=$LIBS 34629LIBS="-luna $LIBS" 34630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34631/* end confdefs.h. */ 34632 34633/* Override any GCC internal prototype to avoid an error. 34634 Use char because int might match the return type of a GCC 34635 builtin and then its argument prototype would still apply. */ 34636#ifdef __cplusplus 34637extern "C" 34638#endif 34639char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34640int 34641main () 34642{ 34643return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34644 ; 34645 return 0; 34646} 34647_ACEOF 34648if ac_fn_c_try_link "$LINENO"; then : 34649 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34650else 34651 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34652fi 34653rm -f core conftest.err conftest.$ac_objext \ 34654 conftest$ac_exeext conftest.$ac_ext 34655LIBS=$ac_check_lib_save_LIBS 34656fi 34657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34658$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34659if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34660 ac_cv_libuna_dummy=yes 34661else 34662 ac_cv_libuna=no 34663fi 34664 34665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34666$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34667if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34668 $as_echo_n "(cached) " >&6 34669else 34670 ac_check_lib_save_LIBS=$LIBS 34671LIBS="-luna $LIBS" 34672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34673/* end confdefs.h. */ 34674 34675/* Override any GCC internal prototype to avoid an error. 34676 Use char because int might match the return type of a GCC 34677 builtin and then its argument prototype would still apply. */ 34678#ifdef __cplusplus 34679extern "C" 34680#endif 34681char libuna_utf32_string_size_from_utf32_stream (); 34682int 34683main () 34684{ 34685return libuna_utf32_string_size_from_utf32_stream (); 34686 ; 34687 return 0; 34688} 34689_ACEOF 34690if ac_fn_c_try_link "$LINENO"; then : 34691 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34692else 34693 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34694fi 34695rm -f core conftest.err conftest.$ac_objext \ 34696 conftest$ac_exeext conftest.$ac_ext 34697LIBS=$ac_check_lib_save_LIBS 34698fi 34699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34700$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34701if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34702 ac_cv_libuna_dummy=yes 34703else 34704 ac_cv_libuna=no 34705fi 34706 34707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34708$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34709if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34710 $as_echo_n "(cached) " >&6 34711else 34712 ac_check_lib_save_LIBS=$LIBS 34713LIBS="-luna $LIBS" 34714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34715/* end confdefs.h. */ 34716 34717/* Override any GCC internal prototype to avoid an error. 34718 Use char because int might match the return type of a GCC 34719 builtin and then its argument prototype would still apply. */ 34720#ifdef __cplusplus 34721extern "C" 34722#endif 34723char libuna_utf32_string_copy_from_utf32_stream (); 34724int 34725main () 34726{ 34727return libuna_utf32_string_copy_from_utf32_stream (); 34728 ; 34729 return 0; 34730} 34731_ACEOF 34732if ac_fn_c_try_link "$LINENO"; then : 34733 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34734else 34735 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34736fi 34737rm -f core conftest.err conftest.$ac_objext \ 34738 conftest$ac_exeext conftest.$ac_ext 34739LIBS=$ac_check_lib_save_LIBS 34740fi 34741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34742$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34743if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34744 ac_cv_libuna_dummy=yes 34745else 34746 ac_cv_libuna=no 34747fi 34748 34749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34750$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34751if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34752 $as_echo_n "(cached) " >&6 34753else 34754 ac_check_lib_save_LIBS=$LIBS 34755LIBS="-luna $LIBS" 34756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34757/* end confdefs.h. */ 34758 34759/* Override any GCC internal prototype to avoid an error. 34760 Use char because int might match the return type of a GCC 34761 builtin and then its argument prototype would still apply. */ 34762#ifdef __cplusplus 34763extern "C" 34764#endif 34765char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34766int 34767main () 34768{ 34769return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34770 ; 34771 return 0; 34772} 34773_ACEOF 34774if ac_fn_c_try_link "$LINENO"; then : 34775 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34776else 34777 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34778fi 34779rm -f core conftest.err conftest.$ac_objext \ 34780 conftest$ac_exeext conftest.$ac_ext 34781LIBS=$ac_check_lib_save_LIBS 34782fi 34783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34784$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34785if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34786 ac_cv_libuna_dummy=yes 34787else 34788 ac_cv_libuna=no 34789fi 34790 34791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34792$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34793if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34794 $as_echo_n "(cached) " >&6 34795else 34796 ac_check_lib_save_LIBS=$LIBS 34797LIBS="-luna $LIBS" 34798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34799/* end confdefs.h. */ 34800 34801/* Override any GCC internal prototype to avoid an error. 34802 Use char because int might match the return type of a GCC 34803 builtin and then its argument prototype would still apply. */ 34804#ifdef __cplusplus 34805extern "C" 34806#endif 34807char libuna_utf32_string_size_from_utf8 (); 34808int 34809main () 34810{ 34811return libuna_utf32_string_size_from_utf8 (); 34812 ; 34813 return 0; 34814} 34815_ACEOF 34816if ac_fn_c_try_link "$LINENO"; then : 34817 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34818else 34819 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34820fi 34821rm -f core conftest.err conftest.$ac_objext \ 34822 conftest$ac_exeext conftest.$ac_ext 34823LIBS=$ac_check_lib_save_LIBS 34824fi 34825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34826$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34827if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34828 ac_cv_libuna_dummy=yes 34829else 34830 ac_cv_libuna=no 34831fi 34832 34833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34834$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34835if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34836 $as_echo_n "(cached) " >&6 34837else 34838 ac_check_lib_save_LIBS=$LIBS 34839LIBS="-luna $LIBS" 34840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34841/* end confdefs.h. */ 34842 34843/* Override any GCC internal prototype to avoid an error. 34844 Use char because int might match the return type of a GCC 34845 builtin and then its argument prototype would still apply. */ 34846#ifdef __cplusplus 34847extern "C" 34848#endif 34849char libuna_utf32_string_copy_from_utf8 (); 34850int 34851main () 34852{ 34853return libuna_utf32_string_copy_from_utf8 (); 34854 ; 34855 return 0; 34856} 34857_ACEOF 34858if ac_fn_c_try_link "$LINENO"; then : 34859 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34860else 34861 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34862fi 34863rm -f core conftest.err conftest.$ac_objext \ 34864 conftest$ac_exeext conftest.$ac_ext 34865LIBS=$ac_check_lib_save_LIBS 34866fi 34867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34868$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34869if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34870 ac_cv_libuna_dummy=yes 34871else 34872 ac_cv_libuna=no 34873fi 34874 34875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34876$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34877if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34878 $as_echo_n "(cached) " >&6 34879else 34880 ac_check_lib_save_LIBS=$LIBS 34881LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34882cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34883/* end confdefs.h. */ 34884 34885/* Override any GCC internal prototype to avoid an error. 34886 Use char because int might match the return type of a GCC 34887 builtin and then its argument prototype would still apply. */ 34888#ifdef __cplusplus 34889extern "C" 34890#endif 34891char ac_cv_libuna_dummy=yes (); 34892int 34893main () 34894{ 34895return ac_cv_libuna_dummy=yes (); 34896 ; 34897 return 0; 34898} 34899_ACEOF 34900if ac_fn_c_try_link "$LINENO"; then : 34901 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34902else 34903 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34904fi 34905rm -f core conftest.err conftest.$ac_objext \ 34906 conftest$ac_exeext conftest.$ac_ext 34907LIBS=$ac_check_lib_save_LIBS 34908fi 34909{ $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 34910$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34911if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34912 ac_cv_libuna=no 34913fi 34914 34915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34916$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34917if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34918 $as_echo_n "(cached) " >&6 34919else 34920 ac_check_lib_save_LIBS=$LIBS 34921LIBS="-luna $LIBS" 34922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34923/* end confdefs.h. */ 34924 34925/* Override any GCC internal prototype to avoid an error. 34926 Use char because int might match the return type of a GCC 34927 builtin and then its argument prototype would still apply. */ 34928#ifdef __cplusplus 34929extern "C" 34930#endif 34931char libuna_utf32_string_size_from_utf16 (); 34932int 34933main () 34934{ 34935return libuna_utf32_string_size_from_utf16 (); 34936 ; 34937 return 0; 34938} 34939_ACEOF 34940if ac_fn_c_try_link "$LINENO"; then : 34941 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 34942else 34943 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 34944fi 34945rm -f core conftest.err conftest.$ac_objext \ 34946 conftest$ac_exeext conftest.$ac_ext 34947LIBS=$ac_check_lib_save_LIBS 34948fi 34949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 34950$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 34951if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 34952 ac_cv_libuna_dummy=yes 34953else 34954 ac_cv_libuna=no 34955fi 34956 34957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 34958$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 34959if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 34960 $as_echo_n "(cached) " >&6 34961else 34962 ac_check_lib_save_LIBS=$LIBS 34963LIBS="-luna $LIBS" 34964cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34965/* end confdefs.h. */ 34966 34967/* Override any GCC internal prototype to avoid an error. 34968 Use char because int might match the return type of a GCC 34969 builtin and then its argument prototype would still apply. */ 34970#ifdef __cplusplus 34971extern "C" 34972#endif 34973char libuna_utf32_string_copy_from_utf16 (); 34974int 34975main () 34976{ 34977return libuna_utf32_string_copy_from_utf16 (); 34978 ; 34979 return 0; 34980} 34981_ACEOF 34982if ac_fn_c_try_link "$LINENO"; then : 34983 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 34984else 34985 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 34986fi 34987rm -f core conftest.err conftest.$ac_objext \ 34988 conftest$ac_exeext conftest.$ac_ext 34989LIBS=$ac_check_lib_save_LIBS 34990fi 34991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 34992$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 34993if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 34994 ac_cv_libuna_dummy=yes 34995else 34996 ac_cv_libuna=no 34997fi 34998 34999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35000$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35001if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35002 $as_echo_n "(cached) " >&6 35003else 35004 ac_check_lib_save_LIBS=$LIBS 35005LIBS="-luna $LIBS" 35006cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35007/* end confdefs.h. */ 35008 35009/* Override any GCC internal prototype to avoid an error. 35010 Use char because int might match the return type of a GCC 35011 builtin and then its argument prototype would still apply. */ 35012#ifdef __cplusplus 35013extern "C" 35014#endif 35015char libuna_utf32_string_with_index_copy_from_utf16 (); 35016int 35017main () 35018{ 35019return libuna_utf32_string_with_index_copy_from_utf16 (); 35020 ; 35021 return 0; 35022} 35023_ACEOF 35024if ac_fn_c_try_link "$LINENO"; then : 35025 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35026else 35027 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35028fi 35029rm -f core conftest.err conftest.$ac_objext \ 35030 conftest$ac_exeext conftest.$ac_ext 35031LIBS=$ac_check_lib_save_LIBS 35032fi 35033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35034$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35035if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35036 ac_cv_libuna_dummy=yes 35037else 35038 ac_cv_libuna=no 35039fi 35040 35041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35042$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35043if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35044 $as_echo_n "(cached) " >&6 35045else 35046 ac_check_lib_save_LIBS=$LIBS 35047LIBS="-luna $LIBS" 35048cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35049/* end confdefs.h. */ 35050 35051/* Override any GCC internal prototype to avoid an error. 35052 Use char because int might match the return type of a GCC 35053 builtin and then its argument prototype would still apply. */ 35054#ifdef __cplusplus 35055extern "C" 35056#endif 35057char libuna_utf32_string_size_from_scsu_stream (); 35058int 35059main () 35060{ 35061return libuna_utf32_string_size_from_scsu_stream (); 35062 ; 35063 return 0; 35064} 35065_ACEOF 35066if ac_fn_c_try_link "$LINENO"; then : 35067 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35068else 35069 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35070fi 35071rm -f core conftest.err conftest.$ac_objext \ 35072 conftest$ac_exeext conftest.$ac_ext 35073LIBS=$ac_check_lib_save_LIBS 35074fi 35075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35076$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35077if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35078 ac_cv_libuna_dummy=yes 35079else 35080 ac_cv_libuna=no 35081fi 35082 35083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35084$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35085if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35086 $as_echo_n "(cached) " >&6 35087else 35088 ac_check_lib_save_LIBS=$LIBS 35089LIBS="-luna $LIBS" 35090cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35091/* end confdefs.h. */ 35092 35093/* Override any GCC internal prototype to avoid an error. 35094 Use char because int might match the return type of a GCC 35095 builtin and then its argument prototype would still apply. */ 35096#ifdef __cplusplus 35097extern "C" 35098#endif 35099char libuna_utf32_string_copy_from_scsu_stream (); 35100int 35101main () 35102{ 35103return libuna_utf32_string_copy_from_scsu_stream (); 35104 ; 35105 return 0; 35106} 35107_ACEOF 35108if ac_fn_c_try_link "$LINENO"; then : 35109 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35110else 35111 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35112fi 35113rm -f core conftest.err conftest.$ac_objext \ 35114 conftest$ac_exeext conftest.$ac_ext 35115LIBS=$ac_check_lib_save_LIBS 35116fi 35117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35118$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35119if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35120 ac_cv_libuna_dummy=yes 35121else 35122 ac_cv_libuna=no 35123fi 35124 35125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35126$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35127if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35128 $as_echo_n "(cached) " >&6 35129else 35130 ac_check_lib_save_LIBS=$LIBS 35131LIBS="-luna $LIBS" 35132cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35133/* end confdefs.h. */ 35134 35135/* Override any GCC internal prototype to avoid an error. 35136 Use char because int might match the return type of a GCC 35137 builtin and then its argument prototype would still apply. */ 35138#ifdef __cplusplus 35139extern "C" 35140#endif 35141char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35142int 35143main () 35144{ 35145return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35146 ; 35147 return 0; 35148} 35149_ACEOF 35150if ac_fn_c_try_link "$LINENO"; then : 35151 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35152else 35153 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35154fi 35155rm -f core conftest.err conftest.$ac_objext \ 35156 conftest$ac_exeext conftest.$ac_ext 35157LIBS=$ac_check_lib_save_LIBS 35158fi 35159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35160$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35161if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35162 ac_cv_libuna_dummy=yes 35163else 35164 ac_cv_libuna=no 35165fi 35166 35167 35168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35169$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35170if ${ac_cv_libuna_defines_compare_less+:} false; then : 35171 $as_echo_n "(cached) " >&6 35172else 35173 ac_ext=c 35174ac_cpp='$CPP $CPPFLAGS' 35175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35177ac_compiler_gnu=$ac_cv_c_compiler_gnu 35178 35179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35180/* end confdefs.h. */ 35181#include <libuna.h> 35182int 35183main () 35184{ 35185int test = LIBUNA_COMPARE_LESS; 35186 35187return( 0 ); 35188 ; 35189 return 0; 35190} 35191_ACEOF 35192if ac_fn_c_try_link "$LINENO"; then : 35193 ac_cv_libuna_defines_compare_less=yes 35194else 35195 ac_cv_libuna_defines_compare_less=no 35196fi 35197rm -f core conftest.err conftest.$ac_objext \ 35198 conftest$ac_exeext conftest.$ac_ext 35199 ac_ext=c 35200ac_cpp='$CPP $CPPFLAGS' 35201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35203ac_compiler_gnu=$ac_cv_c_compiler_gnu 35204 35205fi 35206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35207$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35208 35209 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35210 ac_cv_libuna=no 35211fi 35212 35213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35214$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35215if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35216 $as_echo_n "(cached) " >&6 35217else 35218 ac_ext=c 35219ac_cpp='$CPP $CPPFLAGS' 35220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35222ac_compiler_gnu=$ac_cv_c_compiler_gnu 35223 35224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35225/* end confdefs.h. */ 35226#include <libuna.h> 35227int 35228main () 35229{ 35230int test = LIBUNA_COMPARE_EQUAL; 35231 35232return( 0 ); 35233 ; 35234 return 0; 35235} 35236_ACEOF 35237if ac_fn_c_try_link "$LINENO"; then : 35238 ac_cv_libuna_defines_compare_equal=yes 35239else 35240 ac_cv_libuna_defines_compare_equal=no 35241fi 35242rm -f core conftest.err conftest.$ac_objext \ 35243 conftest$ac_exeext conftest.$ac_ext 35244 ac_ext=c 35245ac_cpp='$CPP $CPPFLAGS' 35246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35248ac_compiler_gnu=$ac_cv_c_compiler_gnu 35249 35250fi 35251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35252$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35253 35254 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35255 ac_cv_libuna=no 35256fi 35257 35258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35259$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35260if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35261 $as_echo_n "(cached) " >&6 35262else 35263 ac_ext=c 35264ac_cpp='$CPP $CPPFLAGS' 35265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35267ac_compiler_gnu=$ac_cv_c_compiler_gnu 35268 35269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35270/* end confdefs.h. */ 35271#include <libuna.h> 35272int 35273main () 35274{ 35275int test = LIBUNA_COMPARE_GREATER; 35276 35277return( 0 ); 35278 ; 35279 return 0; 35280} 35281_ACEOF 35282if ac_fn_c_try_link "$LINENO"; then : 35283 ac_cv_libuna_defines_compare_greater=yes 35284else 35285 ac_cv_libuna_defines_compare_greater=no 35286fi 35287rm -f core conftest.err conftest.$ac_objext \ 35288 conftest$ac_exeext conftest.$ac_ext 35289 ac_ext=c 35290ac_cpp='$CPP $CPPFLAGS' 35291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35293ac_compiler_gnu=$ac_cv_c_compiler_gnu 35294 35295fi 35296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35297$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35298 35299 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35300 ac_cv_libuna=no 35301fi 35302 35303 ac_cv_libuna_LIBADD="-luna" 35304fi 35305 35306fi 35307 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35310as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35311See \`config.log' for more details" "$LINENO" 5; } 35312 35313fi 35314 35315fi 35316 35317 if test "x$ac_cv_libuna" = xyes; then : 35318 35319$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35320 35321 35322fi 35323 35324 if test "x$ac_cv_libuna" = xyes; then : 35325 HAVE_LIBUNA=1 35326 35327else 35328 HAVE_LIBUNA=0 35329 35330 35331fi 35332 35333 35334 if test "x$ac_cv_libuna" != xyes; then : 35335 35336 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35337 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35338 35339 ac_cv_libuna=local 35340 35341 35342 35343$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35344 35345 HAVE_LOCAL_LIBUNA=1 35346 35347 35348fi 35349 35350 if test "x$ac_cv_libuna" = xlocal; then 35351 HAVE_LOCAL_LIBUNA_TRUE= 35352 HAVE_LOCAL_LIBUNA_FALSE='#' 35353else 35354 HAVE_LOCAL_LIBUNA_TRUE='#' 35355 HAVE_LOCAL_LIBUNA_FALSE= 35356fi 35357 35358 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35359 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35360 35361 35362fi 35363 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35364 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35365 35366 35367fi 35368 35369 if test "x$ac_cv_libuna" = xyes; then : 35370 ax_libuna_pc_libs_private=-luna 35371 35372 35373fi 35374 35375 if test "x$ac_cv_libuna" = xyes; then : 35376 ax_libuna_spec_requires=libuna 35377 35378 ax_libuna_spec_build_requires=libuna-devel 35379 35380 35381fi 35382 35383 35384 35385 35386# Check whether --with-libcfile was given. 35387if test "${with_libcfile+set}" = set; then : 35388 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35389else 35390 ac_cv_with_libcfile=auto-detect 35391fi 35392 35393 { $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 35394$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; } 35395if ${ac_cv_with_libcfile+:} false; then : 35396 $as_echo_n "(cached) " >&6 35397else 35398 ac_cv_with_libcfile=auto-detect 35399fi 35400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35401$as_echo "$ac_cv_with_libcfile" >&6; } 35402 35403 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35404 ac_cv_libcfile=no 35405else 35406 ac_cv_libcfile=check 35407 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35408 if test -d "$ac_cv_with_libcfile"; then : 35409 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35410 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35411else 35412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35414as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35415See \`config.log' for more details" "$LINENO" 5; } 35416 35417fi 35418 35419else 35420 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35421 35422pkg_failed=no 35423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35424$as_echo_n "checking for libcfile... " >&6; } 35425 35426if test -n "$libcfile_CFLAGS"; then 35427 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35428 elif test -n "$PKG_CONFIG"; then 35429 if test -n "$PKG_CONFIG" && \ 35430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35431 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35432 ac_status=$? 35433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35434 test $ac_status = 0; }; then 35435 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35436 test "x$?" != "x0" && pkg_failed=yes 35437else 35438 pkg_failed=yes 35439fi 35440 else 35441 pkg_failed=untried 35442fi 35443if test -n "$libcfile_LIBS"; then 35444 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35445 elif test -n "$PKG_CONFIG"; then 35446 if test -n "$PKG_CONFIG" && \ 35447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35448 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35449 ac_status=$? 35450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35451 test $ac_status = 0; }; then 35452 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35453 test "x$?" != "x0" && pkg_failed=yes 35454else 35455 pkg_failed=yes 35456fi 35457 else 35458 pkg_failed=untried 35459fi 35460 35461 35462 35463if test $pkg_failed = yes; then 35464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35465$as_echo "no" >&6; } 35466 35467if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35468 _pkg_short_errors_supported=yes 35469else 35470 _pkg_short_errors_supported=no 35471fi 35472 if test $_pkg_short_errors_supported = yes; then 35473 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35474 else 35475 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35476 fi 35477 # Put the nasty error message in config.log where it belongs 35478 echo "$libcfile_PKG_ERRORS" >&5 35479 35480 ac_cv_libcfile=check 35481elif test $pkg_failed = untried; then 35482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35483$as_echo "no" >&6; } 35484 ac_cv_libcfile=check 35485else 35486 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35487 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35489$as_echo "yes" >&6; } 35490 ac_cv_libcfile=yes 35491fi 35492 35493fi 35494 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35496$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35497if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35498 $as_echo_n "(cached) " >&6 35499else 35500 ac_ext=c 35501ac_cpp='$CPP $CPPFLAGS' 35502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35504ac_compiler_gnu=$ac_cv_c_compiler_gnu 35505 35506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35507/* end confdefs.h. */ 35508#include <libcfile/features.h> 35509int 35510main () 35511{ 35512#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35513#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35514#endif 35515 ; 35516 return 0; 35517} 35518_ACEOF 35519if ac_fn_c_try_compile "$LINENO"; then : 35520 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35521else 35522 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35523fi 35524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35525 ac_ext=c 35526ac_cpp='$CPP $CPPFLAGS' 35527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35529ac_compiler_gnu=$ac_cv_c_compiler_gnu 35530 35531fi 35532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35533$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35534 35535 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35536 ac_cv_libcfile=no 35537fi 35538 35539fi 35540 if test "x$ac_cv_libcfile" = xyes; then : 35541 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35542 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35543fi 35544 35545fi 35546 35547 if test "x$ac_cv_libcfile" = xcheck; then : 35548 for ac_header in libcfile.h 35549do : 35550 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35551if test "x$ac_cv_header_libcfile_h" = xyes; then : 35552 cat >>confdefs.h <<_ACEOF 35553#define HAVE_LIBCFILE_H 1 35554_ACEOF 35555 35556fi 35557 35558done 35559 35560 35561 if test "x$ac_cv_header_libcfile_h" = xno; then : 35562 ac_cv_libcfile=no 35563else 35564 ac_cv_libcfile=yes 35565 35566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35567$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35568if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35569 $as_echo_n "(cached) " >&6 35570else 35571 ac_check_lib_save_LIBS=$LIBS 35572LIBS="-lcfile $LIBS" 35573cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35574/* end confdefs.h. */ 35575 35576/* Override any GCC internal prototype to avoid an error. 35577 Use char because int might match the return type of a GCC 35578 builtin and then its argument prototype would still apply. */ 35579#ifdef __cplusplus 35580extern "C" 35581#endif 35582char libcfile_get_version (); 35583int 35584main () 35585{ 35586return libcfile_get_version (); 35587 ; 35588 return 0; 35589} 35590_ACEOF 35591if ac_fn_c_try_link "$LINENO"; then : 35592 ac_cv_lib_cfile_libcfile_get_version=yes 35593else 35594 ac_cv_lib_cfile_libcfile_get_version=no 35595fi 35596rm -f core conftest.err conftest.$ac_objext \ 35597 conftest$ac_exeext conftest.$ac_ext 35598LIBS=$ac_check_lib_save_LIBS 35599fi 35600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35601$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35602if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35603 ac_cv_libcfile_dummy=yes 35604else 35605 ac_cv_libcfile=no 35606fi 35607 35608 35609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35610$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35611if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35612 $as_echo_n "(cached) " >&6 35613else 35614 ac_check_lib_save_LIBS=$LIBS 35615LIBS="-lcfile $LIBS" 35616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35617/* end confdefs.h. */ 35618 35619/* Override any GCC internal prototype to avoid an error. 35620 Use char because int might match the return type of a GCC 35621 builtin and then its argument prototype would still apply. */ 35622#ifdef __cplusplus 35623extern "C" 35624#endif 35625char libcfile_file_initialize (); 35626int 35627main () 35628{ 35629return libcfile_file_initialize (); 35630 ; 35631 return 0; 35632} 35633_ACEOF 35634if ac_fn_c_try_link "$LINENO"; then : 35635 ac_cv_lib_cfile_libcfile_file_initialize=yes 35636else 35637 ac_cv_lib_cfile_libcfile_file_initialize=no 35638fi 35639rm -f core conftest.err conftest.$ac_objext \ 35640 conftest$ac_exeext conftest.$ac_ext 35641LIBS=$ac_check_lib_save_LIBS 35642fi 35643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35644$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35645if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35646 ac_cv_libcfile_dummy=yes 35647else 35648 ac_cv_libcfile=no 35649fi 35650 35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35652$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35653if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35654 $as_echo_n "(cached) " >&6 35655else 35656 ac_check_lib_save_LIBS=$LIBS 35657LIBS="-lcfile $LIBS" 35658cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35659/* end confdefs.h. */ 35660 35661/* Override any GCC internal prototype to avoid an error. 35662 Use char because int might match the return type of a GCC 35663 builtin and then its argument prototype would still apply. */ 35664#ifdef __cplusplus 35665extern "C" 35666#endif 35667char libcfile_file_free (); 35668int 35669main () 35670{ 35671return libcfile_file_free (); 35672 ; 35673 return 0; 35674} 35675_ACEOF 35676if ac_fn_c_try_link "$LINENO"; then : 35677 ac_cv_lib_cfile_libcfile_file_free=yes 35678else 35679 ac_cv_lib_cfile_libcfile_file_free=no 35680fi 35681rm -f core conftest.err conftest.$ac_objext \ 35682 conftest$ac_exeext conftest.$ac_ext 35683LIBS=$ac_check_lib_save_LIBS 35684fi 35685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35686$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35687if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35688 ac_cv_libcfile_dummy=yes 35689else 35690 ac_cv_libcfile=no 35691fi 35692 35693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35694$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35695if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35696 $as_echo_n "(cached) " >&6 35697else 35698 ac_check_lib_save_LIBS=$LIBS 35699LIBS="-lcfile $LIBS" 35700cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35701/* end confdefs.h. */ 35702 35703/* Override any GCC internal prototype to avoid an error. 35704 Use char because int might match the return type of a GCC 35705 builtin and then its argument prototype would still apply. */ 35706#ifdef __cplusplus 35707extern "C" 35708#endif 35709char libcfile_file_open (); 35710int 35711main () 35712{ 35713return libcfile_file_open (); 35714 ; 35715 return 0; 35716} 35717_ACEOF 35718if ac_fn_c_try_link "$LINENO"; then : 35719 ac_cv_lib_cfile_libcfile_file_open=yes 35720else 35721 ac_cv_lib_cfile_libcfile_file_open=no 35722fi 35723rm -f core conftest.err conftest.$ac_objext \ 35724 conftest$ac_exeext conftest.$ac_ext 35725LIBS=$ac_check_lib_save_LIBS 35726fi 35727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35728$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35729if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35730 ac_cv_libcfile_dummy=yes 35731else 35732 ac_cv_libcfile=no 35733fi 35734 35735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35736$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35737if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35738 $as_echo_n "(cached) " >&6 35739else 35740 ac_check_lib_save_LIBS=$LIBS 35741LIBS="-lcfile $LIBS" 35742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35743/* end confdefs.h. */ 35744 35745/* Override any GCC internal prototype to avoid an error. 35746 Use char because int might match the return type of a GCC 35747 builtin and then its argument prototype would still apply. */ 35748#ifdef __cplusplus 35749extern "C" 35750#endif 35751char libcfile_file_open_with_error_code (); 35752int 35753main () 35754{ 35755return libcfile_file_open_with_error_code (); 35756 ; 35757 return 0; 35758} 35759_ACEOF 35760if ac_fn_c_try_link "$LINENO"; then : 35761 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35762else 35763 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35764fi 35765rm -f core conftest.err conftest.$ac_objext \ 35766 conftest$ac_exeext conftest.$ac_ext 35767LIBS=$ac_check_lib_save_LIBS 35768fi 35769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35770$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35771if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35772 ac_cv_libcfile_dummy=yes 35773else 35774 ac_cv_libcfile=no 35775fi 35776 35777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35778$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35779if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35780 $as_echo_n "(cached) " >&6 35781else 35782 ac_check_lib_save_LIBS=$LIBS 35783LIBS="-lcfile $LIBS" 35784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35785/* end confdefs.h. */ 35786 35787/* Override any GCC internal prototype to avoid an error. 35788 Use char because int might match the return type of a GCC 35789 builtin and then its argument prototype would still apply. */ 35790#ifdef __cplusplus 35791extern "C" 35792#endif 35793char libcfile_file_close (); 35794int 35795main () 35796{ 35797return libcfile_file_close (); 35798 ; 35799 return 0; 35800} 35801_ACEOF 35802if ac_fn_c_try_link "$LINENO"; then : 35803 ac_cv_lib_cfile_libcfile_file_close=yes 35804else 35805 ac_cv_lib_cfile_libcfile_file_close=no 35806fi 35807rm -f core conftest.err conftest.$ac_objext \ 35808 conftest$ac_exeext conftest.$ac_ext 35809LIBS=$ac_check_lib_save_LIBS 35810fi 35811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35812$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35813if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35814 ac_cv_libcfile_dummy=yes 35815else 35816 ac_cv_libcfile=no 35817fi 35818 35819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35820$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35821if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35822 $as_echo_n "(cached) " >&6 35823else 35824 ac_check_lib_save_LIBS=$LIBS 35825LIBS="-lcfile $LIBS" 35826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35827/* end confdefs.h. */ 35828 35829/* Override any GCC internal prototype to avoid an error. 35830 Use char because int might match the return type of a GCC 35831 builtin and then its argument prototype would still apply. */ 35832#ifdef __cplusplus 35833extern "C" 35834#endif 35835char libcfile_file_read_buffer (); 35836int 35837main () 35838{ 35839return libcfile_file_read_buffer (); 35840 ; 35841 return 0; 35842} 35843_ACEOF 35844if ac_fn_c_try_link "$LINENO"; then : 35845 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35846else 35847 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35848fi 35849rm -f core conftest.err conftest.$ac_objext \ 35850 conftest$ac_exeext conftest.$ac_ext 35851LIBS=$ac_check_lib_save_LIBS 35852fi 35853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35854$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35855if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35856 ac_cv_libcfile_dummy=yes 35857else 35858 ac_cv_libcfile=no 35859fi 35860 35861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35862$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35863if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35864 $as_echo_n "(cached) " >&6 35865else 35866 ac_check_lib_save_LIBS=$LIBS 35867LIBS="-lcfile $LIBS" 35868cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35869/* end confdefs.h. */ 35870 35871/* Override any GCC internal prototype to avoid an error. 35872 Use char because int might match the return type of a GCC 35873 builtin and then its argument prototype would still apply. */ 35874#ifdef __cplusplus 35875extern "C" 35876#endif 35877char libcfile_file_read_buffer_with_error_code (); 35878int 35879main () 35880{ 35881return libcfile_file_read_buffer_with_error_code (); 35882 ; 35883 return 0; 35884} 35885_ACEOF 35886if ac_fn_c_try_link "$LINENO"; then : 35887 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35888else 35889 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35890fi 35891rm -f core conftest.err conftest.$ac_objext \ 35892 conftest$ac_exeext conftest.$ac_ext 35893LIBS=$ac_check_lib_save_LIBS 35894fi 35895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35896$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35897if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35898 ac_cv_libcfile_dummy=yes 35899else 35900 ac_cv_libcfile=no 35901fi 35902 35903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35904$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35905if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35906 $as_echo_n "(cached) " >&6 35907else 35908 ac_check_lib_save_LIBS=$LIBS 35909LIBS="-lcfile $LIBS" 35910cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35911/* end confdefs.h. */ 35912 35913/* Override any GCC internal prototype to avoid an error. 35914 Use char because int might match the return type of a GCC 35915 builtin and then its argument prototype would still apply. */ 35916#ifdef __cplusplus 35917extern "C" 35918#endif 35919char libcfile_file_write_buffer (); 35920int 35921main () 35922{ 35923return libcfile_file_write_buffer (); 35924 ; 35925 return 0; 35926} 35927_ACEOF 35928if ac_fn_c_try_link "$LINENO"; then : 35929 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 35930else 35931 ac_cv_lib_cfile_libcfile_file_write_buffer=no 35932fi 35933rm -f core conftest.err conftest.$ac_objext \ 35934 conftest$ac_exeext conftest.$ac_ext 35935LIBS=$ac_check_lib_save_LIBS 35936fi 35937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 35938$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 35939if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 35940 ac_cv_libcfile_dummy=yes 35941else 35942 ac_cv_libcfile=no 35943fi 35944 35945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 35946$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 35947if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 35948 $as_echo_n "(cached) " >&6 35949else 35950 ac_check_lib_save_LIBS=$LIBS 35951LIBS="-lcfile $LIBS" 35952cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35953/* end confdefs.h. */ 35954 35955/* Override any GCC internal prototype to avoid an error. 35956 Use char because int might match the return type of a GCC 35957 builtin and then its argument prototype would still apply. */ 35958#ifdef __cplusplus 35959extern "C" 35960#endif 35961char libcfile_file_write_buffer_with_error_code (); 35962int 35963main () 35964{ 35965return libcfile_file_write_buffer_with_error_code (); 35966 ; 35967 return 0; 35968} 35969_ACEOF 35970if ac_fn_c_try_link "$LINENO"; then : 35971 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 35972else 35973 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 35974fi 35975rm -f core conftest.err conftest.$ac_objext \ 35976 conftest$ac_exeext conftest.$ac_ext 35977LIBS=$ac_check_lib_save_LIBS 35978fi 35979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 35980$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 35981if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 35982 ac_cv_libcfile_dummy=yes 35983else 35984 ac_cv_libcfile=no 35985fi 35986 35987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 35988$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 35989if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 35990 $as_echo_n "(cached) " >&6 35991else 35992 ac_check_lib_save_LIBS=$LIBS 35993LIBS="-lcfile $LIBS" 35994cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35995/* end confdefs.h. */ 35996 35997/* Override any GCC internal prototype to avoid an error. 35998 Use char because int might match the return type of a GCC 35999 builtin and then its argument prototype would still apply. */ 36000#ifdef __cplusplus 36001extern "C" 36002#endif 36003char libcfile_file_seek_offset (); 36004int 36005main () 36006{ 36007return libcfile_file_seek_offset (); 36008 ; 36009 return 0; 36010} 36011_ACEOF 36012if ac_fn_c_try_link "$LINENO"; then : 36013 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36014else 36015 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36016fi 36017rm -f core conftest.err conftest.$ac_objext \ 36018 conftest$ac_exeext conftest.$ac_ext 36019LIBS=$ac_check_lib_save_LIBS 36020fi 36021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36022$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36023if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36024 ac_cv_libcfile_dummy=yes 36025else 36026 ac_cv_libcfile=no 36027fi 36028 36029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36030$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36031if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36032 $as_echo_n "(cached) " >&6 36033else 36034 ac_check_lib_save_LIBS=$LIBS 36035LIBS="-lcfile $LIBS" 36036cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36037/* end confdefs.h. */ 36038 36039/* Override any GCC internal prototype to avoid an error. 36040 Use char because int might match the return type of a GCC 36041 builtin and then its argument prototype would still apply. */ 36042#ifdef __cplusplus 36043extern "C" 36044#endif 36045char libcfile_file_resize (); 36046int 36047main () 36048{ 36049return libcfile_file_resize (); 36050 ; 36051 return 0; 36052} 36053_ACEOF 36054if ac_fn_c_try_link "$LINENO"; then : 36055 ac_cv_lib_cfile_libcfile_file_resize=yes 36056else 36057 ac_cv_lib_cfile_libcfile_file_resize=no 36058fi 36059rm -f core conftest.err conftest.$ac_objext \ 36060 conftest$ac_exeext conftest.$ac_ext 36061LIBS=$ac_check_lib_save_LIBS 36062fi 36063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36064$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36065if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36066 ac_cv_libcfile_dummy=yes 36067else 36068 ac_cv_libcfile=no 36069fi 36070 36071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36072$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36073if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36074 $as_echo_n "(cached) " >&6 36075else 36076 ac_check_lib_save_LIBS=$LIBS 36077LIBS="-lcfile $LIBS" 36078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36079/* end confdefs.h. */ 36080 36081/* Override any GCC internal prototype to avoid an error. 36082 Use char because int might match the return type of a GCC 36083 builtin and then its argument prototype would still apply. */ 36084#ifdef __cplusplus 36085extern "C" 36086#endif 36087char libcfile_file_is_open (); 36088int 36089main () 36090{ 36091return libcfile_file_is_open (); 36092 ; 36093 return 0; 36094} 36095_ACEOF 36096if ac_fn_c_try_link "$LINENO"; then : 36097 ac_cv_lib_cfile_libcfile_file_is_open=yes 36098else 36099 ac_cv_lib_cfile_libcfile_file_is_open=no 36100fi 36101rm -f core conftest.err conftest.$ac_objext \ 36102 conftest$ac_exeext conftest.$ac_ext 36103LIBS=$ac_check_lib_save_LIBS 36104fi 36105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36106$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36107if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36108 ac_cv_libcfile_dummy=yes 36109else 36110 ac_cv_libcfile=no 36111fi 36112 36113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36114$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36115if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36116 $as_echo_n "(cached) " >&6 36117else 36118 ac_check_lib_save_LIBS=$LIBS 36119LIBS="-lcfile $LIBS" 36120cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36121/* end confdefs.h. */ 36122 36123/* Override any GCC internal prototype to avoid an error. 36124 Use char because int might match the return type of a GCC 36125 builtin and then its argument prototype would still apply. */ 36126#ifdef __cplusplus 36127extern "C" 36128#endif 36129char libcfile_file_get_offset (); 36130int 36131main () 36132{ 36133return libcfile_file_get_offset (); 36134 ; 36135 return 0; 36136} 36137_ACEOF 36138if ac_fn_c_try_link "$LINENO"; then : 36139 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36140else 36141 ac_cv_lib_cfile_libcfile_file_get_offset=no 36142fi 36143rm -f core conftest.err conftest.$ac_objext \ 36144 conftest$ac_exeext conftest.$ac_ext 36145LIBS=$ac_check_lib_save_LIBS 36146fi 36147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36148$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36149if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36150 ac_cv_libcfile_dummy=yes 36151else 36152 ac_cv_libcfile=no 36153fi 36154 36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36156$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36157if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36158 $as_echo_n "(cached) " >&6 36159else 36160 ac_check_lib_save_LIBS=$LIBS 36161LIBS="-lcfile $LIBS" 36162cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36163/* end confdefs.h. */ 36164 36165/* Override any GCC internal prototype to avoid an error. 36166 Use char because int might match the return type of a GCC 36167 builtin and then its argument prototype would still apply. */ 36168#ifdef __cplusplus 36169extern "C" 36170#endif 36171char libcfile_file_get_size (); 36172int 36173main () 36174{ 36175return libcfile_file_get_size (); 36176 ; 36177 return 0; 36178} 36179_ACEOF 36180if ac_fn_c_try_link "$LINENO"; then : 36181 ac_cv_lib_cfile_libcfile_file_get_size=yes 36182else 36183 ac_cv_lib_cfile_libcfile_file_get_size=no 36184fi 36185rm -f core conftest.err conftest.$ac_objext \ 36186 conftest$ac_exeext conftest.$ac_ext 36187LIBS=$ac_check_lib_save_LIBS 36188fi 36189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36190$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36191if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36192 ac_cv_libcfile_dummy=yes 36193else 36194 ac_cv_libcfile=no 36195fi 36196 36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36198$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36199if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36200 $as_echo_n "(cached) " >&6 36201else 36202 ac_check_lib_save_LIBS=$LIBS 36203LIBS="-lcfile $LIBS" 36204cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36205/* end confdefs.h. */ 36206 36207/* Override any GCC internal prototype to avoid an error. 36208 Use char because int might match the return type of a GCC 36209 builtin and then its argument prototype would still apply. */ 36210#ifdef __cplusplus 36211extern "C" 36212#endif 36213char libcfile_file_is_device (); 36214int 36215main () 36216{ 36217return libcfile_file_is_device (); 36218 ; 36219 return 0; 36220} 36221_ACEOF 36222if ac_fn_c_try_link "$LINENO"; then : 36223 ac_cv_lib_cfile_libcfile_file_is_device=yes 36224else 36225 ac_cv_lib_cfile_libcfile_file_is_device=no 36226fi 36227rm -f core conftest.err conftest.$ac_objext \ 36228 conftest$ac_exeext conftest.$ac_ext 36229LIBS=$ac_check_lib_save_LIBS 36230fi 36231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36232$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36233if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36234 ac_cv_libcfile_dummy=yes 36235else 36236 ac_cv_libcfile=no 36237fi 36238 36239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36240$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36241if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36242 $as_echo_n "(cached) " >&6 36243else 36244 ac_check_lib_save_LIBS=$LIBS 36245LIBS="-lcfile $LIBS" 36246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36247/* end confdefs.h. */ 36248 36249/* Override any GCC internal prototype to avoid an error. 36250 Use char because int might match the return type of a GCC 36251 builtin and then its argument prototype would still apply. */ 36252#ifdef __cplusplus 36253extern "C" 36254#endif 36255char libcfile_file_io_control_read (); 36256int 36257main () 36258{ 36259return libcfile_file_io_control_read (); 36260 ; 36261 return 0; 36262} 36263_ACEOF 36264if ac_fn_c_try_link "$LINENO"; then : 36265 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36266else 36267 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36268fi 36269rm -f core conftest.err conftest.$ac_objext \ 36270 conftest$ac_exeext conftest.$ac_ext 36271LIBS=$ac_check_lib_save_LIBS 36272fi 36273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36274$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36275if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36276 ac_cv_libcfile_dummy=yes 36277else 36278 ac_cv_libcfile=no 36279fi 36280 36281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36282$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36283if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36284 $as_echo_n "(cached) " >&6 36285else 36286 ac_check_lib_save_LIBS=$LIBS 36287LIBS="-lcfile $LIBS" 36288cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36289/* end confdefs.h. */ 36290 36291/* Override any GCC internal prototype to avoid an error. 36292 Use char because int might match the return type of a GCC 36293 builtin and then its argument prototype would still apply. */ 36294#ifdef __cplusplus 36295extern "C" 36296#endif 36297char libcfile_file_io_control_read_with_error_code (); 36298int 36299main () 36300{ 36301return libcfile_file_io_control_read_with_error_code (); 36302 ; 36303 return 0; 36304} 36305_ACEOF 36306if ac_fn_c_try_link "$LINENO"; then : 36307 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36308else 36309 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36310fi 36311rm -f core conftest.err conftest.$ac_objext \ 36312 conftest$ac_exeext conftest.$ac_ext 36313LIBS=$ac_check_lib_save_LIBS 36314fi 36315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36316$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36317if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36318 ac_cv_libcfile_dummy=yes 36319else 36320 ac_cv_libcfile=no 36321fi 36322 36323 36324 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36326$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36327if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36328 $as_echo_n "(cached) " >&6 36329else 36330 ac_check_lib_save_LIBS=$LIBS 36331LIBS="-lcfile $LIBS" 36332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36333/* end confdefs.h. */ 36334 36335/* Override any GCC internal prototype to avoid an error. 36336 Use char because int might match the return type of a GCC 36337 builtin and then its argument prototype would still apply. */ 36338#ifdef __cplusplus 36339extern "C" 36340#endif 36341char libcfile_file_open_wide (); 36342int 36343main () 36344{ 36345return libcfile_file_open_wide (); 36346 ; 36347 return 0; 36348} 36349_ACEOF 36350if ac_fn_c_try_link "$LINENO"; then : 36351 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36352else 36353 ac_cv_lib_cfile_libcfile_file_open_wide=no 36354fi 36355rm -f core conftest.err conftest.$ac_objext \ 36356 conftest$ac_exeext conftest.$ac_ext 36357LIBS=$ac_check_lib_save_LIBS 36358fi 36359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36360$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36361if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36362 ac_cv_libcfile_dummy=yes 36363else 36364 ac_cv_libcfile=no 36365fi 36366 36367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36368$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36369if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36370 $as_echo_n "(cached) " >&6 36371else 36372 ac_check_lib_save_LIBS=$LIBS 36373LIBS="-lcfile $LIBS" 36374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36375/* end confdefs.h. */ 36376 36377/* Override any GCC internal prototype to avoid an error. 36378 Use char because int might match the return type of a GCC 36379 builtin and then its argument prototype would still apply. */ 36380#ifdef __cplusplus 36381extern "C" 36382#endif 36383char libcfile_file_open_wide_with_error_code (); 36384int 36385main () 36386{ 36387return libcfile_file_open_wide_with_error_code (); 36388 ; 36389 return 0; 36390} 36391_ACEOF 36392if ac_fn_c_try_link "$LINENO"; then : 36393 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36394else 36395 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36396fi 36397rm -f core conftest.err conftest.$ac_objext \ 36398 conftest$ac_exeext conftest.$ac_ext 36399LIBS=$ac_check_lib_save_LIBS 36400fi 36401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36402$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36403if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36404 ac_cv_libcfile_dummy=yes 36405else 36406 ac_cv_libcfile=no 36407fi 36408 36409 36410fi 36411 36412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36413$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36414if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36415 $as_echo_n "(cached) " >&6 36416else 36417 ac_check_lib_save_LIBS=$LIBS 36418LIBS="-lcfile $LIBS" 36419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36420/* end confdefs.h. */ 36421 36422/* Override any GCC internal prototype to avoid an error. 36423 Use char because int might match the return type of a GCC 36424 builtin and then its argument prototype would still apply. */ 36425#ifdef __cplusplus 36426extern "C" 36427#endif 36428char libcfile_file_exists (); 36429int 36430main () 36431{ 36432return libcfile_file_exists (); 36433 ; 36434 return 0; 36435} 36436_ACEOF 36437if ac_fn_c_try_link "$LINENO"; then : 36438 ac_cv_lib_cfile_libcfile_file_exists=yes 36439else 36440 ac_cv_lib_cfile_libcfile_file_exists=no 36441fi 36442rm -f core conftest.err conftest.$ac_objext \ 36443 conftest$ac_exeext conftest.$ac_ext 36444LIBS=$ac_check_lib_save_LIBS 36445fi 36446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36447$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36448if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36449 ac_cv_libcfile_dummy=yes 36450else 36451 ac_cv_libcfile=no 36452fi 36453 36454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36455$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36456if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36457 $as_echo_n "(cached) " >&6 36458else 36459 ac_check_lib_save_LIBS=$LIBS 36460LIBS="-lcfile $LIBS" 36461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36462/* end confdefs.h. */ 36463 36464/* Override any GCC internal prototype to avoid an error. 36465 Use char because int might match the return type of a GCC 36466 builtin and then its argument prototype would still apply. */ 36467#ifdef __cplusplus 36468extern "C" 36469#endif 36470char libcfile_file_remove (); 36471int 36472main () 36473{ 36474return libcfile_file_remove (); 36475 ; 36476 return 0; 36477} 36478_ACEOF 36479if ac_fn_c_try_link "$LINENO"; then : 36480 ac_cv_lib_cfile_libcfile_file_remove=yes 36481else 36482 ac_cv_lib_cfile_libcfile_file_remove=no 36483fi 36484rm -f core conftest.err conftest.$ac_objext \ 36485 conftest$ac_exeext conftest.$ac_ext 36486LIBS=$ac_check_lib_save_LIBS 36487fi 36488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36489$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36490if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36491 ac_cv_libcfile_dummy=yes 36492else 36493 ac_cv_libcfile=no 36494fi 36495 36496 36497 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36499$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36500if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36501 $as_echo_n "(cached) " >&6 36502else 36503 ac_check_lib_save_LIBS=$LIBS 36504LIBS="-lcfile $LIBS" 36505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36506/* end confdefs.h. */ 36507 36508/* Override any GCC internal prototype to avoid an error. 36509 Use char because int might match the return type of a GCC 36510 builtin and then its argument prototype would still apply. */ 36511#ifdef __cplusplus 36512extern "C" 36513#endif 36514char libcfile_file_exists_wide (); 36515int 36516main () 36517{ 36518return libcfile_file_exists_wide (); 36519 ; 36520 return 0; 36521} 36522_ACEOF 36523if ac_fn_c_try_link "$LINENO"; then : 36524 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36525else 36526 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36527fi 36528rm -f core conftest.err conftest.$ac_objext \ 36529 conftest$ac_exeext conftest.$ac_ext 36530LIBS=$ac_check_lib_save_LIBS 36531fi 36532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36533$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36534if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36535 ac_cv_libcfile_dummy=yes 36536else 36537 ac_cv_libcfile=no 36538fi 36539 36540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36541$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36542if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36543 $as_echo_n "(cached) " >&6 36544else 36545 ac_check_lib_save_LIBS=$LIBS 36546LIBS="-lcfile $LIBS" 36547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36548/* end confdefs.h. */ 36549 36550/* Override any GCC internal prototype to avoid an error. 36551 Use char because int might match the return type of a GCC 36552 builtin and then its argument prototype would still apply. */ 36553#ifdef __cplusplus 36554extern "C" 36555#endif 36556char libcfile_file_remove_wide (); 36557int 36558main () 36559{ 36560return libcfile_file_remove_wide (); 36561 ; 36562 return 0; 36563} 36564_ACEOF 36565if ac_fn_c_try_link "$LINENO"; then : 36566 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36567else 36568 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36569fi 36570rm -f core conftest.err conftest.$ac_objext \ 36571 conftest$ac_exeext conftest.$ac_ext 36572LIBS=$ac_check_lib_save_LIBS 36573fi 36574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36575$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36576if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36577 ac_cv_libcfile_dummy=yes 36578else 36579 ac_cv_libcfile=no 36580fi 36581 36582 36583fi 36584 36585 ac_cv_libcfile_LIBADD="-lcfile" 36586fi 36587 36588fi 36589 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36592as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36593See \`config.log' for more details" "$LINENO" 5; } 36594 36595fi 36596 36597fi 36598 36599 if test "x$ac_cv_libcfile" = xyes; then : 36600 36601$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36602 36603 36604fi 36605 36606 if test "x$ac_cv_libcfile" = xyes; then : 36607 HAVE_LIBCFILE=1 36608 36609else 36610 HAVE_LIBCFILE=0 36611 36612 36613fi 36614 36615 36616 if test "x$ac_cv_libcfile" != xyes; then : 36617 for ac_header in errno.h stdio.h sys/stat.h 36618do : 36619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36620ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36621if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36622 cat >>confdefs.h <<_ACEOF 36623#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36624_ACEOF 36625 36626fi 36627 36628done 36629 36630 36631 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36632do : 36633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36634ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36635if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36636 cat >>confdefs.h <<_ACEOF 36637#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36638_ACEOF 36639 36640fi 36641 36642done 36643 36644 36645 for ac_func in close fstat ftruncate ioctl lseek open read write 36646do : 36647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36648ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36649if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36650 cat >>confdefs.h <<_ACEOF 36651#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36652_ACEOF 36653 36654fi 36655done 36656 36657 36658 if test "x$ac_cv_func_close" != xyes; then : 36659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36660$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36661as_fn_error 1 "Missing function: close 36662See \`config.log' for more details" "$LINENO" 5; } 36663 36664fi 36665 36666 for ac_func in posix_fadvise 36667do : 36668 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36669if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36670 cat >>confdefs.h <<_ACEOF 36671#define HAVE_POSIX_FADVISE 1 36672_ACEOF 36673 36674fi 36675done 36676 36677 36678 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36680$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36681 36682 SAVE_CFLAGS="$CFLAGS" 36683 CFLAGS="$CFLAGS -Wall -Werror" 36684 ac_ext=c 36685ac_cpp='$CPP $CPPFLAGS' 36686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36688ac_compiler_gnu=$ac_cv_c_compiler_gnu 36689 36690 36691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36692/* end confdefs.h. */ 36693#include <fcntl.h> 36694int 36695main () 36696{ 36697#if !defined( POSIX_FADV_SEQUENTIAL ) 36698#define POSIX_FADV_SEQUENTIAL 2 36699#endif 36700posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36701 ; 36702 return 0; 36703} 36704_ACEOF 36705if ac_fn_c_try_link "$LINENO"; then : 36706 ac_cv_func_posix_fadvise=yes 36707else 36708 ac_cv_func_posix_fadvise=no 36709fi 36710rm -f core conftest.err conftest.$ac_objext \ 36711 conftest$ac_exeext conftest.$ac_ext 36712 36713 ac_ext=c 36714ac_cpp='$CPP $CPPFLAGS' 36715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36717ac_compiler_gnu=$ac_cv_c_compiler_gnu 36718 36719 CFLAGS="$SAVE_CFLAGS" 36720 36721 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36723$as_echo "yes" >&6; } 36724 36725$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36726 36727else 36728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36729$as_echo "no" >&6; } 36730fi 36731 36732fi 36733 36734 36735 if test "x$ac_cv_func_fstat" != xyes; then : 36736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36738as_fn_error 1 "Missing function: fstat 36739See \`config.log' for more details" "$LINENO" 5; } 36740 36741fi 36742 36743 if test "x$ac_cv_func_ftruncate" != xyes; then : 36744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36745$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36746as_fn_error 1 "Missing function: ftruncate 36747See \`config.log' for more details" "$LINENO" 5; } 36748 36749fi 36750 36751 if test x"$ac_cv_enable_winapi" = xno; then : 36752 if test "x$ac_cv_func_ioctl" != xyes; then : 36753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36755as_fn_error 1 "Missing function: ioctl 36756See \`config.log' for more details" "$LINENO" 5; } 36757 36758fi 36759 36760fi 36761 36762 if test "x$ac_cv_func_lseek" != xyes; then : 36763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36764$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36765as_fn_error 1 "Missing function: lseek 36766See \`config.log' for more details" "$LINENO" 5; } 36767 36768fi 36769 36770 if test "x$ac_cv_func_open" != xyes; then : 36771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36772$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36773as_fn_error 1 "Missing function: open 36774See \`config.log' for more details" "$LINENO" 5; } 36775 36776fi 36777 36778 if test "x$ac_cv_func_read" != xyes; then : 36779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36781as_fn_error 1 "Missing function: read 36782See \`config.log' for more details" "$LINENO" 5; } 36783 36784fi 36785 36786 if test "x$ac_cv_func_write" != xyes; then : 36787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36788$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36789as_fn_error 1 "Missing function: write 36790See \`config.log' for more details" "$LINENO" 5; } 36791 36792fi 36793 36794 for ac_func in stat unlink 36795do : 36796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36797ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36798if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36799 cat >>confdefs.h <<_ACEOF 36800#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36801_ACEOF 36802 36803fi 36804done 36805 36806 36807 if test "x$ac_cv_func_stat" != xyes; then : 36808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36810as_fn_error 1 "Missing function: stat 36811See \`config.log' for more details" "$LINENO" 5; } 36812 36813fi 36814 36815 if test "x$ac_cv_func_unlink" != xyes; then : 36816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36818as_fn_error 1 "Missing function: unlink 36819See \`config.log' for more details" "$LINENO" 5; } 36820 36821fi 36822 36823 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36824 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36825 36826 ac_cv_libcfile=local 36827 36828 36829 36830$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36831 36832 HAVE_LOCAL_LIBCFILE=1 36833 36834 36835fi 36836 36837 if test "x$ac_cv_libcfile" = xlocal; then 36838 HAVE_LOCAL_LIBCFILE_TRUE= 36839 HAVE_LOCAL_LIBCFILE_FALSE='#' 36840else 36841 HAVE_LOCAL_LIBCFILE_TRUE='#' 36842 HAVE_LOCAL_LIBCFILE_FALSE= 36843fi 36844 36845 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36846 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36847 36848 36849fi 36850 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36851 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36852 36853 36854fi 36855 36856 if test "x$ac_cv_libcfile" = xyes; then : 36857 ax_libcfile_pc_libs_private=-lcfile 36858 36859 36860fi 36861 36862 if test "x$ac_cv_libcfile" = xyes; then : 36863 ax_libcfile_spec_requires=libcfile 36864 36865 ax_libcfile_spec_build_requires=libcfile-devel 36866 36867 36868fi 36869 36870 36871 36872 36873# Check whether --with-libcpath was given. 36874if test "${with_libcpath+set}" = set; then : 36875 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36876else 36877 ac_cv_with_libcpath=auto-detect 36878fi 36879 36880 { $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 36881$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; } 36882if ${ac_cv_with_libcpath+:} false; then : 36883 $as_echo_n "(cached) " >&6 36884else 36885 ac_cv_with_libcpath=auto-detect 36886fi 36887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36888$as_echo "$ac_cv_with_libcpath" >&6; } 36889 36890 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36891 ac_cv_libcpath=no 36892else 36893 ac_cv_libcpath=check 36894 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36895 if test -d "$ac_cv_with_libcpath"; then : 36896 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36897 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36898else 36899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36900$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36901as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36902See \`config.log' for more details" "$LINENO" 5; } 36903 36904fi 36905 36906else 36907 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36908 36909pkg_failed=no 36910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36911$as_echo_n "checking for libcpath... " >&6; } 36912 36913if test -n "$libcpath_CFLAGS"; then 36914 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36915 elif test -n "$PKG_CONFIG"; then 36916 if test -n "$PKG_CONFIG" && \ 36917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36918 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36919 ac_status=$? 36920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36921 test $ac_status = 0; }; then 36922 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36923 test "x$?" != "x0" && pkg_failed=yes 36924else 36925 pkg_failed=yes 36926fi 36927 else 36928 pkg_failed=untried 36929fi 36930if test -n "$libcpath_LIBS"; then 36931 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 36932 elif test -n "$PKG_CONFIG"; then 36933 if test -n "$PKG_CONFIG" && \ 36934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36935 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36936 ac_status=$? 36937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36938 test $ac_status = 0; }; then 36939 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 36940 test "x$?" != "x0" && pkg_failed=yes 36941else 36942 pkg_failed=yes 36943fi 36944 else 36945 pkg_failed=untried 36946fi 36947 36948 36949 36950if test $pkg_failed = yes; then 36951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36952$as_echo "no" >&6; } 36953 36954if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 36955 _pkg_short_errors_supported=yes 36956else 36957 _pkg_short_errors_supported=no 36958fi 36959 if test $_pkg_short_errors_supported = yes; then 36960 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 36961 else 36962 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 36963 fi 36964 # Put the nasty error message in config.log where it belongs 36965 echo "$libcpath_PKG_ERRORS" >&5 36966 36967 ac_cv_libcpath=check 36968elif test $pkg_failed = untried; then 36969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36970$as_echo "no" >&6; } 36971 ac_cv_libcpath=check 36972else 36973 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 36974 libcpath_LIBS=$pkg_cv_libcpath_LIBS 36975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36976$as_echo "yes" >&6; } 36977 ac_cv_libcpath=yes 36978fi 36979 36980fi 36981 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 36982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 36983$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 36984if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 36985 $as_echo_n "(cached) " >&6 36986else 36987 ac_ext=c 36988ac_cpp='$CPP $CPPFLAGS' 36989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36991ac_compiler_gnu=$ac_cv_c_compiler_gnu 36992 36993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36994/* end confdefs.h. */ 36995#include <libcpath/features.h> 36996int 36997main () 36998{ 36999#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37000#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37001#endif 37002 ; 37003 return 0; 37004} 37005_ACEOF 37006if ac_fn_c_try_compile "$LINENO"; then : 37007 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37008else 37009 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37010fi 37011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37012 ac_ext=c 37013ac_cpp='$CPP $CPPFLAGS' 37014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37016ac_compiler_gnu=$ac_cv_c_compiler_gnu 37017 37018fi 37019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37020$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37021 37022 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37023 ac_cv_libcpath=no 37024fi 37025 37026fi 37027 if test "x$ac_cv_libcpath" = xyes; then : 37028 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37029 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37030fi 37031 37032fi 37033 37034 if test "x$ac_cv_libcpath" = xcheck; then : 37035 for ac_header in libcpath.h 37036do : 37037 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37038if test "x$ac_cv_header_libcpath_h" = xyes; then : 37039 cat >>confdefs.h <<_ACEOF 37040#define HAVE_LIBCPATH_H 1 37041_ACEOF 37042 37043fi 37044 37045done 37046 37047 37048 if test "x$ac_cv_header_libcpath_h" = xno; then : 37049 ac_cv_libcpath=no 37050else 37051 ac_cv_libcpath=yes 37052 37053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37054$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37055if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37056 $as_echo_n "(cached) " >&6 37057else 37058 ac_check_lib_save_LIBS=$LIBS 37059LIBS="-lcpath $LIBS" 37060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37061/* end confdefs.h. */ 37062 37063/* Override any GCC internal prototype to avoid an error. 37064 Use char because int might match the return type of a GCC 37065 builtin and then its argument prototype would still apply. */ 37066#ifdef __cplusplus 37067extern "C" 37068#endif 37069char libcpath_get_version (); 37070int 37071main () 37072{ 37073return libcpath_get_version (); 37074 ; 37075 return 0; 37076} 37077_ACEOF 37078if ac_fn_c_try_link "$LINENO"; then : 37079 ac_cv_lib_cpath_libcpath_get_version=yes 37080else 37081 ac_cv_lib_cpath_libcpath_get_version=no 37082fi 37083rm -f core conftest.err conftest.$ac_objext \ 37084 conftest$ac_exeext conftest.$ac_ext 37085LIBS=$ac_check_lib_save_LIBS 37086fi 37087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37088$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37089if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37090 ac_cv_libcpath_dummy=yes 37091else 37092 ac_cv_libcpath=no 37093fi 37094 37095 37096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37097$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37098if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37099 $as_echo_n "(cached) " >&6 37100else 37101 ac_check_lib_save_LIBS=$LIBS 37102LIBS="-lcpath $LIBS" 37103cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37104/* end confdefs.h. */ 37105 37106/* Override any GCC internal prototype to avoid an error. 37107 Use char because int might match the return type of a GCC 37108 builtin and then its argument prototype would still apply. */ 37109#ifdef __cplusplus 37110extern "C" 37111#endif 37112char libcpath_path_change_directory (); 37113int 37114main () 37115{ 37116return libcpath_path_change_directory (); 37117 ; 37118 return 0; 37119} 37120_ACEOF 37121if ac_fn_c_try_link "$LINENO"; then : 37122 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37123else 37124 ac_cv_lib_cpath_libcpath_path_change_directory=no 37125fi 37126rm -f core conftest.err conftest.$ac_objext \ 37127 conftest$ac_exeext conftest.$ac_ext 37128LIBS=$ac_check_lib_save_LIBS 37129fi 37130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37131$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37132if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37133 ac_cv_libcpath_dummy=yes 37134else 37135 ac_cv_libcpath=no 37136fi 37137 37138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37139$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37140if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37141 $as_echo_n "(cached) " >&6 37142else 37143 ac_check_lib_save_LIBS=$LIBS 37144LIBS="-lcpath $LIBS" 37145cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37146/* end confdefs.h. */ 37147 37148/* Override any GCC internal prototype to avoid an error. 37149 Use char because int might match the return type of a GCC 37150 builtin and then its argument prototype would still apply. */ 37151#ifdef __cplusplus 37152extern "C" 37153#endif 37154char libcpath_path_get_current_working_directory (); 37155int 37156main () 37157{ 37158return libcpath_path_get_current_working_directory (); 37159 ; 37160 return 0; 37161} 37162_ACEOF 37163if ac_fn_c_try_link "$LINENO"; then : 37164 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37165else 37166 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37167fi 37168rm -f core conftest.err conftest.$ac_objext \ 37169 conftest$ac_exeext conftest.$ac_ext 37170LIBS=$ac_check_lib_save_LIBS 37171fi 37172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37173$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37174if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37175 ac_cv_libcpath_dummy=yes 37176else 37177 ac_cv_libcpath=no 37178fi 37179 37180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37181$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37182if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37183 $as_echo_n "(cached) " >&6 37184else 37185 ac_check_lib_save_LIBS=$LIBS 37186LIBS="-lcpath $LIBS" 37187cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37188/* end confdefs.h. */ 37189 37190/* Override any GCC internal prototype to avoid an error. 37191 Use char because int might match the return type of a GCC 37192 builtin and then its argument prototype would still apply. */ 37193#ifdef __cplusplus 37194extern "C" 37195#endif 37196char libcpath_path_get_full_path (); 37197int 37198main () 37199{ 37200return libcpath_path_get_full_path (); 37201 ; 37202 return 0; 37203} 37204_ACEOF 37205if ac_fn_c_try_link "$LINENO"; then : 37206 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37207else 37208 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37209fi 37210rm -f core conftest.err conftest.$ac_objext \ 37211 conftest$ac_exeext conftest.$ac_ext 37212LIBS=$ac_check_lib_save_LIBS 37213fi 37214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37215$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37216if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37217 ac_cv_libcpath_dummy=yes 37218else 37219 ac_cv_libcpath=no 37220fi 37221 37222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37223$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37224if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37225 $as_echo_n "(cached) " >&6 37226else 37227 ac_check_lib_save_LIBS=$LIBS 37228LIBS="-lcpath $LIBS" 37229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37230/* end confdefs.h. */ 37231 37232/* Override any GCC internal prototype to avoid an error. 37233 Use char because int might match the return type of a GCC 37234 builtin and then its argument prototype would still apply. */ 37235#ifdef __cplusplus 37236extern "C" 37237#endif 37238char libcpath_path_get_sanitized_filename (); 37239int 37240main () 37241{ 37242return libcpath_path_get_sanitized_filename (); 37243 ; 37244 return 0; 37245} 37246_ACEOF 37247if ac_fn_c_try_link "$LINENO"; then : 37248 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37249else 37250 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37251fi 37252rm -f core conftest.err conftest.$ac_objext \ 37253 conftest$ac_exeext conftest.$ac_ext 37254LIBS=$ac_check_lib_save_LIBS 37255fi 37256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37257$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37258if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37259 ac_cv_libcpath_dummy=yes 37260else 37261 ac_cv_libcpath=no 37262fi 37263 37264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37265$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37266if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37267 $as_echo_n "(cached) " >&6 37268else 37269 ac_check_lib_save_LIBS=$LIBS 37270LIBS="-lcpath $LIBS" 37271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37272/* end confdefs.h. */ 37273 37274/* Override any GCC internal prototype to avoid an error. 37275 Use char because int might match the return type of a GCC 37276 builtin and then its argument prototype would still apply. */ 37277#ifdef __cplusplus 37278extern "C" 37279#endif 37280char libcpath_path_get_sanitized_path (); 37281int 37282main () 37283{ 37284return libcpath_path_get_sanitized_path (); 37285 ; 37286 return 0; 37287} 37288_ACEOF 37289if ac_fn_c_try_link "$LINENO"; then : 37290 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37291else 37292 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37293fi 37294rm -f core conftest.err conftest.$ac_objext \ 37295 conftest$ac_exeext conftest.$ac_ext 37296LIBS=$ac_check_lib_save_LIBS 37297fi 37298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37299$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37300if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37301 ac_cv_libcpath_dummy=yes 37302else 37303 ac_cv_libcpath=no 37304fi 37305 37306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37307$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37308if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37309 $as_echo_n "(cached) " >&6 37310else 37311 ac_check_lib_save_LIBS=$LIBS 37312LIBS="-lcpath $LIBS" 37313cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37314/* end confdefs.h. */ 37315 37316/* Override any GCC internal prototype to avoid an error. 37317 Use char because int might match the return type of a GCC 37318 builtin and then its argument prototype would still apply. */ 37319#ifdef __cplusplus 37320extern "C" 37321#endif 37322char libcpath_path_join (); 37323int 37324main () 37325{ 37326return libcpath_path_join (); 37327 ; 37328 return 0; 37329} 37330_ACEOF 37331if ac_fn_c_try_link "$LINENO"; then : 37332 ac_cv_lib_cpath_libcpath_path_join=yes 37333else 37334 ac_cv_lib_cpath_libcpath_path_join=no 37335fi 37336rm -f core conftest.err conftest.$ac_objext \ 37337 conftest$ac_exeext conftest.$ac_ext 37338LIBS=$ac_check_lib_save_LIBS 37339fi 37340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37341$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37342if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37343 ac_cv_libcpath_dummy=yes 37344else 37345 ac_cv_libcpath=no 37346fi 37347 37348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37349$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37350if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37351 $as_echo_n "(cached) " >&6 37352else 37353 ac_check_lib_save_LIBS=$LIBS 37354LIBS="-lcpath $LIBS" 37355cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37356/* end confdefs.h. */ 37357 37358/* Override any GCC internal prototype to avoid an error. 37359 Use char because int might match the return type of a GCC 37360 builtin and then its argument prototype would still apply. */ 37361#ifdef __cplusplus 37362extern "C" 37363#endif 37364char libcpath_path_make_directory (); 37365int 37366main () 37367{ 37368return libcpath_path_make_directory (); 37369 ; 37370 return 0; 37371} 37372_ACEOF 37373if ac_fn_c_try_link "$LINENO"; then : 37374 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37375else 37376 ac_cv_lib_cpath_libcpath_path_make_directory=no 37377fi 37378rm -f core conftest.err conftest.$ac_objext \ 37379 conftest$ac_exeext conftest.$ac_ext 37380LIBS=$ac_check_lib_save_LIBS 37381fi 37382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37383$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37384if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37385 ac_cv_libcpath_dummy=yes 37386else 37387 ac_cv_libcpath=no 37388fi 37389 37390 37391 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37393$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37394if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37395 $as_echo_n "(cached) " >&6 37396else 37397 ac_check_lib_save_LIBS=$LIBS 37398LIBS="-lcpath $LIBS" 37399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37400/* end confdefs.h. */ 37401 37402/* Override any GCC internal prototype to avoid an error. 37403 Use char because int might match the return type of a GCC 37404 builtin and then its argument prototype would still apply. */ 37405#ifdef __cplusplus 37406extern "C" 37407#endif 37408char libcpath_path_change_directory_wide (); 37409int 37410main () 37411{ 37412return libcpath_path_change_directory_wide (); 37413 ; 37414 return 0; 37415} 37416_ACEOF 37417if ac_fn_c_try_link "$LINENO"; then : 37418 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37419else 37420 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37421fi 37422rm -f core conftest.err conftest.$ac_objext \ 37423 conftest$ac_exeext conftest.$ac_ext 37424LIBS=$ac_check_lib_save_LIBS 37425fi 37426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37427$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37428if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37429 ac_cv_libcpath_dummy=yes 37430else 37431 ac_cv_libcpath=no 37432fi 37433 37434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37435$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37436if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37437 $as_echo_n "(cached) " >&6 37438else 37439 ac_check_lib_save_LIBS=$LIBS 37440LIBS="-lcpath $LIBS" 37441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37442/* end confdefs.h. */ 37443 37444/* Override any GCC internal prototype to avoid an error. 37445 Use char because int might match the return type of a GCC 37446 builtin and then its argument prototype would still apply. */ 37447#ifdef __cplusplus 37448extern "C" 37449#endif 37450char libcpath_path_get_current_working_directory_wide (); 37451int 37452main () 37453{ 37454return libcpath_path_get_current_working_directory_wide (); 37455 ; 37456 return 0; 37457} 37458_ACEOF 37459if ac_fn_c_try_link "$LINENO"; then : 37460 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37461else 37462 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37463fi 37464rm -f core conftest.err conftest.$ac_objext \ 37465 conftest$ac_exeext conftest.$ac_ext 37466LIBS=$ac_check_lib_save_LIBS 37467fi 37468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37469$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37470if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37471 ac_cv_libcpath_dummy=yes 37472else 37473 ac_cv_libcpath=no 37474fi 37475 37476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37477$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37478if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37479 $as_echo_n "(cached) " >&6 37480else 37481 ac_check_lib_save_LIBS=$LIBS 37482LIBS="-lcpath $LIBS" 37483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37484/* end confdefs.h. */ 37485 37486/* Override any GCC internal prototype to avoid an error. 37487 Use char because int might match the return type of a GCC 37488 builtin and then its argument prototype would still apply. */ 37489#ifdef __cplusplus 37490extern "C" 37491#endif 37492char libcpath_path_get_full_path_wide (); 37493int 37494main () 37495{ 37496return libcpath_path_get_full_path_wide (); 37497 ; 37498 return 0; 37499} 37500_ACEOF 37501if ac_fn_c_try_link "$LINENO"; then : 37502 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37503else 37504 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37505fi 37506rm -f core conftest.err conftest.$ac_objext \ 37507 conftest$ac_exeext conftest.$ac_ext 37508LIBS=$ac_check_lib_save_LIBS 37509fi 37510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37511$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37512if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37513 ac_cv_libcpath_dummy=yes 37514else 37515 ac_cv_libcpath=no 37516fi 37517 37518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37519$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37520if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37521 $as_echo_n "(cached) " >&6 37522else 37523 ac_check_lib_save_LIBS=$LIBS 37524LIBS="-lcpath $LIBS" 37525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37526/* end confdefs.h. */ 37527 37528/* Override any GCC internal prototype to avoid an error. 37529 Use char because int might match the return type of a GCC 37530 builtin and then its argument prototype would still apply. */ 37531#ifdef __cplusplus 37532extern "C" 37533#endif 37534char libcpath_path_get_sanitized_filename_wide (); 37535int 37536main () 37537{ 37538return libcpath_path_get_sanitized_filename_wide (); 37539 ; 37540 return 0; 37541} 37542_ACEOF 37543if ac_fn_c_try_link "$LINENO"; then : 37544 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37545else 37546 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37547fi 37548rm -f core conftest.err conftest.$ac_objext \ 37549 conftest$ac_exeext conftest.$ac_ext 37550LIBS=$ac_check_lib_save_LIBS 37551fi 37552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37553$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37554if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37555 ac_cv_libcpath_dummy=yes 37556else 37557 ac_cv_libcpath=no 37558fi 37559 37560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37561$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37562if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37563 $as_echo_n "(cached) " >&6 37564else 37565 ac_check_lib_save_LIBS=$LIBS 37566LIBS="-lcpath $LIBS" 37567cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37568/* end confdefs.h. */ 37569 37570/* Override any GCC internal prototype to avoid an error. 37571 Use char because int might match the return type of a GCC 37572 builtin and then its argument prototype would still apply. */ 37573#ifdef __cplusplus 37574extern "C" 37575#endif 37576char libcpath_path_get_sanitized_path_wide (); 37577int 37578main () 37579{ 37580return libcpath_path_get_sanitized_path_wide (); 37581 ; 37582 return 0; 37583} 37584_ACEOF 37585if ac_fn_c_try_link "$LINENO"; then : 37586 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37587else 37588 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37589fi 37590rm -f core conftest.err conftest.$ac_objext \ 37591 conftest$ac_exeext conftest.$ac_ext 37592LIBS=$ac_check_lib_save_LIBS 37593fi 37594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37595$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37596if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37597 ac_cv_libcpath_dummy=yes 37598else 37599 ac_cv_libcpath=no 37600fi 37601 37602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37603$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37604if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37605 $as_echo_n "(cached) " >&6 37606else 37607 ac_check_lib_save_LIBS=$LIBS 37608LIBS="-lcpath $LIBS" 37609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37610/* end confdefs.h. */ 37611 37612/* Override any GCC internal prototype to avoid an error. 37613 Use char because int might match the return type of a GCC 37614 builtin and then its argument prototype would still apply. */ 37615#ifdef __cplusplus 37616extern "C" 37617#endif 37618char libcpath_path_join_wide (); 37619int 37620main () 37621{ 37622return libcpath_path_join_wide (); 37623 ; 37624 return 0; 37625} 37626_ACEOF 37627if ac_fn_c_try_link "$LINENO"; then : 37628 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37629else 37630 ac_cv_lib_cpath_libcpath_path_join_wide=no 37631fi 37632rm -f core conftest.err conftest.$ac_objext \ 37633 conftest$ac_exeext conftest.$ac_ext 37634LIBS=$ac_check_lib_save_LIBS 37635fi 37636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37637$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37638if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37639 ac_cv_libcpath_dummy=yes 37640else 37641 ac_cv_libcpath=no 37642fi 37643 37644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37645$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37646if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37647 $as_echo_n "(cached) " >&6 37648else 37649 ac_check_lib_save_LIBS=$LIBS 37650LIBS="-lcpath $LIBS" 37651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37652/* end confdefs.h. */ 37653 37654/* Override any GCC internal prototype to avoid an error. 37655 Use char because int might match the return type of a GCC 37656 builtin and then its argument prototype would still apply. */ 37657#ifdef __cplusplus 37658extern "C" 37659#endif 37660char libcpath_path_make_directory_wide (); 37661int 37662main () 37663{ 37664return libcpath_path_make_directory_wide (); 37665 ; 37666 return 0; 37667} 37668_ACEOF 37669if ac_fn_c_try_link "$LINENO"; then : 37670 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37671else 37672 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37673fi 37674rm -f core conftest.err conftest.$ac_objext \ 37675 conftest$ac_exeext conftest.$ac_ext 37676LIBS=$ac_check_lib_save_LIBS 37677fi 37678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37679$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37680if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37681 ac_cv_libcpath_dummy=yes 37682else 37683 ac_cv_libcpath=no 37684fi 37685 37686 37687fi 37688 37689 ac_cv_libcpath_LIBADD="-lcpath" 37690fi 37691 37692fi 37693 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37696as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37697See \`config.log' for more details" "$LINENO" 5; } 37698 37699fi 37700 37701fi 37702 37703 if test "x$ac_cv_libcpath" = xyes; then : 37704 37705$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37706 37707 37708fi 37709 37710 if test "x$ac_cv_libcpath" = xyes; then : 37711 HAVE_LIBCPATH=1 37712 37713else 37714 HAVE_LIBCPATH=0 37715 37716 37717fi 37718 37719 37720 if test "x$ac_cv_libcpath" != xyes; then : 37721 for ac_header in errno.h sys/stat.h sys/syslimits.h 37722do : 37723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37724ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37725if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37726 cat >>confdefs.h <<_ACEOF 37727#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37728_ACEOF 37729 37730fi 37731 37732done 37733 37734 37735 for ac_func in chdir getcwd 37736do : 37737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37738ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37739if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37740 cat >>confdefs.h <<_ACEOF 37741#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37742_ACEOF 37743 37744fi 37745done 37746 37747 37748 if test "x$ac_cv_func_chdir" != xyes; then : 37749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37751as_fn_error 1 "Missing functions: chdir 37752See \`config.log' for more details" "$LINENO" 5; } 37753 37754fi 37755 37756 if test "x$ac_cv_func_getcwd" != xyes; then : 37757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37759as_fn_error 1 "Missing functions: getcwd 37760See \`config.log' for more details" "$LINENO" 5; } 37761 37762fi 37763 37764 for ac_func in mkdir 37765do : 37766 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37767if test "x$ac_cv_func_mkdir" = xyes; then : 37768 cat >>confdefs.h <<_ACEOF 37769#define HAVE_MKDIR 1 37770_ACEOF 37771 37772fi 37773done 37774 37775 37776 if test "x$ac_cv_func_mkdir" = xyes; then : 37777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37778$as_echo_n "checking how to use mkdir... " >&6; } 37779 37780 SAVE_CFLAGS="$CFLAGS" 37781 CFLAGS="$CFLAGS -Wall -Werror" 37782 ac_ext=c 37783ac_cpp='$CPP $CPPFLAGS' 37784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37786ac_compiler_gnu=$ac_cv_c_compiler_gnu 37787 37788 37789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37790/* end confdefs.h. */ 37791#include <sys/stat.h> 37792#include <sys/types.h> 37793int 37794main () 37795{ 37796mkdir( "", 0 ) 37797 ; 37798 return 0; 37799} 37800_ACEOF 37801if ac_fn_c_try_link "$LINENO"; then : 37802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37803$as_echo "with additional mode argument" >&6; } 37804 ac_cv_cv_mkdir_mode=yes 37805else 37806 ac_cv_cv_mkdir_mode=no 37807fi 37808rm -f core conftest.err conftest.$ac_objext \ 37809 conftest$ac_exeext conftest.$ac_ext 37810 37811 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37813/* end confdefs.h. */ 37814#include <io.h> 37815int 37816main () 37817{ 37818mkdir( "" ) 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 single argument" >&5 37825$as_echo "with single argument" >&6; } 37826 ac_cv_cv_mkdir=yes 37827else 37828 ac_cv_cv_mkdir=no 37829fi 37830rm -f core conftest.err conftest.$ac_objext \ 37831 conftest$ac_exeext conftest.$ac_ext 37832 37833fi 37834 37835 ac_ext=c 37836ac_cpp='$CPP $CPPFLAGS' 37837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37839ac_compiler_gnu=$ac_cv_c_compiler_gnu 37840 37841 CFLAGS="$SAVE_CFLAGS" 37842 37843 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37845$as_echo "$as_me: WARNING: unknown" >&2;} 37846 ac_cv_func_mkdir=no 37847fi 37848 37849 if test "x$ac_cv_func_mkdir" = xyes; then : 37850 37851$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37852 37853 37854fi 37855 37856 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37857 37858$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37859 37860 37861fi 37862 37863fi 37864 37865 if test "x$ac_cv_func_mkdir" = xno; then : 37866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37867$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37868as_fn_error 1 "Missing function: mkdir 37869See \`config.log' for more details" "$LINENO" 5; } 37870 37871fi 37872 37873 37874 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37875 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37876 37877 ac_cv_libcpath=local 37878 37879 37880 37881$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37882 37883 HAVE_LOCAL_LIBCPATH=1 37884 37885 37886fi 37887 37888 if test "x$ac_cv_libcpath" = xlocal; then 37889 HAVE_LOCAL_LIBCPATH_TRUE= 37890 HAVE_LOCAL_LIBCPATH_FALSE='#' 37891else 37892 HAVE_LOCAL_LIBCPATH_TRUE='#' 37893 HAVE_LOCAL_LIBCPATH_FALSE= 37894fi 37895 37896 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37897 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37898 37899 37900fi 37901 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37902 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37903 37904 37905fi 37906 37907 if test "x$ac_cv_libcpath" = xyes; then : 37908 ax_libcpath_pc_libs_private=-lcpath 37909 37910 37911fi 37912 37913 if test "x$ac_cv_libcpath" = xyes; then : 37914 ax_libcpath_spec_requires=libcpath 37915 37916 ax_libcpath_spec_build_requires=libcpath-devel 37917 37918 37919fi 37920 37921 37922 37923 37924# Check whether --with-libbfio was given. 37925if test "${with_libbfio+set}" = set; then : 37926 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37927else 37928 ac_cv_with_libbfio=auto-detect 37929fi 37930 37931 { $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 37932$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; } 37933if ${ac_cv_with_libbfio+:} false; then : 37934 $as_echo_n "(cached) " >&6 37935else 37936 ac_cv_with_libbfio=auto-detect 37937fi 37938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 37939$as_echo "$ac_cv_with_libbfio" >&6; } 37940 37941 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 37942 ac_cv_libbfio=no 37943else 37944 ac_cv_libbfio=check 37945 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 37946 if test -d "$ac_cv_with_libbfio"; then : 37947 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 37948 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 37949else 37950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37951$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37952as_fn_error 1 "no such directory: $ac_cv_with_libbfio 37953See \`config.log' for more details" "$LINENO" 5; } 37954 37955fi 37956 37957else 37958 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 37959 37960pkg_failed=no 37961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 37962$as_echo_n "checking for libbfio... " >&6; } 37963 37964if test -n "$libbfio_CFLAGS"; then 37965 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 37966 elif test -n "$PKG_CONFIG"; then 37967 if test -n "$PKG_CONFIG" && \ 37968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 37969 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 37970 ac_status=$? 37971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37972 test $ac_status = 0; }; then 37973 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 37974 test "x$?" != "x0" && pkg_failed=yes 37975else 37976 pkg_failed=yes 37977fi 37978 else 37979 pkg_failed=untried 37980fi 37981if test -n "$libbfio_LIBS"; then 37982 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 37983 elif test -n "$PKG_CONFIG"; then 37984 if test -n "$PKG_CONFIG" && \ 37985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 37986 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 37987 ac_status=$? 37988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37989 test $ac_status = 0; }; then 37990 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 37991 test "x$?" != "x0" && pkg_failed=yes 37992else 37993 pkg_failed=yes 37994fi 37995 else 37996 pkg_failed=untried 37997fi 37998 37999 38000 38001if test $pkg_failed = yes; then 38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38003$as_echo "no" >&6; } 38004 38005if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38006 _pkg_short_errors_supported=yes 38007else 38008 _pkg_short_errors_supported=no 38009fi 38010 if test $_pkg_short_errors_supported = yes; then 38011 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38012 else 38013 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38014 fi 38015 # Put the nasty error message in config.log where it belongs 38016 echo "$libbfio_PKG_ERRORS" >&5 38017 38018 ac_cv_libbfio=check 38019elif test $pkg_failed = untried; then 38020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38021$as_echo "no" >&6; } 38022 ac_cv_libbfio=check 38023else 38024 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38025 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38027$as_echo "yes" >&6; } 38028 ac_cv_libbfio=yes 38029fi 38030 38031fi 38032 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38034$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38035if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38036 $as_echo_n "(cached) " >&6 38037else 38038 ac_ext=c 38039ac_cpp='$CPP $CPPFLAGS' 38040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38042ac_compiler_gnu=$ac_cv_c_compiler_gnu 38043 38044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38045/* end confdefs.h. */ 38046#include <libbfio/features.h> 38047int 38048main () 38049{ 38050#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38051#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38052#endif 38053 ; 38054 return 0; 38055} 38056_ACEOF 38057if ac_fn_c_try_compile "$LINENO"; then : 38058 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38059else 38060 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38061fi 38062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38063 ac_ext=c 38064ac_cpp='$CPP $CPPFLAGS' 38065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38067ac_compiler_gnu=$ac_cv_c_compiler_gnu 38068 38069fi 38070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38071$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38072 38073 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38074 ac_cv_libbfio=no 38075fi 38076 38077fi 38078 if test "x$ac_cv_libbfio" = xyes; then : 38079 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38080 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38081fi 38082 38083fi 38084 38085 if test "x$ac_cv_libbfio" = xcheck; then : 38086 for ac_header in libbfio.h 38087do : 38088 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38089if test "x$ac_cv_header_libbfio_h" = xyes; then : 38090 cat >>confdefs.h <<_ACEOF 38091#define HAVE_LIBBFIO_H 1 38092_ACEOF 38093 38094fi 38095 38096done 38097 38098 38099 if test "x$ac_cv_header_libbfio_h" = xno; then : 38100 ac_cv_libbfio=no 38101else 38102 ac_cv_libbfio=yes 38103 38104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38105$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38106if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38107 $as_echo_n "(cached) " >&6 38108else 38109 ac_check_lib_save_LIBS=$LIBS 38110LIBS="-lbfio $LIBS" 38111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38112/* end confdefs.h. */ 38113 38114/* Override any GCC internal prototype to avoid an error. 38115 Use char because int might match the return type of a GCC 38116 builtin and then its argument prototype would still apply. */ 38117#ifdef __cplusplus 38118extern "C" 38119#endif 38120char libbfio_get_version (); 38121int 38122main () 38123{ 38124return libbfio_get_version (); 38125 ; 38126 return 0; 38127} 38128_ACEOF 38129if ac_fn_c_try_link "$LINENO"; then : 38130 ac_cv_lib_bfio_libbfio_get_version=yes 38131else 38132 ac_cv_lib_bfio_libbfio_get_version=no 38133fi 38134rm -f core conftest.err conftest.$ac_objext \ 38135 conftest$ac_exeext conftest.$ac_ext 38136LIBS=$ac_check_lib_save_LIBS 38137fi 38138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38139$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38140if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38141 ac_cv_libbfio_dummy=yes 38142else 38143 ac_cv_libbfio=no 38144fi 38145 38146 38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38148$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38149if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38150 $as_echo_n "(cached) " >&6 38151else 38152 ac_check_lib_save_LIBS=$LIBS 38153LIBS="-lbfio $LIBS" 38154cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38155/* end confdefs.h. */ 38156 38157/* Override any GCC internal prototype to avoid an error. 38158 Use char because int might match the return type of a GCC 38159 builtin and then its argument prototype would still apply. */ 38160#ifdef __cplusplus 38161extern "C" 38162#endif 38163char libbfio_handle_free (); 38164int 38165main () 38166{ 38167return libbfio_handle_free (); 38168 ; 38169 return 0; 38170} 38171_ACEOF 38172if ac_fn_c_try_link "$LINENO"; then : 38173 ac_cv_lib_bfio_libbfio_handle_free=yes 38174else 38175 ac_cv_lib_bfio_libbfio_handle_free=no 38176fi 38177rm -f core conftest.err conftest.$ac_objext \ 38178 conftest$ac_exeext conftest.$ac_ext 38179LIBS=$ac_check_lib_save_LIBS 38180fi 38181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38182$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38183if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38184 ac_cv_libbfio_dummy=yes 38185else 38186 ac_cv_libbfio=no 38187fi 38188 38189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38190$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38191if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38192 $as_echo_n "(cached) " >&6 38193else 38194 ac_check_lib_save_LIBS=$LIBS 38195LIBS="-lbfio $LIBS" 38196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38197/* end confdefs.h. */ 38198 38199/* Override any GCC internal prototype to avoid an error. 38200 Use char because int might match the return type of a GCC 38201 builtin and then its argument prototype would still apply. */ 38202#ifdef __cplusplus 38203extern "C" 38204#endif 38205char libbfio_handle_open (); 38206int 38207main () 38208{ 38209return libbfio_handle_open (); 38210 ; 38211 return 0; 38212} 38213_ACEOF 38214if ac_fn_c_try_link "$LINENO"; then : 38215 ac_cv_lib_bfio_libbfio_handle_open=yes 38216else 38217 ac_cv_lib_bfio_libbfio_handle_open=no 38218fi 38219rm -f core conftest.err conftest.$ac_objext \ 38220 conftest$ac_exeext conftest.$ac_ext 38221LIBS=$ac_check_lib_save_LIBS 38222fi 38223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38224$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38225if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38226 ac_cv_libbfio_dummy=yes 38227else 38228 ac_cv_libbfio=no 38229fi 38230 38231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38232$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38233if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38234 $as_echo_n "(cached) " >&6 38235else 38236 ac_check_lib_save_LIBS=$LIBS 38237LIBS="-lbfio $LIBS" 38238cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38239/* end confdefs.h. */ 38240 38241/* Override any GCC internal prototype to avoid an error. 38242 Use char because int might match the return type of a GCC 38243 builtin and then its argument prototype would still apply. */ 38244#ifdef __cplusplus 38245extern "C" 38246#endif 38247char libbfio_handle_close (); 38248int 38249main () 38250{ 38251return libbfio_handle_close (); 38252 ; 38253 return 0; 38254} 38255_ACEOF 38256if ac_fn_c_try_link "$LINENO"; then : 38257 ac_cv_lib_bfio_libbfio_handle_close=yes 38258else 38259 ac_cv_lib_bfio_libbfio_handle_close=no 38260fi 38261rm -f core conftest.err conftest.$ac_objext \ 38262 conftest$ac_exeext conftest.$ac_ext 38263LIBS=$ac_check_lib_save_LIBS 38264fi 38265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38266$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38267if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38268 ac_cv_libbfio_dummy=yes 38269else 38270 ac_cv_libbfio=no 38271fi 38272 38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38274$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38275if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38276 $as_echo_n "(cached) " >&6 38277else 38278 ac_check_lib_save_LIBS=$LIBS 38279LIBS="-lbfio $LIBS" 38280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38281/* end confdefs.h. */ 38282 38283/* Override any GCC internal prototype to avoid an error. 38284 Use char because int might match the return type of a GCC 38285 builtin and then its argument prototype would still apply. */ 38286#ifdef __cplusplus 38287extern "C" 38288#endif 38289char libbfio_handle_exists (); 38290int 38291main () 38292{ 38293return libbfio_handle_exists (); 38294 ; 38295 return 0; 38296} 38297_ACEOF 38298if ac_fn_c_try_link "$LINENO"; then : 38299 ac_cv_lib_bfio_libbfio_handle_exists=yes 38300else 38301 ac_cv_lib_bfio_libbfio_handle_exists=no 38302fi 38303rm -f core conftest.err conftest.$ac_objext \ 38304 conftest$ac_exeext conftest.$ac_ext 38305LIBS=$ac_check_lib_save_LIBS 38306fi 38307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38308$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38309if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38310 ac_cv_libbfio_dummy=yes 38311else 38312 ac_cv_libbfio=no 38313fi 38314 38315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38316$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38317if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38318 $as_echo_n "(cached) " >&6 38319else 38320 ac_check_lib_save_LIBS=$LIBS 38321LIBS="-lbfio $LIBS" 38322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38323/* end confdefs.h. */ 38324 38325/* Override any GCC internal prototype to avoid an error. 38326 Use char because int might match the return type of a GCC 38327 builtin and then its argument prototype would still apply. */ 38328#ifdef __cplusplus 38329extern "C" 38330#endif 38331char libbfio_handle_read_buffer (); 38332int 38333main () 38334{ 38335return libbfio_handle_read_buffer (); 38336 ; 38337 return 0; 38338} 38339_ACEOF 38340if ac_fn_c_try_link "$LINENO"; then : 38341 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38342else 38343 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38344fi 38345rm -f core conftest.err conftest.$ac_objext \ 38346 conftest$ac_exeext conftest.$ac_ext 38347LIBS=$ac_check_lib_save_LIBS 38348fi 38349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38350$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38351if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38352 ac_cv_libbfio_dummy=yes 38353else 38354 ac_cv_libbfio=no 38355fi 38356 38357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38358$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38359if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38360 $as_echo_n "(cached) " >&6 38361else 38362 ac_check_lib_save_LIBS=$LIBS 38363LIBS="-lbfio $LIBS" 38364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38365/* end confdefs.h. */ 38366 38367/* Override any GCC internal prototype to avoid an error. 38368 Use char because int might match the return type of a GCC 38369 builtin and then its argument prototype would still apply. */ 38370#ifdef __cplusplus 38371extern "C" 38372#endif 38373char libbfio_handle_read_buffer_at_offset (); 38374int 38375main () 38376{ 38377return libbfio_handle_read_buffer_at_offset (); 38378 ; 38379 return 0; 38380} 38381_ACEOF 38382if ac_fn_c_try_link "$LINENO"; then : 38383 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38384else 38385 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38386fi 38387rm -f core conftest.err conftest.$ac_objext \ 38388 conftest$ac_exeext conftest.$ac_ext 38389LIBS=$ac_check_lib_save_LIBS 38390fi 38391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38392$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38393if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38394 ac_cv_libbfio_dummy=yes 38395else 38396 ac_cv_libbfio=no 38397fi 38398 38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38400$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38401if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38402 $as_echo_n "(cached) " >&6 38403else 38404 ac_check_lib_save_LIBS=$LIBS 38405LIBS="-lbfio $LIBS" 38406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38407/* end confdefs.h. */ 38408 38409/* Override any GCC internal prototype to avoid an error. 38410 Use char because int might match the return type of a GCC 38411 builtin and then its argument prototype would still apply. */ 38412#ifdef __cplusplus 38413extern "C" 38414#endif 38415char libbfio_handle_write_buffer (); 38416int 38417main () 38418{ 38419return libbfio_handle_write_buffer (); 38420 ; 38421 return 0; 38422} 38423_ACEOF 38424if ac_fn_c_try_link "$LINENO"; then : 38425 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38426else 38427 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38428fi 38429rm -f core conftest.err conftest.$ac_objext \ 38430 conftest$ac_exeext conftest.$ac_ext 38431LIBS=$ac_check_lib_save_LIBS 38432fi 38433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38434$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38435if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38436 ac_cv_libbfio_dummy=yes 38437else 38438 ac_cv_libbfio=no 38439fi 38440 38441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38442$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38443if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38444 $as_echo_n "(cached) " >&6 38445else 38446 ac_check_lib_save_LIBS=$LIBS 38447LIBS="-lbfio $LIBS" 38448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38449/* end confdefs.h. */ 38450 38451/* Override any GCC internal prototype to avoid an error. 38452 Use char because int might match the return type of a GCC 38453 builtin and then its argument prototype would still apply. */ 38454#ifdef __cplusplus 38455extern "C" 38456#endif 38457char libbfio_handle_write_buffer_at_offset (); 38458int 38459main () 38460{ 38461return libbfio_handle_write_buffer_at_offset (); 38462 ; 38463 return 0; 38464} 38465_ACEOF 38466if ac_fn_c_try_link "$LINENO"; then : 38467 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38468else 38469 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38470fi 38471rm -f core conftest.err conftest.$ac_objext \ 38472 conftest$ac_exeext conftest.$ac_ext 38473LIBS=$ac_check_lib_save_LIBS 38474fi 38475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38476$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38477if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38478 ac_cv_libbfio_dummy=yes 38479else 38480 ac_cv_libbfio=no 38481fi 38482 38483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38484$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38485if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38486 $as_echo_n "(cached) " >&6 38487else 38488 ac_check_lib_save_LIBS=$LIBS 38489LIBS="-lbfio $LIBS" 38490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38491/* end confdefs.h. */ 38492 38493/* Override any GCC internal prototype to avoid an error. 38494 Use char because int might match the return type of a GCC 38495 builtin and then its argument prototype would still apply. */ 38496#ifdef __cplusplus 38497extern "C" 38498#endif 38499char libbfio_handle_seek_offset (); 38500int 38501main () 38502{ 38503return libbfio_handle_seek_offset (); 38504 ; 38505 return 0; 38506} 38507_ACEOF 38508if ac_fn_c_try_link "$LINENO"; then : 38509 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38510else 38511 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38512fi 38513rm -f core conftest.err conftest.$ac_objext \ 38514 conftest$ac_exeext conftest.$ac_ext 38515LIBS=$ac_check_lib_save_LIBS 38516fi 38517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38518$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38519if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38520 ac_cv_libbfio_dummy=yes 38521else 38522 ac_cv_libbfio=no 38523fi 38524 38525 38526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38527$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38528if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38529 $as_echo_n "(cached) " >&6 38530else 38531 ac_check_lib_save_LIBS=$LIBS 38532LIBS="-lbfio $LIBS" 38533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38534/* end confdefs.h. */ 38535 38536/* Override any GCC internal prototype to avoid an error. 38537 Use char because int might match the return type of a GCC 38538 builtin and then its argument prototype would still apply. */ 38539#ifdef __cplusplus 38540extern "C" 38541#endif 38542char libbfio_handle_is_open (); 38543int 38544main () 38545{ 38546return libbfio_handle_is_open (); 38547 ; 38548 return 0; 38549} 38550_ACEOF 38551if ac_fn_c_try_link "$LINENO"; then : 38552 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38553else 38554 ac_cv_lib_bfio_libbfio_handle_is_open=no 38555fi 38556rm -f core conftest.err conftest.$ac_objext \ 38557 conftest$ac_exeext conftest.$ac_ext 38558LIBS=$ac_check_lib_save_LIBS 38559fi 38560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38561$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38562if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38563 ac_cv_libbfio_dummy=yes 38564else 38565 ac_cv_libbfio=no 38566fi 38567 38568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38569$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38570if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38571 $as_echo_n "(cached) " >&6 38572else 38573 ac_check_lib_save_LIBS=$LIBS 38574LIBS="-lbfio $LIBS" 38575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38576/* end confdefs.h. */ 38577 38578/* Override any GCC internal prototype to avoid an error. 38579 Use char because int might match the return type of a GCC 38580 builtin and then its argument prototype would still apply. */ 38581#ifdef __cplusplus 38582extern "C" 38583#endif 38584char libbfio_handle_get_offset (); 38585int 38586main () 38587{ 38588return libbfio_handle_get_offset (); 38589 ; 38590 return 0; 38591} 38592_ACEOF 38593if ac_fn_c_try_link "$LINENO"; then : 38594 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38595else 38596 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38597fi 38598rm -f core conftest.err conftest.$ac_objext \ 38599 conftest$ac_exeext conftest.$ac_ext 38600LIBS=$ac_check_lib_save_LIBS 38601fi 38602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38603$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38604if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38605 ac_cv_libbfio_dummy=yes 38606else 38607 ac_cv_libbfio=no 38608fi 38609 38610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38611$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38612if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38613 $as_echo_n "(cached) " >&6 38614else 38615 ac_check_lib_save_LIBS=$LIBS 38616LIBS="-lbfio $LIBS" 38617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38618/* end confdefs.h. */ 38619 38620/* Override any GCC internal prototype to avoid an error. 38621 Use char because int might match the return type of a GCC 38622 builtin and then its argument prototype would still apply. */ 38623#ifdef __cplusplus 38624extern "C" 38625#endif 38626char libbfio_handle_get_size (); 38627int 38628main () 38629{ 38630return libbfio_handle_get_size (); 38631 ; 38632 return 0; 38633} 38634_ACEOF 38635if ac_fn_c_try_link "$LINENO"; then : 38636 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38637else 38638 ac_cv_lib_bfio_libbfio_handle_get_size=no 38639fi 38640rm -f core conftest.err conftest.$ac_objext \ 38641 conftest$ac_exeext conftest.$ac_ext 38642LIBS=$ac_check_lib_save_LIBS 38643fi 38644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38645$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38646if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38647 ac_cv_libbfio_dummy=yes 38648else 38649 ac_cv_libbfio=no 38650fi 38651 38652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38653$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38654if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38655 $as_echo_n "(cached) " >&6 38656else 38657 ac_check_lib_save_LIBS=$LIBS 38658LIBS="-lbfio $LIBS" 38659cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38660/* end confdefs.h. */ 38661 38662/* Override any GCC internal prototype to avoid an error. 38663 Use char because int might match the return type of a GCC 38664 builtin and then its argument prototype would still apply. */ 38665#ifdef __cplusplus 38666extern "C" 38667#endif 38668char libbfio_handle_set_track_offsets_read (); 38669int 38670main () 38671{ 38672return libbfio_handle_set_track_offsets_read (); 38673 ; 38674 return 0; 38675} 38676_ACEOF 38677if ac_fn_c_try_link "$LINENO"; then : 38678 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38679else 38680 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38681fi 38682rm -f core conftest.err conftest.$ac_objext \ 38683 conftest$ac_exeext conftest.$ac_ext 38684LIBS=$ac_check_lib_save_LIBS 38685fi 38686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38687$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38688if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38689 ac_cv_libbfio_dummy=yes 38690else 38691 ac_cv_libbfio=no 38692fi 38693 38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38695$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38696if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38697 $as_echo_n "(cached) " >&6 38698else 38699 ac_check_lib_save_LIBS=$LIBS 38700LIBS="-lbfio $LIBS" 38701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38702/* end confdefs.h. */ 38703 38704/* Override any GCC internal prototype to avoid an error. 38705 Use char because int might match the return type of a GCC 38706 builtin and then its argument prototype would still apply. */ 38707#ifdef __cplusplus 38708extern "C" 38709#endif 38710char libbfio_handle_get_number_of_offsets_read (); 38711int 38712main () 38713{ 38714return libbfio_handle_get_number_of_offsets_read (); 38715 ; 38716 return 0; 38717} 38718_ACEOF 38719if ac_fn_c_try_link "$LINENO"; then : 38720 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38721else 38722 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38723fi 38724rm -f core conftest.err conftest.$ac_objext \ 38725 conftest$ac_exeext conftest.$ac_ext 38726LIBS=$ac_check_lib_save_LIBS 38727fi 38728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38729$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38730if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38731 ac_cv_libbfio_dummy=yes 38732else 38733 ac_cv_libbfio=no 38734fi 38735 38736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38737$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38738if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38739 $as_echo_n "(cached) " >&6 38740else 38741 ac_check_lib_save_LIBS=$LIBS 38742LIBS="-lbfio $LIBS" 38743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38744/* end confdefs.h. */ 38745 38746/* Override any GCC internal prototype to avoid an error. 38747 Use char because int might match the return type of a GCC 38748 builtin and then its argument prototype would still apply. */ 38749#ifdef __cplusplus 38750extern "C" 38751#endif 38752char libbfio_handle_get_offset_read (); 38753int 38754main () 38755{ 38756return libbfio_handle_get_offset_read (); 38757 ; 38758 return 0; 38759} 38760_ACEOF 38761if ac_fn_c_try_link "$LINENO"; then : 38762 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38763else 38764 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38765fi 38766rm -f core conftest.err conftest.$ac_objext \ 38767 conftest$ac_exeext conftest.$ac_ext 38768LIBS=$ac_check_lib_save_LIBS 38769fi 38770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38771$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38772if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38773 ac_cv_libbfio_dummy=yes 38774else 38775 ac_cv_libbfio=no 38776fi 38777 38778 38779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38780$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38781if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38782 $as_echo_n "(cached) " >&6 38783else 38784 ac_check_lib_save_LIBS=$LIBS 38785LIBS="-lbfio $LIBS" 38786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38787/* end confdefs.h. */ 38788 38789/* Override any GCC internal prototype to avoid an error. 38790 Use char because int might match the return type of a GCC 38791 builtin and then its argument prototype would still apply. */ 38792#ifdef __cplusplus 38793extern "C" 38794#endif 38795char libbfio_file_initialize (); 38796int 38797main () 38798{ 38799return libbfio_file_initialize (); 38800 ; 38801 return 0; 38802} 38803_ACEOF 38804if ac_fn_c_try_link "$LINENO"; then : 38805 ac_cv_lib_bfio_libbfio_file_initialize=yes 38806else 38807 ac_cv_lib_bfio_libbfio_file_initialize=no 38808fi 38809rm -f core conftest.err conftest.$ac_objext \ 38810 conftest$ac_exeext conftest.$ac_ext 38811LIBS=$ac_check_lib_save_LIBS 38812fi 38813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38814$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38815if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38816 ac_cv_libbfio_dummy=yes 38817else 38818 ac_cv_libbfio=no 38819fi 38820 38821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38822$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38823if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38824 $as_echo_n "(cached) " >&6 38825else 38826 ac_check_lib_save_LIBS=$LIBS 38827LIBS="-lbfio $LIBS" 38828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38829/* end confdefs.h. */ 38830 38831/* Override any GCC internal prototype to avoid an error. 38832 Use char because int might match the return type of a GCC 38833 builtin and then its argument prototype would still apply. */ 38834#ifdef __cplusplus 38835extern "C" 38836#endif 38837char libbfio_file_get_name_size (); 38838int 38839main () 38840{ 38841return libbfio_file_get_name_size (); 38842 ; 38843 return 0; 38844} 38845_ACEOF 38846if ac_fn_c_try_link "$LINENO"; then : 38847 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38848else 38849 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38850fi 38851rm -f core conftest.err conftest.$ac_objext \ 38852 conftest$ac_exeext conftest.$ac_ext 38853LIBS=$ac_check_lib_save_LIBS 38854fi 38855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38856$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38857if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38858 ac_cv_libbfio_dummy=yes 38859else 38860 ac_cv_libbfio=no 38861fi 38862 38863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38864$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38865if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38866 $as_echo_n "(cached) " >&6 38867else 38868 ac_check_lib_save_LIBS=$LIBS 38869LIBS="-lbfio $LIBS" 38870cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38871/* end confdefs.h. */ 38872 38873/* Override any GCC internal prototype to avoid an error. 38874 Use char because int might match the return type of a GCC 38875 builtin and then its argument prototype would still apply. */ 38876#ifdef __cplusplus 38877extern "C" 38878#endif 38879char libbfio_file_get_name (); 38880int 38881main () 38882{ 38883return libbfio_file_get_name (); 38884 ; 38885 return 0; 38886} 38887_ACEOF 38888if ac_fn_c_try_link "$LINENO"; then : 38889 ac_cv_lib_bfio_libbfio_file_get_name=yes 38890else 38891 ac_cv_lib_bfio_libbfio_file_get_name=no 38892fi 38893rm -f core conftest.err conftest.$ac_objext \ 38894 conftest$ac_exeext conftest.$ac_ext 38895LIBS=$ac_check_lib_save_LIBS 38896fi 38897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38898$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38899if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38900 ac_cv_libbfio_dummy=yes 38901else 38902 ac_cv_libbfio=no 38903fi 38904 38905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38906$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38907if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38908 $as_echo_n "(cached) " >&6 38909else 38910 ac_check_lib_save_LIBS=$LIBS 38911LIBS="-lbfio $LIBS" 38912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38913/* end confdefs.h. */ 38914 38915/* Override any GCC internal prototype to avoid an error. 38916 Use char because int might match the return type of a GCC 38917 builtin and then its argument prototype would still apply. */ 38918#ifdef __cplusplus 38919extern "C" 38920#endif 38921char libbfio_file_set_name (); 38922int 38923main () 38924{ 38925return libbfio_file_set_name (); 38926 ; 38927 return 0; 38928} 38929_ACEOF 38930if ac_fn_c_try_link "$LINENO"; then : 38931 ac_cv_lib_bfio_libbfio_file_set_name=yes 38932else 38933 ac_cv_lib_bfio_libbfio_file_set_name=no 38934fi 38935rm -f core conftest.err conftest.$ac_objext \ 38936 conftest$ac_exeext conftest.$ac_ext 38937LIBS=$ac_check_lib_save_LIBS 38938fi 38939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 38940$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 38941if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 38942 ac_cv_libbfio_dummy=yes 38943else 38944 ac_cv_libbfio=no 38945fi 38946 38947 38948 if test "x$ac_cv_enable_wide_character_type" != xno; then : 38949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 38950$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 38951if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 38952 $as_echo_n "(cached) " >&6 38953else 38954 ac_check_lib_save_LIBS=$LIBS 38955LIBS="-lbfio $LIBS" 38956cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38957/* end confdefs.h. */ 38958 38959/* Override any GCC internal prototype to avoid an error. 38960 Use char because int might match the return type of a GCC 38961 builtin and then its argument prototype would still apply. */ 38962#ifdef __cplusplus 38963extern "C" 38964#endif 38965char libbfio_file_get_name_size_wide (); 38966int 38967main () 38968{ 38969return libbfio_file_get_name_size_wide (); 38970 ; 38971 return 0; 38972} 38973_ACEOF 38974if ac_fn_c_try_link "$LINENO"; then : 38975 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 38976else 38977 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 38978fi 38979rm -f core conftest.err conftest.$ac_objext \ 38980 conftest$ac_exeext conftest.$ac_ext 38981LIBS=$ac_check_lib_save_LIBS 38982fi 38983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 38984$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 38985if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 38986 ac_cv_libbfio_dummy=yes 38987else 38988 ac_cv_libbfio=no 38989fi 38990 38991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 38992$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 38993if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 38994 $as_echo_n "(cached) " >&6 38995else 38996 ac_check_lib_save_LIBS=$LIBS 38997LIBS="-lbfio $LIBS" 38998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38999/* end confdefs.h. */ 39000 39001/* Override any GCC internal prototype to avoid an error. 39002 Use char because int might match the return type of a GCC 39003 builtin and then its argument prototype would still apply. */ 39004#ifdef __cplusplus 39005extern "C" 39006#endif 39007char libbfio_file_get_name_wide (); 39008int 39009main () 39010{ 39011return libbfio_file_get_name_wide (); 39012 ; 39013 return 0; 39014} 39015_ACEOF 39016if ac_fn_c_try_link "$LINENO"; then : 39017 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39018else 39019 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39020fi 39021rm -f core conftest.err conftest.$ac_objext \ 39022 conftest$ac_exeext conftest.$ac_ext 39023LIBS=$ac_check_lib_save_LIBS 39024fi 39025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39026$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39027if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39028 ac_cv_libbfio_dummy=yes 39029else 39030 ac_cv_libbfio=no 39031fi 39032 39033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39034$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39035if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39036 $as_echo_n "(cached) " >&6 39037else 39038 ac_check_lib_save_LIBS=$LIBS 39039LIBS="-lbfio $LIBS" 39040cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39041/* end confdefs.h. */ 39042 39043/* Override any GCC internal prototype to avoid an error. 39044 Use char because int might match the return type of a GCC 39045 builtin and then its argument prototype would still apply. */ 39046#ifdef __cplusplus 39047extern "C" 39048#endif 39049char libbfio_file_set_name_wide (); 39050int 39051main () 39052{ 39053return libbfio_file_set_name_wide (); 39054 ; 39055 return 0; 39056} 39057_ACEOF 39058if ac_fn_c_try_link "$LINENO"; then : 39059 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39060else 39061 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39062fi 39063rm -f core conftest.err conftest.$ac_objext \ 39064 conftest$ac_exeext conftest.$ac_ext 39065LIBS=$ac_check_lib_save_LIBS 39066fi 39067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39068$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39069if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39070 ac_cv_libbfio_dummy=yes 39071else 39072 ac_cv_libbfio=no 39073fi 39074 39075 39076fi 39077 39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39079$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39080if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39081 $as_echo_n "(cached) " >&6 39082else 39083 ac_check_lib_save_LIBS=$LIBS 39084LIBS="-lbfio $LIBS" 39085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39086/* end confdefs.h. */ 39087 39088/* Override any GCC internal prototype to avoid an error. 39089 Use char because int might match the return type of a GCC 39090 builtin and then its argument prototype would still apply. */ 39091#ifdef __cplusplus 39092extern "C" 39093#endif 39094char libbfio_pool_initialize (); 39095int 39096main () 39097{ 39098return libbfio_pool_initialize (); 39099 ; 39100 return 0; 39101} 39102_ACEOF 39103if ac_fn_c_try_link "$LINENO"; then : 39104 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39105else 39106 ac_cv_lib_bfio_libbfio_pool_initialize=no 39107fi 39108rm -f core conftest.err conftest.$ac_objext \ 39109 conftest$ac_exeext conftest.$ac_ext 39110LIBS=$ac_check_lib_save_LIBS 39111fi 39112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39113$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39114if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39115 ac_cv_libbfio_dummy=yes 39116else 39117 ac_cv_libbfio=no 39118fi 39119 39120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39121$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39122if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39123 $as_echo_n "(cached) " >&6 39124else 39125 ac_check_lib_save_LIBS=$LIBS 39126LIBS="-lbfio $LIBS" 39127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39128/* end confdefs.h. */ 39129 39130/* Override any GCC internal prototype to avoid an error. 39131 Use char because int might match the return type of a GCC 39132 builtin and then its argument prototype would still apply. */ 39133#ifdef __cplusplus 39134extern "C" 39135#endif 39136char libbfio_pool_free (); 39137int 39138main () 39139{ 39140return libbfio_pool_free (); 39141 ; 39142 return 0; 39143} 39144_ACEOF 39145if ac_fn_c_try_link "$LINENO"; then : 39146 ac_cv_lib_bfio_libbfio_pool_free=yes 39147else 39148 ac_cv_lib_bfio_libbfio_pool_free=no 39149fi 39150rm -f core conftest.err conftest.$ac_objext \ 39151 conftest$ac_exeext conftest.$ac_ext 39152LIBS=$ac_check_lib_save_LIBS 39153fi 39154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39155$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39156if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39157 ac_cv_libbfio_dummy=yes 39158else 39159 ac_cv_libbfio=no 39160fi 39161 39162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39163$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39164if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39165 $as_echo_n "(cached) " >&6 39166else 39167 ac_check_lib_save_LIBS=$LIBS 39168LIBS="-lbfio $LIBS" 39169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39170/* end confdefs.h. */ 39171 39172/* Override any GCC internal prototype to avoid an error. 39173 Use char because int might match the return type of a GCC 39174 builtin and then its argument prototype would still apply. */ 39175#ifdef __cplusplus 39176extern "C" 39177#endif 39178char libbfio_pool_clone (); 39179int 39180main () 39181{ 39182return libbfio_pool_clone (); 39183 ; 39184 return 0; 39185} 39186_ACEOF 39187if ac_fn_c_try_link "$LINENO"; then : 39188 ac_cv_lib_bfio_libbfio_pool_clone=yes 39189else 39190 ac_cv_lib_bfio_libbfio_pool_clone=no 39191fi 39192rm -f core conftest.err conftest.$ac_objext \ 39193 conftest$ac_exeext conftest.$ac_ext 39194LIBS=$ac_check_lib_save_LIBS 39195fi 39196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39197$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39198if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39199 ac_cv_libbfio_dummy=yes 39200else 39201 ac_cv_libbfio=no 39202fi 39203 39204 39205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39206$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39207if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39208 $as_echo_n "(cached) " >&6 39209else 39210 ac_check_lib_save_LIBS=$LIBS 39211LIBS="-lbfio $LIBS" 39212cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39213/* end confdefs.h. */ 39214 39215/* Override any GCC internal prototype to avoid an error. 39216 Use char because int might match the return type of a GCC 39217 builtin and then its argument prototype would still apply. */ 39218#ifdef __cplusplus 39219extern "C" 39220#endif 39221char libbfio_pool_get_number_of_handles (); 39222int 39223main () 39224{ 39225return libbfio_pool_get_number_of_handles (); 39226 ; 39227 return 0; 39228} 39229_ACEOF 39230if ac_fn_c_try_link "$LINENO"; then : 39231 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39232else 39233 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39234fi 39235rm -f core conftest.err conftest.$ac_objext \ 39236 conftest$ac_exeext conftest.$ac_ext 39237LIBS=$ac_check_lib_save_LIBS 39238fi 39239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39240$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39241if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39242 ac_cv_libbfio_dummy=yes 39243else 39244 ac_cv_libbfio=no 39245fi 39246 39247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39248$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39249if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39250 $as_echo_n "(cached) " >&6 39251else 39252 ac_check_lib_save_LIBS=$LIBS 39253LIBS="-lbfio $LIBS" 39254cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39255/* end confdefs.h. */ 39256 39257/* Override any GCC internal prototype to avoid an error. 39258 Use char because int might match the return type of a GCC 39259 builtin and then its argument prototype would still apply. */ 39260#ifdef __cplusplus 39261extern "C" 39262#endif 39263char libbfio_pool_get_handle (); 39264int 39265main () 39266{ 39267return libbfio_pool_get_handle (); 39268 ; 39269 return 0; 39270} 39271_ACEOF 39272if ac_fn_c_try_link "$LINENO"; then : 39273 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39274else 39275 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39276fi 39277rm -f core conftest.err conftest.$ac_objext \ 39278 conftest$ac_exeext conftest.$ac_ext 39279LIBS=$ac_check_lib_save_LIBS 39280fi 39281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39282$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39283if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39284 ac_cv_libbfio_dummy=yes 39285else 39286 ac_cv_libbfio=no 39287fi 39288 39289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39290$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39291if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39292 $as_echo_n "(cached) " >&6 39293else 39294 ac_check_lib_save_LIBS=$LIBS 39295LIBS="-lbfio $LIBS" 39296cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39297/* end confdefs.h. */ 39298 39299/* Override any GCC internal prototype to avoid an error. 39300 Use char because int might match the return type of a GCC 39301 builtin and then its argument prototype would still apply. */ 39302#ifdef __cplusplus 39303extern "C" 39304#endif 39305char libbfio_pool_set_handle (); 39306int 39307main () 39308{ 39309return libbfio_pool_set_handle (); 39310 ; 39311 return 0; 39312} 39313_ACEOF 39314if ac_fn_c_try_link "$LINENO"; then : 39315 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39316else 39317 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39318fi 39319rm -f core conftest.err conftest.$ac_objext \ 39320 conftest$ac_exeext conftest.$ac_ext 39321LIBS=$ac_check_lib_save_LIBS 39322fi 39323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39324$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39325if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39326 ac_cv_libbfio_dummy=yes 39327else 39328 ac_cv_libbfio=no 39329fi 39330 39331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39332$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39333if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39334 $as_echo_n "(cached) " >&6 39335else 39336 ac_check_lib_save_LIBS=$LIBS 39337LIBS="-lbfio $LIBS" 39338cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39339/* end confdefs.h. */ 39340 39341/* Override any GCC internal prototype to avoid an error. 39342 Use char because int might match the return type of a GCC 39343 builtin and then its argument prototype would still apply. */ 39344#ifdef __cplusplus 39345extern "C" 39346#endif 39347char libbfio_pool_append_handle (); 39348int 39349main () 39350{ 39351return libbfio_pool_append_handle (); 39352 ; 39353 return 0; 39354} 39355_ACEOF 39356if ac_fn_c_try_link "$LINENO"; then : 39357 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39358else 39359 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39360fi 39361rm -f core conftest.err conftest.$ac_objext \ 39362 conftest$ac_exeext conftest.$ac_ext 39363LIBS=$ac_check_lib_save_LIBS 39364fi 39365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39366$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39367if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39368 ac_cv_libbfio_dummy=yes 39369else 39370 ac_cv_libbfio=no 39371fi 39372 39373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39374$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39375if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39376 $as_echo_n "(cached) " >&6 39377else 39378 ac_check_lib_save_LIBS=$LIBS 39379LIBS="-lbfio $LIBS" 39380cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39381/* end confdefs.h. */ 39382 39383/* Override any GCC internal prototype to avoid an error. 39384 Use char because int might match the return type of a GCC 39385 builtin and then its argument prototype would still apply. */ 39386#ifdef __cplusplus 39387extern "C" 39388#endif 39389char libbfio_pool_remove_handle (); 39390int 39391main () 39392{ 39393return libbfio_pool_remove_handle (); 39394 ; 39395 return 0; 39396} 39397_ACEOF 39398if ac_fn_c_try_link "$LINENO"; then : 39399 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39400else 39401 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39402fi 39403rm -f core conftest.err conftest.$ac_objext \ 39404 conftest$ac_exeext conftest.$ac_ext 39405LIBS=$ac_check_lib_save_LIBS 39406fi 39407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39408$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39409if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39410 ac_cv_libbfio_dummy=yes 39411else 39412 ac_cv_libbfio=no 39413fi 39414 39415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39416$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39417if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39418 $as_echo_n "(cached) " >&6 39419else 39420 ac_check_lib_save_LIBS=$LIBS 39421LIBS="-lbfio $LIBS" 39422cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39423/* end confdefs.h. */ 39424 39425/* Override any GCC internal prototype to avoid an error. 39426 Use char because int might match the return type of a GCC 39427 builtin and then its argument prototype would still apply. */ 39428#ifdef __cplusplus 39429extern "C" 39430#endif 39431char libbfio_pool_get_maximum_number_of_open_handles (); 39432int 39433main () 39434{ 39435return libbfio_pool_get_maximum_number_of_open_handles (); 39436 ; 39437 return 0; 39438} 39439_ACEOF 39440if ac_fn_c_try_link "$LINENO"; then : 39441 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39442else 39443 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39444fi 39445rm -f core conftest.err conftest.$ac_objext \ 39446 conftest$ac_exeext conftest.$ac_ext 39447LIBS=$ac_check_lib_save_LIBS 39448fi 39449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39450$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39451if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39452 ac_cv_libbfio_dummy=yes 39453else 39454 ac_cv_libbfio=no 39455fi 39456 39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39458$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39459if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39460 $as_echo_n "(cached) " >&6 39461else 39462 ac_check_lib_save_LIBS=$LIBS 39463LIBS="-lbfio $LIBS" 39464cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39465/* end confdefs.h. */ 39466 39467/* Override any GCC internal prototype to avoid an error. 39468 Use char because int might match the return type of a GCC 39469 builtin and then its argument prototype would still apply. */ 39470#ifdef __cplusplus 39471extern "C" 39472#endif 39473char libbfio_pool_set_maximum_number_of_open_handles (); 39474int 39475main () 39476{ 39477return libbfio_pool_set_maximum_number_of_open_handles (); 39478 ; 39479 return 0; 39480} 39481_ACEOF 39482if ac_fn_c_try_link "$LINENO"; then : 39483 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39484else 39485 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39486fi 39487rm -f core conftest.err conftest.$ac_objext \ 39488 conftest$ac_exeext conftest.$ac_ext 39489LIBS=$ac_check_lib_save_LIBS 39490fi 39491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39492$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39493if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39494 ac_cv_libbfio_dummy=yes 39495else 39496 ac_cv_libbfio=no 39497fi 39498 39499 39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39501$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39502if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39503 $as_echo_n "(cached) " >&6 39504else 39505 ac_check_lib_save_LIBS=$LIBS 39506LIBS="-lbfio $LIBS" 39507cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39508/* end confdefs.h. */ 39509 39510/* Override any GCC internal prototype to avoid an error. 39511 Use char because int might match the return type of a GCC 39512 builtin and then its argument prototype would still apply. */ 39513#ifdef __cplusplus 39514extern "C" 39515#endif 39516char libbfio_pool_open (); 39517int 39518main () 39519{ 39520return libbfio_pool_open (); 39521 ; 39522 return 0; 39523} 39524_ACEOF 39525if ac_fn_c_try_link "$LINENO"; then : 39526 ac_cv_lib_bfio_libbfio_pool_open=yes 39527else 39528 ac_cv_lib_bfio_libbfio_pool_open=no 39529fi 39530rm -f core conftest.err conftest.$ac_objext \ 39531 conftest$ac_exeext conftest.$ac_ext 39532LIBS=$ac_check_lib_save_LIBS 39533fi 39534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39535$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39536if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39537 ac_cv_libbfio_dummy=yes 39538else 39539 ac_cv_libbfio=no 39540fi 39541 39542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39543$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39544if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39545 $as_echo_n "(cached) " >&6 39546else 39547 ac_check_lib_save_LIBS=$LIBS 39548LIBS="-lbfio $LIBS" 39549cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39550/* end confdefs.h. */ 39551 39552/* Override any GCC internal prototype to avoid an error. 39553 Use char because int might match the return type of a GCC 39554 builtin and then its argument prototype would still apply. */ 39555#ifdef __cplusplus 39556extern "C" 39557#endif 39558char libbfio_pool_reopen (); 39559int 39560main () 39561{ 39562return libbfio_pool_reopen (); 39563 ; 39564 return 0; 39565} 39566_ACEOF 39567if ac_fn_c_try_link "$LINENO"; then : 39568 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39569else 39570 ac_cv_lib_bfio_libbfio_pool_reopen=no 39571fi 39572rm -f core conftest.err conftest.$ac_objext \ 39573 conftest$ac_exeext conftest.$ac_ext 39574LIBS=$ac_check_lib_save_LIBS 39575fi 39576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39577$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39578if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39579 ac_cv_libbfio_dummy=yes 39580else 39581 ac_cv_libbfio=no 39582fi 39583 39584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39585$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39586if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39587 $as_echo_n "(cached) " >&6 39588else 39589 ac_check_lib_save_LIBS=$LIBS 39590LIBS="-lbfio $LIBS" 39591cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39592/* end confdefs.h. */ 39593 39594/* Override any GCC internal prototype to avoid an error. 39595 Use char because int might match the return type of a GCC 39596 builtin and then its argument prototype would still apply. */ 39597#ifdef __cplusplus 39598extern "C" 39599#endif 39600char libbfio_pool_close (); 39601int 39602main () 39603{ 39604return libbfio_pool_close (); 39605 ; 39606 return 0; 39607} 39608_ACEOF 39609if ac_fn_c_try_link "$LINENO"; then : 39610 ac_cv_lib_bfio_libbfio_pool_close=yes 39611else 39612 ac_cv_lib_bfio_libbfio_pool_close=no 39613fi 39614rm -f core conftest.err conftest.$ac_objext \ 39615 conftest$ac_exeext conftest.$ac_ext 39616LIBS=$ac_check_lib_save_LIBS 39617fi 39618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39619$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39620if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39621 ac_cv_libbfio_dummy=yes 39622else 39623 ac_cv_libbfio=no 39624fi 39625 39626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39627$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39628if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39629 $as_echo_n "(cached) " >&6 39630else 39631 ac_check_lib_save_LIBS=$LIBS 39632LIBS="-lbfio $LIBS" 39633cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39634/* end confdefs.h. */ 39635 39636/* Override any GCC internal prototype to avoid an error. 39637 Use char because int might match the return type of a GCC 39638 builtin and then its argument prototype would still apply. */ 39639#ifdef __cplusplus 39640extern "C" 39641#endif 39642char libbfio_pool_close_all (); 39643int 39644main () 39645{ 39646return libbfio_pool_close_all (); 39647 ; 39648 return 0; 39649} 39650_ACEOF 39651if ac_fn_c_try_link "$LINENO"; then : 39652 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39653else 39654 ac_cv_lib_bfio_libbfio_pool_close_all=no 39655fi 39656rm -f core conftest.err conftest.$ac_objext \ 39657 conftest$ac_exeext conftest.$ac_ext 39658LIBS=$ac_check_lib_save_LIBS 39659fi 39660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39661$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39662if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39663 ac_cv_libbfio_dummy=yes 39664else 39665 ac_cv_libbfio=no 39666fi 39667 39668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39669$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39670if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39671 $as_echo_n "(cached) " >&6 39672else 39673 ac_check_lib_save_LIBS=$LIBS 39674LIBS="-lbfio $LIBS" 39675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39676/* end confdefs.h. */ 39677 39678/* Override any GCC internal prototype to avoid an error. 39679 Use char because int might match the return type of a GCC 39680 builtin and then its argument prototype would still apply. */ 39681#ifdef __cplusplus 39682extern "C" 39683#endif 39684char libbfio_pool_read_buffer (); 39685int 39686main () 39687{ 39688return libbfio_pool_read_buffer (); 39689 ; 39690 return 0; 39691} 39692_ACEOF 39693if ac_fn_c_try_link "$LINENO"; then : 39694 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39695else 39696 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39697fi 39698rm -f core conftest.err conftest.$ac_objext \ 39699 conftest$ac_exeext conftest.$ac_ext 39700LIBS=$ac_check_lib_save_LIBS 39701fi 39702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39703$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39704if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39705 ac_cv_libbfio_dummy=yes 39706else 39707 ac_cv_libbfio=no 39708fi 39709 39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39711$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39712if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39713 $as_echo_n "(cached) " >&6 39714else 39715 ac_check_lib_save_LIBS=$LIBS 39716LIBS="-lbfio $LIBS" 39717cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39718/* end confdefs.h. */ 39719 39720/* Override any GCC internal prototype to avoid an error. 39721 Use char because int might match the return type of a GCC 39722 builtin and then its argument prototype would still apply. */ 39723#ifdef __cplusplus 39724extern "C" 39725#endif 39726char libbfio_pool_read_buffer_at_offset (); 39727int 39728main () 39729{ 39730return libbfio_pool_read_buffer_at_offset (); 39731 ; 39732 return 0; 39733} 39734_ACEOF 39735if ac_fn_c_try_link "$LINENO"; then : 39736 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39737else 39738 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39739fi 39740rm -f core conftest.err conftest.$ac_objext \ 39741 conftest$ac_exeext conftest.$ac_ext 39742LIBS=$ac_check_lib_save_LIBS 39743fi 39744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39745$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39746if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39747 ac_cv_libbfio_dummy=yes 39748else 39749 ac_cv_libbfio=no 39750fi 39751 39752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39753$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39754if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39755 $as_echo_n "(cached) " >&6 39756else 39757 ac_check_lib_save_LIBS=$LIBS 39758LIBS="-lbfio $LIBS" 39759cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39760/* end confdefs.h. */ 39761 39762/* Override any GCC internal prototype to avoid an error. 39763 Use char because int might match the return type of a GCC 39764 builtin and then its argument prototype would still apply. */ 39765#ifdef __cplusplus 39766extern "C" 39767#endif 39768char libbfio_pool_write_buffer (); 39769int 39770main () 39771{ 39772return libbfio_pool_write_buffer (); 39773 ; 39774 return 0; 39775} 39776_ACEOF 39777if ac_fn_c_try_link "$LINENO"; then : 39778 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39779else 39780 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39781fi 39782rm -f core conftest.err conftest.$ac_objext \ 39783 conftest$ac_exeext conftest.$ac_ext 39784LIBS=$ac_check_lib_save_LIBS 39785fi 39786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39787$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39788if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39789 ac_cv_libbfio_dummy=yes 39790else 39791 ac_cv_libbfio=no 39792fi 39793 39794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39795$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39796if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39797 $as_echo_n "(cached) " >&6 39798else 39799 ac_check_lib_save_LIBS=$LIBS 39800LIBS="-lbfio $LIBS" 39801cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39802/* end confdefs.h. */ 39803 39804/* Override any GCC internal prototype to avoid an error. 39805 Use char because int might match the return type of a GCC 39806 builtin and then its argument prototype would still apply. */ 39807#ifdef __cplusplus 39808extern "C" 39809#endif 39810char libbfio_pool_write_buffer_at_offset (); 39811int 39812main () 39813{ 39814return libbfio_pool_write_buffer_at_offset (); 39815 ; 39816 return 0; 39817} 39818_ACEOF 39819if ac_fn_c_try_link "$LINENO"; then : 39820 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39821else 39822 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39823fi 39824rm -f core conftest.err conftest.$ac_objext \ 39825 conftest$ac_exeext conftest.$ac_ext 39826LIBS=$ac_check_lib_save_LIBS 39827fi 39828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39829$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39830if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39831 ac_cv_libbfio_dummy=yes 39832else 39833 ac_cv_libbfio=no 39834fi 39835 39836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39837$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39838if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39839 $as_echo_n "(cached) " >&6 39840else 39841 ac_check_lib_save_LIBS=$LIBS 39842LIBS="-lbfio $LIBS" 39843cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39844/* end confdefs.h. */ 39845 39846/* Override any GCC internal prototype to avoid an error. 39847 Use char because int might match the return type of a GCC 39848 builtin and then its argument prototype would still apply. */ 39849#ifdef __cplusplus 39850extern "C" 39851#endif 39852char libbfio_pool_seek_offset (); 39853int 39854main () 39855{ 39856return libbfio_pool_seek_offset (); 39857 ; 39858 return 0; 39859} 39860_ACEOF 39861if ac_fn_c_try_link "$LINENO"; then : 39862 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39863else 39864 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39865fi 39866rm -f core conftest.err conftest.$ac_objext \ 39867 conftest$ac_exeext conftest.$ac_ext 39868LIBS=$ac_check_lib_save_LIBS 39869fi 39870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39871$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39872if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39873 ac_cv_libbfio_dummy=yes 39874else 39875 ac_cv_libbfio=no 39876fi 39877 39878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39879$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39880if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39881 $as_echo_n "(cached) " >&6 39882else 39883 ac_check_lib_save_LIBS=$LIBS 39884LIBS="-lbfio $LIBS" 39885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39886/* end confdefs.h. */ 39887 39888/* Override any GCC internal prototype to avoid an error. 39889 Use char because int might match the return type of a GCC 39890 builtin and then its argument prototype would still apply. */ 39891#ifdef __cplusplus 39892extern "C" 39893#endif 39894char libbfio_pool_get_offset (); 39895int 39896main () 39897{ 39898return libbfio_pool_get_offset (); 39899 ; 39900 return 0; 39901} 39902_ACEOF 39903if ac_fn_c_try_link "$LINENO"; then : 39904 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39905else 39906 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39907fi 39908rm -f core conftest.err conftest.$ac_objext \ 39909 conftest$ac_exeext conftest.$ac_ext 39910LIBS=$ac_check_lib_save_LIBS 39911fi 39912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39913$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39914if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39915 ac_cv_libbfio_dummy=yes 39916else 39917 ac_cv_libbfio=no 39918fi 39919 39920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39921$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39922if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 39923 $as_echo_n "(cached) " >&6 39924else 39925 ac_check_lib_save_LIBS=$LIBS 39926LIBS="-lbfio $LIBS" 39927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39928/* end confdefs.h. */ 39929 39930/* Override any GCC internal prototype to avoid an error. 39931 Use char because int might match the return type of a GCC 39932 builtin and then its argument prototype would still apply. */ 39933#ifdef __cplusplus 39934extern "C" 39935#endif 39936char libbfio_pool_get_size (); 39937int 39938main () 39939{ 39940return libbfio_pool_get_size (); 39941 ; 39942 return 0; 39943} 39944_ACEOF 39945if ac_fn_c_try_link "$LINENO"; then : 39946 ac_cv_lib_bfio_libbfio_pool_get_size=yes 39947else 39948 ac_cv_lib_bfio_libbfio_pool_get_size=no 39949fi 39950rm -f core conftest.err conftest.$ac_objext \ 39951 conftest$ac_exeext conftest.$ac_ext 39952LIBS=$ac_check_lib_save_LIBS 39953fi 39954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 39955$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 39956if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 39957 ac_cv_libbfio_dummy=yes 39958else 39959 ac_cv_libbfio=no 39960fi 39961 39962 39963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 39964$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 39965if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 39966 $as_echo_n "(cached) " >&6 39967else 39968 ac_check_lib_save_LIBS=$LIBS 39969LIBS="-lbfio $LIBS" 39970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39971/* end confdefs.h. */ 39972 39973/* Override any GCC internal prototype to avoid an error. 39974 Use char because int might match the return type of a GCC 39975 builtin and then its argument prototype would still apply. */ 39976#ifdef __cplusplus 39977extern "C" 39978#endif 39979char libbfio_file_pool_open (); 39980int 39981main () 39982{ 39983return libbfio_file_pool_open (); 39984 ; 39985 return 0; 39986} 39987_ACEOF 39988if ac_fn_c_try_link "$LINENO"; then : 39989 ac_cv_lib_bfio_libbfio_file_pool_open=yes 39990else 39991 ac_cv_lib_bfio_libbfio_file_pool_open=no 39992fi 39993rm -f core conftest.err conftest.$ac_objext \ 39994 conftest$ac_exeext conftest.$ac_ext 39995LIBS=$ac_check_lib_save_LIBS 39996fi 39997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 39998$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 39999if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40000 ac_cv_libbfio_dummy=yes 40001else 40002 ac_cv_libbfio=no 40003fi 40004 40005 40006 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40008$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40009if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40010 $as_echo_n "(cached) " >&6 40011else 40012 ac_check_lib_save_LIBS=$LIBS 40013LIBS="-lbfio $LIBS" 40014cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40015/* end confdefs.h. */ 40016 40017/* Override any GCC internal prototype to avoid an error. 40018 Use char because int might match the return type of a GCC 40019 builtin and then its argument prototype would still apply. */ 40020#ifdef __cplusplus 40021extern "C" 40022#endif 40023char libbfio_file_pool_open_wide (); 40024int 40025main () 40026{ 40027return libbfio_file_pool_open_wide (); 40028 ; 40029 return 0; 40030} 40031_ACEOF 40032if ac_fn_c_try_link "$LINENO"; then : 40033 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40034else 40035 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40036fi 40037rm -f core conftest.err conftest.$ac_objext \ 40038 conftest$ac_exeext conftest.$ac_ext 40039LIBS=$ac_check_lib_save_LIBS 40040fi 40041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40042$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40043if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40044 ac_cv_libbfio_dummy=yes 40045else 40046 ac_cv_libbfio=no 40047fi 40048 40049 40050fi 40051 40052 ac_cv_libbfio_LIBADD="-lbfio" 40053fi 40054 40055fi 40056 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40059as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40060See \`config.log' for more details" "$LINENO" 5; } 40061 40062fi 40063 40064fi 40065 40066 if test "x$ac_cv_libbfio" = xyes; then : 40067 40068$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40069 40070 40071fi 40072 40073 if test "x$ac_cv_libbfio" = xyes; then : 40074 HAVE_LIBBFIO=1 40075 40076else 40077 HAVE_LIBBFIO=0 40078 40079 40080fi 40081 40082 40083 if test "x$ac_cv_libbfio" != xyes; then : 40084 40085 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40086 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40087 40088 ac_cv_libbfio=local 40089 40090 40091 40092$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40093 40094 HAVE_LOCAL_LIBBFIO=1 40095 40096 40097fi 40098 40099 if test "x$ac_cv_libbfio" = xlocal; then 40100 HAVE_LOCAL_LIBBFIO_TRUE= 40101 HAVE_LOCAL_LIBBFIO_FALSE='#' 40102else 40103 HAVE_LOCAL_LIBBFIO_TRUE='#' 40104 HAVE_LOCAL_LIBBFIO_FALSE= 40105fi 40106 40107 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40108 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40109 40110 40111fi 40112 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40113 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40114 40115 40116fi 40117 40118 if test "x$ac_cv_libbfio" = xyes; then : 40119 ax_libbfio_pc_libs_private=-lbfio 40120 40121 40122fi 40123 40124 if test "x$ac_cv_libbfio" = xyes; then : 40125 ax_libbfio_spec_requires=libbfio 40126 40127 ax_libbfio_spec_build_requires=libbfio-devel 40128 40129 40130fi 40131 40132 40133 40134 40135# Check whether --with-libfcache was given. 40136if test "${with_libfcache+set}" = set; then : 40137 withval=$with_libfcache; ac_cv_with_libfcache=$withval 40138else 40139 ac_cv_with_libfcache=auto-detect 40140fi 40141 40142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfcache in includedir and libdir or in the specified DIR, or no if to use local version" >&5 40143$as_echo_n "checking whether to use search for libfcache in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 40144if ${ac_cv_with_libfcache+:} false; then : 40145 $as_echo_n "(cached) " >&6 40146else 40147 ac_cv_with_libfcache=auto-detect 40148fi 40149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5 40150$as_echo "$ac_cv_with_libfcache" >&6; } 40151 40152 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then : 40153 ac_cv_libfcache=no 40154else 40155 ac_cv_libfcache=check 40156 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then : 40157 if test -d "$ac_cv_with_libfcache"; then : 40158 CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include" 40159 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib" 40160else 40161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40163as_fn_error 1 "no such directory: $ac_cv_with_libfcache 40164See \`config.log' for more details" "$LINENO" 5; } 40165 40166fi 40167 40168else 40169 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40170 40171pkg_failed=no 40172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5 40173$as_echo_n "checking for libfcache... " >&6; } 40174 40175if test -n "$libfcache_CFLAGS"; then 40176 pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS" 40177 elif test -n "$PKG_CONFIG"; then 40178 if test -n "$PKG_CONFIG" && \ 40179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40180 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40181 ac_status=$? 40182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40183 test $ac_status = 0; }; then 40184 pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null` 40185 test "x$?" != "x0" && pkg_failed=yes 40186else 40187 pkg_failed=yes 40188fi 40189 else 40190 pkg_failed=untried 40191fi 40192if test -n "$libfcache_LIBS"; then 40193 pkg_cv_libfcache_LIBS="$libfcache_LIBS" 40194 elif test -n "$PKG_CONFIG"; then 40195 if test -n "$PKG_CONFIG" && \ 40196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40197 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40198 ac_status=$? 40199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40200 test $ac_status = 0; }; then 40201 pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null` 40202 test "x$?" != "x0" && pkg_failed=yes 40203else 40204 pkg_failed=yes 40205fi 40206 else 40207 pkg_failed=untried 40208fi 40209 40210 40211 40212if test $pkg_failed = yes; then 40213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40214$as_echo "no" >&6; } 40215 40216if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40217 _pkg_short_errors_supported=yes 40218else 40219 _pkg_short_errors_supported=no 40220fi 40221 if test $_pkg_short_errors_supported = yes; then 40222 libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40223 else 40224 libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40225 fi 40226 # Put the nasty error message in config.log where it belongs 40227 echo "$libfcache_PKG_ERRORS" >&5 40228 40229 ac_cv_libfcache=check 40230elif test $pkg_failed = untried; then 40231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40232$as_echo "no" >&6; } 40233 ac_cv_libfcache=check 40234else 40235 libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS 40236 libfcache_LIBS=$pkg_cv_libfcache_LIBS 40237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40238$as_echo "yes" >&6; } 40239 ac_cv_libfcache=yes 40240fi 40241 40242fi 40243 if test "x$ac_cv_libfcache" = xyes; then : 40244 ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS" 40245 ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS" 40246fi 40247 40248fi 40249 40250 if test "x$ac_cv_libfcache" = xcheck; then : 40251 for ac_header in libfcache.h 40252do : 40253 ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default" 40254if test "x$ac_cv_header_libfcache_h" = xyes; then : 40255 cat >>confdefs.h <<_ACEOF 40256#define HAVE_LIBFCACHE_H 1 40257_ACEOF 40258 40259fi 40260 40261done 40262 40263 40264 if test "x$ac_cv_header_libfcache_h" = xno; then : 40265 ac_cv_libfcache=no 40266else 40267 ac_cv_libfcache=yes 40268 40269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5 40270$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; } 40271if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then : 40272 $as_echo_n "(cached) " >&6 40273else 40274 ac_check_lib_save_LIBS=$LIBS 40275LIBS="-lfcache $LIBS" 40276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40277/* end confdefs.h. */ 40278 40279/* Override any GCC internal prototype to avoid an error. 40280 Use char because int might match the return type of a GCC 40281 builtin and then its argument prototype would still apply. */ 40282#ifdef __cplusplus 40283extern "C" 40284#endif 40285char libfcache_get_version (); 40286int 40287main () 40288{ 40289return libfcache_get_version (); 40290 ; 40291 return 0; 40292} 40293_ACEOF 40294if ac_fn_c_try_link "$LINENO"; then : 40295 ac_cv_lib_fcache_libfcache_get_version=yes 40296else 40297 ac_cv_lib_fcache_libfcache_get_version=no 40298fi 40299rm -f core conftest.err conftest.$ac_objext \ 40300 conftest$ac_exeext conftest.$ac_ext 40301LIBS=$ac_check_lib_save_LIBS 40302fi 40303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5 40304$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; } 40305if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then : 40306 ac_cv_libfcache_dummy=yes 40307else 40308 ac_cv_libfcache=no 40309fi 40310 40311 40312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5 40313$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; } 40314if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then : 40315 $as_echo_n "(cached) " >&6 40316else 40317 ac_check_lib_save_LIBS=$LIBS 40318LIBS="-lfcache $LIBS" 40319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40320/* end confdefs.h. */ 40321 40322/* Override any GCC internal prototype to avoid an error. 40323 Use char because int might match the return type of a GCC 40324 builtin and then its argument prototype would still apply. */ 40325#ifdef __cplusplus 40326extern "C" 40327#endif 40328char libfcache_cache_initialize (); 40329int 40330main () 40331{ 40332return libfcache_cache_initialize (); 40333 ; 40334 return 0; 40335} 40336_ACEOF 40337if ac_fn_c_try_link "$LINENO"; then : 40338 ac_cv_lib_fcache_libfcache_cache_initialize=yes 40339else 40340 ac_cv_lib_fcache_libfcache_cache_initialize=no 40341fi 40342rm -f core conftest.err conftest.$ac_objext \ 40343 conftest$ac_exeext conftest.$ac_ext 40344LIBS=$ac_check_lib_save_LIBS 40345fi 40346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5 40347$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; } 40348if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then : 40349 ac_cv_libfcache_dummy=yes 40350else 40351 ac_cv_libfcache=no 40352fi 40353 40354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5 40355$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; } 40356if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then : 40357 $as_echo_n "(cached) " >&6 40358else 40359 ac_check_lib_save_LIBS=$LIBS 40360LIBS="-lfcache $LIBS" 40361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40362/* end confdefs.h. */ 40363 40364/* Override any GCC internal prototype to avoid an error. 40365 Use char because int might match the return type of a GCC 40366 builtin and then its argument prototype would still apply. */ 40367#ifdef __cplusplus 40368extern "C" 40369#endif 40370char libfcache_cache_free (); 40371int 40372main () 40373{ 40374return libfcache_cache_free (); 40375 ; 40376 return 0; 40377} 40378_ACEOF 40379if ac_fn_c_try_link "$LINENO"; then : 40380 ac_cv_lib_fcache_libfcache_cache_free=yes 40381else 40382 ac_cv_lib_fcache_libfcache_cache_free=no 40383fi 40384rm -f core conftest.err conftest.$ac_objext \ 40385 conftest$ac_exeext conftest.$ac_ext 40386LIBS=$ac_check_lib_save_LIBS 40387fi 40388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5 40389$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; } 40390if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then : 40391 ac_cv_libfcache_dummy=yes 40392else 40393 ac_cv_libfcache=no 40394fi 40395 40396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5 40397$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; } 40398if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then : 40399 $as_echo_n "(cached) " >&6 40400else 40401 ac_check_lib_save_LIBS=$LIBS 40402LIBS="-lfcache $LIBS" 40403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40404/* end confdefs.h. */ 40405 40406/* Override any GCC internal prototype to avoid an error. 40407 Use char because int might match the return type of a GCC 40408 builtin and then its argument prototype would still apply. */ 40409#ifdef __cplusplus 40410extern "C" 40411#endif 40412char libfcache_cache_clone (); 40413int 40414main () 40415{ 40416return libfcache_cache_clone (); 40417 ; 40418 return 0; 40419} 40420_ACEOF 40421if ac_fn_c_try_link "$LINENO"; then : 40422 ac_cv_lib_fcache_libfcache_cache_clone=yes 40423else 40424 ac_cv_lib_fcache_libfcache_cache_clone=no 40425fi 40426rm -f core conftest.err conftest.$ac_objext \ 40427 conftest$ac_exeext conftest.$ac_ext 40428LIBS=$ac_check_lib_save_LIBS 40429fi 40430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5 40431$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; } 40432if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then : 40433 ac_cv_libfcache_dummy=yes 40434else 40435 ac_cv_libfcache=no 40436fi 40437 40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5 40439$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; } 40440if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then : 40441 $as_echo_n "(cached) " >&6 40442else 40443 ac_check_lib_save_LIBS=$LIBS 40444LIBS="-lfcache $LIBS" 40445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40446/* end confdefs.h. */ 40447 40448/* Override any GCC internal prototype to avoid an error. 40449 Use char because int might match the return type of a GCC 40450 builtin and then its argument prototype would still apply. */ 40451#ifdef __cplusplus 40452extern "C" 40453#endif 40454char libfcache_cache_clear (); 40455int 40456main () 40457{ 40458return libfcache_cache_clear (); 40459 ; 40460 return 0; 40461} 40462_ACEOF 40463if ac_fn_c_try_link "$LINENO"; then : 40464 ac_cv_lib_fcache_libfcache_cache_clear=yes 40465else 40466 ac_cv_lib_fcache_libfcache_cache_clear=no 40467fi 40468rm -f core conftest.err conftest.$ac_objext \ 40469 conftest$ac_exeext conftest.$ac_ext 40470LIBS=$ac_check_lib_save_LIBS 40471fi 40472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5 40473$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; } 40474if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then : 40475 ac_cv_libfcache_dummy=yes 40476else 40477 ac_cv_libfcache=no 40478fi 40479 40480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5 40481$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; } 40482if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then : 40483 $as_echo_n "(cached) " >&6 40484else 40485 ac_check_lib_save_LIBS=$LIBS 40486LIBS="-lfcache $LIBS" 40487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40488/* end confdefs.h. */ 40489 40490/* Override any GCC internal prototype to avoid an error. 40491 Use char because int might match the return type of a GCC 40492 builtin and then its argument prototype would still apply. */ 40493#ifdef __cplusplus 40494extern "C" 40495#endif 40496char libfcache_cache_get_number_of_entries (); 40497int 40498main () 40499{ 40500return libfcache_cache_get_number_of_entries (); 40501 ; 40502 return 0; 40503} 40504_ACEOF 40505if ac_fn_c_try_link "$LINENO"; then : 40506 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes 40507else 40508 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no 40509fi 40510rm -f core conftest.err conftest.$ac_objext \ 40511 conftest$ac_exeext conftest.$ac_ext 40512LIBS=$ac_check_lib_save_LIBS 40513fi 40514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5 40515$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; } 40516if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then : 40517 ac_cv_libfcache_dummy=yes 40518else 40519 ac_cv_libfcache=no 40520fi 40521 40522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5 40523$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; } 40524if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then : 40525 $as_echo_n "(cached) " >&6 40526else 40527 ac_check_lib_save_LIBS=$LIBS 40528LIBS="-lfcache $LIBS" 40529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40530/* end confdefs.h. */ 40531 40532/* Override any GCC internal prototype to avoid an error. 40533 Use char because int might match the return type of a GCC 40534 builtin and then its argument prototype would still apply. */ 40535#ifdef __cplusplus 40536extern "C" 40537#endif 40538char libfcache_cache_get_number_of_cache_values (); 40539int 40540main () 40541{ 40542return libfcache_cache_get_number_of_cache_values (); 40543 ; 40544 return 0; 40545} 40546_ACEOF 40547if ac_fn_c_try_link "$LINENO"; then : 40548 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes 40549else 40550 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no 40551fi 40552rm -f core conftest.err conftest.$ac_objext \ 40553 conftest$ac_exeext conftest.$ac_ext 40554LIBS=$ac_check_lib_save_LIBS 40555fi 40556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5 40557$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; } 40558if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then : 40559 ac_cv_libfcache_dummy=yes 40560else 40561 ac_cv_libfcache=no 40562fi 40563 40564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5 40565$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; } 40566if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then : 40567 $as_echo_n "(cached) " >&6 40568else 40569 ac_check_lib_save_LIBS=$LIBS 40570LIBS="-lfcache $LIBS" 40571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40572/* end confdefs.h. */ 40573 40574/* Override any GCC internal prototype to avoid an error. 40575 Use char because int might match the return type of a GCC 40576 builtin and then its argument prototype would still apply. */ 40577#ifdef __cplusplus 40578extern "C" 40579#endif 40580char libfcache_cache_clear_value_by_index (); 40581int 40582main () 40583{ 40584return libfcache_cache_clear_value_by_index (); 40585 ; 40586 return 0; 40587} 40588_ACEOF 40589if ac_fn_c_try_link "$LINENO"; then : 40590 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes 40591else 40592 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no 40593fi 40594rm -f core conftest.err conftest.$ac_objext \ 40595 conftest$ac_exeext conftest.$ac_ext 40596LIBS=$ac_check_lib_save_LIBS 40597fi 40598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5 40599$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; } 40600if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then : 40601 ac_cv_libfcache_dummy=yes 40602else 40603 ac_cv_libfcache=no 40604fi 40605 40606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5 40607$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; } 40608if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then : 40609 $as_echo_n "(cached) " >&6 40610else 40611 ac_check_lib_save_LIBS=$LIBS 40612LIBS="-lfcache $LIBS" 40613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40614/* end confdefs.h. */ 40615 40616/* Override any GCC internal prototype to avoid an error. 40617 Use char because int might match the return type of a GCC 40618 builtin and then its argument prototype would still apply. */ 40619#ifdef __cplusplus 40620extern "C" 40621#endif 40622char libfcache_cache_get_value_by_identifier (); 40623int 40624main () 40625{ 40626return libfcache_cache_get_value_by_identifier (); 40627 ; 40628 return 0; 40629} 40630_ACEOF 40631if ac_fn_c_try_link "$LINENO"; then : 40632 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes 40633else 40634 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no 40635fi 40636rm -f core conftest.err conftest.$ac_objext \ 40637 conftest$ac_exeext conftest.$ac_ext 40638LIBS=$ac_check_lib_save_LIBS 40639fi 40640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5 40641$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; } 40642if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then : 40643 ac_cv_libfcache_dummy=yes 40644else 40645 ac_cv_libfcache=no 40646fi 40647 40648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5 40649$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; } 40650if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then : 40651 $as_echo_n "(cached) " >&6 40652else 40653 ac_check_lib_save_LIBS=$LIBS 40654LIBS="-lfcache $LIBS" 40655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40656/* end confdefs.h. */ 40657 40658/* Override any GCC internal prototype to avoid an error. 40659 Use char because int might match the return type of a GCC 40660 builtin and then its argument prototype would still apply. */ 40661#ifdef __cplusplus 40662extern "C" 40663#endif 40664char libfcache_cache_get_value_by_index (); 40665int 40666main () 40667{ 40668return libfcache_cache_get_value_by_index (); 40669 ; 40670 return 0; 40671} 40672_ACEOF 40673if ac_fn_c_try_link "$LINENO"; then : 40674 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes 40675else 40676 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no 40677fi 40678rm -f core conftest.err conftest.$ac_objext \ 40679 conftest$ac_exeext conftest.$ac_ext 40680LIBS=$ac_check_lib_save_LIBS 40681fi 40682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5 40683$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; } 40684if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then : 40685 ac_cv_libfcache_dummy=yes 40686else 40687 ac_cv_libfcache=no 40688fi 40689 40690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5 40691$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; } 40692if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then : 40693 $as_echo_n "(cached) " >&6 40694else 40695 ac_check_lib_save_LIBS=$LIBS 40696LIBS="-lfcache $LIBS" 40697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40698/* end confdefs.h. */ 40699 40700/* Override any GCC internal prototype to avoid an error. 40701 Use char because int might match the return type of a GCC 40702 builtin and then its argument prototype would still apply. */ 40703#ifdef __cplusplus 40704extern "C" 40705#endif 40706char libfcache_cache_set_value_by_identifier (); 40707int 40708main () 40709{ 40710return libfcache_cache_set_value_by_identifier (); 40711 ; 40712 return 0; 40713} 40714_ACEOF 40715if ac_fn_c_try_link "$LINENO"; then : 40716 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes 40717else 40718 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no 40719fi 40720rm -f core conftest.err conftest.$ac_objext \ 40721 conftest$ac_exeext conftest.$ac_ext 40722LIBS=$ac_check_lib_save_LIBS 40723fi 40724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5 40725$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; } 40726if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then : 40727 ac_cv_libfcache_dummy=yes 40728else 40729 ac_cv_libfcache=no 40730fi 40731 40732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5 40733$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; } 40734if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then : 40735 $as_echo_n "(cached) " >&6 40736else 40737 ac_check_lib_save_LIBS=$LIBS 40738LIBS="-lfcache $LIBS" 40739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40740/* end confdefs.h. */ 40741 40742/* Override any GCC internal prototype to avoid an error. 40743 Use char because int might match the return type of a GCC 40744 builtin and then its argument prototype would still apply. */ 40745#ifdef __cplusplus 40746extern "C" 40747#endif 40748char libfcache_cache_set_value_by_index (); 40749int 40750main () 40751{ 40752return libfcache_cache_set_value_by_index (); 40753 ; 40754 return 0; 40755} 40756_ACEOF 40757if ac_fn_c_try_link "$LINENO"; then : 40758 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes 40759else 40760 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no 40761fi 40762rm -f core conftest.err conftest.$ac_objext \ 40763 conftest$ac_exeext conftest.$ac_ext 40764LIBS=$ac_check_lib_save_LIBS 40765fi 40766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5 40767$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; } 40768if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then : 40769 ac_cv_libfcache_dummy=yes 40770else 40771 ac_cv_libfcache=no 40772fi 40773 40774 40775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5 40776$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; } 40777if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then : 40778 $as_echo_n "(cached) " >&6 40779else 40780 ac_check_lib_save_LIBS=$LIBS 40781LIBS="-lfcache $LIBS" 40782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40783/* end confdefs.h. */ 40784 40785/* Override any GCC internal prototype to avoid an error. 40786 Use char because int might match the return type of a GCC 40787 builtin and then its argument prototype would still apply. */ 40788#ifdef __cplusplus 40789extern "C" 40790#endif 40791char libfcache_cache_value_free (); 40792int 40793main () 40794{ 40795return libfcache_cache_value_free (); 40796 ; 40797 return 0; 40798} 40799_ACEOF 40800if ac_fn_c_try_link "$LINENO"; then : 40801 ac_cv_lib_fcache_libfcache_cache_value_free=yes 40802else 40803 ac_cv_lib_fcache_libfcache_cache_value_free=no 40804fi 40805rm -f core conftest.err conftest.$ac_objext \ 40806 conftest$ac_exeext conftest.$ac_ext 40807LIBS=$ac_check_lib_save_LIBS 40808fi 40809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5 40810$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; } 40811if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then : 40812 ac_cv_libfcache_dummy=yes 40813else 40814 ac_cv_libfcache=no 40815fi 40816 40817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5 40818$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; } 40819if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then : 40820 $as_echo_n "(cached) " >&6 40821else 40822 ac_check_lib_save_LIBS=$LIBS 40823LIBS="-lfcache $LIBS" 40824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40825/* end confdefs.h. */ 40826 40827/* Override any GCC internal prototype to avoid an error. 40828 Use char because int might match the return type of a GCC 40829 builtin and then its argument prototype would still apply. */ 40830#ifdef __cplusplus 40831extern "C" 40832#endif 40833char libfcache_cache_value_clear (); 40834int 40835main () 40836{ 40837return libfcache_cache_value_clear (); 40838 ; 40839 return 0; 40840} 40841_ACEOF 40842if ac_fn_c_try_link "$LINENO"; then : 40843 ac_cv_lib_fcache_libfcache_cache_value_clear=yes 40844else 40845 ac_cv_lib_fcache_libfcache_cache_value_clear=no 40846fi 40847rm -f core conftest.err conftest.$ac_objext \ 40848 conftest$ac_exeext conftest.$ac_ext 40849LIBS=$ac_check_lib_save_LIBS 40850fi 40851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5 40852$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; } 40853if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then : 40854 ac_cv_libfcache_dummy=yes 40855else 40856 ac_cv_libfcache=no 40857fi 40858 40859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5 40860$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; } 40861if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then : 40862 $as_echo_n "(cached) " >&6 40863else 40864 ac_check_lib_save_LIBS=$LIBS 40865LIBS="-lfcache $LIBS" 40866cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40867/* end confdefs.h. */ 40868 40869/* Override any GCC internal prototype to avoid an error. 40870 Use char because int might match the return type of a GCC 40871 builtin and then its argument prototype would still apply. */ 40872#ifdef __cplusplus 40873extern "C" 40874#endif 40875char libfcache_cache_value_get_identifier (); 40876int 40877main () 40878{ 40879return libfcache_cache_value_get_identifier (); 40880 ; 40881 return 0; 40882} 40883_ACEOF 40884if ac_fn_c_try_link "$LINENO"; then : 40885 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes 40886else 40887 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no 40888fi 40889rm -f core conftest.err conftest.$ac_objext \ 40890 conftest$ac_exeext conftest.$ac_ext 40891LIBS=$ac_check_lib_save_LIBS 40892fi 40893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5 40894$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; } 40895if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then : 40896 ac_cv_libfcache_dummy=yes 40897else 40898 ac_cv_libfcache=no 40899fi 40900 40901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5 40902$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; } 40903if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then : 40904 $as_echo_n "(cached) " >&6 40905else 40906 ac_check_lib_save_LIBS=$LIBS 40907LIBS="-lfcache $LIBS" 40908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40909/* end confdefs.h. */ 40910 40911/* Override any GCC internal prototype to avoid an error. 40912 Use char because int might match the return type of a GCC 40913 builtin and then its argument prototype would still apply. */ 40914#ifdef __cplusplus 40915extern "C" 40916#endif 40917char libfcache_cache_value_set_identifier (); 40918int 40919main () 40920{ 40921return libfcache_cache_value_set_identifier (); 40922 ; 40923 return 0; 40924} 40925_ACEOF 40926if ac_fn_c_try_link "$LINENO"; then : 40927 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes 40928else 40929 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no 40930fi 40931rm -f core conftest.err conftest.$ac_objext \ 40932 conftest$ac_exeext conftest.$ac_ext 40933LIBS=$ac_check_lib_save_LIBS 40934fi 40935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5 40936$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; } 40937if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then : 40938 ac_cv_libfcache_dummy=yes 40939else 40940 ac_cv_libfcache=no 40941fi 40942 40943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5 40944$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; } 40945if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then : 40946 $as_echo_n "(cached) " >&6 40947else 40948 ac_check_lib_save_LIBS=$LIBS 40949LIBS="-lfcache $LIBS" 40950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40951/* end confdefs.h. */ 40952 40953/* Override any GCC internal prototype to avoid an error. 40954 Use char because int might match the return type of a GCC 40955 builtin and then its argument prototype would still apply. */ 40956#ifdef __cplusplus 40957extern "C" 40958#endif 40959char libfcache_cache_value_get_value (); 40960int 40961main () 40962{ 40963return libfcache_cache_value_get_value (); 40964 ; 40965 return 0; 40966} 40967_ACEOF 40968if ac_fn_c_try_link "$LINENO"; then : 40969 ac_cv_lib_fcache_libfcache_cache_value_get_value=yes 40970else 40971 ac_cv_lib_fcache_libfcache_cache_value_get_value=no 40972fi 40973rm -f core conftest.err conftest.$ac_objext \ 40974 conftest$ac_exeext conftest.$ac_ext 40975LIBS=$ac_check_lib_save_LIBS 40976fi 40977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5 40978$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; } 40979if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then : 40980 ac_cv_libfcache_dummy=yes 40981else 40982 ac_cv_libfcache=no 40983fi 40984 40985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5 40986$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; } 40987if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then : 40988 $as_echo_n "(cached) " >&6 40989else 40990 ac_check_lib_save_LIBS=$LIBS 40991LIBS="-lfcache $LIBS" 40992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40993/* end confdefs.h. */ 40994 40995/* Override any GCC internal prototype to avoid an error. 40996 Use char because int might match the return type of a GCC 40997 builtin and then its argument prototype would still apply. */ 40998#ifdef __cplusplus 40999extern "C" 41000#endif 41001char libfcache_cache_value_set_value (); 41002int 41003main () 41004{ 41005return libfcache_cache_value_set_value (); 41006 ; 41007 return 0; 41008} 41009_ACEOF 41010if ac_fn_c_try_link "$LINENO"; then : 41011 ac_cv_lib_fcache_libfcache_cache_value_set_value=yes 41012else 41013 ac_cv_lib_fcache_libfcache_cache_value_set_value=no 41014fi 41015rm -f core conftest.err conftest.$ac_objext \ 41016 conftest$ac_exeext conftest.$ac_ext 41017LIBS=$ac_check_lib_save_LIBS 41018fi 41019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5 41020$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; } 41021if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then : 41022 ac_cv_libfcache_dummy=yes 41023else 41024 ac_cv_libfcache=no 41025fi 41026 41027 41028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5 41029$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; } 41030if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then : 41031 $as_echo_n "(cached) " >&6 41032else 41033 ac_check_lib_save_LIBS=$LIBS 41034LIBS="-lfcache $LIBS" 41035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41036/* end confdefs.h. */ 41037 41038/* Override any GCC internal prototype to avoid an error. 41039 Use char because int might match the return type of a GCC 41040 builtin and then its argument prototype would still apply. */ 41041#ifdef __cplusplus 41042extern "C" 41043#endif 41044char libfcache_date_time_get_timestamp (); 41045int 41046main () 41047{ 41048return libfcache_date_time_get_timestamp (); 41049 ; 41050 return 0; 41051} 41052_ACEOF 41053if ac_fn_c_try_link "$LINENO"; then : 41054 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes 41055else 41056 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no 41057fi 41058rm -f core conftest.err conftest.$ac_objext \ 41059 conftest$ac_exeext conftest.$ac_ext 41060LIBS=$ac_check_lib_save_LIBS 41061fi 41062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5 41063$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; } 41064if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then : 41065 ac_cv_libfcache_dummy=yes 41066else 41067 ac_cv_libfcache=no 41068fi 41069 41070 41071 ac_cv_libfcache_LIBADD="-lfcache" 41072fi 41073 41074fi 41075 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then : 41076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41078as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache 41079See \`config.log' for more details" "$LINENO" 5; } 41080 41081fi 41082 41083fi 41084 41085 if test "x$ac_cv_libfcache" = xyes; then : 41086 41087$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h 41088 41089 41090fi 41091 41092 if test "x$ac_cv_libfcache" = xyes; then : 41093 HAVE_LIBFCACHE=1 41094 41095else 41096 HAVE_LIBFCACHE=0 41097 41098 41099fi 41100 41101 41102 if test "x$ac_cv_libfcache" != xyes; then : 41103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 41104$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 41105if ${ac_cv_struct_tm+:} false; then : 41106 $as_echo_n "(cached) " >&6 41107else 41108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41109/* end confdefs.h. */ 41110#include <sys/types.h> 41111#include <time.h> 41112 41113int 41114main () 41115{ 41116struct tm tm; 41117 int *p = &tm.tm_sec; 41118 return !p; 41119 ; 41120 return 0; 41121} 41122_ACEOF 41123if ac_fn_c_try_compile "$LINENO"; then : 41124 ac_cv_struct_tm=time.h 41125else 41126 ac_cv_struct_tm=sys/time.h 41127fi 41128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41129fi 41130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 41131$as_echo "$ac_cv_struct_tm" >&6; } 41132if test $ac_cv_struct_tm = sys/time.h; then 41133 41134$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 41135 41136fi 41137 41138 41139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 41140$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 41141if ${ac_cv_header_time+:} false; then : 41142 $as_echo_n "(cached) " >&6 41143else 41144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41145/* end confdefs.h. */ 41146#include <sys/types.h> 41147#include <sys/time.h> 41148#include <time.h> 41149 41150int 41151main () 41152{ 41153if ((struct tm *) 0) 41154return 0; 41155 ; 41156 return 0; 41157} 41158_ACEOF 41159if ac_fn_c_try_compile "$LINENO"; then : 41160 ac_cv_header_time=yes 41161else 41162 ac_cv_header_time=no 41163fi 41164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41165fi 41166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 41167$as_echo "$ac_cv_header_time" >&6; } 41168if test $ac_cv_header_time = yes; then 41169 41170$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 41171 41172fi 41173 41174 41175 for ac_func in clock_gettime time 41176do : 41177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 41178ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 41179if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 41180 cat >>confdefs.h <<_ACEOF 41181#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 41182_ACEOF 41183 41184fi 41185done 41186 41187 41188 if test "x$ac_cv_func_time" != xyes; then : 41189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41190$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41191as_fn_error 1 "Missing function: time 41192See \`config.log' for more details" "$LINENO" 5; } 41193 41194fi 41195 41196 ac_cv_libfcache_CPPFLAGS="-I../libfcache"; 41197 ac_cv_libfcache_LIBADD="../libfcache/libfcache.la"; 41198 41199 ac_cv_libfcache=local 41200 41201 41202 41203$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h 41204 41205 HAVE_LOCAL_LIBFCACHE=1 41206 41207 41208fi 41209 41210 if test "x$ac_cv_libfcache" = xlocal; then 41211 HAVE_LOCAL_LIBFCACHE_TRUE= 41212 HAVE_LOCAL_LIBFCACHE_FALSE='#' 41213else 41214 HAVE_LOCAL_LIBFCACHE_TRUE='#' 41215 HAVE_LOCAL_LIBFCACHE_FALSE= 41216fi 41217 41218 if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then : 41219 LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS 41220 41221 41222fi 41223 if test "x$ac_cv_libfcache_LIBADD" != "x"; then : 41224 LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD 41225 41226 41227fi 41228 41229 if test "x$ac_cv_libfcache" = xyes; then : 41230 ax_libfcache_pc_libs_private=-lfcache 41231 41232 41233fi 41234 41235 if test "x$ac_cv_libfcache" = xyes; then : 41236 ax_libfcache_spec_requires=libfcache 41237 41238 ax_libfcache_spec_build_requires=libfcache-devel 41239 41240 41241fi 41242 41243 41244 41245 41246# Check whether --with-libfdata was given. 41247if test "${with_libfdata+set}" = set; then : 41248 withval=$with_libfdata; ac_cv_with_libfdata=$withval 41249else 41250 ac_cv_with_libfdata=auto-detect 41251fi 41252 41253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfdata in includedir and libdir or in the specified DIR, or no if to use local version" >&5 41254$as_echo_n "checking whether to use search for libfdata in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 41255if ${ac_cv_with_libfdata+:} false; then : 41256 $as_echo_n "(cached) " >&6 41257else 41258 ac_cv_with_libfdata=auto-detect 41259fi 41260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5 41261$as_echo "$ac_cv_with_libfdata" >&6; } 41262 41263 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then : 41264 ac_cv_libfdata=no 41265else 41266 ac_cv_libfdata=check 41267 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then : 41268 if test -d "$ac_cv_with_libfdata"; then : 41269 CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include" 41270 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib" 41271else 41272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41273$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41274as_fn_error 1 "no such directory: $ac_cv_with_libfdata 41275See \`config.log' for more details" "$LINENO" 5; } 41276 41277fi 41278 41279else 41280 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 41281 41282pkg_failed=no 41283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5 41284$as_echo_n "checking for libfdata... " >&6; } 41285 41286if test -n "$libfdata_CFLAGS"; then 41287 pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS" 41288 elif test -n "$PKG_CONFIG"; then 41289 if test -n "$PKG_CONFIG" && \ 41290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41291 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41292 ac_status=$? 41293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41294 test $ac_status = 0; }; then 41295 pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null` 41296 test "x$?" != "x0" && pkg_failed=yes 41297else 41298 pkg_failed=yes 41299fi 41300 else 41301 pkg_failed=untried 41302fi 41303if test -n "$libfdata_LIBS"; then 41304 pkg_cv_libfdata_LIBS="$libfdata_LIBS" 41305 elif test -n "$PKG_CONFIG"; then 41306 if test -n "$PKG_CONFIG" && \ 41307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41308 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41309 ac_status=$? 41310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41311 test $ac_status = 0; }; then 41312 pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null` 41313 test "x$?" != "x0" && pkg_failed=yes 41314else 41315 pkg_failed=yes 41316fi 41317 else 41318 pkg_failed=untried 41319fi 41320 41321 41322 41323if test $pkg_failed = yes; then 41324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41325$as_echo "no" >&6; } 41326 41327if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 41328 _pkg_short_errors_supported=yes 41329else 41330 _pkg_short_errors_supported=no 41331fi 41332 if test $_pkg_short_errors_supported = yes; then 41333 libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41334 else 41335 libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41336 fi 41337 # Put the nasty error message in config.log where it belongs 41338 echo "$libfdata_PKG_ERRORS" >&5 41339 41340 ac_cv_libfdata=check 41341elif test $pkg_failed = untried; then 41342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41343$as_echo "no" >&6; } 41344 ac_cv_libfdata=check 41345else 41346 libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS 41347 libfdata_LIBS=$pkg_cv_libfdata_LIBS 41348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 41349$as_echo "yes" >&6; } 41350 ac_cv_libfdata=yes 41351fi 41352 41353fi 41354 if test "x$ac_cv_libfdata" = xyes; then : 41355 ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS" 41356 ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS" 41357fi 41358 41359fi 41360 41361 if test "x$ac_cv_libfdata" = xcheck; then : 41362 for ac_header in libfdata.h 41363do : 41364 ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default" 41365if test "x$ac_cv_header_libfdata_h" = xyes; then : 41366 cat >>confdefs.h <<_ACEOF 41367#define HAVE_LIBFDATA_H 1 41368_ACEOF 41369 41370fi 41371 41372done 41373 41374 41375 if test "x$ac_cv_header_libfdata_h" = xno; then : 41376 ac_cv_libfdata=no 41377else 41378 ac_cv_libfdata=yes 41379 41380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5 41381$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; } 41382if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then : 41383 $as_echo_n "(cached) " >&6 41384else 41385 ac_check_lib_save_LIBS=$LIBS 41386LIBS="-lfdata $LIBS" 41387cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41388/* end confdefs.h. */ 41389 41390/* Override any GCC internal prototype to avoid an error. 41391 Use char because int might match the return type of a GCC 41392 builtin and then its argument prototype would still apply. */ 41393#ifdef __cplusplus 41394extern "C" 41395#endif 41396char libfdata_get_version (); 41397int 41398main () 41399{ 41400return libfdata_get_version (); 41401 ; 41402 return 0; 41403} 41404_ACEOF 41405if ac_fn_c_try_link "$LINENO"; then : 41406 ac_cv_lib_fdata_libfdata_get_version=yes 41407else 41408 ac_cv_lib_fdata_libfdata_get_version=no 41409fi 41410rm -f core conftest.err conftest.$ac_objext \ 41411 conftest$ac_exeext conftest.$ac_ext 41412LIBS=$ac_check_lib_save_LIBS 41413fi 41414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5 41415$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; } 41416if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then : 41417 ac_cv_libfdata_dummy=yes 41418else 41419 ac_cv_libfdata=no 41420fi 41421 41422 41423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5 41424$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; } 41425if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then : 41426 $as_echo_n "(cached) " >&6 41427else 41428 ac_check_lib_save_LIBS=$LIBS 41429LIBS="-lfdata $LIBS" 41430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41431/* end confdefs.h. */ 41432 41433/* Override any GCC internal prototype to avoid an error. 41434 Use char because int might match the return type of a GCC 41435 builtin and then its argument prototype would still apply. */ 41436#ifdef __cplusplus 41437extern "C" 41438#endif 41439char libfdata_area_initialize (); 41440int 41441main () 41442{ 41443return libfdata_area_initialize (); 41444 ; 41445 return 0; 41446} 41447_ACEOF 41448if ac_fn_c_try_link "$LINENO"; then : 41449 ac_cv_lib_fdata_libfdata_area_initialize=yes 41450else 41451 ac_cv_lib_fdata_libfdata_area_initialize=no 41452fi 41453rm -f core conftest.err conftest.$ac_objext \ 41454 conftest$ac_exeext conftest.$ac_ext 41455LIBS=$ac_check_lib_save_LIBS 41456fi 41457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5 41458$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; } 41459if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then : 41460 ac_cv_libfdata_dummy=yes 41461else 41462 ac_cv_libfdata=no 41463fi 41464 41465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5 41466$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; } 41467if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then : 41468 $as_echo_n "(cached) " >&6 41469else 41470 ac_check_lib_save_LIBS=$LIBS 41471LIBS="-lfdata $LIBS" 41472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41473/* end confdefs.h. */ 41474 41475/* Override any GCC internal prototype to avoid an error. 41476 Use char because int might match the return type of a GCC 41477 builtin and then its argument prototype would still apply. */ 41478#ifdef __cplusplus 41479extern "C" 41480#endif 41481char libfdata_area_free (); 41482int 41483main () 41484{ 41485return libfdata_area_free (); 41486 ; 41487 return 0; 41488} 41489_ACEOF 41490if ac_fn_c_try_link "$LINENO"; then : 41491 ac_cv_lib_fdata_libfdata_area_free=yes 41492else 41493 ac_cv_lib_fdata_libfdata_area_free=no 41494fi 41495rm -f core conftest.err conftest.$ac_objext \ 41496 conftest$ac_exeext conftest.$ac_ext 41497LIBS=$ac_check_lib_save_LIBS 41498fi 41499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5 41500$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; } 41501if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then : 41502 ac_cv_libfdata_dummy=yes 41503else 41504 ac_cv_libfdata=no 41505fi 41506 41507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5 41508$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; } 41509if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then : 41510 $as_echo_n "(cached) " >&6 41511else 41512 ac_check_lib_save_LIBS=$LIBS 41513LIBS="-lfdata $LIBS" 41514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41515/* end confdefs.h. */ 41516 41517/* Override any GCC internal prototype to avoid an error. 41518 Use char because int might match the return type of a GCC 41519 builtin and then its argument prototype would still apply. */ 41520#ifdef __cplusplus 41521extern "C" 41522#endif 41523char libfdata_area_clone (); 41524int 41525main () 41526{ 41527return libfdata_area_clone (); 41528 ; 41529 return 0; 41530} 41531_ACEOF 41532if ac_fn_c_try_link "$LINENO"; then : 41533 ac_cv_lib_fdata_libfdata_area_clone=yes 41534else 41535 ac_cv_lib_fdata_libfdata_area_clone=no 41536fi 41537rm -f core conftest.err conftest.$ac_objext \ 41538 conftest$ac_exeext conftest.$ac_ext 41539LIBS=$ac_check_lib_save_LIBS 41540fi 41541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5 41542$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; } 41543if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then : 41544 ac_cv_libfdata_dummy=yes 41545else 41546 ac_cv_libfdata=no 41547fi 41548 41549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5 41550$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; } 41551if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then : 41552 $as_echo_n "(cached) " >&6 41553else 41554 ac_check_lib_save_LIBS=$LIBS 41555LIBS="-lfdata $LIBS" 41556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41557/* end confdefs.h. */ 41558 41559/* Override any GCC internal prototype to avoid an error. 41560 Use char because int might match the return type of a GCC 41561 builtin and then its argument prototype would still apply. */ 41562#ifdef __cplusplus 41563extern "C" 41564#endif 41565char libfdata_area_empty (); 41566int 41567main () 41568{ 41569return libfdata_area_empty (); 41570 ; 41571 return 0; 41572} 41573_ACEOF 41574if ac_fn_c_try_link "$LINENO"; then : 41575 ac_cv_lib_fdata_libfdata_area_empty=yes 41576else 41577 ac_cv_lib_fdata_libfdata_area_empty=no 41578fi 41579rm -f core conftest.err conftest.$ac_objext \ 41580 conftest$ac_exeext conftest.$ac_ext 41581LIBS=$ac_check_lib_save_LIBS 41582fi 41583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5 41584$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; } 41585if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then : 41586 ac_cv_libfdata_dummy=yes 41587else 41588 ac_cv_libfdata=no 41589fi 41590 41591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5 41592$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; } 41593if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then : 41594 $as_echo_n "(cached) " >&6 41595else 41596 ac_check_lib_save_LIBS=$LIBS 41597LIBS="-lfdata $LIBS" 41598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41599/* end confdefs.h. */ 41600 41601/* Override any GCC internal prototype to avoid an error. 41602 Use char because int might match the return type of a GCC 41603 builtin and then its argument prototype would still apply. */ 41604#ifdef __cplusplus 41605extern "C" 41606#endif 41607char libfdata_area_resize (); 41608int 41609main () 41610{ 41611return libfdata_area_resize (); 41612 ; 41613 return 0; 41614} 41615_ACEOF 41616if ac_fn_c_try_link "$LINENO"; then : 41617 ac_cv_lib_fdata_libfdata_area_resize=yes 41618else 41619 ac_cv_lib_fdata_libfdata_area_resize=no 41620fi 41621rm -f core conftest.err conftest.$ac_objext \ 41622 conftest$ac_exeext conftest.$ac_ext 41623LIBS=$ac_check_lib_save_LIBS 41624fi 41625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5 41626$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; } 41627if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then : 41628 ac_cv_libfdata_dummy=yes 41629else 41630 ac_cv_libfdata=no 41631fi 41632 41633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5 41634$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; } 41635if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then : 41636 $as_echo_n "(cached) " >&6 41637else 41638 ac_check_lib_save_LIBS=$LIBS 41639LIBS="-lfdata $LIBS" 41640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41641/* end confdefs.h. */ 41642 41643/* Override any GCC internal prototype to avoid an error. 41644 Use char because int might match the return type of a GCC 41645 builtin and then its argument prototype would still apply. */ 41646#ifdef __cplusplus 41647extern "C" 41648#endif 41649char libfdata_area_get_number_of_segments (); 41650int 41651main () 41652{ 41653return libfdata_area_get_number_of_segments (); 41654 ; 41655 return 0; 41656} 41657_ACEOF 41658if ac_fn_c_try_link "$LINENO"; then : 41659 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes 41660else 41661 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no 41662fi 41663rm -f core conftest.err conftest.$ac_objext \ 41664 conftest$ac_exeext conftest.$ac_ext 41665LIBS=$ac_check_lib_save_LIBS 41666fi 41667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5 41668$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; } 41669if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then : 41670 ac_cv_libfdata_dummy=yes 41671else 41672 ac_cv_libfdata=no 41673fi 41674 41675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5 41676$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; } 41677if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then : 41678 $as_echo_n "(cached) " >&6 41679else 41680 ac_check_lib_save_LIBS=$LIBS 41681LIBS="-lfdata $LIBS" 41682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41683/* end confdefs.h. */ 41684 41685/* Override any GCC internal prototype to avoid an error. 41686 Use char because int might match the return type of a GCC 41687 builtin and then its argument prototype would still apply. */ 41688#ifdef __cplusplus 41689extern "C" 41690#endif 41691char libfdata_area_get_segment_by_index (); 41692int 41693main () 41694{ 41695return libfdata_area_get_segment_by_index (); 41696 ; 41697 return 0; 41698} 41699_ACEOF 41700if ac_fn_c_try_link "$LINENO"; then : 41701 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes 41702else 41703 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no 41704fi 41705rm -f core conftest.err conftest.$ac_objext \ 41706 conftest$ac_exeext conftest.$ac_ext 41707LIBS=$ac_check_lib_save_LIBS 41708fi 41709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5 41710$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; } 41711if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then : 41712 ac_cv_libfdata_dummy=yes 41713else 41714 ac_cv_libfdata=no 41715fi 41716 41717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5 41718$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; } 41719if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then : 41720 $as_echo_n "(cached) " >&6 41721else 41722 ac_check_lib_save_LIBS=$LIBS 41723LIBS="-lfdata $LIBS" 41724cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41725/* end confdefs.h. */ 41726 41727/* Override any GCC internal prototype to avoid an error. 41728 Use char because int might match the return type of a GCC 41729 builtin and then its argument prototype would still apply. */ 41730#ifdef __cplusplus 41731extern "C" 41732#endif 41733char libfdata_area_set_segment_by_index (); 41734int 41735main () 41736{ 41737return libfdata_area_set_segment_by_index (); 41738 ; 41739 return 0; 41740} 41741_ACEOF 41742if ac_fn_c_try_link "$LINENO"; then : 41743 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes 41744else 41745 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no 41746fi 41747rm -f core conftest.err conftest.$ac_objext \ 41748 conftest$ac_exeext conftest.$ac_ext 41749LIBS=$ac_check_lib_save_LIBS 41750fi 41751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5 41752$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; } 41753if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then : 41754 ac_cv_libfdata_dummy=yes 41755else 41756 ac_cv_libfdata=no 41757fi 41758 41759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5 41760$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; } 41761if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then : 41762 $as_echo_n "(cached) " >&6 41763else 41764 ac_check_lib_save_LIBS=$LIBS 41765LIBS="-lfdata $LIBS" 41766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41767/* end confdefs.h. */ 41768 41769/* Override any GCC internal prototype to avoid an error. 41770 Use char because int might match the return type of a GCC 41771 builtin and then its argument prototype would still apply. */ 41772#ifdef __cplusplus 41773extern "C" 41774#endif 41775char libfdata_area_prepend_segment (); 41776int 41777main () 41778{ 41779return libfdata_area_prepend_segment (); 41780 ; 41781 return 0; 41782} 41783_ACEOF 41784if ac_fn_c_try_link "$LINENO"; then : 41785 ac_cv_lib_fdata_libfdata_area_prepend_segment=yes 41786else 41787 ac_cv_lib_fdata_libfdata_area_prepend_segment=no 41788fi 41789rm -f core conftest.err conftest.$ac_objext \ 41790 conftest$ac_exeext conftest.$ac_ext 41791LIBS=$ac_check_lib_save_LIBS 41792fi 41793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5 41794$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; } 41795if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then : 41796 ac_cv_libfdata_dummy=yes 41797else 41798 ac_cv_libfdata=no 41799fi 41800 41801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5 41802$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; } 41803if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then : 41804 $as_echo_n "(cached) " >&6 41805else 41806 ac_check_lib_save_LIBS=$LIBS 41807LIBS="-lfdata $LIBS" 41808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41809/* end confdefs.h. */ 41810 41811/* Override any GCC internal prototype to avoid an error. 41812 Use char because int might match the return type of a GCC 41813 builtin and then its argument prototype would still apply. */ 41814#ifdef __cplusplus 41815extern "C" 41816#endif 41817char libfdata_area_append_segment (); 41818int 41819main () 41820{ 41821return libfdata_area_append_segment (); 41822 ; 41823 return 0; 41824} 41825_ACEOF 41826if ac_fn_c_try_link "$LINENO"; then : 41827 ac_cv_lib_fdata_libfdata_area_append_segment=yes 41828else 41829 ac_cv_lib_fdata_libfdata_area_append_segment=no 41830fi 41831rm -f core conftest.err conftest.$ac_objext \ 41832 conftest$ac_exeext conftest.$ac_ext 41833LIBS=$ac_check_lib_save_LIBS 41834fi 41835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5 41836$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; } 41837if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then : 41838 ac_cv_libfdata_dummy=yes 41839else 41840 ac_cv_libfdata=no 41841fi 41842 41843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5 41844$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; } 41845if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then : 41846 $as_echo_n "(cached) " >&6 41847else 41848 ac_check_lib_save_LIBS=$LIBS 41849LIBS="-lfdata $LIBS" 41850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41851/* end confdefs.h. */ 41852 41853/* Override any GCC internal prototype to avoid an error. 41854 Use char because int might match the return type of a GCC 41855 builtin and then its argument prototype would still apply. */ 41856#ifdef __cplusplus 41857extern "C" 41858#endif 41859char libfdata_area_get_element_data_size (); 41860int 41861main () 41862{ 41863return libfdata_area_get_element_data_size (); 41864 ; 41865 return 0; 41866} 41867_ACEOF 41868if ac_fn_c_try_link "$LINENO"; then : 41869 ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes 41870else 41871 ac_cv_lib_fdata_libfdata_area_get_element_data_size=no 41872fi 41873rm -f core conftest.err conftest.$ac_objext \ 41874 conftest$ac_exeext conftest.$ac_ext 41875LIBS=$ac_check_lib_save_LIBS 41876fi 41877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5 41878$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; } 41879if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then : 41880 ac_cv_libfdata_dummy=yes 41881else 41882 ac_cv_libfdata=no 41883fi 41884 41885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5 41886$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; } 41887if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then : 41888 $as_echo_n "(cached) " >&6 41889else 41890 ac_check_lib_save_LIBS=$LIBS 41891LIBS="-lfdata $LIBS" 41892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41893/* end confdefs.h. */ 41894 41895/* Override any GCC internal prototype to avoid an error. 41896 Use char because int might match the return type of a GCC 41897 builtin and then its argument prototype would still apply. */ 41898#ifdef __cplusplus 41899extern "C" 41900#endif 41901char libfdata_area_get_element_value_at_offset (); 41902int 41903main () 41904{ 41905return libfdata_area_get_element_value_at_offset (); 41906 ; 41907 return 0; 41908} 41909_ACEOF 41910if ac_fn_c_try_link "$LINENO"; then : 41911 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes 41912else 41913 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no 41914fi 41915rm -f core conftest.err conftest.$ac_objext \ 41916 conftest$ac_exeext conftest.$ac_ext 41917LIBS=$ac_check_lib_save_LIBS 41918fi 41919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5 41920$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; } 41921if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then : 41922 ac_cv_libfdata_dummy=yes 41923else 41924 ac_cv_libfdata=no 41925fi 41926 41927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5 41928$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; } 41929if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then : 41930 $as_echo_n "(cached) " >&6 41931else 41932 ac_check_lib_save_LIBS=$LIBS 41933LIBS="-lfdata $LIBS" 41934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41935/* end confdefs.h. */ 41936 41937/* Override any GCC internal prototype to avoid an error. 41938 Use char because int might match the return type of a GCC 41939 builtin and then its argument prototype would still apply. */ 41940#ifdef __cplusplus 41941extern "C" 41942#endif 41943char libfdata_area_set_element_value_at_offset (); 41944int 41945main () 41946{ 41947return libfdata_area_set_element_value_at_offset (); 41948 ; 41949 return 0; 41950} 41951_ACEOF 41952if ac_fn_c_try_link "$LINENO"; then : 41953 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes 41954else 41955 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no 41956fi 41957rm -f core conftest.err conftest.$ac_objext \ 41958 conftest$ac_exeext conftest.$ac_ext 41959LIBS=$ac_check_lib_save_LIBS 41960fi 41961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5 41962$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; } 41963if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then : 41964 ac_cv_libfdata_dummy=yes 41965else 41966 ac_cv_libfdata=no 41967fi 41968 41969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5 41970$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; } 41971if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then : 41972 $as_echo_n "(cached) " >&6 41973else 41974 ac_check_lib_save_LIBS=$LIBS 41975LIBS="-lfdata $LIBS" 41976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41977/* end confdefs.h. */ 41978 41979/* Override any GCC internal prototype to avoid an error. 41980 Use char because int might match the return type of a GCC 41981 builtin and then its argument prototype would still apply. */ 41982#ifdef __cplusplus 41983extern "C" 41984#endif 41985char libfdata_area_get_size (); 41986int 41987main () 41988{ 41989return libfdata_area_get_size (); 41990 ; 41991 return 0; 41992} 41993_ACEOF 41994if ac_fn_c_try_link "$LINENO"; then : 41995 ac_cv_lib_fdata_libfdata_area_get_size=yes 41996else 41997 ac_cv_lib_fdata_libfdata_area_get_size=no 41998fi 41999rm -f core conftest.err conftest.$ac_objext \ 42000 conftest$ac_exeext conftest.$ac_ext 42001LIBS=$ac_check_lib_save_LIBS 42002fi 42003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5 42004$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; } 42005if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then : 42006 ac_cv_libfdata_dummy=yes 42007else 42008 ac_cv_libfdata=no 42009fi 42010 42011 42012 42013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5 42014$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; } 42015if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then : 42016 $as_echo_n "(cached) " >&6 42017else 42018 ac_check_lib_save_LIBS=$LIBS 42019LIBS="-lfdata $LIBS" 42020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42021/* end confdefs.h. */ 42022 42023/* Override any GCC internal prototype to avoid an error. 42024 Use char because int might match the return type of a GCC 42025 builtin and then its argument prototype would still apply. */ 42026#ifdef __cplusplus 42027extern "C" 42028#endif 42029char libfdata_list_initialize (); 42030int 42031main () 42032{ 42033return libfdata_list_initialize (); 42034 ; 42035 return 0; 42036} 42037_ACEOF 42038if ac_fn_c_try_link "$LINENO"; then : 42039 ac_cv_lib_fdata_libfdata_list_initialize=yes 42040else 42041 ac_cv_lib_fdata_libfdata_list_initialize=no 42042fi 42043rm -f core conftest.err conftest.$ac_objext \ 42044 conftest$ac_exeext conftest.$ac_ext 42045LIBS=$ac_check_lib_save_LIBS 42046fi 42047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5 42048$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; } 42049if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then : 42050 ac_cv_libfdata_dummy=yes 42051else 42052 ac_cv_libfdata=no 42053fi 42054 42055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5 42056$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; } 42057if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then : 42058 $as_echo_n "(cached) " >&6 42059else 42060 ac_check_lib_save_LIBS=$LIBS 42061LIBS="-lfdata $LIBS" 42062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42063/* end confdefs.h. */ 42064 42065/* Override any GCC internal prototype to avoid an error. 42066 Use char because int might match the return type of a GCC 42067 builtin and then its argument prototype would still apply. */ 42068#ifdef __cplusplus 42069extern "C" 42070#endif 42071char libfdata_list_free (); 42072int 42073main () 42074{ 42075return libfdata_list_free (); 42076 ; 42077 return 0; 42078} 42079_ACEOF 42080if ac_fn_c_try_link "$LINENO"; then : 42081 ac_cv_lib_fdata_libfdata_list_free=yes 42082else 42083 ac_cv_lib_fdata_libfdata_list_free=no 42084fi 42085rm -f core conftest.err conftest.$ac_objext \ 42086 conftest$ac_exeext conftest.$ac_ext 42087LIBS=$ac_check_lib_save_LIBS 42088fi 42089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5 42090$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; } 42091if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then : 42092 ac_cv_libfdata_dummy=yes 42093else 42094 ac_cv_libfdata=no 42095fi 42096 42097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5 42098$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; } 42099if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then : 42100 $as_echo_n "(cached) " >&6 42101else 42102 ac_check_lib_save_LIBS=$LIBS 42103LIBS="-lfdata $LIBS" 42104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42105/* end confdefs.h. */ 42106 42107/* Override any GCC internal prototype to avoid an error. 42108 Use char because int might match the return type of a GCC 42109 builtin and then its argument prototype would still apply. */ 42110#ifdef __cplusplus 42111extern "C" 42112#endif 42113char libfdata_list_clone (); 42114int 42115main () 42116{ 42117return libfdata_list_clone (); 42118 ; 42119 return 0; 42120} 42121_ACEOF 42122if ac_fn_c_try_link "$LINENO"; then : 42123 ac_cv_lib_fdata_libfdata_list_clone=yes 42124else 42125 ac_cv_lib_fdata_libfdata_list_clone=no 42126fi 42127rm -f core conftest.err conftest.$ac_objext \ 42128 conftest$ac_exeext conftest.$ac_ext 42129LIBS=$ac_check_lib_save_LIBS 42130fi 42131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5 42132$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; } 42133if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then : 42134 ac_cv_libfdata_dummy=yes 42135else 42136 ac_cv_libfdata=no 42137fi 42138 42139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5 42140$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; } 42141if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then : 42142 $as_echo_n "(cached) " >&6 42143else 42144 ac_check_lib_save_LIBS=$LIBS 42145LIBS="-lfdata $LIBS" 42146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42147/* end confdefs.h. */ 42148 42149/* Override any GCC internal prototype to avoid an error. 42150 Use char because int might match the return type of a GCC 42151 builtin and then its argument prototype would still apply. */ 42152#ifdef __cplusplus 42153extern "C" 42154#endif 42155char libfdata_list_empty (); 42156int 42157main () 42158{ 42159return libfdata_list_empty (); 42160 ; 42161 return 0; 42162} 42163_ACEOF 42164if ac_fn_c_try_link "$LINENO"; then : 42165 ac_cv_lib_fdata_libfdata_list_empty=yes 42166else 42167 ac_cv_lib_fdata_libfdata_list_empty=no 42168fi 42169rm -f core conftest.err conftest.$ac_objext \ 42170 conftest$ac_exeext conftest.$ac_ext 42171LIBS=$ac_check_lib_save_LIBS 42172fi 42173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5 42174$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; } 42175if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then : 42176 ac_cv_libfdata_dummy=yes 42177else 42178 ac_cv_libfdata=no 42179fi 42180 42181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5 42182$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; } 42183if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then : 42184 $as_echo_n "(cached) " >&6 42185else 42186 ac_check_lib_save_LIBS=$LIBS 42187LIBS="-lfdata $LIBS" 42188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42189/* end confdefs.h. */ 42190 42191/* Override any GCC internal prototype to avoid an error. 42192 Use char because int might match the return type of a GCC 42193 builtin and then its argument prototype would still apply. */ 42194#ifdef __cplusplus 42195extern "C" 42196#endif 42197char libfdata_list_resize (); 42198int 42199main () 42200{ 42201return libfdata_list_resize (); 42202 ; 42203 return 0; 42204} 42205_ACEOF 42206if ac_fn_c_try_link "$LINENO"; then : 42207 ac_cv_lib_fdata_libfdata_list_resize=yes 42208else 42209 ac_cv_lib_fdata_libfdata_list_resize=no 42210fi 42211rm -f core conftest.err conftest.$ac_objext \ 42212 conftest$ac_exeext conftest.$ac_ext 42213LIBS=$ac_check_lib_save_LIBS 42214fi 42215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5 42216$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; } 42217if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then : 42218 ac_cv_libfdata_dummy=yes 42219else 42220 ac_cv_libfdata=no 42221fi 42222 42223 42224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5 42225$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; } 42226if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then : 42227 $as_echo_n "(cached) " >&6 42228else 42229 ac_check_lib_save_LIBS=$LIBS 42230LIBS="-lfdata $LIBS" 42231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42232/* end confdefs.h. */ 42233 42234/* Override any GCC internal prototype to avoid an error. 42235 Use char because int might match the return type of a GCC 42236 builtin and then its argument prototype would still apply. */ 42237#ifdef __cplusplus 42238extern "C" 42239#endif 42240char libfdata_list_reverse (); 42241int 42242main () 42243{ 42244return libfdata_list_reverse (); 42245 ; 42246 return 0; 42247} 42248_ACEOF 42249if ac_fn_c_try_link "$LINENO"; then : 42250 ac_cv_lib_fdata_libfdata_list_reverse=yes 42251else 42252 ac_cv_lib_fdata_libfdata_list_reverse=no 42253fi 42254rm -f core conftest.err conftest.$ac_objext \ 42255 conftest$ac_exeext conftest.$ac_ext 42256LIBS=$ac_check_lib_save_LIBS 42257fi 42258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5 42259$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; } 42260if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then : 42261 ac_cv_libfdata_dummy=yes 42262else 42263 ac_cv_libfdata=no 42264fi 42265 42266 42267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5 42268$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; } 42269if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then : 42270 $as_echo_n "(cached) " >&6 42271else 42272 ac_check_lib_save_LIBS=$LIBS 42273LIBS="-lfdata $LIBS" 42274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42275/* end confdefs.h. */ 42276 42277/* Override any GCC internal prototype to avoid an error. 42278 Use char because int might match the return type of a GCC 42279 builtin and then its argument prototype would still apply. */ 42280#ifdef __cplusplus 42281extern "C" 42282#endif 42283char libfdata_list_get_number_of_elements (); 42284int 42285main () 42286{ 42287return libfdata_list_get_number_of_elements (); 42288 ; 42289 return 0; 42290} 42291_ACEOF 42292if ac_fn_c_try_link "$LINENO"; then : 42293 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes 42294else 42295 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no 42296fi 42297rm -f core conftest.err conftest.$ac_objext \ 42298 conftest$ac_exeext conftest.$ac_ext 42299LIBS=$ac_check_lib_save_LIBS 42300fi 42301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5 42302$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; } 42303if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then : 42304 ac_cv_libfdata_dummy=yes 42305else 42306 ac_cv_libfdata=no 42307fi 42308 42309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5 42310$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; } 42311if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then : 42312 $as_echo_n "(cached) " >&6 42313else 42314 ac_check_lib_save_LIBS=$LIBS 42315LIBS="-lfdata $LIBS" 42316cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42317/* end confdefs.h. */ 42318 42319/* Override any GCC internal prototype to avoid an error. 42320 Use char because int might match the return type of a GCC 42321 builtin and then its argument prototype would still apply. */ 42322#ifdef __cplusplus 42323extern "C" 42324#endif 42325char libfdata_list_get_list_element_by_index (); 42326int 42327main () 42328{ 42329return libfdata_list_get_list_element_by_index (); 42330 ; 42331 return 0; 42332} 42333_ACEOF 42334if ac_fn_c_try_link "$LINENO"; then : 42335 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes 42336else 42337 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no 42338fi 42339rm -f core conftest.err conftest.$ac_objext \ 42340 conftest$ac_exeext conftest.$ac_ext 42341LIBS=$ac_check_lib_save_LIBS 42342fi 42343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5 42344$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; } 42345if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then : 42346 ac_cv_libfdata_dummy=yes 42347else 42348 ac_cv_libfdata=no 42349fi 42350 42351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5 42352$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; } 42353if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then : 42354 $as_echo_n "(cached) " >&6 42355else 42356 ac_check_lib_save_LIBS=$LIBS 42357LIBS="-lfdata $LIBS" 42358cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42359/* end confdefs.h. */ 42360 42361/* Override any GCC internal prototype to avoid an error. 42362 Use char because int might match the return type of a GCC 42363 builtin and then its argument prototype would still apply. */ 42364#ifdef __cplusplus 42365extern "C" 42366#endif 42367char libfdata_list_get_element_by_index (); 42368int 42369main () 42370{ 42371return libfdata_list_get_element_by_index (); 42372 ; 42373 return 0; 42374} 42375_ACEOF 42376if ac_fn_c_try_link "$LINENO"; then : 42377 ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes 42378else 42379 ac_cv_lib_fdata_libfdata_list_get_element_by_index=no 42380fi 42381rm -f core conftest.err conftest.$ac_objext \ 42382 conftest$ac_exeext conftest.$ac_ext 42383LIBS=$ac_check_lib_save_LIBS 42384fi 42385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5 42386$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; } 42387if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then : 42388 ac_cv_libfdata_dummy=yes 42389else 42390 ac_cv_libfdata=no 42391fi 42392 42393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5 42394$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; } 42395if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then : 42396 $as_echo_n "(cached) " >&6 42397else 42398 ac_check_lib_save_LIBS=$LIBS 42399LIBS="-lfdata $LIBS" 42400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42401/* end confdefs.h. */ 42402 42403/* Override any GCC internal prototype to avoid an error. 42404 Use char because int might match the return type of a GCC 42405 builtin and then its argument prototype would still apply. */ 42406#ifdef __cplusplus 42407extern "C" 42408#endif 42409char libfdata_list_set_element_by_index (); 42410int 42411main () 42412{ 42413return libfdata_list_set_element_by_index (); 42414 ; 42415 return 0; 42416} 42417_ACEOF 42418if ac_fn_c_try_link "$LINENO"; then : 42419 ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes 42420else 42421 ac_cv_lib_fdata_libfdata_list_set_element_by_index=no 42422fi 42423rm -f core conftest.err conftest.$ac_objext \ 42424 conftest$ac_exeext conftest.$ac_ext 42425LIBS=$ac_check_lib_save_LIBS 42426fi 42427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5 42428$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; } 42429if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then : 42430 ac_cv_libfdata_dummy=yes 42431else 42432 ac_cv_libfdata=no 42433fi 42434 42435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5 42436$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; } 42437if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then : 42438 $as_echo_n "(cached) " >&6 42439else 42440 ac_check_lib_save_LIBS=$LIBS 42441LIBS="-lfdata $LIBS" 42442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42443/* end confdefs.h. */ 42444 42445/* Override any GCC internal prototype to avoid an error. 42446 Use char because int might match the return type of a GCC 42447 builtin and then its argument prototype would still apply. */ 42448#ifdef __cplusplus 42449extern "C" 42450#endif 42451char libfdata_list_prepend_element (); 42452int 42453main () 42454{ 42455return libfdata_list_prepend_element (); 42456 ; 42457 return 0; 42458} 42459_ACEOF 42460if ac_fn_c_try_link "$LINENO"; then : 42461 ac_cv_lib_fdata_libfdata_list_prepend_element=yes 42462else 42463 ac_cv_lib_fdata_libfdata_list_prepend_element=no 42464fi 42465rm -f core conftest.err conftest.$ac_objext \ 42466 conftest$ac_exeext conftest.$ac_ext 42467LIBS=$ac_check_lib_save_LIBS 42468fi 42469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5 42470$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; } 42471if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then : 42472 ac_cv_libfdata_dummy=yes 42473else 42474 ac_cv_libfdata=no 42475fi 42476 42477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5 42478$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; } 42479if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then : 42480 $as_echo_n "(cached) " >&6 42481else 42482 ac_check_lib_save_LIBS=$LIBS 42483LIBS="-lfdata $LIBS" 42484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42485/* end confdefs.h. */ 42486 42487/* Override any GCC internal prototype to avoid an error. 42488 Use char because int might match the return type of a GCC 42489 builtin and then its argument prototype would still apply. */ 42490#ifdef __cplusplus 42491extern "C" 42492#endif 42493char libfdata_list_append_element (); 42494int 42495main () 42496{ 42497return libfdata_list_append_element (); 42498 ; 42499 return 0; 42500} 42501_ACEOF 42502if ac_fn_c_try_link "$LINENO"; then : 42503 ac_cv_lib_fdata_libfdata_list_append_element=yes 42504else 42505 ac_cv_lib_fdata_libfdata_list_append_element=no 42506fi 42507rm -f core conftest.err conftest.$ac_objext \ 42508 conftest$ac_exeext conftest.$ac_ext 42509LIBS=$ac_check_lib_save_LIBS 42510fi 42511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5 42512$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; } 42513if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then : 42514 ac_cv_libfdata_dummy=yes 42515else 42516 ac_cv_libfdata=no 42517fi 42518 42519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5 42520$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; } 42521if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then : 42522 $as_echo_n "(cached) " >&6 42523else 42524 ac_check_lib_save_LIBS=$LIBS 42525LIBS="-lfdata $LIBS" 42526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42527/* end confdefs.h. */ 42528 42529/* Override any GCC internal prototype to avoid an error. 42530 Use char because int might match the return type of a GCC 42531 builtin and then its argument prototype would still apply. */ 42532#ifdef __cplusplus 42533extern "C" 42534#endif 42535char libfdata_list_append_list (); 42536int 42537main () 42538{ 42539return libfdata_list_append_list (); 42540 ; 42541 return 0; 42542} 42543_ACEOF 42544if ac_fn_c_try_link "$LINENO"; then : 42545 ac_cv_lib_fdata_libfdata_list_append_list=yes 42546else 42547 ac_cv_lib_fdata_libfdata_list_append_list=no 42548fi 42549rm -f core conftest.err conftest.$ac_objext \ 42550 conftest$ac_exeext conftest.$ac_ext 42551LIBS=$ac_check_lib_save_LIBS 42552fi 42553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5 42554$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; } 42555if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then : 42556 ac_cv_libfdata_dummy=yes 42557else 42558 ac_cv_libfdata=no 42559fi 42560 42561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5 42562$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; } 42563if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then : 42564 $as_echo_n "(cached) " >&6 42565else 42566 ac_check_lib_save_LIBS=$LIBS 42567LIBS="-lfdata $LIBS" 42568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42569/* end confdefs.h. */ 42570 42571/* Override any GCC internal prototype to avoid an error. 42572 Use char because int might match the return type of a GCC 42573 builtin and then its argument prototype would still apply. */ 42574#ifdef __cplusplus 42575extern "C" 42576#endif 42577char libfdata_list_is_element_set (); 42578int 42579main () 42580{ 42581return libfdata_list_is_element_set (); 42582 ; 42583 return 0; 42584} 42585_ACEOF 42586if ac_fn_c_try_link "$LINENO"; then : 42587 ac_cv_lib_fdata_libfdata_list_is_element_set=yes 42588else 42589 ac_cv_lib_fdata_libfdata_list_is_element_set=no 42590fi 42591rm -f core conftest.err conftest.$ac_objext \ 42592 conftest$ac_exeext conftest.$ac_ext 42593LIBS=$ac_check_lib_save_LIBS 42594fi 42595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5 42596$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; } 42597if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then : 42598 ac_cv_libfdata_dummy=yes 42599else 42600 ac_cv_libfdata=no 42601fi 42602 42603 42604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5 42605$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; } 42606if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then : 42607 $as_echo_n "(cached) " >&6 42608else 42609 ac_check_lib_save_LIBS=$LIBS 42610LIBS="-lfdata $LIBS" 42611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42612/* end confdefs.h. */ 42613 42614/* Override any GCC internal prototype to avoid an error. 42615 Use char because int might match the return type of a GCC 42616 builtin and then its argument prototype would still apply. */ 42617#ifdef __cplusplus 42618extern "C" 42619#endif 42620char libfdata_list_get_element_mapped_range (); 42621int 42622main () 42623{ 42624return libfdata_list_get_element_mapped_range (); 42625 ; 42626 return 0; 42627} 42628_ACEOF 42629if ac_fn_c_try_link "$LINENO"; then : 42630 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes 42631else 42632 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no 42633fi 42634rm -f core conftest.err conftest.$ac_objext \ 42635 conftest$ac_exeext conftest.$ac_ext 42636LIBS=$ac_check_lib_save_LIBS 42637fi 42638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5 42639$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; } 42640if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then : 42641 ac_cv_libfdata_dummy=yes 42642else 42643 ac_cv_libfdata=no 42644fi 42645 42646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5 42647$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; } 42648if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then : 42649 $as_echo_n "(cached) " >&6 42650else 42651 ac_check_lib_save_LIBS=$LIBS 42652LIBS="-lfdata $LIBS" 42653cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42654/* end confdefs.h. */ 42655 42656/* Override any GCC internal prototype to avoid an error. 42657 Use char because int might match the return type of a GCC 42658 builtin and then its argument prototype would still apply. */ 42659#ifdef __cplusplus 42660extern "C" 42661#endif 42662char libfdata_list_get_mapped_offset (); 42663int 42664main () 42665{ 42666return libfdata_list_get_mapped_offset (); 42667 ; 42668 return 0; 42669} 42670_ACEOF 42671if ac_fn_c_try_link "$LINENO"; then : 42672 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes 42673else 42674 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no 42675fi 42676rm -f core conftest.err conftest.$ac_objext \ 42677 conftest$ac_exeext conftest.$ac_ext 42678LIBS=$ac_check_lib_save_LIBS 42679fi 42680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5 42681$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; } 42682if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then : 42683 ac_cv_libfdata_dummy=yes 42684else 42685 ac_cv_libfdata=no 42686fi 42687 42688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5 42689$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; } 42690if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then : 42691 $as_echo_n "(cached) " >&6 42692else 42693 ac_check_lib_save_LIBS=$LIBS 42694LIBS="-lfdata $LIBS" 42695cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42696/* end confdefs.h. */ 42697 42698/* Override any GCC internal prototype to avoid an error. 42699 Use char because int might match the return type of a GCC 42700 builtin and then its argument prototype would still apply. */ 42701#ifdef __cplusplus 42702extern "C" 42703#endif 42704char libfdata_list_set_mapped_offset (); 42705int 42706main () 42707{ 42708return libfdata_list_set_mapped_offset (); 42709 ; 42710 return 0; 42711} 42712_ACEOF 42713if ac_fn_c_try_link "$LINENO"; then : 42714 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes 42715else 42716 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no 42717fi 42718rm -f core conftest.err conftest.$ac_objext \ 42719 conftest$ac_exeext conftest.$ac_ext 42720LIBS=$ac_check_lib_save_LIBS 42721fi 42722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5 42723$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; } 42724if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then : 42725 ac_cv_libfdata_dummy=yes 42726else 42727 ac_cv_libfdata=no 42728fi 42729 42730 42731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5 42732$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; } 42733if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then : 42734 $as_echo_n "(cached) " >&6 42735else 42736 ac_check_lib_save_LIBS=$LIBS 42737LIBS="-lfdata $LIBS" 42738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42739/* end confdefs.h. */ 42740 42741/* Override any GCC internal prototype to avoid an error. 42742 Use char because int might match the return type of a GCC 42743 builtin and then its argument prototype would still apply. */ 42744#ifdef __cplusplus 42745extern "C" 42746#endif 42747char libfdata_list_get_mapped_size_by_index (); 42748int 42749main () 42750{ 42751return libfdata_list_get_mapped_size_by_index (); 42752 ; 42753 return 0; 42754} 42755_ACEOF 42756if ac_fn_c_try_link "$LINENO"; then : 42757 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes 42758else 42759 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no 42760fi 42761rm -f core conftest.err conftest.$ac_objext \ 42762 conftest$ac_exeext conftest.$ac_ext 42763LIBS=$ac_check_lib_save_LIBS 42764fi 42765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5 42766$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; } 42767if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then : 42768 ac_cv_libfdata_dummy=yes 42769else 42770 ac_cv_libfdata=no 42771fi 42772 42773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5 42774$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; } 42775if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then : 42776 $as_echo_n "(cached) " >&6 42777else 42778 ac_check_lib_save_LIBS=$LIBS 42779LIBS="-lfdata $LIBS" 42780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42781/* end confdefs.h. */ 42782 42783/* Override any GCC internal prototype to avoid an error. 42784 Use char because int might match the return type of a GCC 42785 builtin and then its argument prototype would still apply. */ 42786#ifdef __cplusplus 42787extern "C" 42788#endif 42789char libfdata_list_set_mapped_size_by_index (); 42790int 42791main () 42792{ 42793return libfdata_list_set_mapped_size_by_index (); 42794 ; 42795 return 0; 42796} 42797_ACEOF 42798if ac_fn_c_try_link "$LINENO"; then : 42799 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes 42800else 42801 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no 42802fi 42803rm -f core conftest.err conftest.$ac_objext \ 42804 conftest$ac_exeext conftest.$ac_ext 42805LIBS=$ac_check_lib_save_LIBS 42806fi 42807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5 42808$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; } 42809if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then : 42810 ac_cv_libfdata_dummy=yes 42811else 42812 ac_cv_libfdata=no 42813fi 42814 42815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5 42816$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; } 42817if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then : 42818 $as_echo_n "(cached) " >&6 42819else 42820 ac_check_lib_save_LIBS=$LIBS 42821LIBS="-lfdata $LIBS" 42822cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42823/* end confdefs.h. */ 42824 42825/* Override any GCC internal prototype to avoid an error. 42826 Use char because int might match the return type of a GCC 42827 builtin and then its argument prototype would still apply. */ 42828#ifdef __cplusplus 42829extern "C" 42830#endif 42831char libfdata_list_get_element_by_index_with_mapped_size (); 42832int 42833main () 42834{ 42835return libfdata_list_get_element_by_index_with_mapped_size (); 42836 ; 42837 return 0; 42838} 42839_ACEOF 42840if ac_fn_c_try_link "$LINENO"; then : 42841 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes 42842else 42843 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no 42844fi 42845rm -f core conftest.err conftest.$ac_objext \ 42846 conftest$ac_exeext conftest.$ac_ext 42847LIBS=$ac_check_lib_save_LIBS 42848fi 42849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5 42850$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; } 42851if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then : 42852 ac_cv_libfdata_dummy=yes 42853else 42854 ac_cv_libfdata=no 42855fi 42856 42857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5 42858$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; } 42859if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then : 42860 $as_echo_n "(cached) " >&6 42861else 42862 ac_check_lib_save_LIBS=$LIBS 42863LIBS="-lfdata $LIBS" 42864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42865/* end confdefs.h. */ 42866 42867/* Override any GCC internal prototype to avoid an error. 42868 Use char because int might match the return type of a GCC 42869 builtin and then its argument prototype would still apply. */ 42870#ifdef __cplusplus 42871extern "C" 42872#endif 42873char libfdata_list_set_element_by_index_with_mapped_size (); 42874int 42875main () 42876{ 42877return libfdata_list_set_element_by_index_with_mapped_size (); 42878 ; 42879 return 0; 42880} 42881_ACEOF 42882if ac_fn_c_try_link "$LINENO"; then : 42883 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes 42884else 42885 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no 42886fi 42887rm -f core conftest.err conftest.$ac_objext \ 42888 conftest$ac_exeext conftest.$ac_ext 42889LIBS=$ac_check_lib_save_LIBS 42890fi 42891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5 42892$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; } 42893if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then : 42894 ac_cv_libfdata_dummy=yes 42895else 42896 ac_cv_libfdata=no 42897fi 42898 42899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5 42900$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; } 42901if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then : 42902 $as_echo_n "(cached) " >&6 42903else 42904 ac_check_lib_save_LIBS=$LIBS 42905LIBS="-lfdata $LIBS" 42906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42907/* end confdefs.h. */ 42908 42909/* Override any GCC internal prototype to avoid an error. 42910 Use char because int might match the return type of a GCC 42911 builtin and then its argument prototype would still apply. */ 42912#ifdef __cplusplus 42913extern "C" 42914#endif 42915char libfdata_list_append_element_with_mapped_size (); 42916int 42917main () 42918{ 42919return libfdata_list_append_element_with_mapped_size (); 42920 ; 42921 return 0; 42922} 42923_ACEOF 42924if ac_fn_c_try_link "$LINENO"; then : 42925 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes 42926else 42927 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no 42928fi 42929rm -f core conftest.err conftest.$ac_objext \ 42930 conftest$ac_exeext conftest.$ac_ext 42931LIBS=$ac_check_lib_save_LIBS 42932fi 42933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5 42934$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; } 42935if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then : 42936 ac_cv_libfdata_dummy=yes 42937else 42938 ac_cv_libfdata=no 42939fi 42940 42941 42942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5 42943$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; } 42944if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then : 42945 $as_echo_n "(cached) " >&6 42946else 42947 ac_check_lib_save_LIBS=$LIBS 42948LIBS="-lfdata $LIBS" 42949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42950/* end confdefs.h. */ 42951 42952/* Override any GCC internal prototype to avoid an error. 42953 Use char because int might match the return type of a GCC 42954 builtin and then its argument prototype would still apply. */ 42955#ifdef __cplusplus 42956extern "C" 42957#endif 42958char libfdata_list_get_element_index_at_offset (); 42959int 42960main () 42961{ 42962return libfdata_list_get_element_index_at_offset (); 42963 ; 42964 return 0; 42965} 42966_ACEOF 42967if ac_fn_c_try_link "$LINENO"; then : 42968 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes 42969else 42970 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no 42971fi 42972rm -f core conftest.err conftest.$ac_objext \ 42973 conftest$ac_exeext conftest.$ac_ext 42974LIBS=$ac_check_lib_save_LIBS 42975fi 42976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5 42977$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; } 42978if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then : 42979 ac_cv_libfdata_dummy=yes 42980else 42981 ac_cv_libfdata=no 42982fi 42983 42984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5 42985$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; } 42986if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then : 42987 $as_echo_n "(cached) " >&6 42988else 42989 ac_check_lib_save_LIBS=$LIBS 42990LIBS="-lfdata $LIBS" 42991cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42992/* end confdefs.h. */ 42993 42994/* Override any GCC internal prototype to avoid an error. 42995 Use char because int might match the return type of a GCC 42996 builtin and then its argument prototype would still apply. */ 42997#ifdef __cplusplus 42998extern "C" 42999#endif 43000char libfdata_list_get_list_element_at_offset (); 43001int 43002main () 43003{ 43004return libfdata_list_get_list_element_at_offset (); 43005 ; 43006 return 0; 43007} 43008_ACEOF 43009if ac_fn_c_try_link "$LINENO"; then : 43010 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes 43011else 43012 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no 43013fi 43014rm -f core conftest.err conftest.$ac_objext \ 43015 conftest$ac_exeext conftest.$ac_ext 43016LIBS=$ac_check_lib_save_LIBS 43017fi 43018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5 43019$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; } 43020if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then : 43021 ac_cv_libfdata_dummy=yes 43022else 43023 ac_cv_libfdata=no 43024fi 43025 43026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5 43027$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; } 43028if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then : 43029 $as_echo_n "(cached) " >&6 43030else 43031 ac_check_lib_save_LIBS=$LIBS 43032LIBS="-lfdata $LIBS" 43033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43034/* end confdefs.h. */ 43035 43036/* Override any GCC internal prototype to avoid an error. 43037 Use char because int might match the return type of a GCC 43038 builtin and then its argument prototype would still apply. */ 43039#ifdef __cplusplus 43040extern "C" 43041#endif 43042char libfdata_list_get_element_at_offset (); 43043int 43044main () 43045{ 43046return libfdata_list_get_element_at_offset (); 43047 ; 43048 return 0; 43049} 43050_ACEOF 43051if ac_fn_c_try_link "$LINENO"; then : 43052 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes 43053else 43054 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no 43055fi 43056rm -f core conftest.err conftest.$ac_objext \ 43057 conftest$ac_exeext conftest.$ac_ext 43058LIBS=$ac_check_lib_save_LIBS 43059fi 43060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5 43061$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; } 43062if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then : 43063 ac_cv_libfdata_dummy=yes 43064else 43065 ac_cv_libfdata=no 43066fi 43067 43068 43069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5 43070$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; } 43071if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then : 43072 $as_echo_n "(cached) " >&6 43073else 43074 ac_check_lib_save_LIBS=$LIBS 43075LIBS="-lfdata $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 libfdata_list_cache_element_value (); 43086int 43087main () 43088{ 43089return libfdata_list_cache_element_value (); 43090 ; 43091 return 0; 43092} 43093_ACEOF 43094if ac_fn_c_try_link "$LINENO"; then : 43095 ac_cv_lib_fdata_libfdata_list_cache_element_value=yes 43096else 43097 ac_cv_lib_fdata_libfdata_list_cache_element_value=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_fdata_libfdata_list_cache_element_value" >&5 43104$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; } 43105if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then : 43106 ac_cv_libfdata_dummy=yes 43107else 43108 ac_cv_libfdata=no 43109fi 43110 43111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5 43112$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; } 43113if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then : 43114 $as_echo_n "(cached) " >&6 43115else 43116 ac_check_lib_save_LIBS=$LIBS 43117LIBS="-lfdata $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 libfdata_list_get_element_value_by_index (); 43128int 43129main () 43130{ 43131return libfdata_list_get_element_value_by_index (); 43132 ; 43133 return 0; 43134} 43135_ACEOF 43136if ac_fn_c_try_link "$LINENO"; then : 43137 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes 43138else 43139 ac_cv_lib_fdata_libfdata_list_get_element_value_by_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_fdata_libfdata_list_get_element_value_by_index" >&5 43146$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; } 43147if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then : 43148 ac_cv_libfdata_dummy=yes 43149else 43150 ac_cv_libfdata=no 43151fi 43152 43153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5 43154$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; } 43155if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then : 43156 $as_echo_n "(cached) " >&6 43157else 43158 ac_check_lib_save_LIBS=$LIBS 43159LIBS="-lfdata $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 libfdata_list_get_element_value_at_offset (); 43170int 43171main () 43172{ 43173return libfdata_list_get_element_value_at_offset (); 43174 ; 43175 return 0; 43176} 43177_ACEOF 43178if ac_fn_c_try_link "$LINENO"; then : 43179 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes 43180else 43181 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=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_fdata_libfdata_list_get_element_value_at_offset" >&5 43188$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; } 43189if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then : 43190 ac_cv_libfdata_dummy=yes 43191else 43192 ac_cv_libfdata=no 43193fi 43194 43195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5 43196$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; } 43197if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then : 43198 $as_echo_n "(cached) " >&6 43199else 43200 ac_check_lib_save_LIBS=$LIBS 43201LIBS="-lfdata $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 libfdata_list_set_element_value_by_index (); 43212int 43213main () 43214{ 43215return libfdata_list_set_element_value_by_index (); 43216 ; 43217 return 0; 43218} 43219_ACEOF 43220if ac_fn_c_try_link "$LINENO"; then : 43221 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes 43222else 43223 ac_cv_lib_fdata_libfdata_list_set_element_value_by_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_fdata_libfdata_list_set_element_value_by_index" >&5 43230$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; } 43231if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then : 43232 ac_cv_libfdata_dummy=yes 43233else 43234 ac_cv_libfdata=no 43235fi 43236 43237 43238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5 43239$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; } 43240if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then : 43241 $as_echo_n "(cached) " >&6 43242else 43243 ac_check_lib_save_LIBS=$LIBS 43244LIBS="-lfdata $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 libfdata_list_set_element_value_at_offset (); 43255int 43256main () 43257{ 43258return libfdata_list_set_element_value_at_offset (); 43259 ; 43260 return 0; 43261} 43262_ACEOF 43263if ac_fn_c_try_link "$LINENO"; then : 43264 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes 43265else 43266 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=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_fdata_libfdata_list_set_element_value_at_offset" >&5 43273$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; } 43274if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then : 43275 ac_cv_libfdata_dummy=yes 43276else 43277 ac_cv_libfdata=no 43278fi 43279 43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5 43281$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; } 43282if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then : 43283 $as_echo_n "(cached) " >&6 43284else 43285 ac_check_lib_save_LIBS=$LIBS 43286LIBS="-lfdata $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 libfdata_list_get_size (); 43297int 43298main () 43299{ 43300return libfdata_list_get_size (); 43301 ; 43302 return 0; 43303} 43304_ACEOF 43305if ac_fn_c_try_link "$LINENO"; then : 43306 ac_cv_lib_fdata_libfdata_list_get_size=yes 43307else 43308 ac_cv_lib_fdata_libfdata_list_get_size=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_fdata_libfdata_list_get_size" >&5 43315$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; } 43316if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then : 43317 ac_cv_libfdata_dummy=yes 43318else 43319 ac_cv_libfdata=no 43320fi 43321 43322 43323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43324$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43325if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43326 $as_echo_n "(cached) " >&6 43327else 43328 ac_check_lib_save_LIBS=$LIBS 43329LIBS="-lfdata $LIBS" 43330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43331/* end confdefs.h. */ 43332 43333/* Override any GCC internal prototype to avoid an error. 43334 Use char because int might match the return type of a GCC 43335 builtin and then its argument prototype would still apply. */ 43336#ifdef __cplusplus 43337extern "C" 43338#endif 43339char libfdata_list_element_get_mapped_size (); 43340int 43341main () 43342{ 43343return libfdata_list_element_get_mapped_size (); 43344 ; 43345 return 0; 43346} 43347_ACEOF 43348if ac_fn_c_try_link "$LINENO"; then : 43349 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43350else 43351 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43352fi 43353rm -f core conftest.err conftest.$ac_objext \ 43354 conftest$ac_exeext conftest.$ac_ext 43355LIBS=$ac_check_lib_save_LIBS 43356fi 43357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43358$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43359if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43360 ac_cv_libfdata_dummy=yes 43361else 43362 ac_cv_libfdata=no 43363fi 43364 43365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43366$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43367if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43368 $as_echo_n "(cached) " >&6 43369else 43370 ac_check_lib_save_LIBS=$LIBS 43371LIBS="-lfdata $LIBS" 43372cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43373/* end confdefs.h. */ 43374 43375/* Override any GCC internal prototype to avoid an error. 43376 Use char because int might match the return type of a GCC 43377 builtin and then its argument prototype would still apply. */ 43378#ifdef __cplusplus 43379extern "C" 43380#endif 43381char libfdata_list_element_set_mapped_size (); 43382int 43383main () 43384{ 43385return libfdata_list_element_set_mapped_size (); 43386 ; 43387 return 0; 43388} 43389_ACEOF 43390if ac_fn_c_try_link "$LINENO"; then : 43391 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43392else 43393 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43394fi 43395rm -f core conftest.err conftest.$ac_objext \ 43396 conftest$ac_exeext conftest.$ac_ext 43397LIBS=$ac_check_lib_save_LIBS 43398fi 43399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43400$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43401if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43402 ac_cv_libfdata_dummy=yes 43403else 43404 ac_cv_libfdata=no 43405fi 43406 43407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43408$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43409if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43410 $as_echo_n "(cached) " >&6 43411else 43412 ac_check_lib_save_LIBS=$LIBS 43413LIBS="-lfdata $LIBS" 43414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43415/* end confdefs.h. */ 43416 43417/* Override any GCC internal prototype to avoid an error. 43418 Use char because int might match the return type of a GCC 43419 builtin and then its argument prototype would still apply. */ 43420#ifdef __cplusplus 43421extern "C" 43422#endif 43423char libfdata_list_element_get_element_value (); 43424int 43425main () 43426{ 43427return libfdata_list_element_get_element_value (); 43428 ; 43429 return 0; 43430} 43431_ACEOF 43432if ac_fn_c_try_link "$LINENO"; then : 43433 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43434else 43435 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43436fi 43437rm -f core conftest.err conftest.$ac_objext \ 43438 conftest$ac_exeext conftest.$ac_ext 43439LIBS=$ac_check_lib_save_LIBS 43440fi 43441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43442$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43443if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43444 ac_cv_libfdata_dummy=yes 43445else 43446 ac_cv_libfdata=no 43447fi 43448 43449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43450$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43451if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43452 $as_echo_n "(cached) " >&6 43453else 43454 ac_check_lib_save_LIBS=$LIBS 43455LIBS="-lfdata $LIBS" 43456cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43457/* end confdefs.h. */ 43458 43459/* Override any GCC internal prototype to avoid an error. 43460 Use char because int might match the return type of a GCC 43461 builtin and then its argument prototype would still apply. */ 43462#ifdef __cplusplus 43463extern "C" 43464#endif 43465char libfdata_list_element_set_element_value (); 43466int 43467main () 43468{ 43469return libfdata_list_element_set_element_value (); 43470 ; 43471 return 0; 43472} 43473_ACEOF 43474if ac_fn_c_try_link "$LINENO"; then : 43475 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43476else 43477 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43478fi 43479rm -f core conftest.err conftest.$ac_objext \ 43480 conftest$ac_exeext conftest.$ac_ext 43481LIBS=$ac_check_lib_save_LIBS 43482fi 43483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43484$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43485if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43486 ac_cv_libfdata_dummy=yes 43487else 43488 ac_cv_libfdata=no 43489fi 43490 43491 43492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43493$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43494if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43495 $as_echo_n "(cached) " >&6 43496else 43497 ac_check_lib_save_LIBS=$LIBS 43498LIBS="-lfdata $LIBS" 43499cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43500/* end confdefs.h. */ 43501 43502/* Override any GCC internal prototype to avoid an error. 43503 Use char because int might match the return type of a GCC 43504 builtin and then its argument prototype would still apply. */ 43505#ifdef __cplusplus 43506extern "C" 43507#endif 43508char libfdata_list_element_get_mapped_size (); 43509int 43510main () 43511{ 43512return libfdata_list_element_get_mapped_size (); 43513 ; 43514 return 0; 43515} 43516_ACEOF 43517if ac_fn_c_try_link "$LINENO"; then : 43518 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43519else 43520 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43521fi 43522rm -f core conftest.err conftest.$ac_objext \ 43523 conftest$ac_exeext conftest.$ac_ext 43524LIBS=$ac_check_lib_save_LIBS 43525fi 43526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43527$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43528if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43529 ac_cv_libfdata_dummy=yes 43530else 43531 ac_cv_libfdata=no 43532fi 43533 43534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43535$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43536if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43537 $as_echo_n "(cached) " >&6 43538else 43539 ac_check_lib_save_LIBS=$LIBS 43540LIBS="-lfdata $LIBS" 43541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43542/* end confdefs.h. */ 43543 43544/* Override any GCC internal prototype to avoid an error. 43545 Use char because int might match the return type of a GCC 43546 builtin and then its argument prototype would still apply. */ 43547#ifdef __cplusplus 43548extern "C" 43549#endif 43550char libfdata_list_element_set_mapped_size (); 43551int 43552main () 43553{ 43554return libfdata_list_element_set_mapped_size (); 43555 ; 43556 return 0; 43557} 43558_ACEOF 43559if ac_fn_c_try_link "$LINENO"; then : 43560 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43561else 43562 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43563fi 43564rm -f core conftest.err conftest.$ac_objext \ 43565 conftest$ac_exeext conftest.$ac_ext 43566LIBS=$ac_check_lib_save_LIBS 43567fi 43568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43569$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43570if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43571 ac_cv_libfdata_dummy=yes 43572else 43573 ac_cv_libfdata=no 43574fi 43575 43576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43577$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43578if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43579 $as_echo_n "(cached) " >&6 43580else 43581 ac_check_lib_save_LIBS=$LIBS 43582LIBS="-lfdata $LIBS" 43583cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43584/* end confdefs.h. */ 43585 43586/* Override any GCC internal prototype to avoid an error. 43587 Use char because int might match the return type of a GCC 43588 builtin and then its argument prototype would still apply. */ 43589#ifdef __cplusplus 43590extern "C" 43591#endif 43592char libfdata_list_element_get_element_value (); 43593int 43594main () 43595{ 43596return libfdata_list_element_get_element_value (); 43597 ; 43598 return 0; 43599} 43600_ACEOF 43601if ac_fn_c_try_link "$LINENO"; then : 43602 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43603else 43604 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43605fi 43606rm -f core conftest.err conftest.$ac_objext \ 43607 conftest$ac_exeext conftest.$ac_ext 43608LIBS=$ac_check_lib_save_LIBS 43609fi 43610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43611$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43612if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43613 ac_cv_libfdata_dummy=yes 43614else 43615 ac_cv_libfdata=no 43616fi 43617 43618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43619$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43620if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43621 $as_echo_n "(cached) " >&6 43622else 43623 ac_check_lib_save_LIBS=$LIBS 43624LIBS="-lfdata $LIBS" 43625cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43626/* end confdefs.h. */ 43627 43628/* Override any GCC internal prototype to avoid an error. 43629 Use char because int might match the return type of a GCC 43630 builtin and then its argument prototype would still apply. */ 43631#ifdef __cplusplus 43632extern "C" 43633#endif 43634char libfdata_list_element_set_element_value (); 43635int 43636main () 43637{ 43638return libfdata_list_element_set_element_value (); 43639 ; 43640 return 0; 43641} 43642_ACEOF 43643if ac_fn_c_try_link "$LINENO"; then : 43644 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43645else 43646 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43647fi 43648rm -f core conftest.err conftest.$ac_objext \ 43649 conftest$ac_exeext conftest.$ac_ext 43650LIBS=$ac_check_lib_save_LIBS 43651fi 43652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43653$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43654if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43655 ac_cv_libfdata_dummy=yes 43656else 43657 ac_cv_libfdata=no 43658fi 43659 43660 43661 43662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5 43663$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; } 43664if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then : 43665 $as_echo_n "(cached) " >&6 43666else 43667 ac_check_lib_save_LIBS=$LIBS 43668LIBS="-lfdata $LIBS" 43669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43670/* end confdefs.h. */ 43671 43672/* Override any GCC internal prototype to avoid an error. 43673 Use char because int might match the return type of a GCC 43674 builtin and then its argument prototype would still apply. */ 43675#ifdef __cplusplus 43676extern "C" 43677#endif 43678char libfdata_stream_initialize (); 43679int 43680main () 43681{ 43682return libfdata_stream_initialize (); 43683 ; 43684 return 0; 43685} 43686_ACEOF 43687if ac_fn_c_try_link "$LINENO"; then : 43688 ac_cv_lib_fdata_libfdata_stream_initialize=yes 43689else 43690 ac_cv_lib_fdata_libfdata_stream_initialize=no 43691fi 43692rm -f core conftest.err conftest.$ac_objext \ 43693 conftest$ac_exeext conftest.$ac_ext 43694LIBS=$ac_check_lib_save_LIBS 43695fi 43696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5 43697$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; } 43698if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then : 43699 ac_cv_libfdata_dummy=yes 43700else 43701 ac_cv_libfdata=no 43702fi 43703 43704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5 43705$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; } 43706if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then : 43707 $as_echo_n "(cached) " >&6 43708else 43709 ac_check_lib_save_LIBS=$LIBS 43710LIBS="-lfdata $LIBS" 43711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43712/* end confdefs.h. */ 43713 43714/* Override any GCC internal prototype to avoid an error. 43715 Use char because int might match the return type of a GCC 43716 builtin and then its argument prototype would still apply. */ 43717#ifdef __cplusplus 43718extern "C" 43719#endif 43720char libfdata_stream_free (); 43721int 43722main () 43723{ 43724return libfdata_stream_free (); 43725 ; 43726 return 0; 43727} 43728_ACEOF 43729if ac_fn_c_try_link "$LINENO"; then : 43730 ac_cv_lib_fdata_libfdata_stream_free=yes 43731else 43732 ac_cv_lib_fdata_libfdata_stream_free=no 43733fi 43734rm -f core conftest.err conftest.$ac_objext \ 43735 conftest$ac_exeext conftest.$ac_ext 43736LIBS=$ac_check_lib_save_LIBS 43737fi 43738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5 43739$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; } 43740if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then : 43741 ac_cv_libfdata_dummy=yes 43742else 43743 ac_cv_libfdata=no 43744fi 43745 43746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5 43747$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; } 43748if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then : 43749 $as_echo_n "(cached) " >&6 43750else 43751 ac_check_lib_save_LIBS=$LIBS 43752LIBS="-lfdata $LIBS" 43753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43754/* end confdefs.h. */ 43755 43756/* Override any GCC internal prototype to avoid an error. 43757 Use char because int might match the return type of a GCC 43758 builtin and then its argument prototype would still apply. */ 43759#ifdef __cplusplus 43760extern "C" 43761#endif 43762char libfdata_stream_clone (); 43763int 43764main () 43765{ 43766return libfdata_stream_clone (); 43767 ; 43768 return 0; 43769} 43770_ACEOF 43771if ac_fn_c_try_link "$LINENO"; then : 43772 ac_cv_lib_fdata_libfdata_stream_clone=yes 43773else 43774 ac_cv_lib_fdata_libfdata_stream_clone=no 43775fi 43776rm -f core conftest.err conftest.$ac_objext \ 43777 conftest$ac_exeext conftest.$ac_ext 43778LIBS=$ac_check_lib_save_LIBS 43779fi 43780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5 43781$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; } 43782if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then : 43783 ac_cv_libfdata_dummy=yes 43784else 43785 ac_cv_libfdata=no 43786fi 43787 43788 43789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5 43790$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; } 43791if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then : 43792 $as_echo_n "(cached) " >&6 43793else 43794 ac_check_lib_save_LIBS=$LIBS 43795LIBS="-lfdata $LIBS" 43796cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43797/* end confdefs.h. */ 43798 43799/* Override any GCC internal prototype to avoid an error. 43800 Use char because int might match the return type of a GCC 43801 builtin and then its argument prototype would still apply. */ 43802#ifdef __cplusplus 43803extern "C" 43804#endif 43805char libfdata_stream_empty (); 43806int 43807main () 43808{ 43809return libfdata_stream_empty (); 43810 ; 43811 return 0; 43812} 43813_ACEOF 43814if ac_fn_c_try_link "$LINENO"; then : 43815 ac_cv_lib_fdata_libfdata_stream_empty=yes 43816else 43817 ac_cv_lib_fdata_libfdata_stream_empty=no 43818fi 43819rm -f core conftest.err conftest.$ac_objext \ 43820 conftest$ac_exeext conftest.$ac_ext 43821LIBS=$ac_check_lib_save_LIBS 43822fi 43823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5 43824$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; } 43825if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then : 43826 ac_cv_libfdata_dummy=yes 43827else 43828 ac_cv_libfdata=no 43829fi 43830 43831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5 43832$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; } 43833if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then : 43834 $as_echo_n "(cached) " >&6 43835else 43836 ac_check_lib_save_LIBS=$LIBS 43837LIBS="-lfdata $LIBS" 43838cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43839/* end confdefs.h. */ 43840 43841/* Override any GCC internal prototype to avoid an error. 43842 Use char because int might match the return type of a GCC 43843 builtin and then its argument prototype would still apply. */ 43844#ifdef __cplusplus 43845extern "C" 43846#endif 43847char libfdata_stream_resize (); 43848int 43849main () 43850{ 43851return libfdata_stream_resize (); 43852 ; 43853 return 0; 43854} 43855_ACEOF 43856if ac_fn_c_try_link "$LINENO"; then : 43857 ac_cv_lib_fdata_libfdata_stream_resize=yes 43858else 43859 ac_cv_lib_fdata_libfdata_stream_resize=no 43860fi 43861rm -f core conftest.err conftest.$ac_objext \ 43862 conftest$ac_exeext conftest.$ac_ext 43863LIBS=$ac_check_lib_save_LIBS 43864fi 43865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5 43866$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; } 43867if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then : 43868 ac_cv_libfdata_dummy=yes 43869else 43870 ac_cv_libfdata=no 43871fi 43872 43873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5 43874$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; } 43875if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then : 43876 $as_echo_n "(cached) " >&6 43877else 43878 ac_check_lib_save_LIBS=$LIBS 43879LIBS="-lfdata $LIBS" 43880cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43881/* end confdefs.h. */ 43882 43883/* Override any GCC internal prototype to avoid an error. 43884 Use char because int might match the return type of a GCC 43885 builtin and then its argument prototype would still apply. */ 43886#ifdef __cplusplus 43887extern "C" 43888#endif 43889char libfdata_stream_reverse (); 43890int 43891main () 43892{ 43893return libfdata_stream_reverse (); 43894 ; 43895 return 0; 43896} 43897_ACEOF 43898if ac_fn_c_try_link "$LINENO"; then : 43899 ac_cv_lib_fdata_libfdata_stream_reverse=yes 43900else 43901 ac_cv_lib_fdata_libfdata_stream_reverse=no 43902fi 43903rm -f core conftest.err conftest.$ac_objext \ 43904 conftest$ac_exeext conftest.$ac_ext 43905LIBS=$ac_check_lib_save_LIBS 43906fi 43907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5 43908$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; } 43909if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then : 43910 ac_cv_libfdata_dummy=yes 43911else 43912 ac_cv_libfdata=no 43913fi 43914 43915 43916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5 43917$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; } 43918if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then : 43919 $as_echo_n "(cached) " >&6 43920else 43921 ac_check_lib_save_LIBS=$LIBS 43922LIBS="-lfdata $LIBS" 43923cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43924/* end confdefs.h. */ 43925 43926/* Override any GCC internal prototype to avoid an error. 43927 Use char because int might match the return type of a GCC 43928 builtin and then its argument prototype would still apply. */ 43929#ifdef __cplusplus 43930extern "C" 43931#endif 43932char libfdata_stream_get_number_of_segments (); 43933int 43934main () 43935{ 43936return libfdata_stream_get_number_of_segments (); 43937 ; 43938 return 0; 43939} 43940_ACEOF 43941if ac_fn_c_try_link "$LINENO"; then : 43942 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes 43943else 43944 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no 43945fi 43946rm -f core conftest.err conftest.$ac_objext \ 43947 conftest$ac_exeext conftest.$ac_ext 43948LIBS=$ac_check_lib_save_LIBS 43949fi 43950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5 43951$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; } 43952if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then : 43953 ac_cv_libfdata_dummy=yes 43954else 43955 ac_cv_libfdata=no 43956fi 43957 43958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5 43959$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; } 43960if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then : 43961 $as_echo_n "(cached) " >&6 43962else 43963 ac_check_lib_save_LIBS=$LIBS 43964LIBS="-lfdata $LIBS" 43965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43966/* end confdefs.h. */ 43967 43968/* Override any GCC internal prototype to avoid an error. 43969 Use char because int might match the return type of a GCC 43970 builtin and then its argument prototype would still apply. */ 43971#ifdef __cplusplus 43972extern "C" 43973#endif 43974char libfdata_stream_get_segment_by_index (); 43975int 43976main () 43977{ 43978return libfdata_stream_get_segment_by_index (); 43979 ; 43980 return 0; 43981} 43982_ACEOF 43983if ac_fn_c_try_link "$LINENO"; then : 43984 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes 43985else 43986 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no 43987fi 43988rm -f core conftest.err conftest.$ac_objext \ 43989 conftest$ac_exeext conftest.$ac_ext 43990LIBS=$ac_check_lib_save_LIBS 43991fi 43992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5 43993$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; } 43994if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then : 43995 ac_cv_libfdata_dummy=yes 43996else 43997 ac_cv_libfdata=no 43998fi 43999 44000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5 44001$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; } 44002if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then : 44003 $as_echo_n "(cached) " >&6 44004else 44005 ac_check_lib_save_LIBS=$LIBS 44006LIBS="-lfdata $LIBS" 44007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44008/* end confdefs.h. */ 44009 44010/* Override any GCC internal prototype to avoid an error. 44011 Use char because int might match the return type of a GCC 44012 builtin and then its argument prototype would still apply. */ 44013#ifdef __cplusplus 44014extern "C" 44015#endif 44016char libfdata_stream_set_segment_by_index (); 44017int 44018main () 44019{ 44020return libfdata_stream_set_segment_by_index (); 44021 ; 44022 return 0; 44023} 44024_ACEOF 44025if ac_fn_c_try_link "$LINENO"; then : 44026 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes 44027else 44028 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no 44029fi 44030rm -f core conftest.err conftest.$ac_objext \ 44031 conftest$ac_exeext conftest.$ac_ext 44032LIBS=$ac_check_lib_save_LIBS 44033fi 44034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5 44035$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; } 44036if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then : 44037 ac_cv_libfdata_dummy=yes 44038else 44039 ac_cv_libfdata=no 44040fi 44041 44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5 44043$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; } 44044if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then : 44045 $as_echo_n "(cached) " >&6 44046else 44047 ac_check_lib_save_LIBS=$LIBS 44048LIBS="-lfdata $LIBS" 44049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44050/* end confdefs.h. */ 44051 44052/* Override any GCC internal prototype to avoid an error. 44053 Use char because int might match the return type of a GCC 44054 builtin and then its argument prototype would still apply. */ 44055#ifdef __cplusplus 44056extern "C" 44057#endif 44058char libfdata_stream_prepend_segment (); 44059int 44060main () 44061{ 44062return libfdata_stream_prepend_segment (); 44063 ; 44064 return 0; 44065} 44066_ACEOF 44067if ac_fn_c_try_link "$LINENO"; then : 44068 ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes 44069else 44070 ac_cv_lib_fdata_libfdata_stream_prepend_segment=no 44071fi 44072rm -f core conftest.err conftest.$ac_objext \ 44073 conftest$ac_exeext conftest.$ac_ext 44074LIBS=$ac_check_lib_save_LIBS 44075fi 44076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5 44077$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; } 44078if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then : 44079 ac_cv_libfdata_dummy=yes 44080else 44081 ac_cv_libfdata=no 44082fi 44083 44084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5 44085$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; } 44086if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then : 44087 $as_echo_n "(cached) " >&6 44088else 44089 ac_check_lib_save_LIBS=$LIBS 44090LIBS="-lfdata $LIBS" 44091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44092/* end confdefs.h. */ 44093 44094/* Override any GCC internal prototype to avoid an error. 44095 Use char because int might match the return type of a GCC 44096 builtin and then its argument prototype would still apply. */ 44097#ifdef __cplusplus 44098extern "C" 44099#endif 44100char libfdata_stream_append_segment (); 44101int 44102main () 44103{ 44104return libfdata_stream_append_segment (); 44105 ; 44106 return 0; 44107} 44108_ACEOF 44109if ac_fn_c_try_link "$LINENO"; then : 44110 ac_cv_lib_fdata_libfdata_stream_append_segment=yes 44111else 44112 ac_cv_lib_fdata_libfdata_stream_append_segment=no 44113fi 44114rm -f core conftest.err conftest.$ac_objext \ 44115 conftest$ac_exeext conftest.$ac_ext 44116LIBS=$ac_check_lib_save_LIBS 44117fi 44118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5 44119$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; } 44120if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then : 44121 ac_cv_libfdata_dummy=yes 44122else 44123 ac_cv_libfdata=no 44124fi 44125 44126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5 44127$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; } 44128if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then : 44129 $as_echo_n "(cached) " >&6 44130else 44131 ac_check_lib_save_LIBS=$LIBS 44132LIBS="-lfdata $LIBS" 44133cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44134/* end confdefs.h. */ 44135 44136/* Override any GCC internal prototype to avoid an error. 44137 Use char because int might match the return type of a GCC 44138 builtin and then its argument prototype would still apply. */ 44139#ifdef __cplusplus 44140extern "C" 44141#endif 44142char libfdata_stream_set_mapped_size (); 44143int 44144main () 44145{ 44146return libfdata_stream_set_mapped_size (); 44147 ; 44148 return 0; 44149} 44150_ACEOF 44151if ac_fn_c_try_link "$LINENO"; then : 44152 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes 44153else 44154 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no 44155fi 44156rm -f core conftest.err conftest.$ac_objext \ 44157 conftest$ac_exeext conftest.$ac_ext 44158LIBS=$ac_check_lib_save_LIBS 44159fi 44160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5 44161$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; } 44162if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then : 44163 ac_cv_libfdata_dummy=yes 44164else 44165 ac_cv_libfdata=no 44166fi 44167 44168 44169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5 44170$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; } 44171if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then : 44172 $as_echo_n "(cached) " >&6 44173else 44174 ac_check_lib_save_LIBS=$LIBS 44175LIBS="-lfdata $LIBS" 44176cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44177/* end confdefs.h. */ 44178 44179/* Override any GCC internal prototype to avoid an error. 44180 Use char because int might match the return type of a GCC 44181 builtin and then its argument prototype would still apply. */ 44182#ifdef __cplusplus 44183extern "C" 44184#endif 44185char libfdata_stream_get_segment_mapped_range (); 44186int 44187main () 44188{ 44189return libfdata_stream_get_segment_mapped_range (); 44190 ; 44191 return 0; 44192} 44193_ACEOF 44194if ac_fn_c_try_link "$LINENO"; then : 44195 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes 44196else 44197 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no 44198fi 44199rm -f core conftest.err conftest.$ac_objext \ 44200 conftest$ac_exeext conftest.$ac_ext 44201LIBS=$ac_check_lib_save_LIBS 44202fi 44203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5 44204$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; } 44205if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then : 44206 ac_cv_libfdata_dummy=yes 44207else 44208 ac_cv_libfdata=no 44209fi 44210 44211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5 44212$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; } 44213if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then : 44214 $as_echo_n "(cached) " >&6 44215else 44216 ac_check_lib_save_LIBS=$LIBS 44217LIBS="-lfdata $LIBS" 44218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44219/* end confdefs.h. */ 44220 44221/* Override any GCC internal prototype to avoid an error. 44222 Use char because int might match the return type of a GCC 44223 builtin and then its argument prototype would still apply. */ 44224#ifdef __cplusplus 44225extern "C" 44226#endif 44227char libfdata_stream_get_segment_index_at_offset (); 44228int 44229main () 44230{ 44231return libfdata_stream_get_segment_index_at_offset (); 44232 ; 44233 return 0; 44234} 44235_ACEOF 44236if ac_fn_c_try_link "$LINENO"; then : 44237 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes 44238else 44239 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no 44240fi 44241rm -f core conftest.err conftest.$ac_objext \ 44242 conftest$ac_exeext conftest.$ac_ext 44243LIBS=$ac_check_lib_save_LIBS 44244fi 44245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5 44246$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; } 44247if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then : 44248 ac_cv_libfdata_dummy=yes 44249else 44250 ac_cv_libfdata=no 44251fi 44252 44253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5 44254$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; } 44255if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then : 44256 $as_echo_n "(cached) " >&6 44257else 44258 ac_check_lib_save_LIBS=$LIBS 44259LIBS="-lfdata $LIBS" 44260cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44261/* end confdefs.h. */ 44262 44263/* Override any GCC internal prototype to avoid an error. 44264 Use char because int might match the return type of a GCC 44265 builtin and then its argument prototype would still apply. */ 44266#ifdef __cplusplus 44267extern "C" 44268#endif 44269char libfdata_stream_get_segment_at_offset (); 44270int 44271main () 44272{ 44273return libfdata_stream_get_segment_at_offset (); 44274 ; 44275 return 0; 44276} 44277_ACEOF 44278if ac_fn_c_try_link "$LINENO"; then : 44279 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes 44280else 44281 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no 44282fi 44283rm -f core conftest.err conftest.$ac_objext \ 44284 conftest$ac_exeext conftest.$ac_ext 44285LIBS=$ac_check_lib_save_LIBS 44286fi 44287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5 44288$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; } 44289if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then : 44290 ac_cv_libfdata_dummy=yes 44291else 44292 ac_cv_libfdata=no 44293fi 44294 44295 44296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5 44297$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; } 44298if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then : 44299 $as_echo_n "(cached) " >&6 44300else 44301 ac_check_lib_save_LIBS=$LIBS 44302LIBS="-lfdata $LIBS" 44303cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44304/* end confdefs.h. */ 44305 44306/* Override any GCC internal prototype to avoid an error. 44307 Use char because int might match the return type of a GCC 44308 builtin and then its argument prototype would still apply. */ 44309#ifdef __cplusplus 44310extern "C" 44311#endif 44312char libfdata_stream_read_buffer (); 44313int 44314main () 44315{ 44316return libfdata_stream_read_buffer (); 44317 ; 44318 return 0; 44319} 44320_ACEOF 44321if ac_fn_c_try_link "$LINENO"; then : 44322 ac_cv_lib_fdata_libfdata_stream_read_buffer=yes 44323else 44324 ac_cv_lib_fdata_libfdata_stream_read_buffer=no 44325fi 44326rm -f core conftest.err conftest.$ac_objext \ 44327 conftest$ac_exeext conftest.$ac_ext 44328LIBS=$ac_check_lib_save_LIBS 44329fi 44330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5 44331$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; } 44332if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then : 44333 ac_cv_libfdata_dummy=yes 44334else 44335 ac_cv_libfdata=no 44336fi 44337 44338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5 44339$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; } 44340if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then : 44341 $as_echo_n "(cached) " >&6 44342else 44343 ac_check_lib_save_LIBS=$LIBS 44344LIBS="-lfdata $LIBS" 44345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44346/* end confdefs.h. */ 44347 44348/* Override any GCC internal prototype to avoid an error. 44349 Use char because int might match the return type of a GCC 44350 builtin and then its argument prototype would still apply. */ 44351#ifdef __cplusplus 44352extern "C" 44353#endif 44354char libfdata_stream_read_buffer_at_offset (); 44355int 44356main () 44357{ 44358return libfdata_stream_read_buffer_at_offset (); 44359 ; 44360 return 0; 44361} 44362_ACEOF 44363if ac_fn_c_try_link "$LINENO"; then : 44364 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes 44365else 44366 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no 44367fi 44368rm -f core conftest.err conftest.$ac_objext \ 44369 conftest$ac_exeext conftest.$ac_ext 44370LIBS=$ac_check_lib_save_LIBS 44371fi 44372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5 44373$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; } 44374if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then : 44375 ac_cv_libfdata_dummy=yes 44376else 44377 ac_cv_libfdata=no 44378fi 44379 44380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5 44381$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; } 44382if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then : 44383 $as_echo_n "(cached) " >&6 44384else 44385 ac_check_lib_save_LIBS=$LIBS 44386LIBS="-lfdata $LIBS" 44387cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44388/* end confdefs.h. */ 44389 44390/* Override any GCC internal prototype to avoid an error. 44391 Use char because int might match the return type of a GCC 44392 builtin and then its argument prototype would still apply. */ 44393#ifdef __cplusplus 44394extern "C" 44395#endif 44396char libfdata_stream_write_buffer (); 44397int 44398main () 44399{ 44400return libfdata_stream_write_buffer (); 44401 ; 44402 return 0; 44403} 44404_ACEOF 44405if ac_fn_c_try_link "$LINENO"; then : 44406 ac_cv_lib_fdata_libfdata_stream_write_buffer=yes 44407else 44408 ac_cv_lib_fdata_libfdata_stream_write_buffer=no 44409fi 44410rm -f core conftest.err conftest.$ac_objext \ 44411 conftest$ac_exeext conftest.$ac_ext 44412LIBS=$ac_check_lib_save_LIBS 44413fi 44414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5 44415$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; } 44416if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then : 44417 ac_cv_libfdata_dummy=yes 44418else 44419 ac_cv_libfdata=no 44420fi 44421 44422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5 44423$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; } 44424if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then : 44425 $as_echo_n "(cached) " >&6 44426else 44427 ac_check_lib_save_LIBS=$LIBS 44428LIBS="-lfdata $LIBS" 44429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44430/* end confdefs.h. */ 44431 44432/* Override any GCC internal prototype to avoid an error. 44433 Use char because int might match the return type of a GCC 44434 builtin and then its argument prototype would still apply. */ 44435#ifdef __cplusplus 44436extern "C" 44437#endif 44438char libfdata_stream_seek_offset (); 44439int 44440main () 44441{ 44442return libfdata_stream_seek_offset (); 44443 ; 44444 return 0; 44445} 44446_ACEOF 44447if ac_fn_c_try_link "$LINENO"; then : 44448 ac_cv_lib_fdata_libfdata_stream_seek_offset=yes 44449else 44450 ac_cv_lib_fdata_libfdata_stream_seek_offset=no 44451fi 44452rm -f core conftest.err conftest.$ac_objext \ 44453 conftest$ac_exeext conftest.$ac_ext 44454LIBS=$ac_check_lib_save_LIBS 44455fi 44456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5 44457$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; } 44458if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then : 44459 ac_cv_libfdata_dummy=yes 44460else 44461 ac_cv_libfdata=no 44462fi 44463 44464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5 44465$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; } 44466if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then : 44467 $as_echo_n "(cached) " >&6 44468else 44469 ac_check_lib_save_LIBS=$LIBS 44470LIBS="-lfdata $LIBS" 44471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44472/* end confdefs.h. */ 44473 44474/* Override any GCC internal prototype to avoid an error. 44475 Use char because int might match the return type of a GCC 44476 builtin and then its argument prototype would still apply. */ 44477#ifdef __cplusplus 44478extern "C" 44479#endif 44480char libfdata_stream_get_offset (); 44481int 44482main () 44483{ 44484return libfdata_stream_get_offset (); 44485 ; 44486 return 0; 44487} 44488_ACEOF 44489if ac_fn_c_try_link "$LINENO"; then : 44490 ac_cv_lib_fdata_libfdata_stream_get_offset=yes 44491else 44492 ac_cv_lib_fdata_libfdata_stream_get_offset=no 44493fi 44494rm -f core conftest.err conftest.$ac_objext \ 44495 conftest$ac_exeext conftest.$ac_ext 44496LIBS=$ac_check_lib_save_LIBS 44497fi 44498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5 44499$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; } 44500if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then : 44501 ac_cv_libfdata_dummy=yes 44502else 44503 ac_cv_libfdata=no 44504fi 44505 44506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5 44507$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; } 44508if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then : 44509 $as_echo_n "(cached) " >&6 44510else 44511 ac_check_lib_save_LIBS=$LIBS 44512LIBS="-lfdata $LIBS" 44513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44514/* end confdefs.h. */ 44515 44516/* Override any GCC internal prototype to avoid an error. 44517 Use char because int might match the return type of a GCC 44518 builtin and then its argument prototype would still apply. */ 44519#ifdef __cplusplus 44520extern "C" 44521#endif 44522char libfdata_stream_get_size (); 44523int 44524main () 44525{ 44526return libfdata_stream_get_size (); 44527 ; 44528 return 0; 44529} 44530_ACEOF 44531if ac_fn_c_try_link "$LINENO"; then : 44532 ac_cv_lib_fdata_libfdata_stream_get_size=yes 44533else 44534 ac_cv_lib_fdata_libfdata_stream_get_size=no 44535fi 44536rm -f core conftest.err conftest.$ac_objext \ 44537 conftest$ac_exeext conftest.$ac_ext 44538LIBS=$ac_check_lib_save_LIBS 44539fi 44540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5 44541$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; } 44542if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then : 44543 ac_cv_libfdata_dummy=yes 44544else 44545 ac_cv_libfdata=no 44546fi 44547 44548 44549 44550 44551 ac_cv_libfdata_LIBADD="-lfdata" 44552fi 44553 44554fi 44555 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then : 44556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44558as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata 44559See \`config.log' for more details" "$LINENO" 5; } 44560 44561fi 44562 44563fi 44564 44565 if test "x$ac_cv_libfdata" = xyes; then : 44566 44567$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h 44568 44569 44570fi 44571 44572 if test "x$ac_cv_libfdata" = xyes; then : 44573 HAVE_LIBFDATA=1 44574 44575else 44576 HAVE_LIBFDATA=0 44577 44578 44579fi 44580 44581 44582 if test "x$ac_cv_libfdata" != xyes; then : 44583 44584 ac_cv_libfdata_CPPFLAGS="-I../libfdata"; 44585 ac_cv_libfdata_LIBADD="../libfdata/libfdata.la"; 44586 44587 ac_cv_libfdata=local 44588 44589 44590 44591$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h 44592 44593 HAVE_LOCAL_LIBFDATA=1 44594 44595 44596fi 44597 44598 if test "x$ac_cv_libfdata" = xlocal; then 44599 HAVE_LOCAL_LIBFDATA_TRUE= 44600 HAVE_LOCAL_LIBFDATA_FALSE='#' 44601else 44602 HAVE_LOCAL_LIBFDATA_TRUE='#' 44603 HAVE_LOCAL_LIBFDATA_FALSE= 44604fi 44605 44606 if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then : 44607 LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS 44608 44609 44610fi 44611 if test "x$ac_cv_libfdata_LIBADD" != "x"; then : 44612 LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD 44613 44614 44615fi 44616 44617 if test "x$ac_cv_libfdata" = xyes; then : 44618 ax_libfdata_pc_libs_private=-lfdata 44619 44620 44621fi 44622 44623 if test "x$ac_cv_libfdata" = xyes; then : 44624 ax_libfdata_spec_requires=libfdata 44625 44626 ax_libfdata_spec_build_requires=libfdata-devel 44627 44628 44629fi 44630 44631 44632 44633 44634# Check whether --with-libfguid was given. 44635if test "${with_libfguid+set}" = set; then : 44636 withval=$with_libfguid; ac_cv_with_libfguid=$withval 44637else 44638 ac_cv_with_libfguid=auto-detect 44639fi 44640 44641 { $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 44642$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; } 44643if ${ac_cv_with_libfguid+:} false; then : 44644 $as_echo_n "(cached) " >&6 44645else 44646 ac_cv_with_libfguid=auto-detect 44647fi 44648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5 44649$as_echo "$ac_cv_with_libfguid" >&6; } 44650 44651 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then : 44652 ac_cv_libfguid=no 44653else 44654 ac_cv_libfguid=check 44655 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then : 44656 if test -d "$ac_cv_with_libfguid"; then : 44657 CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include" 44658 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib" 44659else 44660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44661$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44662as_fn_error 1 "no such directory: $ac_cv_with_libfguid 44663See \`config.log' for more details" "$LINENO" 5; } 44664 44665fi 44666 44667else 44668 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44669 44670pkg_failed=no 44671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5 44672$as_echo_n "checking for libfguid... " >&6; } 44673 44674if test -n "$libfguid_CFLAGS"; then 44675 pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS" 44676 elif test -n "$PKG_CONFIG"; then 44677 if test -n "$PKG_CONFIG" && \ 44678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 44679 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 44680 ac_status=$? 44681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44682 test $ac_status = 0; }; then 44683 pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null` 44684 test "x$?" != "x0" && pkg_failed=yes 44685else 44686 pkg_failed=yes 44687fi 44688 else 44689 pkg_failed=untried 44690fi 44691if test -n "$libfguid_LIBS"; then 44692 pkg_cv_libfguid_LIBS="$libfguid_LIBS" 44693 elif test -n "$PKG_CONFIG"; then 44694 if test -n "$PKG_CONFIG" && \ 44695 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 44696 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 44697 ac_status=$? 44698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44699 test $ac_status = 0; }; then 44700 pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null` 44701 test "x$?" != "x0" && pkg_failed=yes 44702else 44703 pkg_failed=yes 44704fi 44705 else 44706 pkg_failed=untried 44707fi 44708 44709 44710 44711if test $pkg_failed = yes; then 44712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44713$as_echo "no" >&6; } 44714 44715if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44716 _pkg_short_errors_supported=yes 44717else 44718 _pkg_short_errors_supported=no 44719fi 44720 if test $_pkg_short_errors_supported = yes; then 44721 libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 44722 else 44723 libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 44724 fi 44725 # Put the nasty error message in config.log where it belongs 44726 echo "$libfguid_PKG_ERRORS" >&5 44727 44728 ac_cv_libfguid=check 44729elif test $pkg_failed = untried; then 44730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44731$as_echo "no" >&6; } 44732 ac_cv_libfguid=check 44733else 44734 libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS 44735 libfguid_LIBS=$pkg_cv_libfguid_LIBS 44736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44737$as_echo "yes" >&6; } 44738 ac_cv_libfguid=yes 44739fi 44740 44741fi 44742 if test "x$ac_cv_libfguid" = xyes; then : 44743 ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS" 44744 ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS" 44745fi 44746 44747fi 44748 44749 if test "x$ac_cv_libfguid" = xcheck; then : 44750 for ac_header in libfguid.h 44751do : 44752 ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default" 44753if test "x$ac_cv_header_libfguid_h" = xyes; then : 44754 cat >>confdefs.h <<_ACEOF 44755#define HAVE_LIBFGUID_H 1 44756_ACEOF 44757 44758fi 44759 44760done 44761 44762 44763 if test "x$ac_cv_header_libfguid_h" = xno; then : 44764 ac_cv_libfguid=no 44765else 44766 ac_cv_libfguid=yes 44767 44768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5 44769$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; } 44770if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then : 44771 $as_echo_n "(cached) " >&6 44772else 44773 ac_check_lib_save_LIBS=$LIBS 44774LIBS="-lfguid $LIBS" 44775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44776/* end confdefs.h. */ 44777 44778/* Override any GCC internal prototype to avoid an error. 44779 Use char because int might match the return type of a GCC 44780 builtin and then its argument prototype would still apply. */ 44781#ifdef __cplusplus 44782extern "C" 44783#endif 44784char libfguid_get_version (); 44785int 44786main () 44787{ 44788return libfguid_get_version (); 44789 ; 44790 return 0; 44791} 44792_ACEOF 44793if ac_fn_c_try_link "$LINENO"; then : 44794 ac_cv_lib_fguid_libfguid_get_version=yes 44795else 44796 ac_cv_lib_fguid_libfguid_get_version=no 44797fi 44798rm -f core conftest.err conftest.$ac_objext \ 44799 conftest$ac_exeext conftest.$ac_ext 44800LIBS=$ac_check_lib_save_LIBS 44801fi 44802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5 44803$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; } 44804if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then : 44805 ac_cv_libfguid_dummy=yes 44806else 44807 ac_cv_libfguid=no 44808fi 44809 44810 44811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5 44812$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; } 44813if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then : 44814 $as_echo_n "(cached) " >&6 44815else 44816 ac_check_lib_save_LIBS=$LIBS 44817LIBS="-lfguid $LIBS" 44818cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44819/* end confdefs.h. */ 44820 44821/* Override any GCC internal prototype to avoid an error. 44822 Use char because int might match the return type of a GCC 44823 builtin and then its argument prototype would still apply. */ 44824#ifdef __cplusplus 44825extern "C" 44826#endif 44827char libfguid_identifier_initialize (); 44828int 44829main () 44830{ 44831return libfguid_identifier_initialize (); 44832 ; 44833 return 0; 44834} 44835_ACEOF 44836if ac_fn_c_try_link "$LINENO"; then : 44837 ac_cv_lib_fguid_libfguid_identifier_initialize=yes 44838else 44839 ac_cv_lib_fguid_libfguid_identifier_initialize=no 44840fi 44841rm -f core conftest.err conftest.$ac_objext \ 44842 conftest$ac_exeext conftest.$ac_ext 44843LIBS=$ac_check_lib_save_LIBS 44844fi 44845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5 44846$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; } 44847if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then : 44848 ac_cv_libfguid_dummy=yes 44849else 44850 ac_cv_libfguid=no 44851fi 44852 44853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5 44854$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; } 44855if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then : 44856 $as_echo_n "(cached) " >&6 44857else 44858 ac_check_lib_save_LIBS=$LIBS 44859LIBS="-lfguid $LIBS" 44860cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44861/* end confdefs.h. */ 44862 44863/* Override any GCC internal prototype to avoid an error. 44864 Use char because int might match the return type of a GCC 44865 builtin and then its argument prototype would still apply. */ 44866#ifdef __cplusplus 44867extern "C" 44868#endif 44869char libfguid_identifier_free (); 44870int 44871main () 44872{ 44873return libfguid_identifier_free (); 44874 ; 44875 return 0; 44876} 44877_ACEOF 44878if ac_fn_c_try_link "$LINENO"; then : 44879 ac_cv_lib_fguid_libfguid_identifier_free=yes 44880else 44881 ac_cv_lib_fguid_libfguid_identifier_free=no 44882fi 44883rm -f core conftest.err conftest.$ac_objext \ 44884 conftest$ac_exeext conftest.$ac_ext 44885LIBS=$ac_check_lib_save_LIBS 44886fi 44887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5 44888$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; } 44889if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then : 44890 ac_cv_libfguid_dummy=yes 44891else 44892 ac_cv_libfguid=no 44893fi 44894 44895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5 44896$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; } 44897if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then : 44898 $as_echo_n "(cached) " >&6 44899else 44900 ac_check_lib_save_LIBS=$LIBS 44901LIBS="-lfguid $LIBS" 44902cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44903/* end confdefs.h. */ 44904 44905/* Override any GCC internal prototype to avoid an error. 44906 Use char because int might match the return type of a GCC 44907 builtin and then its argument prototype would still apply. */ 44908#ifdef __cplusplus 44909extern "C" 44910#endif 44911char libfguid_identifier_copy_from_byte_stream (); 44912int 44913main () 44914{ 44915return libfguid_identifier_copy_from_byte_stream (); 44916 ; 44917 return 0; 44918} 44919_ACEOF 44920if ac_fn_c_try_link "$LINENO"; then : 44921 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes 44922else 44923 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no 44924fi 44925rm -f core conftest.err conftest.$ac_objext \ 44926 conftest$ac_exeext conftest.$ac_ext 44927LIBS=$ac_check_lib_save_LIBS 44928fi 44929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5 44930$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; } 44931if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then : 44932 ac_cv_libfguid_dummy=yes 44933else 44934 ac_cv_libfguid=no 44935fi 44936 44937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5 44938$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; } 44939if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then : 44940 $as_echo_n "(cached) " >&6 44941else 44942 ac_check_lib_save_LIBS=$LIBS 44943LIBS="-lfguid $LIBS" 44944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44945/* end confdefs.h. */ 44946 44947/* Override any GCC internal prototype to avoid an error. 44948 Use char because int might match the return type of a GCC 44949 builtin and then its argument prototype would still apply. */ 44950#ifdef __cplusplus 44951extern "C" 44952#endif 44953char libfguid_identifier_get_string_size (); 44954int 44955main () 44956{ 44957return libfguid_identifier_get_string_size (); 44958 ; 44959 return 0; 44960} 44961_ACEOF 44962if ac_fn_c_try_link "$LINENO"; then : 44963 ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes 44964else 44965 ac_cv_lib_fguid_libfguid_identifier_get_string_size=no 44966fi 44967rm -f core conftest.err conftest.$ac_objext \ 44968 conftest$ac_exeext conftest.$ac_ext 44969LIBS=$ac_check_lib_save_LIBS 44970fi 44971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5 44972$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; } 44973if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then : 44974 ac_cv_libfguid_dummy=yes 44975else 44976 ac_cv_libfguid=no 44977fi 44978 44979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5 44980$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; } 44981if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then : 44982 $as_echo_n "(cached) " >&6 44983else 44984 ac_check_lib_save_LIBS=$LIBS 44985LIBS="-lfguid $LIBS" 44986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44987/* end confdefs.h. */ 44988 44989/* Override any GCC internal prototype to avoid an error. 44990 Use char because int might match the return type of a GCC 44991 builtin and then its argument prototype would still apply. */ 44992#ifdef __cplusplus 44993extern "C" 44994#endif 44995char libfguid_identifier_copy_to_utf8_string (); 44996int 44997main () 44998{ 44999return libfguid_identifier_copy_to_utf8_string (); 45000 ; 45001 return 0; 45002} 45003_ACEOF 45004if ac_fn_c_try_link "$LINENO"; then : 45005 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes 45006else 45007 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no 45008fi 45009rm -f core conftest.err conftest.$ac_objext \ 45010 conftest$ac_exeext conftest.$ac_ext 45011LIBS=$ac_check_lib_save_LIBS 45012fi 45013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5 45014$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; } 45015if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then : 45016 ac_cv_libfguid_dummy=yes 45017else 45018 ac_cv_libfguid=no 45019fi 45020 45021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5 45022$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; } 45023if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then : 45024 $as_echo_n "(cached) " >&6 45025else 45026 ac_check_lib_save_LIBS=$LIBS 45027LIBS="-lfguid $LIBS" 45028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45029/* end confdefs.h. */ 45030 45031/* Override any GCC internal prototype to avoid an error. 45032 Use char because int might match the return type of a GCC 45033 builtin and then its argument prototype would still apply. */ 45034#ifdef __cplusplus 45035extern "C" 45036#endif 45037char libfguid_identifier_copy_to_utf8_string_with_index (); 45038int 45039main () 45040{ 45041return libfguid_identifier_copy_to_utf8_string_with_index (); 45042 ; 45043 return 0; 45044} 45045_ACEOF 45046if ac_fn_c_try_link "$LINENO"; then : 45047 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes 45048else 45049 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no 45050fi 45051rm -f core conftest.err conftest.$ac_objext \ 45052 conftest$ac_exeext conftest.$ac_ext 45053LIBS=$ac_check_lib_save_LIBS 45054fi 45055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5 45056$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; } 45057if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then : 45058 ac_cv_libfguid_dummy=yes 45059else 45060 ac_cv_libfguid=no 45061fi 45062 45063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5 45064$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; } 45065if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then : 45066 $as_echo_n "(cached) " >&6 45067else 45068 ac_check_lib_save_LIBS=$LIBS 45069LIBS="-lfguid $LIBS" 45070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45071/* end confdefs.h. */ 45072 45073/* Override any GCC internal prototype to avoid an error. 45074 Use char because int might match the return type of a GCC 45075 builtin and then its argument prototype would still apply. */ 45076#ifdef __cplusplus 45077extern "C" 45078#endif 45079char libfguid_identifier_copy_to_utf16_string (); 45080int 45081main () 45082{ 45083return libfguid_identifier_copy_to_utf16_string (); 45084 ; 45085 return 0; 45086} 45087_ACEOF 45088if ac_fn_c_try_link "$LINENO"; then : 45089 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes 45090else 45091 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no 45092fi 45093rm -f core conftest.err conftest.$ac_objext \ 45094 conftest$ac_exeext conftest.$ac_ext 45095LIBS=$ac_check_lib_save_LIBS 45096fi 45097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5 45098$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; } 45099if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then : 45100 ac_cv_libfguid_dummy=yes 45101else 45102 ac_cv_libfguid=no 45103fi 45104 45105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5 45106$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; } 45107if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then : 45108 $as_echo_n "(cached) " >&6 45109else 45110 ac_check_lib_save_LIBS=$LIBS 45111LIBS="-lfguid $LIBS" 45112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45113/* end confdefs.h. */ 45114 45115/* Override any GCC internal prototype to avoid an error. 45116 Use char because int might match the return type of a GCC 45117 builtin and then its argument prototype would still apply. */ 45118#ifdef __cplusplus 45119extern "C" 45120#endif 45121char libfguid_identifier_copy_to_utf16_string_with_index (); 45122int 45123main () 45124{ 45125return libfguid_identifier_copy_to_utf16_string_with_index (); 45126 ; 45127 return 0; 45128} 45129_ACEOF 45130if ac_fn_c_try_link "$LINENO"; then : 45131 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes 45132else 45133 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no 45134fi 45135rm -f core conftest.err conftest.$ac_objext \ 45136 conftest$ac_exeext conftest.$ac_ext 45137LIBS=$ac_check_lib_save_LIBS 45138fi 45139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5 45140$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; } 45141if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then : 45142 ac_cv_libfguid_dummy=yes 45143else 45144 ac_cv_libfguid=no 45145fi 45146 45147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5 45148$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; } 45149if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then : 45150 $as_echo_n "(cached) " >&6 45151else 45152 ac_check_lib_save_LIBS=$LIBS 45153LIBS="-lfguid $LIBS" 45154cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45155/* end confdefs.h. */ 45156 45157/* Override any GCC internal prototype to avoid an error. 45158 Use char because int might match the return type of a GCC 45159 builtin and then its argument prototype would still apply. */ 45160#ifdef __cplusplus 45161extern "C" 45162#endif 45163char libfguid_identifier_copy_to_utf32_string (); 45164int 45165main () 45166{ 45167return libfguid_identifier_copy_to_utf32_string (); 45168 ; 45169 return 0; 45170} 45171_ACEOF 45172if ac_fn_c_try_link "$LINENO"; then : 45173 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes 45174else 45175 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no 45176fi 45177rm -f core conftest.err conftest.$ac_objext \ 45178 conftest$ac_exeext conftest.$ac_ext 45179LIBS=$ac_check_lib_save_LIBS 45180fi 45181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5 45182$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; } 45183if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then : 45184 ac_cv_libfguid_dummy=yes 45185else 45186 ac_cv_libfguid=no 45187fi 45188 45189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5 45190$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; } 45191if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then : 45192 $as_echo_n "(cached) " >&6 45193else 45194 ac_check_lib_save_LIBS=$LIBS 45195LIBS="-lfguid $LIBS" 45196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45197/* end confdefs.h. */ 45198 45199/* Override any GCC internal prototype to avoid an error. 45200 Use char because int might match the return type of a GCC 45201 builtin and then its argument prototype would still apply. */ 45202#ifdef __cplusplus 45203extern "C" 45204#endif 45205char libfguid_identifier_copy_to_utf32_string_with_index (); 45206int 45207main () 45208{ 45209return libfguid_identifier_copy_to_utf32_string_with_index (); 45210 ; 45211 return 0; 45212} 45213_ACEOF 45214if ac_fn_c_try_link "$LINENO"; then : 45215 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes 45216else 45217 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no 45218fi 45219rm -f core conftest.err conftest.$ac_objext \ 45220 conftest$ac_exeext conftest.$ac_ext 45221LIBS=$ac_check_lib_save_LIBS 45222fi 45223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5 45224$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; } 45225if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then : 45226 ac_cv_libfguid_dummy=yes 45227else 45228 ac_cv_libfguid=no 45229fi 45230 45231 45232 ac_cv_libfguid_LIBADD="-lfguid" 45233fi 45234 45235fi 45236 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then : 45237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45238$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45239as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid 45240See \`config.log' for more details" "$LINENO" 5; } 45241 45242fi 45243 45244fi 45245 45246 if test "x$ac_cv_libfguid" = xyes; then : 45247 45248$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h 45249 45250 45251fi 45252 45253 if test "x$ac_cv_libfguid" = xyes; then : 45254 HAVE_LIBFGUID=1 45255 45256else 45257 HAVE_LIBFGUID=0 45258 45259 45260fi 45261 45262 45263 if test "x$ac_cv_libfguid" != xyes; then : 45264 45265 ac_cv_libfguid_CPPFLAGS="-I../libfguid"; 45266 ac_cv_libfguid_LIBADD="../libfguid/libfguid.la"; 45267 45268 ac_cv_libfguid=local 45269 45270 45271 45272$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h 45273 45274 HAVE_LOCAL_LIBFGUID=1 45275 45276 45277fi 45278 45279 if test "x$ac_cv_libfguid" = xlocal; then 45280 HAVE_LOCAL_LIBFGUID_TRUE= 45281 HAVE_LOCAL_LIBFGUID_FALSE='#' 45282else 45283 HAVE_LOCAL_LIBFGUID_TRUE='#' 45284 HAVE_LOCAL_LIBFGUID_FALSE= 45285fi 45286 45287 if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then : 45288 LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS 45289 45290 45291fi 45292 if test "x$ac_cv_libfguid_LIBADD" != "x"; then : 45293 LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD 45294 45295 45296fi 45297 45298 if test "x$ac_cv_libfguid" = xyes; then : 45299 ax_libfguid_pc_libs_private=-lfguid 45300 45301 45302fi 45303 45304 if test "x$ac_cv_libfguid" = xyes; then : 45305 ax_libfguid_spec_requires=libfguid 45306 45307 ax_libfguid_spec_build_requires=libfguid-devel 45308 45309 45310fi 45311 45312 45313 for ac_func in bindtextdomain 45314do : 45315 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 45316if test "x$ac_cv_func_bindtextdomain" = xyes; then : 45317 cat >>confdefs.h <<_ACEOF 45318#define HAVE_BINDTEXTDOMAIN 1 45319_ACEOF 45320 45321fi 45322done 45323 45324 45325 45326 45327 45328# Check whether --with-pyprefix was given. 45329if test "${with_pyprefix+set}" = set; then : 45330 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 45331else 45332 ac_cv_with_pyprefix=no 45333fi 45334 45335 { $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 45336$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 45337if ${ac_cv_with_pyprefix+:} false; then : 45338 $as_echo_n "(cached) " >&6 45339else 45340 ac_cv_with_pyprefix=no 45341fi 45342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 45343$as_echo "$ac_cv_with_pyprefix" >&6; } 45344 45345 45346 45347 # Check whether --enable-python was given. 45348if test "${enable_python+set}" = set; then : 45349 enableval=$enable_python; ac_cv_enable_python=$enableval 45350else 45351 ac_cv_enable_python=no 45352fi 45353 45354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 45355$as_echo_n "checking whether to enable build Python bindings... " >&6; } 45356if ${ac_cv_enable_python+:} false; then : 45357 $as_echo_n "(cached) " >&6 45358else 45359 ac_cv_enable_python=no 45360fi 45361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 45362$as_echo "$ac_cv_enable_python" >&6; } 45363 45364 45365# Check whether --with-pythondir was given. 45366if test "${with_pythondir+set}" = set; then : 45367 withval=$with_pythondir; ac_cv_with_pythondir=$withval 45368else 45369 ac_cv_with_pythondir=no 45370fi 45371 45372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 45373$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 45374if ${ac_cv_with_pythondir+:} false; then : 45375 $as_echo_n "(cached) " >&6 45376else 45377 ac_cv_with_pythondir=no 45378fi 45379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 45380$as_echo "$ac_cv_with_pythondir" >&6; } 45381 45382 45383 # Check whether --enable-python2 was given. 45384if test "${enable_python2+set}" = set; then : 45385 enableval=$enable_python2; ac_cv_enable_python2=$enableval 45386else 45387 ac_cv_enable_python2=no 45388fi 45389 45390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 45391$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 45392if ${ac_cv_enable_python2+:} false; then : 45393 $as_echo_n "(cached) " >&6 45394else 45395 ac_cv_enable_python2=no 45396fi 45397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 45398$as_echo "$ac_cv_enable_python2" >&6; } 45399 45400 45401# Check whether --with-pythondir2 was given. 45402if test "${with_pythondir2+set}" = set; then : 45403 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 45404else 45405 ac_cv_with_pythondir2=no 45406fi 45407 45408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 45409$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 45410if ${ac_cv_with_pythondir2+:} false; then : 45411 $as_echo_n "(cached) " >&6 45412else 45413 ac_cv_with_pythondir2=no 45414fi 45415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 45416$as_echo "$ac_cv_with_pythondir2" >&6; } 45417 45418 45419 # Check whether --enable-python3 was given. 45420if test "${enable_python3+set}" = set; then : 45421 enableval=$enable_python3; ac_cv_enable_python3=$enableval 45422else 45423 ac_cv_enable_python3=no 45424fi 45425 45426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 45427$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 45428if ${ac_cv_enable_python3+:} false; then : 45429 $as_echo_n "(cached) " >&6 45430else 45431 ac_cv_enable_python3=no 45432fi 45433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 45434$as_echo "$ac_cv_enable_python3" >&6; } 45435 45436 45437# Check whether --with-pythondir3 was given. 45438if test "${with_pythondir3+set}" = set; then : 45439 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 45440else 45441 ac_cv_with_pythondir3=no 45442fi 45443 45444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 45445$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 45446if ${ac_cv_with_pythondir3+:} false; then : 45447 $as_echo_n "(cached) " >&6 45448else 45449 ac_cv_with_pythondir3=no 45450fi 45451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 45452$as_echo "$ac_cv_with_pythondir3" >&6; } 45453 45454 if test "x${ac_cv_enable_python}" != xno; then : 45455 if test "x${PYTHON_VERSION}" != x; then : 45456 ax_python_progs="python${PYTHON_VERSION}" 45457else 45458 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" 45459fi 45460 for ac_prog in $ax_python_progs 45461do 45462 # Extract the first word of "$ac_prog", so it can be a program name with args. 45463set dummy $ac_prog; ac_word=$2 45464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45465$as_echo_n "checking for $ac_word... " >&6; } 45466if ${ac_cv_prog_PYTHON+:} false; then : 45467 $as_echo_n "(cached) " >&6 45468else 45469 if test -n "$PYTHON"; then 45470 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 45471else 45472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45473for as_dir in $PATH 45474do 45475 IFS=$as_save_IFS 45476 test -z "$as_dir" && as_dir=. 45477 for ac_exec_ext in '' $ac_executable_extensions; do 45478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45479 ac_cv_prog_PYTHON="$ac_prog" 45480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45481 break 2 45482 fi 45483done 45484 done 45485IFS=$as_save_IFS 45486 45487fi 45488fi 45489PYTHON=$ac_cv_prog_PYTHON 45490if test -n "$PYTHON"; then 45491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 45492$as_echo "$PYTHON" >&6; } 45493else 45494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45495$as_echo "no" >&6; } 45496fi 45497 45498 45499 test -n "$PYTHON" && break 45500done 45501 45502 if test "x${PYTHON}" != x; then : 45503 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 45504 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 45505 PYTHON_PLATFORM=$ax_prog_python_platform 45506 45507 45508else 45509 as_fn_error $? "Unable to find python" "$LINENO" 5 45510 45511fi 45512 PYTHON=$PYTHON 45513 45514 45515 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 45516 for ac_prog in python${PYTHON_VERSION}-config 45517do 45518 # Extract the first word of "$ac_prog", so it can be a program name with args. 45519set dummy $ac_prog; ac_word=$2 45520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45521$as_echo_n "checking for $ac_word... " >&6; } 45522if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 45523 $as_echo_n "(cached) " >&6 45524else 45525 if test -n "$PYTHON_CONFIG"; then 45526 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 45527else 45528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45529for as_dir in $PATH 45530do 45531 IFS=$as_save_IFS 45532 test -z "$as_dir" && as_dir=. 45533 for ac_exec_ext in '' $ac_executable_extensions; do 45534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45535 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 45536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45537 break 2 45538 fi 45539done 45540 done 45541IFS=$as_save_IFS 45542 45543fi 45544fi 45545PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 45546if test -n "$PYTHON_CONFIG"; then 45547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 45548$as_echo "$PYTHON_CONFIG" >&6; } 45549else 45550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45551$as_echo "no" >&6; } 45552fi 45553 45554 45555 test -n "$PYTHON_CONFIG" && break 45556done 45557 45558 45559fi 45560 if test "x${PYTHON_CONFIG}" = x; then : 45561 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 45562do 45563 # Extract the first word of "$ac_prog", so it can be a program name with args. 45564set dummy $ac_prog; ac_word=$2 45565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45566$as_echo_n "checking for $ac_word... " >&6; } 45567if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 45568 $as_echo_n "(cached) " >&6 45569else 45570 if test -n "$PYTHON_CONFIG"; then 45571 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 45572else 45573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45574for as_dir in $PATH 45575do 45576 IFS=$as_save_IFS 45577 test -z "$as_dir" && as_dir=. 45578 for ac_exec_ext in '' $ac_executable_extensions; do 45579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45580 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 45581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45582 break 2 45583 fi 45584done 45585 done 45586IFS=$as_save_IFS 45587 45588fi 45589fi 45590PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 45591if test -n "$PYTHON_CONFIG"; then 45592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 45593$as_echo "$PYTHON_CONFIG" >&6; } 45594else 45595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45596$as_echo "no" >&6; } 45597fi 45598 45599 45600 test -n "$PYTHON_CONFIG" && break 45601done 45602 45603 45604fi 45605 if test "x${PYTHON_CONFIG}" = x; then : 45606 as_fn_error $? "Unable to find python-config" "$LINENO" 5 45607 45608fi 45609 PYTHON_CONFIG=$PYTHON_CONFIG 45610 45611 45612 45613 if test "x${PYTHON_CONFIG}" != x; then : 45614 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 45615 45616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 45617$as_echo_n "checking for Python includes... " >&6; } 45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 45619$as_echo "$PYTHON_INCLUDES" >&6; } 45620 45621 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 45622 45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 45624$as_echo_n "checking for Python libraries... " >&6; } 45625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 45626$as_echo "$PYTHON_LDFLAGS" >&6; } 45627 45628 case $host_os in #( 45629 cygwin*) : 45630 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 45631 *) : 45632 ;; #( 45633 *) : 45634 ;; 45635esac 45636 45637 BACKUP_CPPFLAGS="${CPPFLAGS}" 45638 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 45639 45640 for ac_header in Python.h 45641do : 45642 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 45643if test "x$ac_cv_header_Python_h" = xyes; then : 45644 cat >>confdefs.h <<_ACEOF 45645#define HAVE_PYTHON_H 1 45646_ACEOF 45647 ac_cv_header_python_h=yes 45648else 45649 ac_cv_header_python_h=no 45650fi 45651 45652done 45653 45654 45655 CPPFLAGS="${BACKUP_CPPFLAGS}" 45656 45657fi 45658 45659 if test "x${ac_cv_header_python_h}" != xyes; then : 45660 ac_cv_enable_python=no 45661else 45662 ac_cv_enable_python=${ax_prog_python_version} 45663 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 45664 45665 45666 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 45667 45668 45669 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45670 ax_python_prefix="\${prefix}" 45671else 45672 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 45673fi 45674 45675 PYTHON_PREFIX=$ax_python_prefix 45676 45677 45678 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45679 ax_python_exec_prefix="\${exec_prefix}" 45680else 45681 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 45682fi 45683 45684 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 45685 45686 45687 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`; 45688 45689 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 45690 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45691 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 45692else 45693 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 45694fi 45695else 45696 ax_python_pythondir=$ac_cv_with_pythondir 45697fi 45698 45699 pythondir=$ax_python_pythondir 45700 45701 45702 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`; 45703 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 45704 45705 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45706 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 45707else 45708 ax_python_pyexecdir=$ax_python_library_dir 45709fi 45710 45711 pyexecdir=$ax_python_pyexecdir 45712 45713 45714 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 45715 45716 45717 PYTHON_PACKAGE_DIR=$ax_python_library_dir 45718 45719 45720fi 45721 45722fi 45723 45724 if test "x${ac_cv_enable_python2}" != xno; then : 45725 ax_python2_progs="python2 python2.7 python2.6 python2.5" 45726 for ac_prog in $ax_python2_progs 45727do 45728 # Extract the first word of "$ac_prog", so it can be a program name with args. 45729set dummy $ac_prog; ac_word=$2 45730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45731$as_echo_n "checking for $ac_word... " >&6; } 45732if ${ac_cv_prog_PYTHON2+:} false; then : 45733 $as_echo_n "(cached) " >&6 45734else 45735 if test -n "$PYTHON2"; then 45736 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 45737else 45738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45739for as_dir in $PATH 45740do 45741 IFS=$as_save_IFS 45742 test -z "$as_dir" && as_dir=. 45743 for ac_exec_ext in '' $ac_executable_extensions; do 45744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45745 ac_cv_prog_PYTHON2="$ac_prog" 45746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45747 break 2 45748 fi 45749done 45750 done 45751IFS=$as_save_IFS 45752 45753fi 45754fi 45755PYTHON2=$ac_cv_prog_PYTHON2 45756if test -n "$PYTHON2"; then 45757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 45758$as_echo "$PYTHON2" >&6; } 45759else 45760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45761$as_echo "no" >&6; } 45762fi 45763 45764 45765 test -n "$PYTHON2" && break 45766done 45767 45768 if test "x${PYTHON2}" != x; then : 45769 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 45770 PYTHON2_VERSION=$ax_prog_python2_version 45771 45772 45773 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 45774 PYTHON2_PLATFORM=$ax_prog_python2_platform 45775 45776 45777else 45778 as_fn_error $? "Unable to find python2" "$LINENO" 5 45779 45780fi 45781 PYTHON2=$PYTHON2 45782 45783 45784 if test "x${PYTHON2_CONFIG}" = x; then : 45785 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 45786do 45787 # Extract the first word of "$ac_prog", so it can be a program name with args. 45788set dummy $ac_prog; ac_word=$2 45789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45790$as_echo_n "checking for $ac_word... " >&6; } 45791if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 45792 $as_echo_n "(cached) " >&6 45793else 45794 if test -n "$PYTHON2_CONFIG"; then 45795 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 45796else 45797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45798for as_dir in $PATH 45799do 45800 IFS=$as_save_IFS 45801 test -z "$as_dir" && as_dir=. 45802 for ac_exec_ext in '' $ac_executable_extensions; do 45803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45804 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 45805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45806 break 2 45807 fi 45808done 45809 done 45810IFS=$as_save_IFS 45811 45812fi 45813fi 45814PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 45815if test -n "$PYTHON2_CONFIG"; then 45816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 45817$as_echo "$PYTHON2_CONFIG" >&6; } 45818else 45819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45820$as_echo "no" >&6; } 45821fi 45822 45823 45824 test -n "$PYTHON2_CONFIG" && break 45825done 45826 45827 45828fi 45829 if test "x${PYTHON2_CONFIG}" = x; then : 45830 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 45831 45832fi 45833 PYTHON2_CONFIG=$PYTHON2_CONFIG 45834 45835 45836 45837 if test "x${PYTHON2_CONFIG}" != x; then : 45838 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 45839 45840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 45841$as_echo_n "checking for Python verison 2 includes... " >&6; } 45842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 45843$as_echo "$PYTHON2_INCLUDES" >&6; } 45844 45845 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 45846 45847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 45848$as_echo_n "checking for Python 2 libraries... " >&6; } 45849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 45850$as_echo "$PYTHON2_LDFLAGS" >&6; } 45851 45852 case $host_os in #( 45853 cygwin*) : 45854 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 45855 *) : 45856 ;; #( 45857 *) : 45858 ;; 45859esac 45860 45861 BACKUP_CPPFLAGS="${CPPFLAGS}" 45862 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 45863 45864 for ac_header in Python.h 45865do : 45866 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 45867if test "x$ac_cv_header_Python_h" = xyes; then : 45868 cat >>confdefs.h <<_ACEOF 45869#define HAVE_PYTHON_H 1 45870_ACEOF 45871 ac_cv_header_python2_h=yes 45872else 45873 ac_cv_header_python2_h=no 45874fi 45875 45876done 45877 45878 45879 CPPFLAGS="${BACKUP_CPPFLAGS}" 45880 45881fi 45882 45883 if test "x${ac_cv_header_python2_h}" != xyes; then : 45884 ac_cv_enable_python2=no 45885else 45886 ac_cv_enable_python2=$PYTHON2_VERSION 45887 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 45888 45889 45890 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 45891 45892 45893 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45894 ax_python2_prefix="\${prefix}" 45895else 45896 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 45897fi 45898 45899 PYTHON2_PREFIX=$ax_python2_prefix 45900 45901 45902 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45903 ax_python2_exec_prefix="\${exec_prefix}" 45904else 45905 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 45906fi 45907 45908 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 45909 45910 45911 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`; 45912 45913 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 45914 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45915 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 45916else 45917 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 45918fi 45919else 45920 ax_python2_pythondir=$ac_cv_with_pythondir2 45921fi 45922 45923 pythondir2=$ax_python2_pythondir 45924 45925 45926 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`; 45927 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 45928 45929 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45930 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 45931else 45932 ax_python2_pyexecdir=$ax_python2_library_dir 45933fi 45934 45935 pyexecdir2=$ax_python2_pyexecdir 45936 45937 45938 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 45939 45940 45941 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 45942 45943 45944fi 45945 45946fi 45947 45948 if test "x${ac_cv_enable_python3}" != xno; then : 45949 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" 45950 for ac_prog in $ax_python3_progs 45951do 45952 # Extract the first word of "$ac_prog", so it can be a program name with args. 45953set dummy $ac_prog; ac_word=$2 45954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45955$as_echo_n "checking for $ac_word... " >&6; } 45956if ${ac_cv_prog_PYTHON3+:} false; then : 45957 $as_echo_n "(cached) " >&6 45958else 45959 if test -n "$PYTHON3"; then 45960 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 45961else 45962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45963for as_dir in $PATH 45964do 45965 IFS=$as_save_IFS 45966 test -z "$as_dir" && as_dir=. 45967 for ac_exec_ext in '' $ac_executable_extensions; do 45968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45969 ac_cv_prog_PYTHON3="$ac_prog" 45970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45971 break 2 45972 fi 45973done 45974 done 45975IFS=$as_save_IFS 45976 45977fi 45978fi 45979PYTHON3=$ac_cv_prog_PYTHON3 45980if test -n "$PYTHON3"; then 45981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 45982$as_echo "$PYTHON3" >&6; } 45983else 45984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45985$as_echo "no" >&6; } 45986fi 45987 45988 45989 test -n "$PYTHON3" && break 45990done 45991 45992 if test "x${PYTHON3}" != x; then : 45993 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 45994 PYTHON3_VERSION=$ax_prog_python3_version 45995 45996 45997 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 45998 PYTHON3_PLATFORM=$ax_prog_python3_platform 45999 46000 46001else 46002 as_fn_error $? "Unable to find python3" "$LINENO" 5 46003 46004fi 46005 PYTHON3=$PYTHON3 46006 46007 46008 if test "x${PYTHON3_CONFIG}" = x; then : 46009 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 46010do 46011 # Extract the first word of "$ac_prog", so it can be a program name with args. 46012set dummy $ac_prog; ac_word=$2 46013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46014$as_echo_n "checking for $ac_word... " >&6; } 46015if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 46016 $as_echo_n "(cached) " >&6 46017else 46018 if test -n "$PYTHON3_CONFIG"; then 46019 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 46020else 46021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46022for as_dir in $PATH 46023do 46024 IFS=$as_save_IFS 46025 test -z "$as_dir" && as_dir=. 46026 for ac_exec_ext in '' $ac_executable_extensions; do 46027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 46028 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 46029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46030 break 2 46031 fi 46032done 46033 done 46034IFS=$as_save_IFS 46035 46036fi 46037fi 46038PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 46039if test -n "$PYTHON3_CONFIG"; then 46040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 46041$as_echo "$PYTHON3_CONFIG" >&6; } 46042else 46043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46044$as_echo "no" >&6; } 46045fi 46046 46047 46048 test -n "$PYTHON3_CONFIG" && break 46049done 46050 46051 46052fi 46053 if test "x${PYTHON3_CONFIG}" = x; then : 46054 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 46055 46056fi 46057 PYTHON3_CONFIG=$PYTHON3_CONFIG 46058 46059 46060 46061 if test "x${PYTHON3_CONFIG}" != x; then : 46062 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 46063 46064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 46065$as_echo_n "checking for Python verison 3 includes... " >&6; } 46066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 46067$as_echo "$PYTHON3_INCLUDES" >&6; } 46068 46069 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 46070 46071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 46072$as_echo_n "checking for Python 3 libraries... " >&6; } 46073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 46074$as_echo "$PYTHON3_LDFLAGS" >&6; } 46075 46076 case $host_os in #( 46077 cygwin*) : 46078 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 46079 *) : 46080 ;; #( 46081 *) : 46082 ;; 46083esac 46084 46085 BACKUP_CPPFLAGS="${CPPFLAGS}" 46086 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 46087 46088 for ac_header in Python.h 46089do : 46090 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 46091if test "x$ac_cv_header_Python_h" = xyes; then : 46092 cat >>confdefs.h <<_ACEOF 46093#define HAVE_PYTHON_H 1 46094_ACEOF 46095 ac_cv_header_python3_h=yes 46096else 46097 ac_cv_header_python3_h=no 46098fi 46099 46100done 46101 46102 46103 CPPFLAGS="${BACKUP_CPPFLAGS}" 46104 46105fi 46106 46107 if test "x${ac_cv_header_python3_h}" != xyes; then : 46108 ac_cv_enable_python3=no 46109else 46110 ac_cv_enable_python3=$PYTHON3_VERSION 46111 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 46112 46113 46114 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 46115 46116 46117 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46118 ax_python3_prefix="\${prefix}" 46119else 46120 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 46121fi 46122 46123 PYTHON3_PREFIX=$ax_python3_prefix 46124 46125 46126 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46127 ax_python3_exec_prefix="\${exec_prefix}" 46128else 46129 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 46130fi 46131 46132 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 46133 46134 46135 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`; 46136 46137 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 46138 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46139 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 46140else 46141 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 46142fi 46143else 46144 ax_python3_pythondir=$ac_cv_with_pythondir3 46145fi 46146 46147 pythondir3=$ax_python3_pythondir 46148 46149 46150 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`; 46151 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 46152 46153 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46154 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 46155else 46156 ax_python3_pyexecdir=$ax_python3_library_dir 46157fi 46158 46159 pyexecdir3=$ax_python3_pyexecdir 46160 46161 46162 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 46163 46164 46165 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 46166 46167 46168fi 46169 46170fi 46171 46172 if test "x${ac_cv_enable_python}" != xno; then 46173 HAVE_PYTHON_TRUE= 46174 HAVE_PYTHON_FALSE='#' 46175else 46176 HAVE_PYTHON_TRUE='#' 46177 HAVE_PYTHON_FALSE= 46178fi 46179 46180 46181 if test "x${ac_cv_enable_python2}" != xno; then 46182 HAVE_PYTHON2_TRUE= 46183 HAVE_PYTHON2_FALSE='#' 46184else 46185 HAVE_PYTHON2_TRUE='#' 46186 HAVE_PYTHON2_FALSE= 46187fi 46188 46189 46190 if test "x${ac_cv_enable_python3}" != xno; then 46191 HAVE_PYTHON3_TRUE= 46192 HAVE_PYTHON3_FALSE='#' 46193else 46194 HAVE_PYTHON3_TRUE='#' 46195 HAVE_PYTHON3_FALSE= 46196fi 46197 46198 46199 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 46200 HAVE_PYTHON_TESTS_TRUE= 46201 HAVE_PYTHON_TESTS_FALSE='#' 46202else 46203 HAVE_PYTHON_TESTS_TRUE='#' 46204 HAVE_PYTHON_TESTS_FALSE= 46205fi 46206 46207 46208 if test "x${ac_cv_enable_python}" = xno; then : 46209 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 46210 if test "x${ac_cv_enable_python2}" != xno; then : 46211 ac_cv_enable_python=${ac_cv_enable_python2} 46212else 46213 ac_cv_enable_python="" 46214fi 46215 if test "x${ac_cv_enable_python3}" != xno; then : 46216 if test "x${ac_cv_enable_python}" != x; then : 46217 ac_cv_enable_python="${ac_cv_enable_python}, " 46218fi 46219 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 46220fi 46221 46222fi 46223 46224fi 46225 46226 46227if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 46228 for ac_header in stdarg.h varargs.h 46229do : 46230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 46231ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 46232if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 46233 cat >>confdefs.h <<_ACEOF 46234#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 46235_ACEOF 46236 46237fi 46238 46239done 46240 46241 46242 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 46243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46245as_fn_error 1 "Missing headers: stdarg.h and varargs.h 46246See \`config.log' for more details" "$LINENO" 5; } 46247 46248fi 46249 46250fi 46251 46252for ac_header in signal.h sys/signal.h unistd.h 46253do : 46254 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 46255ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 46256if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 46257 cat >>confdefs.h <<_ACEOF 46258#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 46259_ACEOF 46260 46261fi 46262 46263done 46264 46265 46266 for ac_func in close getopt setvbuf 46267do : 46268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 46269ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 46270if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 46271 cat >>confdefs.h <<_ACEOF 46272#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 46273_ACEOF 46274 46275fi 46276done 46277 46278 46279 if test "x$ac_cv_func_close" != xyes; then : 46280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46282as_fn_error 1 "Missing function: close 46283See \`config.log' for more details" "$LINENO" 5; } 46284 46285fi 46286 46287 46288if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 46289 case $host in #( 46290 *cygwin* | *mingw* | *msys*) : 46291 46292$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 46293 46294 HAVE_DLLMAIN=1 46295 46296 46297 LIBVSGPT_DLL_EXPORT="-DLIBVSGPT_DLL_EXPORT" 46298 46299 46300 LIBVSGPT_DLL_IMPORT="-DLIBVSGPT_DLL_IMPORT" 46301 46302 ;; #( 46303 *) : 46304 ;; 46305esac 46306 46307fi 46308 46309 46310for ac_header in dlfcn.h 46311do : 46312 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 46313if test "x$ac_cv_header_dlfcn_h" = xyes; then : 46314 cat >>confdefs.h <<_ACEOF 46315#define HAVE_DLFCN_H 1 46316_ACEOF 46317 46318fi 46319 46320done 46321 46322 46323 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 46324do : 46325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 46326ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 46327if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 46328 cat >>confdefs.h <<_ACEOF 46329#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 46330_ACEOF 46331 46332fi 46333done 46334 46335 46336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 46337$as_echo_n "checking for dlsym in -ldl... " >&6; } 46338if ${ac_cv_lib_dl_dlsym+:} false; then : 46339 $as_echo_n "(cached) " >&6 46340else 46341 ac_check_lib_save_LIBS=$LIBS 46342LIBS="-ldl $LIBS" 46343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46344/* end confdefs.h. */ 46345 46346/* Override any GCC internal prototype to avoid an error. 46347 Use char because int might match the return type of a GCC 46348 builtin and then its argument prototype would still apply. */ 46349#ifdef __cplusplus 46350extern "C" 46351#endif 46352char dlsym (); 46353int 46354main () 46355{ 46356return dlsym (); 46357 ; 46358 return 0; 46359} 46360_ACEOF 46361if ac_fn_c_try_link "$LINENO"; then : 46362 ac_cv_lib_dl_dlsym=yes 46363else 46364 ac_cv_lib_dl_dlsym=no 46365fi 46366rm -f core conftest.err conftest.$ac_objext \ 46367 conftest$ac_exeext conftest.$ac_ext 46368LIBS=$ac_check_lib_save_LIBS 46369fi 46370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 46371$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 46372if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 46373 cat >>confdefs.h <<_ACEOF 46374#define HAVE_LIBDL 1 46375_ACEOF 46376 46377 LIBS="-ldl $LIBS" 46378 46379fi 46380 46381 46382 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 46383 46384$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 46385 46386 46387fi 46388 46389 if test "x${LIB_FUZZING_ENGINE}" != x; then 46390 HAVE_LIB_FUZZING_ENGINE_TRUE= 46391 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 46392else 46393 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 46394 HAVE_LIB_FUZZING_ENGINE_FALSE= 46395fi 46396 46397 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 46398 46399 46400 46401CFLAGS="$CFLAGS -Wall"; 46402 46403if test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes || test "x$ac_cv_libbfio" = xyes || test "x$ac_cv_libfcache" = xyes || test "x$ac_cv_libfdata" = xyes || test "x$ac_cv_libfguid" = xyes; then : 46404 libvsgpt_spec_requires=Requires: 46405 46406 46407fi 46408 46409DPKG_DATE=`date -R 2> /dev/null` 46410 46411 46412SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 46413 46414 46415ac_config_files="$ac_config_files Makefile" 46416 46417ac_config_files="$ac_config_files include/Makefile" 46418 46419ac_config_files="$ac_config_files common/Makefile" 46420 46421ac_config_files="$ac_config_files libcerror/Makefile" 46422 46423ac_config_files="$ac_config_files libcthreads/Makefile" 46424 46425ac_config_files="$ac_config_files libcdata/Makefile" 46426 46427ac_config_files="$ac_config_files libclocale/Makefile" 46428 46429ac_config_files="$ac_config_files libcnotify/Makefile" 46430 46431ac_config_files="$ac_config_files libcsplit/Makefile" 46432 46433ac_config_files="$ac_config_files libuna/Makefile" 46434 46435ac_config_files="$ac_config_files libcfile/Makefile" 46436 46437ac_config_files="$ac_config_files libcpath/Makefile" 46438 46439ac_config_files="$ac_config_files libbfio/Makefile" 46440 46441ac_config_files="$ac_config_files libfcache/Makefile" 46442 46443ac_config_files="$ac_config_files libfdata/Makefile" 46444 46445ac_config_files="$ac_config_files libfguid/Makefile" 46446 46447ac_config_files="$ac_config_files libvsgpt/Makefile" 46448 46449ac_config_files="$ac_config_files pyvsgpt/Makefile" 46450 46451ac_config_files="$ac_config_files pyvsgpt-python2/Makefile" 46452 46453ac_config_files="$ac_config_files pyvsgpt-python3/Makefile" 46454 46455ac_config_files="$ac_config_files vsgpttools/Makefile" 46456 46457ac_config_files="$ac_config_files po/Makefile.in" 46458 46459ac_config_files="$ac_config_files po/Makevars" 46460 46461ac_config_files="$ac_config_files manuals/Makefile" 46462 46463ac_config_files="$ac_config_files tests/Makefile" 46464 46465ac_config_files="$ac_config_files ossfuzz/Makefile" 46466 46467ac_config_files="$ac_config_files msvscpp/Makefile" 46468 46469ac_config_files="$ac_config_files include/libvsgpt.h" 46470 46471ac_config_files="$ac_config_files include/libvsgpt/definitions.h" 46472 46473ac_config_files="$ac_config_files include/libvsgpt/features.h" 46474 46475ac_config_files="$ac_config_files include/libvsgpt/types.h" 46476 46477ac_config_files="$ac_config_files libvsgpt/libvsgpt_definitions.h" 46478 46479ac_config_files="$ac_config_files common/types.h" 46480 46481ac_config_files="$ac_config_files dpkg/changelog" 46482 46483ac_config_files="$ac_config_files libvsgpt/libvsgpt.rc" 46484 46485ac_config_files="$ac_config_files libvsgpt.pc" 46486 46487ac_config_files="$ac_config_files libvsgpt.spec" 46488 46489ac_config_headers="$ac_config_headers common/config.h" 46490 46491 46492cat >confcache <<\_ACEOF 46493# This file is a shell script that caches the results of configure 46494# tests run on this system so they can be shared between configure 46495# scripts and configure runs, see configure's option --config-cache. 46496# It is not useful on other systems. If it contains results you don't 46497# want to keep, you may remove or edit it. 46498# 46499# config.status only pays attention to the cache file if you give it 46500# the --recheck option to rerun configure. 46501# 46502# `ac_cv_env_foo' variables (set or unset) will be overridden when 46503# loading this file, other *unset* `ac_cv_foo' will be assigned the 46504# following values. 46505 46506_ACEOF 46507 46508# The following way of writing the cache mishandles newlines in values, 46509# but we know of no workaround that is simple, portable, and efficient. 46510# So, we kill variables containing newlines. 46511# Ultrix sh set writes to stderr and can't be redirected directly, 46512# and sets the high bit in the cache file unless we assign to the vars. 46513( 46514 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 46515 eval ac_val=\$$ac_var 46516 case $ac_val in #( 46517 *${as_nl}*) 46518 case $ac_var in #( 46519 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 46520$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 46521 esac 46522 case $ac_var in #( 46523 _ | IFS | as_nl) ;; #( 46524 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 46525 *) { eval $ac_var=; unset $ac_var;} ;; 46526 esac ;; 46527 esac 46528 done 46529 46530 (set) 2>&1 | 46531 case $as_nl`(ac_space=' '; set) 2>&1` in #( 46532 *${as_nl}ac_space=\ *) 46533 # `set' does not quote correctly, so add quotes: double-quote 46534 # substitution turns \\\\ into \\, and sed turns \\ into \. 46535 sed -n \ 46536 "s/'/'\\\\''/g; 46537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 46538 ;; #( 46539 *) 46540 # `set' quotes correctly as required by POSIX, so do not add quotes. 46541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 46542 ;; 46543 esac | 46544 sort 46545) | 46546 sed ' 46547 /^ac_cv_env_/b end 46548 t clear 46549 :clear 46550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 46551 t end 46552 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 46553 :end' >>confcache 46554if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 46555 if test -w "$cache_file"; then 46556 if test "x$cache_file" != "x/dev/null"; then 46557 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 46558$as_echo "$as_me: updating cache $cache_file" >&6;} 46559 if test ! -f "$cache_file" || test -h "$cache_file"; then 46560 cat confcache >"$cache_file" 46561 else 46562 case $cache_file in #( 46563 */* | ?:*) 46564 mv -f confcache "$cache_file"$$ && 46565 mv -f "$cache_file"$$ "$cache_file" ;; #( 46566 *) 46567 mv -f confcache "$cache_file" ;; 46568 esac 46569 fi 46570 fi 46571 else 46572 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 46573$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 46574 fi 46575fi 46576rm -f confcache 46577 46578test "x$prefix" = xNONE && prefix=$ac_default_prefix 46579# Let make expand exec_prefix. 46580test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 46581 46582DEFS=-DHAVE_CONFIG_H 46583 46584ac_libobjs= 46585ac_ltlibobjs= 46586U= 46587for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 46588 # 1. Remove the extension, and $U if already installed. 46589 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 46590 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 46591 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 46592 # will be set to the directory where LIBOBJS objects are built. 46593 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 46594 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 46595done 46596LIBOBJS=$ac_libobjs 46597 46598LTLIBOBJS=$ac_ltlibobjs 46599 46600 46601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 46602$as_echo_n "checking that generated files are newer than configure... " >&6; } 46603 if test -n "$am_sleep_pid"; then 46604 # Hide warnings about reused PIDs. 46605 wait $am_sleep_pid 2>/dev/null 46606 fi 46607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 46608$as_echo "done" >&6; } 46609 if test -n "$EXEEXT"; then 46610 am__EXEEXT_TRUE= 46611 am__EXEEXT_FALSE='#' 46612else 46613 am__EXEEXT_TRUE='#' 46614 am__EXEEXT_FALSE= 46615fi 46616 46617if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 46618 as_fn_error $? "conditional \"AMDEP\" was never defined. 46619Usually this means the macro was only invoked conditionally." "$LINENO" 5 46620fi 46621if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 46622 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 46623Usually this means the macro was only invoked conditionally." "$LINENO" 5 46624fi 46625if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 46626 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 46627Usually this means the macro was only invoked conditionally." "$LINENO" 5 46628fi 46629if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 46630 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 46631Usually this means the macro was only invoked conditionally." "$LINENO" 5 46632fi 46633if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 46634 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 46635Usually this means the macro was only invoked conditionally." "$LINENO" 5 46636fi 46637if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 46638 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 46639Usually this means the macro was only invoked conditionally." "$LINENO" 5 46640fi 46641if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 46642 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 46643Usually this means the macro was only invoked conditionally." "$LINENO" 5 46644fi 46645if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 46646 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 46647Usually this means the macro was only invoked conditionally." "$LINENO" 5 46648fi 46649if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 46650 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 46651Usually this means the macro was only invoked conditionally." "$LINENO" 5 46652fi 46653if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 46654 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 46655Usually this means the macro was only invoked conditionally." "$LINENO" 5 46656fi 46657if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 46658 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 46659Usually this means the macro was only invoked conditionally." "$LINENO" 5 46660fi 46661if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 46662 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 46663Usually this means the macro was only invoked conditionally." "$LINENO" 5 46664fi 46665if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 46666 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 46667Usually this means the macro was only invoked conditionally." "$LINENO" 5 46668fi 46669if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then 46670 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined. 46671Usually this means the macro was only invoked conditionally." "$LINENO" 5 46672fi 46673if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then 46674 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined. 46675Usually this means the macro was only invoked conditionally." "$LINENO" 5 46676fi 46677if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then 46678 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined. 46679Usually this means the macro was only invoked conditionally." "$LINENO" 5 46680fi 46681if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 46682 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 46683Usually this means the macro was only invoked conditionally." "$LINENO" 5 46684fi 46685if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 46686 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 46687Usually this means the macro was only invoked conditionally." "$LINENO" 5 46688fi 46689if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 46690 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 46691Usually this means the macro was only invoked conditionally." "$LINENO" 5 46692fi 46693if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 46694 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 46695Usually this means the macro was only invoked conditionally." "$LINENO" 5 46696fi 46697if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 46698 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 46699Usually this means the macro was only invoked conditionally." "$LINENO" 5 46700fi 46701 46702: "${CONFIG_STATUS=./config.status}" 46703ac_write_fail=0 46704ac_clean_files_save=$ac_clean_files 46705ac_clean_files="$ac_clean_files $CONFIG_STATUS" 46706{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 46707$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 46708as_write_fail=0 46709cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 46710#! $SHELL 46711# Generated by $as_me. 46712# Run this file to recreate the current configuration. 46713# Compiler output produced by configure, useful for debugging 46714# configure, is in config.log if it exists. 46715 46716debug=false 46717ac_cs_recheck=false 46718ac_cs_silent=false 46719 46720SHELL=\${CONFIG_SHELL-$SHELL} 46721export SHELL 46722_ASEOF 46723cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 46724## -------------------- ## 46725## M4sh Initialization. ## 46726## -------------------- ## 46727 46728# Be more Bourne compatible 46729DUALCASE=1; export DUALCASE # for MKS sh 46730if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 46731 emulate sh 46732 NULLCMD=: 46733 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 46734 # is contrary to our usage. Disable this feature. 46735 alias -g '${1+"$@"}'='"$@"' 46736 setopt NO_GLOB_SUBST 46737else 46738 case `(set -o) 2>/dev/null` in #( 46739 *posix*) : 46740 set -o posix ;; #( 46741 *) : 46742 ;; 46743esac 46744fi 46745 46746 46747as_nl=' 46748' 46749export as_nl 46750# Printing a long string crashes Solaris 7 /usr/bin/printf. 46751as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 46752as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46753as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 46754# Prefer a ksh shell builtin over an external printf program on Solaris, 46755# but without wasting forks for bash or zsh. 46756if test -z "$BASH_VERSION$ZSH_VERSION" \ 46757 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 46758 as_echo='print -r --' 46759 as_echo_n='print -rn --' 46760elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 46761 as_echo='printf %s\n' 46762 as_echo_n='printf %s' 46763else 46764 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 46765 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 46766 as_echo_n='/usr/ucb/echo -n' 46767 else 46768 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 46769 as_echo_n_body='eval 46770 arg=$1; 46771 case $arg in #( 46772 *"$as_nl"*) 46773 expr "X$arg" : "X\\(.*\\)$as_nl"; 46774 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 46775 esac; 46776 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 46777 ' 46778 export as_echo_n_body 46779 as_echo_n='sh -c $as_echo_n_body as_echo' 46780 fi 46781 export as_echo_body 46782 as_echo='sh -c $as_echo_body as_echo' 46783fi 46784 46785# The user is always right. 46786if test "${PATH_SEPARATOR+set}" != set; then 46787 PATH_SEPARATOR=: 46788 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 46789 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 46790 PATH_SEPARATOR=';' 46791 } 46792fi 46793 46794 46795# IFS 46796# We need space, tab and new line, in precisely that order. Quoting is 46797# there to prevent editors from complaining about space-tab. 46798# (If _AS_PATH_WALK were called with IFS unset, it would disable word 46799# splitting by setting IFS to empty value.) 46800IFS=" "" $as_nl" 46801 46802# Find who we are. Look in the path if we contain no directory separator. 46803as_myself= 46804case $0 in #(( 46805 *[\\/]* ) as_myself=$0 ;; 46806 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46807for as_dir in $PATH 46808do 46809 IFS=$as_save_IFS 46810 test -z "$as_dir" && as_dir=. 46811 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 46812 done 46813IFS=$as_save_IFS 46814 46815 ;; 46816esac 46817# We did not find ourselves, most probably we were run as `sh COMMAND' 46818# in which case we are not to be found in the path. 46819if test "x$as_myself" = x; then 46820 as_myself=$0 46821fi 46822if test ! -f "$as_myself"; then 46823 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 46824 exit 1 46825fi 46826 46827# Unset variables that we do not need and which cause bugs (e.g. in 46828# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 46829# suppresses any "Segmentation fault" message there. '((' could 46830# trigger a bug in pdksh 5.2.14. 46831for as_var in BASH_ENV ENV MAIL MAILPATH 46832do eval test x\${$as_var+set} = xset \ 46833 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 46834done 46835PS1='$ ' 46836PS2='> ' 46837PS4='+ ' 46838 46839# NLS nuisances. 46840LC_ALL=C 46841export LC_ALL 46842LANGUAGE=C 46843export LANGUAGE 46844 46845# CDPATH. 46846(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 46847 46848 46849# as_fn_error STATUS ERROR [LINENO LOG_FD] 46850# ---------------------------------------- 46851# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 46852# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 46853# script with STATUS, using 1 if that was 0. 46854as_fn_error () 46855{ 46856 as_status=$1; test $as_status -eq 0 && as_status=1 46857 if test "$4"; then 46858 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 46859 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 46860 fi 46861 $as_echo "$as_me: error: $2" >&2 46862 as_fn_exit $as_status 46863} # as_fn_error 46864 46865 46866# as_fn_set_status STATUS 46867# ----------------------- 46868# Set $? to STATUS, without forking. 46869as_fn_set_status () 46870{ 46871 return $1 46872} # as_fn_set_status 46873 46874# as_fn_exit STATUS 46875# ----------------- 46876# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 46877as_fn_exit () 46878{ 46879 set +e 46880 as_fn_set_status $1 46881 exit $1 46882} # as_fn_exit 46883 46884# as_fn_unset VAR 46885# --------------- 46886# Portably unset VAR. 46887as_fn_unset () 46888{ 46889 { eval $1=; unset $1;} 46890} 46891as_unset=as_fn_unset 46892# as_fn_append VAR VALUE 46893# ---------------------- 46894# Append the text in VALUE to the end of the definition contained in VAR. Take 46895# advantage of any shell optimizations that allow amortized linear growth over 46896# repeated appends, instead of the typical quadratic growth present in naive 46897# implementations. 46898if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 46899 eval 'as_fn_append () 46900 { 46901 eval $1+=\$2 46902 }' 46903else 46904 as_fn_append () 46905 { 46906 eval $1=\$$1\$2 46907 } 46908fi # as_fn_append 46909 46910# as_fn_arith ARG... 46911# ------------------ 46912# Perform arithmetic evaluation on the ARGs, and store the result in the 46913# global $as_val. Take advantage of shells that can avoid forks. The arguments 46914# must be portable across $(()) and expr. 46915if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 46916 eval 'as_fn_arith () 46917 { 46918 as_val=$(( $* )) 46919 }' 46920else 46921 as_fn_arith () 46922 { 46923 as_val=`expr "$@" || test $? -eq 1` 46924 } 46925fi # as_fn_arith 46926 46927 46928if expr a : '\(a\)' >/dev/null 2>&1 && 46929 test "X`expr 00001 : '.*\(...\)'`" = X001; then 46930 as_expr=expr 46931else 46932 as_expr=false 46933fi 46934 46935if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 46936 as_basename=basename 46937else 46938 as_basename=false 46939fi 46940 46941if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 46942 as_dirname=dirname 46943else 46944 as_dirname=false 46945fi 46946 46947as_me=`$as_basename -- "$0" || 46948$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 46949 X"$0" : 'X\(//\)$' \| \ 46950 X"$0" : 'X\(/\)' \| . 2>/dev/null || 46951$as_echo X/"$0" | 46952 sed '/^.*\/\([^/][^/]*\)\/*$/{ 46953 s//\1/ 46954 q 46955 } 46956 /^X\/\(\/\/\)$/{ 46957 s//\1/ 46958 q 46959 } 46960 /^X\/\(\/\).*/{ 46961 s//\1/ 46962 q 46963 } 46964 s/.*/./; q'` 46965 46966# Avoid depending upon Character Ranges. 46967as_cr_letters='abcdefghijklmnopqrstuvwxyz' 46968as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 46969as_cr_Letters=$as_cr_letters$as_cr_LETTERS 46970as_cr_digits='0123456789' 46971as_cr_alnum=$as_cr_Letters$as_cr_digits 46972 46973ECHO_C= ECHO_N= ECHO_T= 46974case `echo -n x` in #((((( 46975-n*) 46976 case `echo 'xy\c'` in 46977 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 46978 xy) ECHO_C='\c';; 46979 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 46980 ECHO_T=' ';; 46981 esac;; 46982*) 46983 ECHO_N='-n';; 46984esac 46985 46986rm -f conf$$ conf$$.exe conf$$.file 46987if test -d conf$$.dir; then 46988 rm -f conf$$.dir/conf$$.file 46989else 46990 rm -f conf$$.dir 46991 mkdir conf$$.dir 2>/dev/null 46992fi 46993if (echo >conf$$.file) 2>/dev/null; then 46994 if ln -s conf$$.file conf$$ 2>/dev/null; then 46995 as_ln_s='ln -s' 46996 # ... but there are two gotchas: 46997 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 46998 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 46999 # In both cases, we have to default to `cp -pR'. 47000 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 47001 as_ln_s='cp -pR' 47002 elif ln conf$$.file conf$$ 2>/dev/null; then 47003 as_ln_s=ln 47004 else 47005 as_ln_s='cp -pR' 47006 fi 47007else 47008 as_ln_s='cp -pR' 47009fi 47010rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 47011rmdir conf$$.dir 2>/dev/null 47012 47013 47014# as_fn_mkdir_p 47015# ------------- 47016# Create "$as_dir" as a directory, including parents if necessary. 47017as_fn_mkdir_p () 47018{ 47019 47020 case $as_dir in #( 47021 -*) as_dir=./$as_dir;; 47022 esac 47023 test -d "$as_dir" || eval $as_mkdir_p || { 47024 as_dirs= 47025 while :; do 47026 case $as_dir in #( 47027 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 47028 *) as_qdir=$as_dir;; 47029 esac 47030 as_dirs="'$as_qdir' $as_dirs" 47031 as_dir=`$as_dirname -- "$as_dir" || 47032$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 47033 X"$as_dir" : 'X\(//\)[^/]' \| \ 47034 X"$as_dir" : 'X\(//\)$' \| \ 47035 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 47036$as_echo X"$as_dir" | 47037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 47038 s//\1/ 47039 q 47040 } 47041 /^X\(\/\/\)[^/].*/{ 47042 s//\1/ 47043 q 47044 } 47045 /^X\(\/\/\)$/{ 47046 s//\1/ 47047 q 47048 } 47049 /^X\(\/\).*/{ 47050 s//\1/ 47051 q 47052 } 47053 s/.*/./; q'` 47054 test -d "$as_dir" && break 47055 done 47056 test -z "$as_dirs" || eval "mkdir $as_dirs" 47057 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 47058 47059 47060} # as_fn_mkdir_p 47061if mkdir -p . 2>/dev/null; then 47062 as_mkdir_p='mkdir -p "$as_dir"' 47063else 47064 test -d ./-p && rmdir ./-p 47065 as_mkdir_p=false 47066fi 47067 47068 47069# as_fn_executable_p FILE 47070# ----------------------- 47071# Test if FILE is an executable regular file. 47072as_fn_executable_p () 47073{ 47074 test -f "$1" && test -x "$1" 47075} # as_fn_executable_p 47076as_test_x='test -x' 47077as_executable_p=as_fn_executable_p 47078 47079# Sed expression to map a string onto a valid CPP name. 47080as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 47081 47082# Sed expression to map a string onto a valid variable name. 47083as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 47084 47085 47086exec 6>&1 47087## ----------------------------------- ## 47088## Main body of $CONFIG_STATUS script. ## 47089## ----------------------------------- ## 47090_ASEOF 47091test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 47092 47093cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47094# Save the log message, to keep $0 and so on meaningful, and to 47095# report actual input values of CONFIG_FILES etc. instead of their 47096# values after options handling. 47097ac_log=" 47098This file was extended by libvsgpt $as_me 20210207, which was 47099generated by GNU Autoconf 2.69. Invocation command line was 47100 47101 CONFIG_FILES = $CONFIG_FILES 47102 CONFIG_HEADERS = $CONFIG_HEADERS 47103 CONFIG_LINKS = $CONFIG_LINKS 47104 CONFIG_COMMANDS = $CONFIG_COMMANDS 47105 $ $0 $@ 47106 47107on `(hostname || uname -n) 2>/dev/null | sed 1q` 47108" 47109 47110_ACEOF 47111 47112case $ac_config_files in *" 47113"*) set x $ac_config_files; shift; ac_config_files=$*;; 47114esac 47115 47116case $ac_config_headers in *" 47117"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 47118esac 47119 47120 47121cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47122# Files that config.status was made for. 47123config_files="$ac_config_files" 47124config_headers="$ac_config_headers" 47125config_commands="$ac_config_commands" 47126 47127_ACEOF 47128 47129cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47130ac_cs_usage="\ 47131\`$as_me' instantiates files and other configuration actions 47132from templates according to the current configuration. Unless the files 47133and actions are specified as TAGs, all are instantiated by default. 47134 47135Usage: $0 [OPTION]... [TAG]... 47136 47137 -h, --help print this help, then exit 47138 -V, --version print version number and configuration settings, then exit 47139 --config print configuration, then exit 47140 -q, --quiet, --silent 47141 do not print progress messages 47142 -d, --debug don't remove temporary files 47143 --recheck update $as_me by reconfiguring in the same conditions 47144 --file=FILE[:TEMPLATE] 47145 instantiate the configuration file FILE 47146 --header=FILE[:TEMPLATE] 47147 instantiate the configuration header FILE 47148 47149Configuration files: 47150$config_files 47151 47152Configuration headers: 47153$config_headers 47154 47155Configuration commands: 47156$config_commands 47157 47158Report bugs to <joachim.metz@gmail.com>." 47159 47160_ACEOF 47161cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47162ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 47163ac_cs_version="\\ 47164libvsgpt config.status 20210207 47165configured by $0, generated by GNU Autoconf 2.69, 47166 with options \\"\$ac_cs_config\\" 47167 47168Copyright (C) 2012 Free Software Foundation, Inc. 47169This config.status script is free software; the Free Software Foundation 47170gives unlimited permission to copy, distribute and modify it." 47171 47172ac_pwd='$ac_pwd' 47173srcdir='$srcdir' 47174INSTALL='$INSTALL' 47175MKDIR_P='$MKDIR_P' 47176AWK='$AWK' 47177test -n "\$AWK" || AWK=awk 47178_ACEOF 47179 47180cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47181# The default lists apply if the user does not specify any file. 47182ac_need_defaults=: 47183while test $# != 0 47184do 47185 case $1 in 47186 --*=?*) 47187 ac_option=`expr "X$1" : 'X\([^=]*\)='` 47188 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 47189 ac_shift=: 47190 ;; 47191 --*=) 47192 ac_option=`expr "X$1" : 'X\([^=]*\)='` 47193 ac_optarg= 47194 ac_shift=: 47195 ;; 47196 *) 47197 ac_option=$1 47198 ac_optarg=$2 47199 ac_shift=shift 47200 ;; 47201 esac 47202 47203 case $ac_option in 47204 # Handling of the options. 47205 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 47206 ac_cs_recheck=: ;; 47207 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 47208 $as_echo "$ac_cs_version"; exit ;; 47209 --config | --confi | --conf | --con | --co | --c ) 47210 $as_echo "$ac_cs_config"; exit ;; 47211 --debug | --debu | --deb | --de | --d | -d ) 47212 debug=: ;; 47213 --file | --fil | --fi | --f ) 47214 $ac_shift 47215 case $ac_optarg in 47216 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 47217 '') as_fn_error $? "missing file argument" ;; 47218 esac 47219 as_fn_append CONFIG_FILES " '$ac_optarg'" 47220 ac_need_defaults=false;; 47221 --header | --heade | --head | --hea ) 47222 $ac_shift 47223 case $ac_optarg in 47224 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 47225 esac 47226 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 47227 ac_need_defaults=false;; 47228 --he | --h) 47229 # Conflict between --help and --header 47230 as_fn_error $? "ambiguous option: \`$1' 47231Try \`$0 --help' for more information.";; 47232 --help | --hel | -h ) 47233 $as_echo "$ac_cs_usage"; exit ;; 47234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 47235 | -silent | --silent | --silen | --sile | --sil | --si | --s) 47236 ac_cs_silent=: ;; 47237 47238 # This is an error. 47239 -*) as_fn_error $? "unrecognized option: \`$1' 47240Try \`$0 --help' for more information." ;; 47241 47242 *) as_fn_append ac_config_targets " $1" 47243 ac_need_defaults=false ;; 47244 47245 esac 47246 shift 47247done 47248 47249ac_configure_extra_args= 47250 47251if $ac_cs_silent; then 47252 exec 6>/dev/null 47253 ac_configure_extra_args="$ac_configure_extra_args --silent" 47254fi 47255 47256_ACEOF 47257cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47258if \$ac_cs_recheck; then 47259 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 47260 shift 47261 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 47262 CONFIG_SHELL='$SHELL' 47263 export CONFIG_SHELL 47264 exec "\$@" 47265fi 47266 47267_ACEOF 47268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47269exec 5>>config.log 47270{ 47271 echo 47272 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 47273## Running $as_me. ## 47274_ASBOX 47275 $as_echo "$ac_log" 47276} >&5 47277 47278_ACEOF 47279cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47280# 47281# INIT-COMMANDS 47282# 47283AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 47284 47285 47286# The HP-UX ksh and POSIX shell print the target directory to stdout 47287# if CDPATH is set. 47288(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 47289 47290sed_quote_subst='$sed_quote_subst' 47291double_quote_subst='$double_quote_subst' 47292delay_variable_subst='$delay_variable_subst' 47293AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 47294DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 47295OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 47296macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 47297macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 47298enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 47299enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 47300pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 47301enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 47302shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 47303SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 47304ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 47305PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 47306host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 47307host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 47308host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 47309build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 47310build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 47311build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 47312SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 47313Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 47314GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 47315EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 47316FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 47317LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 47318NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 47319LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 47320max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 47321ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 47322exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 47323lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 47324lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 47325lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 47326lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 47327lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 47328reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 47329reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 47330deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 47331file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 47332file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 47333want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 47334sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 47335AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 47336AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 47337archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 47338STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 47339RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 47340old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 47341old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 47342old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 47343lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 47344CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 47345CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 47346compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 47347GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 47348lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 47349lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 47350lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 47351lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 47352lt_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"`' 47353lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 47354nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 47355lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 47356lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 47357objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 47358MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 47359lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 47360lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 47361lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 47362lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 47363lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 47364need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 47365MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 47366DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 47367NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 47368LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 47369OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 47370OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 47371libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 47372shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 47373extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 47374archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 47375enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 47376export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 47377whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 47378compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 47379old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 47380old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 47381archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 47382archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 47383module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 47384module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 47385with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 47386allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 47387no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 47388hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 47389hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 47390hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 47391hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 47392hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 47393hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 47394hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 47395inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 47396link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 47397always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 47398export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 47399exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 47400include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 47401prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 47402postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 47403file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 47404variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 47405need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 47406need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 47407version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 47408runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 47409shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 47410shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 47411libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 47412library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 47413soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 47414install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 47415postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 47416postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 47417finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 47418finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 47419hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 47420sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 47421configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 47422configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 47423hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 47424enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 47425enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 47426enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 47427old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 47428striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 47429compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 47430predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 47431postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 47432predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 47433postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 47434compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 47435LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 47436reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 47437reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47438old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47439compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 47440GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 47441lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 47442lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 47443lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 47444lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 47445lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 47446archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 47447enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 47448export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47449whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47450compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 47451old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47452old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47453archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47454archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47455module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47456module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47457with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 47458allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 47459no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 47460hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47461hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 47462hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 47463hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 47464hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 47465hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 47466hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 47467inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 47468link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 47469always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 47470export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47471exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 47472include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 47473prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47474postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47475file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 47476hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 47477compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 47478predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 47479postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 47480predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 47481postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 47482compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 47483 47484LTCC='$LTCC' 47485LTCFLAGS='$LTCFLAGS' 47486compiler='$compiler_DEFAULT' 47487 47488# A function that is used when there is no print builtin or printf. 47489func_fallback_echo () 47490{ 47491 eval 'cat <<_LTECHO_EOF 47492\$1 47493_LTECHO_EOF' 47494} 47495 47496# Quote evaled strings. 47497for var in AS \ 47498DLLTOOL \ 47499OBJDUMP \ 47500SHELL \ 47501ECHO \ 47502PATH_SEPARATOR \ 47503SED \ 47504GREP \ 47505EGREP \ 47506FGREP \ 47507LD \ 47508NM \ 47509LN_S \ 47510lt_SP2NL \ 47511lt_NL2SP \ 47512reload_flag \ 47513deplibs_check_method \ 47514file_magic_cmd \ 47515file_magic_glob \ 47516want_nocaseglob \ 47517sharedlib_from_linklib_cmd \ 47518AR \ 47519AR_FLAGS \ 47520archiver_list_spec \ 47521STRIP \ 47522RANLIB \ 47523CC \ 47524CFLAGS \ 47525compiler \ 47526lt_cv_sys_global_symbol_pipe \ 47527lt_cv_sys_global_symbol_to_cdecl \ 47528lt_cv_sys_global_symbol_to_import \ 47529lt_cv_sys_global_symbol_to_c_name_address \ 47530lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 47531lt_cv_nm_interface \ 47532nm_file_list_spec \ 47533lt_cv_truncate_bin \ 47534lt_prog_compiler_no_builtin_flag \ 47535lt_prog_compiler_pic \ 47536lt_prog_compiler_wl \ 47537lt_prog_compiler_static \ 47538lt_cv_prog_compiler_c_o \ 47539need_locks \ 47540MANIFEST_TOOL \ 47541DSYMUTIL \ 47542NMEDIT \ 47543LIPO \ 47544OTOOL \ 47545OTOOL64 \ 47546shrext_cmds \ 47547export_dynamic_flag_spec \ 47548whole_archive_flag_spec \ 47549compiler_needs_object \ 47550with_gnu_ld \ 47551allow_undefined_flag \ 47552no_undefined_flag \ 47553hardcode_libdir_flag_spec \ 47554hardcode_libdir_separator \ 47555exclude_expsyms \ 47556include_expsyms \ 47557file_list_spec \ 47558variables_saved_for_relink \ 47559libname_spec \ 47560library_names_spec \ 47561soname_spec \ 47562install_override_mode \ 47563finish_eval \ 47564old_striplib \ 47565striplib \ 47566compiler_lib_search_dirs \ 47567predep_objects \ 47568postdep_objects \ 47569predeps \ 47570postdeps \ 47571compiler_lib_search_path \ 47572LD_CXX \ 47573reload_flag_CXX \ 47574compiler_CXX \ 47575lt_prog_compiler_no_builtin_flag_CXX \ 47576lt_prog_compiler_pic_CXX \ 47577lt_prog_compiler_wl_CXX \ 47578lt_prog_compiler_static_CXX \ 47579lt_cv_prog_compiler_c_o_CXX \ 47580export_dynamic_flag_spec_CXX \ 47581whole_archive_flag_spec_CXX \ 47582compiler_needs_object_CXX \ 47583with_gnu_ld_CXX \ 47584allow_undefined_flag_CXX \ 47585no_undefined_flag_CXX \ 47586hardcode_libdir_flag_spec_CXX \ 47587hardcode_libdir_separator_CXX \ 47588exclude_expsyms_CXX \ 47589include_expsyms_CXX \ 47590file_list_spec_CXX \ 47591compiler_lib_search_dirs_CXX \ 47592predep_objects_CXX \ 47593postdep_objects_CXX \ 47594predeps_CXX \ 47595postdeps_CXX \ 47596compiler_lib_search_path_CXX; do 47597 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 47598 *[\\\\\\\`\\"\\\$]*) 47599 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 47600 ;; 47601 *) 47602 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 47603 ;; 47604 esac 47605done 47606 47607# Double-quote double-evaled strings. 47608for var in reload_cmds \ 47609old_postinstall_cmds \ 47610old_postuninstall_cmds \ 47611old_archive_cmds \ 47612extract_expsyms_cmds \ 47613old_archive_from_new_cmds \ 47614old_archive_from_expsyms_cmds \ 47615archive_cmds \ 47616archive_expsym_cmds \ 47617module_cmds \ 47618module_expsym_cmds \ 47619export_symbols_cmds \ 47620prelink_cmds \ 47621postlink_cmds \ 47622postinstall_cmds \ 47623postuninstall_cmds \ 47624finish_cmds \ 47625sys_lib_search_path_spec \ 47626configure_time_dlsearch_path \ 47627configure_time_lt_sys_library_path \ 47628reload_cmds_CXX \ 47629old_archive_cmds_CXX \ 47630old_archive_from_new_cmds_CXX \ 47631old_archive_from_expsyms_cmds_CXX \ 47632archive_cmds_CXX \ 47633archive_expsym_cmds_CXX \ 47634module_cmds_CXX \ 47635module_expsym_cmds_CXX \ 47636export_symbols_cmds_CXX \ 47637prelink_cmds_CXX \ 47638postlink_cmds_CXX; do 47639 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 47640 *[\\\\\\\`\\"\\\$]*) 47641 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 47642 ;; 47643 *) 47644 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 47645 ;; 47646 esac 47647done 47648 47649ac_aux_dir='$ac_aux_dir' 47650 47651# See if we are running on zsh, and set the options that allow our 47652# commands through without removal of \ escapes INIT. 47653if test -n "\${ZSH_VERSION+set}"; then 47654 setopt NO_GLOB_SUBST 47655fi 47656 47657 47658 PACKAGE='$PACKAGE' 47659 VERSION='$VERSION' 47660 RM='$RM' 47661 ofile='$ofile' 47662 47663 47664 47665 47666 47667# Capture the value of obsolete ALL_LINGUAS because we need it to compute 47668 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 47669 # from automake < 1.5. 47670 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 47671 # Capture the value of LINGUAS because we need it to compute CATALOGS. 47672 LINGUAS="${LINGUAS-%UNSET%}" 47673 47674 47675_ACEOF 47676 47677cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47678 47679# Handling of arguments. 47680for ac_config_target in $ac_config_targets 47681do 47682 case $ac_config_target in 47683 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 47684 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 47685 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 47686 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 47687 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 47688 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 47689 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 47690 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 47691 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 47692 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 47693 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 47694 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 47695 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 47696 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 47697 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 47698 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 47699 "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;; 47700 "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;; 47701 "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;; 47702 "libvsgpt/Makefile") CONFIG_FILES="$CONFIG_FILES libvsgpt/Makefile" ;; 47703 "pyvsgpt/Makefile") CONFIG_FILES="$CONFIG_FILES pyvsgpt/Makefile" ;; 47704 "pyvsgpt-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyvsgpt-python2/Makefile" ;; 47705 "pyvsgpt-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyvsgpt-python3/Makefile" ;; 47706 "vsgpttools/Makefile") CONFIG_FILES="$CONFIG_FILES vsgpttools/Makefile" ;; 47707 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 47708 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 47709 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 47710 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 47711 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 47712 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 47713 "include/libvsgpt.h") CONFIG_FILES="$CONFIG_FILES include/libvsgpt.h" ;; 47714 "include/libvsgpt/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libvsgpt/definitions.h" ;; 47715 "include/libvsgpt/features.h") CONFIG_FILES="$CONFIG_FILES include/libvsgpt/features.h" ;; 47716 "include/libvsgpt/types.h") CONFIG_FILES="$CONFIG_FILES include/libvsgpt/types.h" ;; 47717 "libvsgpt/libvsgpt_definitions.h") CONFIG_FILES="$CONFIG_FILES libvsgpt/libvsgpt_definitions.h" ;; 47718 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 47719 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 47720 "libvsgpt/libvsgpt.rc") CONFIG_FILES="$CONFIG_FILES libvsgpt/libvsgpt.rc" ;; 47721 "libvsgpt.pc") CONFIG_FILES="$CONFIG_FILES libvsgpt.pc" ;; 47722 "libvsgpt.spec") CONFIG_FILES="$CONFIG_FILES libvsgpt.spec" ;; 47723 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 47724 47725 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 47726 esac 47727done 47728 47729 47730# If the user did not use the arguments to specify the items to instantiate, 47731# then the envvar interface is used. Set only those that are not. 47732# We use the long form for the default assignment because of an extremely 47733# bizarre bug on SunOS 4.1.3. 47734if $ac_need_defaults; then 47735 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 47736 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 47737 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 47738fi 47739 47740# Have a temporary directory for convenience. Make it in the build tree 47741# simply because there is no reason against having it here, and in addition, 47742# creating and moving files from /tmp can sometimes cause problems. 47743# Hook for its removal unless debugging. 47744# Note that there is a small window in which the directory will not be cleaned: 47745# after its creation but before its name has been assigned to `$tmp'. 47746$debug || 47747{ 47748 tmp= ac_tmp= 47749 trap 'exit_status=$? 47750 : "${ac_tmp:=$tmp}" 47751 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 47752' 0 47753 trap 'as_fn_exit 1' 1 2 13 15 47754} 47755# Create a (secure) tmp directory for tmp files. 47756 47757{ 47758 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 47759 test -d "$tmp" 47760} || 47761{ 47762 tmp=./conf$$-$RANDOM 47763 (umask 077 && mkdir "$tmp") 47764} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 47765ac_tmp=$tmp 47766 47767# Set up the scripts for CONFIG_FILES section. 47768# No need to generate them if there are no CONFIG_FILES. 47769# This happens for instance with `./config.status config.h'. 47770if test -n "$CONFIG_FILES"; then 47771 47772 47773ac_cr=`echo X | tr X '\015'` 47774# On cygwin, bash can eat \r inside `` if the user requested igncr. 47775# But we know of no other shell where ac_cr would be empty at this 47776# point, so we can use a bashism as a fallback. 47777if test "x$ac_cr" = x; then 47778 eval ac_cr=\$\'\\r\' 47779fi 47780ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 47781if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 47782 ac_cs_awk_cr='\\r' 47783else 47784 ac_cs_awk_cr=$ac_cr 47785fi 47786 47787echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 47788_ACEOF 47789 47790 47791{ 47792 echo "cat >conf$$subs.awk <<_ACEOF" && 47793 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 47794 echo "_ACEOF" 47795} >conf$$subs.sh || 47796 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 47797ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 47798ac_delim='%!_!# ' 47799for ac_last_try in false false false false false :; do 47800 . ./conf$$subs.sh || 47801 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 47802 47803 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 47804 if test $ac_delim_n = $ac_delim_num; then 47805 break 47806 elif $ac_last_try; then 47807 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 47808 else 47809 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 47810 fi 47811done 47812rm -f conf$$subs.sh 47813 47814cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47815cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 47816_ACEOF 47817sed -n ' 47818h 47819s/^/S["/; s/!.*/"]=/ 47820p 47821g 47822s/^[^!]*!// 47823:repl 47824t repl 47825s/'"$ac_delim"'$// 47826t delim 47827:nl 47828h 47829s/\(.\{148\}\)..*/\1/ 47830t more1 47831s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 47832p 47833n 47834b repl 47835:more1 47836s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 47837p 47838g 47839s/.\{148\}// 47840t nl 47841:delim 47842h 47843s/\(.\{148\}\)..*/\1/ 47844t more2 47845s/["\\]/\\&/g; s/^/"/; s/$/"/ 47846p 47847b 47848:more2 47849s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 47850p 47851g 47852s/.\{148\}// 47853t delim 47854' <conf$$subs.awk | sed ' 47855/^[^""]/{ 47856 N 47857 s/\n// 47858} 47859' >>$CONFIG_STATUS || ac_write_fail=1 47860rm -f conf$$subs.awk 47861cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47862_ACAWK 47863cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 47864 for (key in S) S_is_set[key] = 1 47865 FS = "" 47866 47867} 47868{ 47869 line = $ 0 47870 nfields = split(line, field, "@") 47871 substed = 0 47872 len = length(field[1]) 47873 for (i = 2; i < nfields; i++) { 47874 key = field[i] 47875 keylen = length(key) 47876 if (S_is_set[key]) { 47877 value = S[key] 47878 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 47879 len += length(value) + length(field[++i]) 47880 substed = 1 47881 } else 47882 len += 1 + keylen 47883 } 47884 47885 print line 47886} 47887 47888_ACAWK 47889_ACEOF 47890cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47891if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 47892 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 47893else 47894 cat 47895fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 47896 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 47897_ACEOF 47898 47899# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 47900# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 47901# trailing colons and then remove the whole line if VPATH becomes empty 47902# (actually we leave an empty line to preserve line numbers). 47903if test "x$srcdir" = x.; then 47904 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 47905h 47906s/// 47907s/^/:/ 47908s/[ ]*$/:/ 47909s/:\$(srcdir):/:/g 47910s/:\${srcdir}:/:/g 47911s/:@srcdir@:/:/g 47912s/^:*// 47913s/:*$// 47914x 47915s/\(=[ ]*\).*/\1/ 47916G 47917s/\n// 47918s/^[^=]*=[ ]*$// 47919}' 47920fi 47921 47922cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47923fi # test -n "$CONFIG_FILES" 47924 47925# Set up the scripts for CONFIG_HEADERS section. 47926# No need to generate them if there are no CONFIG_HEADERS. 47927# This happens for instance with `./config.status Makefile'. 47928if test -n "$CONFIG_HEADERS"; then 47929cat >"$ac_tmp/defines.awk" <<\_ACAWK || 47930BEGIN { 47931_ACEOF 47932 47933# Transform confdefs.h into an awk script `defines.awk', embedded as 47934# here-document in config.status, that substitutes the proper values into 47935# config.h.in to produce config.h. 47936 47937# Create a delimiter string that does not exist in confdefs.h, to ease 47938# handling of long lines. 47939ac_delim='%!_!# ' 47940for ac_last_try in false false :; do 47941 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 47942 if test -z "$ac_tt"; then 47943 break 47944 elif $ac_last_try; then 47945 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 47946 else 47947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 47948 fi 47949done 47950 47951# For the awk script, D is an array of macro values keyed by name, 47952# likewise P contains macro parameters if any. Preserve backslash 47953# newline sequences. 47954 47955ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 47956sed -n ' 47957s/.\{148\}/&'"$ac_delim"'/g 47958t rset 47959:rset 47960s/^[ ]*#[ ]*define[ ][ ]*/ / 47961t def 47962d 47963:def 47964s/\\$// 47965t bsnl 47966s/["\\]/\\&/g 47967s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 47968D["\1"]=" \3"/p 47969s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 47970d 47971:bsnl 47972s/["\\]/\\&/g 47973s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 47974D["\1"]=" \3\\\\\\n"\\/p 47975t cont 47976s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 47977t cont 47978d 47979:cont 47980n 47981s/.\{148\}/&'"$ac_delim"'/g 47982t clear 47983:clear 47984s/\\$// 47985t bsnlc 47986s/["\\]/\\&/g; s/^/"/; s/$/"/p 47987d 47988:bsnlc 47989s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 47990b cont 47991' <confdefs.h | sed ' 47992s/'"$ac_delim"'/"\\\ 47993"/g' >>$CONFIG_STATUS || ac_write_fail=1 47994 47995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47996 for (key in D) D_is_set[key] = 1 47997 FS = "" 47998} 47999/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 48000 line = \$ 0 48001 split(line, arg, " ") 48002 if (arg[1] == "#") { 48003 defundef = arg[2] 48004 mac1 = arg[3] 48005 } else { 48006 defundef = substr(arg[1], 2) 48007 mac1 = arg[2] 48008 } 48009 split(mac1, mac2, "(") #) 48010 macro = mac2[1] 48011 prefix = substr(line, 1, index(line, defundef) - 1) 48012 if (D_is_set[macro]) { 48013 # Preserve the white space surrounding the "#". 48014 print prefix "define", macro P[macro] D[macro] 48015 next 48016 } else { 48017 # Replace #undef with comments. This is necessary, for example, 48018 # in the case of _POSIX_SOURCE, which is predefined and required 48019 # on some systems where configure will not decide to define it. 48020 if (defundef == "undef") { 48021 print "/*", prefix defundef, macro, "*/" 48022 next 48023 } 48024 } 48025} 48026{ print } 48027_ACAWK 48028_ACEOF 48029cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48030 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 48031fi # test -n "$CONFIG_HEADERS" 48032 48033 48034eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 48035shift 48036for ac_tag 48037do 48038 case $ac_tag in 48039 :[FHLC]) ac_mode=$ac_tag; continue;; 48040 esac 48041 case $ac_mode$ac_tag in 48042 :[FHL]*:*);; 48043 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 48044 :[FH]-) ac_tag=-:-;; 48045 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 48046 esac 48047 ac_save_IFS=$IFS 48048 IFS=: 48049 set x $ac_tag 48050 IFS=$ac_save_IFS 48051 shift 48052 ac_file=$1 48053 shift 48054 48055 case $ac_mode in 48056 :L) ac_source=$1;; 48057 :[FH]) 48058 ac_file_inputs= 48059 for ac_f 48060 do 48061 case $ac_f in 48062 -) ac_f="$ac_tmp/stdin";; 48063 *) # Look for the file first in the build tree, then in the source tree 48064 # (if the path is not absolute). The absolute path cannot be DOS-style, 48065 # because $ac_f cannot contain `:'. 48066 test -f "$ac_f" || 48067 case $ac_f in 48068 [\\/$]*) false;; 48069 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 48070 esac || 48071 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 48072 esac 48073 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 48074 as_fn_append ac_file_inputs " '$ac_f'" 48075 done 48076 48077 # Let's still pretend it is `configure' which instantiates (i.e., don't 48078 # use $as_me), people would be surprised to read: 48079 # /* config.h. Generated by config.status. */ 48080 configure_input='Generated from '` 48081 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 48082 `' by configure.' 48083 if test x"$ac_file" != x-; then 48084 configure_input="$ac_file. $configure_input" 48085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 48086$as_echo "$as_me: creating $ac_file" >&6;} 48087 fi 48088 # Neutralize special characters interpreted by sed in replacement strings. 48089 case $configure_input in #( 48090 *\&* | *\|* | *\\* ) 48091 ac_sed_conf_input=`$as_echo "$configure_input" | 48092 sed 's/[\\\\&|]/\\\\&/g'`;; #( 48093 *) ac_sed_conf_input=$configure_input;; 48094 esac 48095 48096 case $ac_tag in 48097 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 48098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 48099 esac 48100 ;; 48101 esac 48102 48103 ac_dir=`$as_dirname -- "$ac_file" || 48104$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48105 X"$ac_file" : 'X\(//\)[^/]' \| \ 48106 X"$ac_file" : 'X\(//\)$' \| \ 48107 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 48108$as_echo X"$ac_file" | 48109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48110 s//\1/ 48111 q 48112 } 48113 /^X\(\/\/\)[^/].*/{ 48114 s//\1/ 48115 q 48116 } 48117 /^X\(\/\/\)$/{ 48118 s//\1/ 48119 q 48120 } 48121 /^X\(\/\).*/{ 48122 s//\1/ 48123 q 48124 } 48125 s/.*/./; q'` 48126 as_dir="$ac_dir"; as_fn_mkdir_p 48127 ac_builddir=. 48128 48129case "$ac_dir" in 48130.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 48131*) 48132 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 48133 # A ".." for each directory in $ac_dir_suffix. 48134 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 48135 case $ac_top_builddir_sub in 48136 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 48137 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 48138 esac ;; 48139esac 48140ac_abs_top_builddir=$ac_pwd 48141ac_abs_builddir=$ac_pwd$ac_dir_suffix 48142# for backward compatibility: 48143ac_top_builddir=$ac_top_build_prefix 48144 48145case $srcdir in 48146 .) # We are building in place. 48147 ac_srcdir=. 48148 ac_top_srcdir=$ac_top_builddir_sub 48149 ac_abs_top_srcdir=$ac_pwd ;; 48150 [\\/]* | ?:[\\/]* ) # Absolute name. 48151 ac_srcdir=$srcdir$ac_dir_suffix; 48152 ac_top_srcdir=$srcdir 48153 ac_abs_top_srcdir=$srcdir ;; 48154 *) # Relative name. 48155 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 48156 ac_top_srcdir=$ac_top_build_prefix$srcdir 48157 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 48158esac 48159ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 48160 48161 48162 case $ac_mode in 48163 :F) 48164 # 48165 # CONFIG_FILE 48166 # 48167 48168 case $INSTALL in 48169 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 48170 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 48171 esac 48172 ac_MKDIR_P=$MKDIR_P 48173 case $MKDIR_P in 48174 [\\/$]* | ?:[\\/]* ) ;; 48175 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 48176 esac 48177_ACEOF 48178 48179cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48180# If the template does not know about datarootdir, expand it. 48181# FIXME: This hack should be removed a few years after 2.60. 48182ac_datarootdir_hack=; ac_datarootdir_seen= 48183ac_sed_dataroot=' 48184/datarootdir/ { 48185 p 48186 q 48187} 48188/@datadir@/p 48189/@docdir@/p 48190/@infodir@/p 48191/@localedir@/p 48192/@mandir@/p' 48193case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 48194*datarootdir*) ac_datarootdir_seen=yes;; 48195*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 48196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 48197$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 48198_ACEOF 48199cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48200 ac_datarootdir_hack=' 48201 s&@datadir@&$datadir&g 48202 s&@docdir@&$docdir&g 48203 s&@infodir@&$infodir&g 48204 s&@localedir@&$localedir&g 48205 s&@mandir@&$mandir&g 48206 s&\\\${datarootdir}&$datarootdir&g' ;; 48207esac 48208_ACEOF 48209 48210# Neutralize VPATH when `$srcdir' = `.'. 48211# Shell code in configure.ac might set extrasub. 48212# FIXME: do we really want to maintain this feature? 48213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48214ac_sed_extra="$ac_vpsub 48215$extrasub 48216_ACEOF 48217cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48218:t 48219/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 48220s|@configure_input@|$ac_sed_conf_input|;t t 48221s&@top_builddir@&$ac_top_builddir_sub&;t t 48222s&@top_build_prefix@&$ac_top_build_prefix&;t t 48223s&@srcdir@&$ac_srcdir&;t t 48224s&@abs_srcdir@&$ac_abs_srcdir&;t t 48225s&@top_srcdir@&$ac_top_srcdir&;t t 48226s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 48227s&@builddir@&$ac_builddir&;t t 48228s&@abs_builddir@&$ac_abs_builddir&;t t 48229s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 48230s&@INSTALL@&$ac_INSTALL&;t t 48231s&@MKDIR_P@&$ac_MKDIR_P&;t t 48232$ac_datarootdir_hack 48233" 48234eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 48235 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48236 48237test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 48238 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 48239 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 48240 "$ac_tmp/out"`; test -z "$ac_out"; } && 48241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 48242which seems to be undefined. Please make sure it is defined" >&5 48243$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 48244which seems to be undefined. Please make sure it is defined" >&2;} 48245 48246 rm -f "$ac_tmp/stdin" 48247 case $ac_file in 48248 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 48249 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 48250 esac \ 48251 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48252 ;; 48253 :H) 48254 # 48255 # CONFIG_HEADER 48256 # 48257 if test x"$ac_file" != x-; then 48258 { 48259 $as_echo "/* $configure_input */" \ 48260 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 48261 } >"$ac_tmp/config.h" \ 48262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48263 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 48264 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 48265$as_echo "$as_me: $ac_file is unchanged" >&6;} 48266 else 48267 rm -f "$ac_file" 48268 mv "$ac_tmp/config.h" "$ac_file" \ 48269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48270 fi 48271 else 48272 $as_echo "/* $configure_input */" \ 48273 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 48274 || as_fn_error $? "could not create -" "$LINENO" 5 48275 fi 48276# Compute "$ac_file"'s index in $config_headers. 48277_am_arg="$ac_file" 48278_am_stamp_count=1 48279for _am_header in $config_headers :; do 48280 case $_am_header in 48281 $_am_arg | $_am_arg:* ) 48282 break ;; 48283 * ) 48284 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 48285 esac 48286done 48287echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 48288$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48289 X"$_am_arg" : 'X\(//\)[^/]' \| \ 48290 X"$_am_arg" : 'X\(//\)$' \| \ 48291 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 48292$as_echo X"$_am_arg" | 48293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48294 s//\1/ 48295 q 48296 } 48297 /^X\(\/\/\)[^/].*/{ 48298 s//\1/ 48299 q 48300 } 48301 /^X\(\/\/\)$/{ 48302 s//\1/ 48303 q 48304 } 48305 /^X\(\/\).*/{ 48306 s//\1/ 48307 q 48308 } 48309 s/.*/./; q'`/stamp-h$_am_stamp_count 48310 ;; 48311 48312 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 48313$as_echo "$as_me: executing $ac_file commands" >&6;} 48314 ;; 48315 esac 48316 48317 48318 case $ac_file$ac_mode in 48319 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 48320 # Older Autoconf quotes --file arguments for eval, but not when files 48321 # are listed without --file. Let's play safe and only enable the eval 48322 # if we detect the quoting. 48323 # TODO: see whether this extra hack can be removed once we start 48324 # requiring Autoconf 2.70 or later. 48325 case $CONFIG_FILES in #( 48326 *\'*) : 48327 eval set x "$CONFIG_FILES" ;; #( 48328 *) : 48329 set x $CONFIG_FILES ;; #( 48330 *) : 48331 ;; 48332esac 48333 shift 48334 # Used to flag and report bootstrapping failures. 48335 am_rc=0 48336 for am_mf 48337 do 48338 # Strip MF so we end up with the name of the file. 48339 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 48340 # Check whether this is an Automake generated Makefile which includes 48341 # dependency-tracking related rules and includes. 48342 # Grep'ing the whole file directly is not great: AIX grep has a line 48343 # limit of 2048, but all sed's we know have understand at least 4000. 48344 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 48345 || continue 48346 am_dirpart=`$as_dirname -- "$am_mf" || 48347$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48348 X"$am_mf" : 'X\(//\)[^/]' \| \ 48349 X"$am_mf" : 'X\(//\)$' \| \ 48350 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 48351$as_echo X"$am_mf" | 48352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48353 s//\1/ 48354 q 48355 } 48356 /^X\(\/\/\)[^/].*/{ 48357 s//\1/ 48358 q 48359 } 48360 /^X\(\/\/\)$/{ 48361 s//\1/ 48362 q 48363 } 48364 /^X\(\/\).*/{ 48365 s//\1/ 48366 q 48367 } 48368 s/.*/./; q'` 48369 am_filepart=`$as_basename -- "$am_mf" || 48370$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 48371 X"$am_mf" : 'X\(//\)$' \| \ 48372 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 48373$as_echo X/"$am_mf" | 48374 sed '/^.*\/\([^/][^/]*\)\/*$/{ 48375 s//\1/ 48376 q 48377 } 48378 /^X\/\(\/\/\)$/{ 48379 s//\1/ 48380 q 48381 } 48382 /^X\/\(\/\).*/{ 48383 s//\1/ 48384 q 48385 } 48386 s/.*/./; q'` 48387 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 48388 && sed -e '/# am--include-marker/d' "$am_filepart" \ 48389 | $MAKE -f - am--depfiles" >&5 48390 (cd "$am_dirpart" \ 48391 && sed -e '/# am--include-marker/d' "$am_filepart" \ 48392 | $MAKE -f - am--depfiles) >&5 2>&5 48393 ac_status=$? 48394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 48395 (exit $ac_status); } || am_rc=$? 48396 done 48397 if test $am_rc -ne 0; then 48398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 48399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 48400as_fn_error $? "Something went wrong bootstrapping makefile fragments 48401 for automatic dependency tracking. If GNU make was not used, consider 48402 re-running the configure script with MAKE=\"gmake\" (or whatever is 48403 necessary). You can also try re-running configure with the 48404 '--disable-dependency-tracking' option to at least be able to build 48405 the package (albeit without support for automatic dependency tracking). 48406See \`config.log' for more details" "$LINENO" 5; } 48407 fi 48408 { am_dirpart=; unset am_dirpart;} 48409 { am_filepart=; unset am_filepart;} 48410 { am_mf=; unset am_mf;} 48411 { am_rc=; unset am_rc;} 48412 rm -f conftest-deps.mk 48413} 48414 ;; 48415 "libtool":C) 48416 48417 # See if we are running on zsh, and set the options that allow our 48418 # commands through without removal of \ escapes. 48419 if test -n "${ZSH_VERSION+set}"; then 48420 setopt NO_GLOB_SUBST 48421 fi 48422 48423 cfgfile=${ofile}T 48424 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 48425 $RM "$cfgfile" 48426 48427 cat <<_LT_EOF >> "$cfgfile" 48428#! $SHELL 48429# Generated automatically by $as_me ($PACKAGE) $VERSION 48430# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 48431# NOTE: Changes made to this file will be lost: look at ltmain.sh. 48432 48433# Provide generalized library-building support services. 48434# Written by Gordon Matzigkeit, 1996 48435 48436# Copyright (C) 2014 Free Software Foundation, Inc. 48437# This is free software; see the source for copying conditions. There is NO 48438# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 48439 48440# GNU Libtool is free software; you can redistribute it and/or modify 48441# it under the terms of the GNU General Public License as published by 48442# the Free Software Foundation; either version 2 of of the License, or 48443# (at your option) any later version. 48444# 48445# As a special exception to the GNU General Public License, if you 48446# distribute this file as part of a program or library that is built 48447# using GNU Libtool, you may include this file under the same 48448# distribution terms that you use for the rest of that program. 48449# 48450# GNU Libtool is distributed in the hope that it will be useful, but 48451# WITHOUT ANY WARRANTY; without even the implied warranty of 48452# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 48453# GNU General Public License for more details. 48454# 48455# You should have received a copy of the GNU General Public License 48456# along with this program. If not, see <http://www.gnu.org/licenses/>. 48457 48458 48459# The names of the tagged configurations supported by this script. 48460available_tags='CXX ' 48461 48462# Configured defaults for sys_lib_dlsearch_path munging. 48463: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 48464 48465# ### BEGIN LIBTOOL CONFIG 48466 48467# Assembler program. 48468AS=$lt_AS 48469 48470# DLL creation program. 48471DLLTOOL=$lt_DLLTOOL 48472 48473# Object dumper program. 48474OBJDUMP=$lt_OBJDUMP 48475 48476# Which release of libtool.m4 was used? 48477macro_version=$macro_version 48478macro_revision=$macro_revision 48479 48480# Whether or not to build shared libraries. 48481build_libtool_libs=$enable_shared 48482 48483# Whether or not to build static libraries. 48484build_old_libs=$enable_static 48485 48486# What type of objects to build. 48487pic_mode=$pic_mode 48488 48489# Whether or not to optimize for fast installation. 48490fast_install=$enable_fast_install 48491 48492# Shared archive member basename,for filename based shared library versioning on AIX. 48493shared_archive_member_spec=$shared_archive_member_spec 48494 48495# Shell to use when invoking shell scripts. 48496SHELL=$lt_SHELL 48497 48498# An echo program that protects backslashes. 48499ECHO=$lt_ECHO 48500 48501# The PATH separator for the build system. 48502PATH_SEPARATOR=$lt_PATH_SEPARATOR 48503 48504# The host system. 48505host_alias=$host_alias 48506host=$host 48507host_os=$host_os 48508 48509# The build system. 48510build_alias=$build_alias 48511build=$build 48512build_os=$build_os 48513 48514# A sed program that does not truncate output. 48515SED=$lt_SED 48516 48517# Sed that helps us avoid accidentally triggering echo(1) options like -n. 48518Xsed="\$SED -e 1s/^X//" 48519 48520# A grep program that handles long lines. 48521GREP=$lt_GREP 48522 48523# An ERE matcher. 48524EGREP=$lt_EGREP 48525 48526# A literal string matcher. 48527FGREP=$lt_FGREP 48528 48529# A BSD- or MS-compatible name lister. 48530NM=$lt_NM 48531 48532# Whether we need soft or hard links. 48533LN_S=$lt_LN_S 48534 48535# What is the maximum length of a command? 48536max_cmd_len=$max_cmd_len 48537 48538# Object file suffix (normally "o"). 48539objext=$ac_objext 48540 48541# Executable file suffix (normally ""). 48542exeext=$exeext 48543 48544# whether the shell understands "unset". 48545lt_unset=$lt_unset 48546 48547# turn spaces into newlines. 48548SP2NL=$lt_lt_SP2NL 48549 48550# turn newlines into spaces. 48551NL2SP=$lt_lt_NL2SP 48552 48553# convert \$build file names to \$host format. 48554to_host_file_cmd=$lt_cv_to_host_file_cmd 48555 48556# convert \$build files to toolchain format. 48557to_tool_file_cmd=$lt_cv_to_tool_file_cmd 48558 48559# Method to check whether dependent libraries are shared objects. 48560deplibs_check_method=$lt_deplibs_check_method 48561 48562# Command to use when deplibs_check_method = "file_magic". 48563file_magic_cmd=$lt_file_magic_cmd 48564 48565# How to find potential files when deplibs_check_method = "file_magic". 48566file_magic_glob=$lt_file_magic_glob 48567 48568# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 48569want_nocaseglob=$lt_want_nocaseglob 48570 48571# Command to associate shared and link libraries. 48572sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 48573 48574# The archiver. 48575AR=$lt_AR 48576 48577# Flags to create an archive. 48578AR_FLAGS=$lt_AR_FLAGS 48579 48580# How to feed a file listing to the archiver. 48581archiver_list_spec=$lt_archiver_list_spec 48582 48583# A symbol stripping program. 48584STRIP=$lt_STRIP 48585 48586# Commands used to install an old-style archive. 48587RANLIB=$lt_RANLIB 48588old_postinstall_cmds=$lt_old_postinstall_cmds 48589old_postuninstall_cmds=$lt_old_postuninstall_cmds 48590 48591# Whether to use a lock for old archive extraction. 48592lock_old_archive_extraction=$lock_old_archive_extraction 48593 48594# A C compiler. 48595LTCC=$lt_CC 48596 48597# LTCC compiler flags. 48598LTCFLAGS=$lt_CFLAGS 48599 48600# Take the output of nm and produce a listing of raw symbols and C names. 48601global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 48602 48603# Transform the output of nm in a proper C declaration. 48604global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 48605 48606# Transform the output of nm into a list of symbols to manually relocate. 48607global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 48608 48609# Transform the output of nm in a C name address pair. 48610global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 48611 48612# Transform the output of nm in a C name address pair when lib prefix is needed. 48613global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 48614 48615# The name lister interface. 48616nm_interface=$lt_lt_cv_nm_interface 48617 48618# Specify filename containing input files for \$NM. 48619nm_file_list_spec=$lt_nm_file_list_spec 48620 48621# The root where to search for dependent libraries,and where our libraries should be installed. 48622lt_sysroot=$lt_sysroot 48623 48624# Command to truncate a binary pipe. 48625lt_truncate_bin=$lt_lt_cv_truncate_bin 48626 48627# The name of the directory that contains temporary libtool files. 48628objdir=$objdir 48629 48630# Used to examine libraries when file_magic_cmd begins with "file". 48631MAGIC_CMD=$MAGIC_CMD 48632 48633# Must we lock files when doing compilation? 48634need_locks=$lt_need_locks 48635 48636# Manifest tool. 48637MANIFEST_TOOL=$lt_MANIFEST_TOOL 48638 48639# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 48640DSYMUTIL=$lt_DSYMUTIL 48641 48642# Tool to change global to local symbols on Mac OS X. 48643NMEDIT=$lt_NMEDIT 48644 48645# Tool to manipulate fat objects and archives on Mac OS X. 48646LIPO=$lt_LIPO 48647 48648# ldd/readelf like tool for Mach-O binaries on Mac OS X. 48649OTOOL=$lt_OTOOL 48650 48651# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 48652OTOOL64=$lt_OTOOL64 48653 48654# Old archive suffix (normally "a"). 48655libext=$libext 48656 48657# Shared library suffix (normally ".so"). 48658shrext_cmds=$lt_shrext_cmds 48659 48660# The commands to extract the exported symbol list from a shared archive. 48661extract_expsyms_cmds=$lt_extract_expsyms_cmds 48662 48663# Variables whose values should be saved in libtool wrapper scripts and 48664# restored at link time. 48665variables_saved_for_relink=$lt_variables_saved_for_relink 48666 48667# Do we need the "lib" prefix for modules? 48668need_lib_prefix=$need_lib_prefix 48669 48670# Do we need a version for libraries? 48671need_version=$need_version 48672 48673# Library versioning type. 48674version_type=$version_type 48675 48676# Shared library runtime path variable. 48677runpath_var=$runpath_var 48678 48679# Shared library path variable. 48680shlibpath_var=$shlibpath_var 48681 48682# Is shlibpath searched before the hard-coded library search path? 48683shlibpath_overrides_runpath=$shlibpath_overrides_runpath 48684 48685# Format of library name prefix. 48686libname_spec=$lt_libname_spec 48687 48688# List of archive names. First name is the real one, the rest are links. 48689# The last name is the one that the linker finds with -lNAME 48690library_names_spec=$lt_library_names_spec 48691 48692# The coded name of the library, if different from the real name. 48693soname_spec=$lt_soname_spec 48694 48695# Permission mode override for installation of shared libraries. 48696install_override_mode=$lt_install_override_mode 48697 48698# Command to use after installation of a shared archive. 48699postinstall_cmds=$lt_postinstall_cmds 48700 48701# Command to use after uninstallation of a shared archive. 48702postuninstall_cmds=$lt_postuninstall_cmds 48703 48704# Commands used to finish a libtool library installation in a directory. 48705finish_cmds=$lt_finish_cmds 48706 48707# As "finish_cmds", except a single script fragment to be evaled but 48708# not shown. 48709finish_eval=$lt_finish_eval 48710 48711# Whether we should hardcode library paths into libraries. 48712hardcode_into_libs=$hardcode_into_libs 48713 48714# Compile-time system search path for libraries. 48715sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 48716 48717# Detected run-time system search path for libraries. 48718sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 48719 48720# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 48721configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 48722 48723# Whether dlopen is supported. 48724dlopen_support=$enable_dlopen 48725 48726# Whether dlopen of programs is supported. 48727dlopen_self=$enable_dlopen_self 48728 48729# Whether dlopen of statically linked programs is supported. 48730dlopen_self_static=$enable_dlopen_self_static 48731 48732# Commands to strip libraries. 48733old_striplib=$lt_old_striplib 48734striplib=$lt_striplib 48735 48736 48737# The linker used to build libraries. 48738LD=$lt_LD 48739 48740# How to create reloadable object files. 48741reload_flag=$lt_reload_flag 48742reload_cmds=$lt_reload_cmds 48743 48744# Commands used to build an old-style archive. 48745old_archive_cmds=$lt_old_archive_cmds 48746 48747# A language specific compiler. 48748CC=$lt_compiler 48749 48750# Is the compiler the GNU compiler? 48751with_gcc=$GCC 48752 48753# Compiler flag to turn off builtin functions. 48754no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 48755 48756# Additional compiler flags for building library objects. 48757pic_flag=$lt_lt_prog_compiler_pic 48758 48759# How to pass a linker flag through the compiler. 48760wl=$lt_lt_prog_compiler_wl 48761 48762# Compiler flag to prevent dynamic linking. 48763link_static_flag=$lt_lt_prog_compiler_static 48764 48765# Does compiler simultaneously support -c and -o options? 48766compiler_c_o=$lt_lt_cv_prog_compiler_c_o 48767 48768# Whether or not to add -lc for building shared libraries. 48769build_libtool_need_lc=$archive_cmds_need_lc 48770 48771# Whether or not to disallow shared libs when runtime libs are static. 48772allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 48773 48774# Compiler flag to allow reflexive dlopens. 48775export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 48776 48777# Compiler flag to generate shared objects directly from archives. 48778whole_archive_flag_spec=$lt_whole_archive_flag_spec 48779 48780# Whether the compiler copes with passing no objects directly. 48781compiler_needs_object=$lt_compiler_needs_object 48782 48783# Create an old-style archive from a shared archive. 48784old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 48785 48786# Create a temporary old-style archive to link instead of a shared archive. 48787old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 48788 48789# Commands used to build a shared archive. 48790archive_cmds=$lt_archive_cmds 48791archive_expsym_cmds=$lt_archive_expsym_cmds 48792 48793# Commands used to build a loadable module if different from building 48794# a shared archive. 48795module_cmds=$lt_module_cmds 48796module_expsym_cmds=$lt_module_expsym_cmds 48797 48798# Whether we are building with GNU ld or not. 48799with_gnu_ld=$lt_with_gnu_ld 48800 48801# Flag that allows shared libraries with undefined symbols to be built. 48802allow_undefined_flag=$lt_allow_undefined_flag 48803 48804# Flag that enforces no undefined symbols. 48805no_undefined_flag=$lt_no_undefined_flag 48806 48807# Flag to hardcode \$libdir into a binary during linking. 48808# This must work even if \$libdir does not exist 48809hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 48810 48811# Whether we need a single "-rpath" flag with a separated argument. 48812hardcode_libdir_separator=$lt_hardcode_libdir_separator 48813 48814# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 48815# DIR into the resulting binary. 48816hardcode_direct=$hardcode_direct 48817 48818# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 48819# DIR into the resulting binary and the resulting library dependency is 48820# "absolute",i.e impossible to change by setting \$shlibpath_var if the 48821# library is relocated. 48822hardcode_direct_absolute=$hardcode_direct_absolute 48823 48824# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 48825# into the resulting binary. 48826hardcode_minus_L=$hardcode_minus_L 48827 48828# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 48829# into the resulting binary. 48830hardcode_shlibpath_var=$hardcode_shlibpath_var 48831 48832# Set to "yes" if building a shared library automatically hardcodes DIR 48833# into the library and all subsequent libraries and executables linked 48834# against it. 48835hardcode_automatic=$hardcode_automatic 48836 48837# Set to yes if linker adds runtime paths of dependent libraries 48838# to runtime path list. 48839inherit_rpath=$inherit_rpath 48840 48841# Whether libtool must link a program against all its dependency libraries. 48842link_all_deplibs=$link_all_deplibs 48843 48844# Set to "yes" if exported symbols are required. 48845always_export_symbols=$always_export_symbols 48846 48847# The commands to list exported symbols. 48848export_symbols_cmds=$lt_export_symbols_cmds 48849 48850# Symbols that should not be listed in the preloaded symbols. 48851exclude_expsyms=$lt_exclude_expsyms 48852 48853# Symbols that must always be exported. 48854include_expsyms=$lt_include_expsyms 48855 48856# Commands necessary for linking programs (against libraries) with templates. 48857prelink_cmds=$lt_prelink_cmds 48858 48859# Commands necessary for finishing linking programs. 48860postlink_cmds=$lt_postlink_cmds 48861 48862# Specify filename containing input files. 48863file_list_spec=$lt_file_list_spec 48864 48865# How to hardcode a shared library path into an executable. 48866hardcode_action=$hardcode_action 48867 48868# The directories searched by this compiler when creating a shared library. 48869compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 48870 48871# Dependencies to place before and after the objects being linked to 48872# create a shared library. 48873predep_objects=$lt_predep_objects 48874postdep_objects=$lt_postdep_objects 48875predeps=$lt_predeps 48876postdeps=$lt_postdeps 48877 48878# The library search path used internally by the compiler when linking 48879# a shared library. 48880compiler_lib_search_path=$lt_compiler_lib_search_path 48881 48882# ### END LIBTOOL CONFIG 48883 48884_LT_EOF 48885 48886 cat <<'_LT_EOF' >> "$cfgfile" 48887 48888# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 48889 48890# func_munge_path_list VARIABLE PATH 48891# ----------------------------------- 48892# VARIABLE is name of variable containing _space_ separated list of 48893# directories to be munged by the contents of PATH, which is string 48894# having a format: 48895# "DIR[:DIR]:" 48896# string "DIR[ DIR]" will be prepended to VARIABLE 48897# ":DIR[:DIR]" 48898# string "DIR[ DIR]" will be appended to VARIABLE 48899# "DIRP[:DIRP]::[DIRA:]DIRA" 48900# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 48901# "DIRA[ DIRA]" will be appended to VARIABLE 48902# "DIR[:DIR]" 48903# VARIABLE will be replaced by "DIR[ DIR]" 48904func_munge_path_list () 48905{ 48906 case x$2 in 48907 x) 48908 ;; 48909 *:) 48910 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 48911 ;; 48912 x:*) 48913 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 48914 ;; 48915 *::*) 48916 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 48917 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 48918 ;; 48919 *) 48920 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 48921 ;; 48922 esac 48923} 48924 48925 48926# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 48927func_cc_basename () 48928{ 48929 for cc_temp in $*""; do 48930 case $cc_temp in 48931 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 48932 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 48933 \-*) ;; 48934 *) break;; 48935 esac 48936 done 48937 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 48938} 48939 48940 48941# ### END FUNCTIONS SHARED WITH CONFIGURE 48942 48943_LT_EOF 48944 48945 case $host_os in 48946 aix3*) 48947 cat <<\_LT_EOF >> "$cfgfile" 48948# AIX sometimes has problems with the GCC collect2 program. For some 48949# reason, if we set the COLLECT_NAMES environment variable, the problems 48950# vanish in a puff of smoke. 48951if test set != "${COLLECT_NAMES+set}"; then 48952 COLLECT_NAMES= 48953 export COLLECT_NAMES 48954fi 48955_LT_EOF 48956 ;; 48957 esac 48958 48959 48960ltmain=$ac_aux_dir/ltmain.sh 48961 48962 48963 # We use sed instead of cat because bash on DJGPP gets confused if 48964 # if finds mixed CR/LF and LF-only lines. Since sed operates in 48965 # text mode, it properly converts lines to CR/LF. This bash problem 48966 # is reportedly fixed, but why not run on old versions too? 48967 sed '$q' "$ltmain" >> "$cfgfile" \ 48968 || (rm -f "$cfgfile"; exit 1) 48969 48970 mv -f "$cfgfile" "$ofile" || 48971 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 48972 chmod +x "$ofile" 48973 48974 48975 cat <<_LT_EOF >> "$ofile" 48976 48977# ### BEGIN LIBTOOL TAG CONFIG: CXX 48978 48979# The linker used to build libraries. 48980LD=$lt_LD_CXX 48981 48982# How to create reloadable object files. 48983reload_flag=$lt_reload_flag_CXX 48984reload_cmds=$lt_reload_cmds_CXX 48985 48986# Commands used to build an old-style archive. 48987old_archive_cmds=$lt_old_archive_cmds_CXX 48988 48989# A language specific compiler. 48990CC=$lt_compiler_CXX 48991 48992# Is the compiler the GNU compiler? 48993with_gcc=$GCC_CXX 48994 48995# Compiler flag to turn off builtin functions. 48996no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 48997 48998# Additional compiler flags for building library objects. 48999pic_flag=$lt_lt_prog_compiler_pic_CXX 49000 49001# How to pass a linker flag through the compiler. 49002wl=$lt_lt_prog_compiler_wl_CXX 49003 49004# Compiler flag to prevent dynamic linking. 49005link_static_flag=$lt_lt_prog_compiler_static_CXX 49006 49007# Does compiler simultaneously support -c and -o options? 49008compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 49009 49010# Whether or not to add -lc for building shared libraries. 49011build_libtool_need_lc=$archive_cmds_need_lc_CXX 49012 49013# Whether or not to disallow shared libs when runtime libs are static. 49014allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 49015 49016# Compiler flag to allow reflexive dlopens. 49017export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 49018 49019# Compiler flag to generate shared objects directly from archives. 49020whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 49021 49022# Whether the compiler copes with passing no objects directly. 49023compiler_needs_object=$lt_compiler_needs_object_CXX 49024 49025# Create an old-style archive from a shared archive. 49026old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 49027 49028# Create a temporary old-style archive to link instead of a shared archive. 49029old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 49030 49031# Commands used to build a shared archive. 49032archive_cmds=$lt_archive_cmds_CXX 49033archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 49034 49035# Commands used to build a loadable module if different from building 49036# a shared archive. 49037module_cmds=$lt_module_cmds_CXX 49038module_expsym_cmds=$lt_module_expsym_cmds_CXX 49039 49040# Whether we are building with GNU ld or not. 49041with_gnu_ld=$lt_with_gnu_ld_CXX 49042 49043# Flag that allows shared libraries with undefined symbols to be built. 49044allow_undefined_flag=$lt_allow_undefined_flag_CXX 49045 49046# Flag that enforces no undefined symbols. 49047no_undefined_flag=$lt_no_undefined_flag_CXX 49048 49049# Flag to hardcode \$libdir into a binary during linking. 49050# This must work even if \$libdir does not exist 49051hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 49052 49053# Whether we need a single "-rpath" flag with a separated argument. 49054hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 49055 49056# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 49057# DIR into the resulting binary. 49058hardcode_direct=$hardcode_direct_CXX 49059 49060# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 49061# DIR into the resulting binary and the resulting library dependency is 49062# "absolute",i.e impossible to change by setting \$shlibpath_var if the 49063# library is relocated. 49064hardcode_direct_absolute=$hardcode_direct_absolute_CXX 49065 49066# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 49067# into the resulting binary. 49068hardcode_minus_L=$hardcode_minus_L_CXX 49069 49070# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 49071# into the resulting binary. 49072hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 49073 49074# Set to "yes" if building a shared library automatically hardcodes DIR 49075# into the library and all subsequent libraries and executables linked 49076# against it. 49077hardcode_automatic=$hardcode_automatic_CXX 49078 49079# Set to yes if linker adds runtime paths of dependent libraries 49080# to runtime path list. 49081inherit_rpath=$inherit_rpath_CXX 49082 49083# Whether libtool must link a program against all its dependency libraries. 49084link_all_deplibs=$link_all_deplibs_CXX 49085 49086# Set to "yes" if exported symbols are required. 49087always_export_symbols=$always_export_symbols_CXX 49088 49089# The commands to list exported symbols. 49090export_symbols_cmds=$lt_export_symbols_cmds_CXX 49091 49092# Symbols that should not be listed in the preloaded symbols. 49093exclude_expsyms=$lt_exclude_expsyms_CXX 49094 49095# Symbols that must always be exported. 49096include_expsyms=$lt_include_expsyms_CXX 49097 49098# Commands necessary for linking programs (against libraries) with templates. 49099prelink_cmds=$lt_prelink_cmds_CXX 49100 49101# Commands necessary for finishing linking programs. 49102postlink_cmds=$lt_postlink_cmds_CXX 49103 49104# Specify filename containing input files. 49105file_list_spec=$lt_file_list_spec_CXX 49106 49107# How to hardcode a shared library path into an executable. 49108hardcode_action=$hardcode_action_CXX 49109 49110# The directories searched by this compiler when creating a shared library. 49111compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 49112 49113# Dependencies to place before and after the objects being linked to 49114# create a shared library. 49115predep_objects=$lt_predep_objects_CXX 49116postdep_objects=$lt_postdep_objects_CXX 49117predeps=$lt_predeps_CXX 49118postdeps=$lt_postdeps_CXX 49119 49120# The library search path used internally by the compiler when linking 49121# a shared library. 49122compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 49123 49124# ### END LIBTOOL TAG CONFIG: CXX 49125_LT_EOF 49126 49127 ;; 49128 "po-directories":C) 49129 for ac_file in $CONFIG_FILES; do 49130 # Support "outfile[:infile[:infile...]]" 49131 case "$ac_file" in 49132 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 49133 esac 49134 # PO directories have a Makefile.in generated from Makefile.in.in. 49135 case "$ac_file" in */Makefile.in) 49136 # Adjust a relative srcdir. 49137 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 49138 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 49139 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 49140 # In autoconf-2.13 it is called $ac_given_srcdir. 49141 # In autoconf-2.50 it is called $srcdir. 49142 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 49143 case "$ac_given_srcdir" in 49144 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 49145 /*) top_srcdir="$ac_given_srcdir" ;; 49146 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 49147 esac 49148 # Treat a directory as a PO directory if and only if it has a 49149 # POTFILES.in file. This allows packages to have multiple PO 49150 # directories under different names or in different locations. 49151 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 49152 rm -f "$ac_dir/POTFILES" 49153 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 49154 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 49155 POMAKEFILEDEPS="POTFILES.in" 49156 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 49157 # on $ac_dir but don't depend on user-specified configuration 49158 # parameters. 49159 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 49160 # The LINGUAS file contains the set of available languages. 49161 if test -n "$OBSOLETE_ALL_LINGUAS"; then 49162 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 49163 fi 49164 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 49165 # Hide the ALL_LINGUAS assigment from automake < 1.5. 49166 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 49167 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 49168 else 49169 # The set of available languages was given in configure.in. 49170 # Hide the ALL_LINGUAS assigment from automake < 1.5. 49171 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 49172 fi 49173 # Compute POFILES 49174 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 49175 # Compute UPDATEPOFILES 49176 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 49177 # Compute DUMMYPOFILES 49178 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 49179 # Compute GMOFILES 49180 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 49181 case "$ac_given_srcdir" in 49182 .) srcdirpre= ;; 49183 *) srcdirpre='$(srcdir)/' ;; 49184 esac 49185 POFILES= 49186 UPDATEPOFILES= 49187 DUMMYPOFILES= 49188 GMOFILES= 49189 for lang in $ALL_LINGUAS; do 49190 POFILES="$POFILES $srcdirpre$lang.po" 49191 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 49192 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 49193 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 49194 done 49195 # CATALOGS depends on both $ac_dir and the user's LINGUAS 49196 # environment variable. 49197 INST_LINGUAS= 49198 if test -n "$ALL_LINGUAS"; then 49199 for presentlang in $ALL_LINGUAS; do 49200 useit=no 49201 if test "%UNSET%" != "$LINGUAS"; then 49202 desiredlanguages="$LINGUAS" 49203 else 49204 desiredlanguages="$ALL_LINGUAS" 49205 fi 49206 for desiredlang in $desiredlanguages; do 49207 # Use the presentlang catalog if desiredlang is 49208 # a. equal to presentlang, or 49209 # b. a variant of presentlang (because in this case, 49210 # presentlang can be used as a fallback for messages 49211 # which are not translated in the desiredlang catalog). 49212 case "$desiredlang" in 49213 "$presentlang"*) useit=yes;; 49214 esac 49215 done 49216 if test $useit = yes; then 49217 INST_LINGUAS="$INST_LINGUAS $presentlang" 49218 fi 49219 done 49220 fi 49221 CATALOGS= 49222 if test -n "$INST_LINGUAS"; then 49223 for lang in $INST_LINGUAS; do 49224 CATALOGS="$CATALOGS $lang.gmo" 49225 done 49226 fi 49227 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 49228 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" 49229 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 49230 if test -f "$f"; then 49231 case "$f" in 49232 *.orig | *.bak | *~) ;; 49233 *) cat "$f" >> "$ac_dir/Makefile" ;; 49234 esac 49235 fi 49236 done 49237 fi 49238 ;; 49239 esac 49240 done ;; 49241 49242 esac 49243done # for ac_tag 49244 49245 49246as_fn_exit 0 49247_ACEOF 49248ac_clean_files=$ac_clean_files_save 49249 49250test $ac_write_fail = 0 || 49251 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 49252 49253 49254# configure is writing to config.log, and then calls config.status. 49255# config.status does its own redirection, appending to config.log. 49256# Unfortunately, on DOS this fails, as config.log is still kept open 49257# by configure, so config.status won't be able to write to it; its 49258# output is simply discarded. So we exec the FD to /dev/null, 49259# effectively closing config.log, so it can be properly (re)opened and 49260# appended to by config.status. When coming back to configure, we 49261# need to make the FD available again. 49262if test "$no_create" != yes; then 49263 ac_cs_success=: 49264 ac_config_status_args= 49265 test "$silent" = yes && 49266 ac_config_status_args="$ac_config_status_args --quiet" 49267 exec 5>/dev/null 49268 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 49269 exec 5>>config.log 49270 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 49271 # would make configure fail if this is the last instruction. 49272 $ac_cs_success || as_fn_exit 1 49273fi 49274if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 49275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 49276$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 49277fi 49278 49279 49280{ $as_echo "$as_me:${as_lineno-$LINENO}: 49281Building: 49282 libcerror support: $ac_cv_libcerror 49283 libcthreads support: $ac_cv_libcthreads 49284 libcdata support: $ac_cv_libcdata 49285 libclocale support: $ac_cv_libclocale 49286 libcnotify support: $ac_cv_libcnotify 49287 libcsplit support: $ac_cv_libcsplit 49288 libuna support: $ac_cv_libuna 49289 libcfile support: $ac_cv_libcfile 49290 libcpath support: $ac_cv_libcpath 49291 libbfio support: $ac_cv_libbfio 49292 libfcache support: $ac_cv_libfcache 49293 libfdata support: $ac_cv_libfdata 49294 libfguid support: $ac_cv_libfguid 49295 49296Features: 49297 Multi-threading support: $ac_cv_libcthreads_multi_threading 49298 Wide character type support: $ac_cv_enable_wide_character_type 49299 vsgpttools are build as static executables: $ac_cv_enable_static_executables 49300 Python (pyvsgpt) support: $ac_cv_enable_python 49301 Verbose output: $ac_cv_enable_verbose_output 49302 Debug output: $ac_cv_enable_debug_output 49303" >&5 49304$as_echo "$as_me: 49305Building: 49306 libcerror support: $ac_cv_libcerror 49307 libcthreads support: $ac_cv_libcthreads 49308 libcdata support: $ac_cv_libcdata 49309 libclocale support: $ac_cv_libclocale 49310 libcnotify support: $ac_cv_libcnotify 49311 libcsplit support: $ac_cv_libcsplit 49312 libuna support: $ac_cv_libuna 49313 libcfile support: $ac_cv_libcfile 49314 libcpath support: $ac_cv_libcpath 49315 libbfio support: $ac_cv_libbfio 49316 libfcache support: $ac_cv_libfcache 49317 libfdata support: $ac_cv_libfdata 49318 libfguid support: $ac_cv_libfguid 49319 49320Features: 49321 Multi-threading support: $ac_cv_libcthreads_multi_threading 49322 Wide character type support: $ac_cv_enable_wide_character_type 49323 vsgpttools are build as static executables: $ac_cv_enable_static_executables 49324 Python (pyvsgpt) support: $ac_cv_enable_python 49325 Verbose output: $ac_cv_enable_verbose_output 49326 Debug output: $ac_cv_enable_debug_output 49327" >&6;}; 49328 49329