1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for liblnk 20210417. 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='liblnk' 592PACKAGE_TARNAME='liblnk' 593PACKAGE_VERSION='20210417' 594PACKAGE_STRING='liblnk 20210417' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/liblnk.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 642liblnk_spec_requires 643LIB_FUZZING_ENGINE 644HAVE_LIB_FUZZING_ENGINE_FALSE 645HAVE_LIB_FUZZING_ENGINE_TRUE 646LIBLNK_DLL_IMPORT 647LIBLNK_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_libfwsi_spec_build_requires 693ax_libfwsi_spec_requires 694ax_libfwsi_pc_libs_private 695LIBFWSI_LIBADD 696LIBFWSI_CPPFLAGS 697HAVE_LOCAL_LIBFWSI_FALSE 698HAVE_LOCAL_LIBFWSI_TRUE 699HAVE_LOCAL_LIBFWSI 700HAVE_LIBFWSI 701libfwsi_LIBS 702libfwsi_CFLAGS 703ax_libfwps_spec_build_requires 704ax_libfwps_spec_requires 705ax_libfwps_pc_libs_private 706LIBFWPS_LIBADD 707LIBFWPS_CPPFLAGS 708HAVE_LOCAL_LIBFWPS_FALSE 709HAVE_LOCAL_LIBFWPS_TRUE 710HAVE_LOCAL_LIBFWPS 711HAVE_LIBFWPS 712libfwps_LIBS 713libfwps_CFLAGS 714ax_libfole_spec_build_requires 715ax_libfole_spec_requires 716ax_libfole_pc_libs_private 717LIBFOLE_LIBADD 718LIBFOLE_CPPFLAGS 719HAVE_LOCAL_LIBFOLE_FALSE 720HAVE_LOCAL_LIBFOLE_TRUE 721HAVE_LOCAL_LIBFOLE 722HAVE_LIBFOLE 723libfole_LIBS 724libfole_CFLAGS 725ax_libfguid_spec_build_requires 726ax_libfguid_spec_requires 727ax_libfguid_pc_libs_private 728LIBFGUID_LIBADD 729LIBFGUID_CPPFLAGS 730HAVE_LOCAL_LIBFGUID_FALSE 731HAVE_LOCAL_LIBFGUID_TRUE 732HAVE_LOCAL_LIBFGUID 733HAVE_LIBFGUID 734libfguid_LIBS 735libfguid_CFLAGS 736ax_libfdatetime_spec_build_requires 737ax_libfdatetime_spec_requires 738ax_libfdatetime_pc_libs_private 739LIBFDATETIME_LIBADD 740LIBFDATETIME_CPPFLAGS 741HAVE_LOCAL_LIBFDATETIME_FALSE 742HAVE_LOCAL_LIBFDATETIME_TRUE 743HAVE_LOCAL_LIBFDATETIME 744HAVE_LIBFDATETIME 745libfdatetime_LIBS 746libfdatetime_CFLAGS 747ax_libbfio_spec_build_requires 748ax_libbfio_spec_requires 749ax_libbfio_pc_libs_private 750LIBBFIO_LIBADD 751LIBBFIO_CPPFLAGS 752HAVE_LOCAL_LIBBFIO_FALSE 753HAVE_LOCAL_LIBBFIO_TRUE 754HAVE_LOCAL_LIBBFIO 755HAVE_LIBBFIO 756libbfio_LIBS 757libbfio_CFLAGS 758ax_libcpath_spec_build_requires 759ax_libcpath_spec_requires 760ax_libcpath_pc_libs_private 761LIBCPATH_LIBADD 762LIBCPATH_CPPFLAGS 763HAVE_LOCAL_LIBCPATH_FALSE 764HAVE_LOCAL_LIBCPATH_TRUE 765HAVE_LOCAL_LIBCPATH 766HAVE_LIBCPATH 767libcpath_LIBS 768libcpath_CFLAGS 769ax_libcfile_spec_build_requires 770ax_libcfile_spec_requires 771ax_libcfile_pc_libs_private 772LIBCFILE_LIBADD 773LIBCFILE_CPPFLAGS 774HAVE_LOCAL_LIBCFILE_FALSE 775HAVE_LOCAL_LIBCFILE_TRUE 776HAVE_LOCAL_LIBCFILE 777HAVE_LIBCFILE 778libcfile_LIBS 779libcfile_CFLAGS 780ax_libuna_spec_build_requires 781ax_libuna_spec_requires 782ax_libuna_pc_libs_private 783LIBUNA_LIBADD 784LIBUNA_CPPFLAGS 785HAVE_LOCAL_LIBUNA_FALSE 786HAVE_LOCAL_LIBUNA_TRUE 787HAVE_LOCAL_LIBUNA 788HAVE_LIBUNA 789libuna_LIBS 790libuna_CFLAGS 791ax_libcsplit_spec_build_requires 792ax_libcsplit_spec_requires 793ax_libcsplit_pc_libs_private 794LIBCSPLIT_LIBADD 795LIBCSPLIT_CPPFLAGS 796HAVE_LOCAL_LIBCSPLIT_FALSE 797HAVE_LOCAL_LIBCSPLIT_TRUE 798HAVE_LOCAL_LIBCSPLIT 799HAVE_LIBCSPLIT 800libcsplit_LIBS 801libcsplit_CFLAGS 802ax_libcnotify_spec_build_requires 803ax_libcnotify_spec_requires 804ax_libcnotify_pc_libs_private 805LIBCNOTIFY_LIBADD 806LIBCNOTIFY_CPPFLAGS 807HAVE_LOCAL_LIBCNOTIFY_FALSE 808HAVE_LOCAL_LIBCNOTIFY_TRUE 809HAVE_LOCAL_LIBCNOTIFY 810HAVE_LIBCNOTIFY 811libcnotify_LIBS 812libcnotify_CFLAGS 813ax_libclocale_spec_build_requires 814ax_libclocale_spec_requires 815ax_libclocale_pc_libs_private 816LIBCLOCALE_LIBADD 817LIBCLOCALE_CPPFLAGS 818HAVE_LOCAL_LIBCLOCALE_FALSE 819HAVE_LOCAL_LIBCLOCALE_TRUE 820HAVE_LOCAL_LIBCLOCALE 821HAVE_LIBCLOCALE 822libclocale_LIBS 823libclocale_CFLAGS 824ax_libcdata_spec_build_requires 825ax_libcdata_spec_requires 826ax_libcdata_pc_libs_private 827LIBCDATA_LIBADD 828LIBCDATA_CPPFLAGS 829HAVE_LOCAL_LIBCDATA_FALSE 830HAVE_LOCAL_LIBCDATA_TRUE 831HAVE_LOCAL_LIBCDATA 832HAVE_LIBCDATA 833libcdata_LIBS 834libcdata_CFLAGS 835ax_libcthreads_spec_build_requires 836ax_libcthreads_spec_requires 837ax_libcthreads_pc_libs_private 838HAVE_MULTI_THREAD_SUPPORT 839LIBCTHREADS_LIBADD 840LIBCTHREADS_CPPFLAGS 841HAVE_LOCAL_LIBCTHREADS_FALSE 842HAVE_LOCAL_LIBCTHREADS_TRUE 843HAVE_LOCAL_LIBCTHREADS 844ax_pthread_pc_libs_private 845PTHREAD_LIBADD 846PTHREAD_CPPFLAGS 847HAVE_PTHREAD 848HAVE_LIBCTHREADS 849libcthreads_LIBS 850libcthreads_CFLAGS 851ax_libcerror_spec_build_requires 852ax_libcerror_spec_requires 853ax_libcerror_pc_libs_private 854LIBCERROR_LIBADD 855LIBCERROR_CPPFLAGS 856HAVE_LOCAL_LIBCERROR_FALSE 857HAVE_LOCAL_LIBCERROR_TRUE 858HAVE_LOCAL_LIBCERROR 859HAVE_LIBCERROR 860libcerror_LIBS 861libcerror_CFLAGS 862PKG_CONFIG_LIBDIR 863PKG_CONFIG_PATH 864PKG_CONFIG 865HAVE_OFF64_T 866HAVE_SSIZE64_T 867HAVE_SIZE64_T 868HAVE_SSIZE32_T 869HAVE_SIZE32_T 870HAVE_WCHAR_H 871HAVE_STDINT_H 872HAVE_INTTYPES_H 873HAVE_SYS_TYPES_H 874HAVE_WIDE_CHARACTER_TYPE 875STATIC_LDFLAGS 876POSUB 877LTLIBINTL 878LIBINTL 879INTLLIBS 880LTLIBICONV 881LIBICONV 882INTL_MACOSX_LIBS 883XGETTEXT_EXTRA_OPTIONS 884MSGMERGE 885XGETTEXT_015 886XGETTEXT 887GMSGFMT_015 888MSGFMT_015 889GMSGFMT 890MSGFMT 891GETTEXT_MACRO_VERSION 892USE_NLS 893PKGCONFIG 894LIBTOOL_DEPS 895CXXCPP 896LT_SYS_LIBRARY_PATH 897OTOOL64 898OTOOL 899LIPO 900NMEDIT 901DSYMUTIL 902MANIFEST_TOOL 903RANLIB 904ac_ct_AR 905AR 906LN_S 907NM 908ac_ct_DUMPBIN 909DUMPBIN 910LD 911FGREP 912SED 913LIBTOOL 914am__fastdepCXX_FALSE 915am__fastdepCXX_TRUE 916CXXDEPMODE 917ac_ct_CXX 918CXXFLAGS 919CXX 920EGREP 921GREP 922CPP 923am__fastdepCC_FALSE 924am__fastdepCC_TRUE 925CCDEPMODE 926am__nodep 927AMDEPBACKSLASH 928AMDEP_FALSE 929AMDEP_TRUE 930am__include 931DEPDIR 932OBJEXT 933EXEEXT 934ac_ct_CC 935CPPFLAGS 936LDFLAGS 937CFLAGS 938CC 939OBJDUMP 940DLLTOOL 941AS 942host_os 943host_vendor 944host_cpu 945host 946build_os 947build_vendor 948build_cpu 949build 950AM_BACKSLASH 951AM_DEFAULT_VERBOSITY 952AM_DEFAULT_V 953AM_V 954am__untar 955am__tar 956AMTAR 957am__leading_dot 958SET_MAKE 959AWK 960mkdir_p 961MKDIR_P 962INSTALL_STRIP_PROGRAM 963STRIP 964install_sh 965MAKEINFO 966AUTOHEADER 967AUTOMAKE 968AUTOCONF 969ACLOCAL 970VERSION 971PACKAGE 972CYGPATH_W 973am__isrc 974INSTALL_DATA 975INSTALL_SCRIPT 976INSTALL_PROGRAM 977target_alias 978host_alias 979build_alias 980LIBS 981ECHO_T 982ECHO_N 983ECHO_C 984DEFS 985mandir 986localedir 987libdir 988psdir 989pdfdir 990dvidir 991htmldir 992infodir 993docdir 994oldincludedir 995includedir 996localstatedir 997sharedstatedir 998sysconfdir 999datadir 1000datarootdir 1001libexecdir 1002sbindir 1003bindir 1004program_transform_name 1005prefix 1006exec_prefix 1007PACKAGE_URL 1008PACKAGE_BUGREPORT 1009PACKAGE_STRING 1010PACKAGE_VERSION 1011PACKAGE_TARNAME 1012PACKAGE_NAME 1013PATH_SEPARATOR 1014SHELL 1015am__quote' 1016ac_subst_files='' 1017ac_user_opts=' 1018enable_option_checking 1019enable_silent_rules 1020enable_dependency_tracking 1021enable_shared 1022enable_static 1023with_pic 1024enable_fast_install 1025with_aix_soname 1026with_gnu_ld 1027with_sysroot 1028enable_libtool_lock 1029enable_nls 1030enable_rpath 1031with_libiconv_prefix 1032with_libintl_prefix 1033enable_largefile 1034enable_shared_libs 1035enable_static_executables 1036enable_winapi 1037enable_wide_character_type 1038enable_verbose_output 1039enable_debug_output 1040with_libcerror 1041enable_multi_threading_support 1042with_libcthreads 1043with_pthread 1044with_libcdata 1045with_libclocale 1046with_libcnotify 1047with_libcsplit 1048with_libuna 1049with_libcfile 1050with_libcpath 1051with_libbfio 1052with_libfdatetime 1053with_libfguid 1054with_libfole 1055with_libfwps 1056with_libfwsi 1057with_pyprefix 1058enable_python 1059with_pythondir 1060enable_python2 1061with_pythondir2 1062enable_python3 1063with_pythondir3 1064' 1065 ac_precious_vars='build_alias 1066host_alias 1067target_alias 1068CC 1069CFLAGS 1070LDFLAGS 1071LIBS 1072CPPFLAGS 1073CPP 1074CXX 1075CXXFLAGS 1076CCC 1077LT_SYS_LIBRARY_PATH 1078CXXCPP 1079PKG_CONFIG 1080PKG_CONFIG_PATH 1081PKG_CONFIG_LIBDIR 1082libcerror_CFLAGS 1083libcerror_LIBS 1084libcthreads_CFLAGS 1085libcthreads_LIBS 1086libcdata_CFLAGS 1087libcdata_LIBS 1088libclocale_CFLAGS 1089libclocale_LIBS 1090libcnotify_CFLAGS 1091libcnotify_LIBS 1092libcsplit_CFLAGS 1093libcsplit_LIBS 1094libuna_CFLAGS 1095libuna_LIBS 1096libcfile_CFLAGS 1097libcfile_LIBS 1098libcpath_CFLAGS 1099libcpath_LIBS 1100libbfio_CFLAGS 1101libbfio_LIBS 1102libfdatetime_CFLAGS 1103libfdatetime_LIBS 1104libfguid_CFLAGS 1105libfguid_LIBS 1106libfole_CFLAGS 1107libfole_LIBS 1108libfwps_CFLAGS 1109libfwps_LIBS 1110libfwsi_CFLAGS 1111libfwsi_LIBS' 1112 1113 1114# Initialize some variables set by options. 1115ac_init_help= 1116ac_init_version=false 1117ac_unrecognized_opts= 1118ac_unrecognized_sep= 1119# The variables have the same names as the options, with 1120# dashes changed to underlines. 1121cache_file=/dev/null 1122exec_prefix=NONE 1123no_create= 1124no_recursion= 1125prefix=NONE 1126program_prefix=NONE 1127program_suffix=NONE 1128program_transform_name=s,x,x, 1129silent= 1130site= 1131srcdir= 1132verbose= 1133x_includes=NONE 1134x_libraries=NONE 1135 1136# Installation directory options. 1137# These are left unexpanded so users can "make install exec_prefix=/foo" 1138# and all the variables that are supposed to be based on exec_prefix 1139# by default will actually change. 1140# Use braces instead of parens because sh, perl, etc. also accept them. 1141# (The list follows the same order as the GNU Coding Standards.) 1142bindir='${exec_prefix}/bin' 1143sbindir='${exec_prefix}/sbin' 1144libexecdir='${exec_prefix}/libexec' 1145datarootdir='${prefix}/share' 1146datadir='${datarootdir}' 1147sysconfdir='${prefix}/etc' 1148sharedstatedir='${prefix}/com' 1149localstatedir='${prefix}/var' 1150includedir='${prefix}/include' 1151oldincludedir='/usr/include' 1152docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1153infodir='${datarootdir}/info' 1154htmldir='${docdir}' 1155dvidir='${docdir}' 1156pdfdir='${docdir}' 1157psdir='${docdir}' 1158libdir='${exec_prefix}/lib' 1159localedir='${datarootdir}/locale' 1160mandir='${datarootdir}/man' 1161 1162ac_prev= 1163ac_dashdash= 1164for ac_option 1165do 1166 # If the previous option needs an argument, assign it. 1167 if test -n "$ac_prev"; then 1168 eval $ac_prev=\$ac_option 1169 ac_prev= 1170 continue 1171 fi 1172 1173 case $ac_option in 1174 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1175 *=) ac_optarg= ;; 1176 *) ac_optarg=yes ;; 1177 esac 1178 1179 # Accept the important Cygnus configure options, so we can diagnose typos. 1180 1181 case $ac_dashdash$ac_option in 1182 --) 1183 ac_dashdash=yes ;; 1184 1185 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1186 ac_prev=bindir ;; 1187 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1188 bindir=$ac_optarg ;; 1189 1190 -build | --build | --buil | --bui | --bu) 1191 ac_prev=build_alias ;; 1192 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1193 build_alias=$ac_optarg ;; 1194 1195 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1196 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1197 ac_prev=cache_file ;; 1198 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1199 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1200 cache_file=$ac_optarg ;; 1201 1202 --config-cache | -C) 1203 cache_file=config.cache ;; 1204 1205 -datadir | --datadir | --datadi | --datad) 1206 ac_prev=datadir ;; 1207 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1208 datadir=$ac_optarg ;; 1209 1210 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1211 | --dataroo | --dataro | --datar) 1212 ac_prev=datarootdir ;; 1213 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1214 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1215 datarootdir=$ac_optarg ;; 1216 1217 -disable-* | --disable-*) 1218 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1219 # Reject names that are not valid shell variable names. 1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1221 as_fn_error $? "invalid feature name: $ac_useropt" 1222 ac_useropt_orig=$ac_useropt 1223 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1224 case $ac_user_opts in 1225 *" 1226"enable_$ac_useropt" 1227"*) ;; 1228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1229 ac_unrecognized_sep=', ';; 1230 esac 1231 eval enable_$ac_useropt=no ;; 1232 1233 -docdir | --docdir | --docdi | --doc | --do) 1234 ac_prev=docdir ;; 1235 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1236 docdir=$ac_optarg ;; 1237 1238 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1239 ac_prev=dvidir ;; 1240 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1241 dvidir=$ac_optarg ;; 1242 1243 -enable-* | --enable-*) 1244 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1245 # Reject names that are not valid shell variable names. 1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1247 as_fn_error $? "invalid feature name: $ac_useropt" 1248 ac_useropt_orig=$ac_useropt 1249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1250 case $ac_user_opts in 1251 *" 1252"enable_$ac_useropt" 1253"*) ;; 1254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1255 ac_unrecognized_sep=', ';; 1256 esac 1257 eval enable_$ac_useropt=\$ac_optarg ;; 1258 1259 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1260 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1261 | --exec | --exe | --ex) 1262 ac_prev=exec_prefix ;; 1263 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1264 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1265 | --exec=* | --exe=* | --ex=*) 1266 exec_prefix=$ac_optarg ;; 1267 1268 -gas | --gas | --ga | --g) 1269 # Obsolete; use --with-gas. 1270 with_gas=yes ;; 1271 1272 -help | --help | --hel | --he | -h) 1273 ac_init_help=long ;; 1274 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1275 ac_init_help=recursive ;; 1276 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1277 ac_init_help=short ;; 1278 1279 -host | --host | --hos | --ho) 1280 ac_prev=host_alias ;; 1281 -host=* | --host=* | --hos=* | --ho=*) 1282 host_alias=$ac_optarg ;; 1283 1284 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1285 ac_prev=htmldir ;; 1286 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1287 | --ht=*) 1288 htmldir=$ac_optarg ;; 1289 1290 -includedir | --includedir | --includedi | --included | --include \ 1291 | --includ | --inclu | --incl | --inc) 1292 ac_prev=includedir ;; 1293 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1294 | --includ=* | --inclu=* | --incl=* | --inc=*) 1295 includedir=$ac_optarg ;; 1296 1297 -infodir | --infodir | --infodi | --infod | --info | --inf) 1298 ac_prev=infodir ;; 1299 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1300 infodir=$ac_optarg ;; 1301 1302 -libdir | --libdir | --libdi | --libd) 1303 ac_prev=libdir ;; 1304 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1305 libdir=$ac_optarg ;; 1306 1307 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1308 | --libexe | --libex | --libe) 1309 ac_prev=libexecdir ;; 1310 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1311 | --libexe=* | --libex=* | --libe=*) 1312 libexecdir=$ac_optarg ;; 1313 1314 -localedir | --localedir | --localedi | --localed | --locale) 1315 ac_prev=localedir ;; 1316 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1317 localedir=$ac_optarg ;; 1318 1319 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1320 | --localstate | --localstat | --localsta | --localst | --locals) 1321 ac_prev=localstatedir ;; 1322 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1323 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1324 localstatedir=$ac_optarg ;; 1325 1326 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1327 ac_prev=mandir ;; 1328 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1329 mandir=$ac_optarg ;; 1330 1331 -nfp | --nfp | --nf) 1332 # Obsolete; use --without-fp. 1333 with_fp=no ;; 1334 1335 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1336 | --no-cr | --no-c | -n) 1337 no_create=yes ;; 1338 1339 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1340 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1341 no_recursion=yes ;; 1342 1343 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1344 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1345 | --oldin | --oldi | --old | --ol | --o) 1346 ac_prev=oldincludedir ;; 1347 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1348 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1349 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1350 oldincludedir=$ac_optarg ;; 1351 1352 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1353 ac_prev=prefix ;; 1354 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1355 prefix=$ac_optarg ;; 1356 1357 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1358 | --program-pre | --program-pr | --program-p) 1359 ac_prev=program_prefix ;; 1360 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1361 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1362 program_prefix=$ac_optarg ;; 1363 1364 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1365 | --program-suf | --program-su | --program-s) 1366 ac_prev=program_suffix ;; 1367 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1368 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1369 program_suffix=$ac_optarg ;; 1370 1371 -program-transform-name | --program-transform-name \ 1372 | --program-transform-nam | --program-transform-na \ 1373 | --program-transform-n | --program-transform- \ 1374 | --program-transform | --program-transfor \ 1375 | --program-transfo | --program-transf \ 1376 | --program-trans | --program-tran \ 1377 | --progr-tra | --program-tr | --program-t) 1378 ac_prev=program_transform_name ;; 1379 -program-transform-name=* | --program-transform-name=* \ 1380 | --program-transform-nam=* | --program-transform-na=* \ 1381 | --program-transform-n=* | --program-transform-=* \ 1382 | --program-transform=* | --program-transfor=* \ 1383 | --program-transfo=* | --program-transf=* \ 1384 | --program-trans=* | --program-tran=* \ 1385 | --progr-tra=* | --program-tr=* | --program-t=*) 1386 program_transform_name=$ac_optarg ;; 1387 1388 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1389 ac_prev=pdfdir ;; 1390 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1391 pdfdir=$ac_optarg ;; 1392 1393 -psdir | --psdir | --psdi | --psd | --ps) 1394 ac_prev=psdir ;; 1395 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1396 psdir=$ac_optarg ;; 1397 1398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1399 | -silent | --silent | --silen | --sile | --sil) 1400 silent=yes ;; 1401 1402 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1403 ac_prev=sbindir ;; 1404 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1405 | --sbi=* | --sb=*) 1406 sbindir=$ac_optarg ;; 1407 1408 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1409 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1410 | --sharedst | --shareds | --shared | --share | --shar \ 1411 | --sha | --sh) 1412 ac_prev=sharedstatedir ;; 1413 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1414 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1415 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1416 | --sha=* | --sh=*) 1417 sharedstatedir=$ac_optarg ;; 1418 1419 -site | --site | --sit) 1420 ac_prev=site ;; 1421 -site=* | --site=* | --sit=*) 1422 site=$ac_optarg ;; 1423 1424 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1425 ac_prev=srcdir ;; 1426 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1427 srcdir=$ac_optarg ;; 1428 1429 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1430 | --syscon | --sysco | --sysc | --sys | --sy) 1431 ac_prev=sysconfdir ;; 1432 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1433 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1434 sysconfdir=$ac_optarg ;; 1435 1436 -target | --target | --targe | --targ | --tar | --ta | --t) 1437 ac_prev=target_alias ;; 1438 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1439 target_alias=$ac_optarg ;; 1440 1441 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1442 verbose=yes ;; 1443 1444 -version | --version | --versio | --versi | --vers | -V) 1445 ac_init_version=: ;; 1446 1447 -with-* | --with-*) 1448 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1449 # Reject names that are not valid shell variable names. 1450 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1451 as_fn_error $? "invalid package name: $ac_useropt" 1452 ac_useropt_orig=$ac_useropt 1453 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1454 case $ac_user_opts in 1455 *" 1456"with_$ac_useropt" 1457"*) ;; 1458 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1459 ac_unrecognized_sep=', ';; 1460 esac 1461 eval with_$ac_useropt=\$ac_optarg ;; 1462 1463 -without-* | --without-*) 1464 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1465 # Reject names that are not valid shell variable names. 1466 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1467 as_fn_error $? "invalid package name: $ac_useropt" 1468 ac_useropt_orig=$ac_useropt 1469 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1470 case $ac_user_opts in 1471 *" 1472"with_$ac_useropt" 1473"*) ;; 1474 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1475 ac_unrecognized_sep=', ';; 1476 esac 1477 eval with_$ac_useropt=no ;; 1478 1479 --x) 1480 # Obsolete; use --with-x. 1481 with_x=yes ;; 1482 1483 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1484 | --x-incl | --x-inc | --x-in | --x-i) 1485 ac_prev=x_includes ;; 1486 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1487 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1488 x_includes=$ac_optarg ;; 1489 1490 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1491 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1492 ac_prev=x_libraries ;; 1493 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1494 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1495 x_libraries=$ac_optarg ;; 1496 1497 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1498Try \`$0 --help' for more information" 1499 ;; 1500 1501 *=*) 1502 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1503 # Reject names that are not valid shell variable names. 1504 case $ac_envvar in #( 1505 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1506 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1507 esac 1508 eval $ac_envvar=\$ac_optarg 1509 export $ac_envvar ;; 1510 1511 *) 1512 # FIXME: should be removed in autoconf 3.0. 1513 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1514 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1515 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1516 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1517 ;; 1518 1519 esac 1520done 1521 1522if test -n "$ac_prev"; then 1523 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1524 as_fn_error $? "missing argument to $ac_option" 1525fi 1526 1527if test -n "$ac_unrecognized_opts"; then 1528 case $enable_option_checking in 1529 no) ;; 1530 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1531 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1532 esac 1533fi 1534 1535# Check all directory arguments for consistency. 1536for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1537 datadir sysconfdir sharedstatedir localstatedir includedir \ 1538 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1539 libdir localedir mandir 1540do 1541 eval ac_val=\$$ac_var 1542 # Remove trailing slashes. 1543 case $ac_val in 1544 */ ) 1545 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1546 eval $ac_var=\$ac_val;; 1547 esac 1548 # Be sure to have absolute directory names. 1549 case $ac_val in 1550 [\\/$]* | ?:[\\/]* ) continue;; 1551 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1552 esac 1553 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1554done 1555 1556# There might be people who depend on the old broken behavior: `$host' 1557# used to hold the argument of --host etc. 1558# FIXME: To remove some day. 1559build=$build_alias 1560host=$host_alias 1561target=$target_alias 1562 1563# FIXME: To remove some day. 1564if test "x$host_alias" != x; then 1565 if test "x$build_alias" = x; then 1566 cross_compiling=maybe 1567 elif test "x$build_alias" != "x$host_alias"; then 1568 cross_compiling=yes 1569 fi 1570fi 1571 1572ac_tool_prefix= 1573test -n "$host_alias" && ac_tool_prefix=$host_alias- 1574 1575test "$silent" = yes && exec 6>/dev/null 1576 1577 1578ac_pwd=`pwd` && test -n "$ac_pwd" && 1579ac_ls_di=`ls -di .` && 1580ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1581 as_fn_error $? "working directory cannot be determined" 1582test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1583 as_fn_error $? "pwd does not report name of working directory" 1584 1585 1586# Find the source files, if location was not specified. 1587if test -z "$srcdir"; then 1588 ac_srcdir_defaulted=yes 1589 # Try the directory containing this script, then the parent directory. 1590 ac_confdir=`$as_dirname -- "$as_myself" || 1591$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1592 X"$as_myself" : 'X\(//\)[^/]' \| \ 1593 X"$as_myself" : 'X\(//\)$' \| \ 1594 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1595$as_echo X"$as_myself" | 1596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1597 s//\1/ 1598 q 1599 } 1600 /^X\(\/\/\)[^/].*/{ 1601 s//\1/ 1602 q 1603 } 1604 /^X\(\/\/\)$/{ 1605 s//\1/ 1606 q 1607 } 1608 /^X\(\/\).*/{ 1609 s//\1/ 1610 q 1611 } 1612 s/.*/./; q'` 1613 srcdir=$ac_confdir 1614 if test ! -r "$srcdir/$ac_unique_file"; then 1615 srcdir=.. 1616 fi 1617else 1618 ac_srcdir_defaulted=no 1619fi 1620if test ! -r "$srcdir/$ac_unique_file"; then 1621 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1622 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1623fi 1624ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1625ac_abs_confdir=`( 1626 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1627 pwd)` 1628# When building in place, set srcdir=. 1629if test "$ac_abs_confdir" = "$ac_pwd"; then 1630 srcdir=. 1631fi 1632# Remove unnecessary trailing slashes from srcdir. 1633# Double slashes in file names in object file debugging info 1634# mess up M-x gdb in Emacs. 1635case $srcdir in 1636*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1637esac 1638for ac_var in $ac_precious_vars; do 1639 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1640 eval ac_env_${ac_var}_value=\$${ac_var} 1641 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1642 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1643done 1644 1645# 1646# Report the --help message. 1647# 1648if test "$ac_init_help" = "long"; then 1649 # Omit some internal or obsolete options to make the list less imposing. 1650 # This message is too long to be a string in the A/UX 3.1 sh. 1651 cat <<_ACEOF 1652\`configure' configures liblnk 20210417 to adapt to many kinds of systems. 1653 1654Usage: $0 [OPTION]... [VAR=VALUE]... 1655 1656To assign environment variables (e.g., CC, CFLAGS...), specify them as 1657VAR=VALUE. See below for descriptions of some of the useful variables. 1658 1659Defaults for the options are specified in brackets. 1660 1661Configuration: 1662 -h, --help display this help and exit 1663 --help=short display options specific to this package 1664 --help=recursive display the short help of all the included packages 1665 -V, --version display version information and exit 1666 -q, --quiet, --silent do not print \`checking ...' messages 1667 --cache-file=FILE cache test results in FILE [disabled] 1668 -C, --config-cache alias for \`--cache-file=config.cache' 1669 -n, --no-create do not create output files 1670 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1671 1672Installation directories: 1673 --prefix=PREFIX install architecture-independent files in PREFIX 1674 [$ac_default_prefix] 1675 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1676 [PREFIX] 1677 1678By default, \`make install' will install all the files in 1679\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1680an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1681for instance \`--prefix=\$HOME'. 1682 1683For better control, use the options below. 1684 1685Fine tuning of the installation directories: 1686 --bindir=DIR user executables [EPREFIX/bin] 1687 --sbindir=DIR system admin executables [EPREFIX/sbin] 1688 --libexecdir=DIR program executables [EPREFIX/libexec] 1689 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1690 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1691 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1692 --libdir=DIR object code libraries [EPREFIX/lib] 1693 --includedir=DIR C header files [PREFIX/include] 1694 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1695 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1696 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1697 --infodir=DIR info documentation [DATAROOTDIR/info] 1698 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1699 --mandir=DIR man documentation [DATAROOTDIR/man] 1700 --docdir=DIR documentation root [DATAROOTDIR/doc/liblnk] 1701 --htmldir=DIR html documentation [DOCDIR] 1702 --dvidir=DIR dvi documentation [DOCDIR] 1703 --pdfdir=DIR pdf documentation [DOCDIR] 1704 --psdir=DIR ps documentation [DOCDIR] 1705_ACEOF 1706 1707 cat <<\_ACEOF 1708 1709Program names: 1710 --program-prefix=PREFIX prepend PREFIX to installed program names 1711 --program-suffix=SUFFIX append SUFFIX to installed program names 1712 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1713 1714System types: 1715 --build=BUILD configure for building on BUILD [guessed] 1716 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1717_ACEOF 1718fi 1719 1720if test -n "$ac_init_help"; then 1721 case $ac_init_help in 1722 short | recursive ) echo "Configuration of liblnk 20210417:";; 1723 esac 1724 cat <<\_ACEOF 1725 1726Optional Features: 1727 --disable-option-checking ignore unrecognized --enable/--with options 1728 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1729 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1730 --enable-silent-rules less verbose build output (undo: "make V=1") 1731 --disable-silent-rules verbose build output (undo: "make V=0") 1732 --enable-dependency-tracking 1733 do not reject slow dependency extractors 1734 --disable-dependency-tracking 1735 speeds up one-time build 1736 --enable-shared[=PKGS] build shared libraries [default=yes] 1737 --enable-static[=PKGS] build static libraries [default=yes] 1738 --enable-fast-install[=PKGS] 1739 optimize for fast installation [default=yes] 1740 --disable-libtool-lock avoid locking (might break parallel builds) 1741 --disable-nls do not use Native Language Support 1742 --disable-rpath do not hardcode runtime library paths 1743 --disable-largefile omit support for large files 1744 --disable-shared-libs disable shared library support 1745 --enable-static-executables 1746 build static executables (binaries) [default=no] 1747 --enable-winapi enable WINAPI support for cross-compilation 1748 [default=auto-detect] 1749 --enable-wide-character-type 1750 enable wide character type support [default=no] 1751 --enable-verbose-output enable verbose output [default=no] 1752 --enable-debug-output enable debug output [default=no] 1753 --enable-multi-threading-support 1754 enable multi-threading support [default=yes] 1755 --enable-python build Python bindings [default=no] 1756 --enable-python2 build Python 2 bindings [default=no] 1757 --enable-python3 build Python 3 bindings [default=no] 1758 1759Optional Packages: 1760 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1761 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1762 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1763 both] 1764 --with-aix-soname=aix|svr4|both 1765 shared library versioning (aka "SONAME") variant to 1766 provide on AIX, [default=aix]. 1767 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1768 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1769 compiler's sysroot if not specified). 1770 --with-gnu-ld assume the C compiler uses GNU ld default=no 1771 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1772 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1773 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1774 --without-libintl-prefix don't search for libintl in includedir and libdir 1775 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1776 the specified DIR, or no if to use local version 1777 [default=auto-detect] 1778 --with-libcthreads[=DIR] 1779 search for libcthreads in includedir and libdir or 1780 in the specified DIR, or no if to use local version 1781 [default=auto-detect] 1782 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1783 the specified DIR, or no if not to use pthread 1784 [default=auto-detect] 1785 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1786 the specified DIR, or no if to use local version 1787 [default=auto-detect] 1788 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1789 the specified DIR, or no if to use local version 1790 [default=auto-detect] 1791 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1792 the specified DIR, or no if to use local version 1793 [default=auto-detect] 1794 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1795 the specified DIR, or no if to use local version 1796 [default=auto-detect] 1797 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1798 specified DIR, or no if to use local version 1799 [default=auto-detect] 1800 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1801 the specified DIR, or no if to use local version 1802 [default=auto-detect] 1803 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1804 the specified DIR, or no if to use local version 1805 [default=auto-detect] 1806 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1807 the specified DIR, or no if to use local version 1808 [default=auto-detect] 1809 --with-libfdatetime[=DIR] 1810 search for libfdatetime in includedir and libdir or 1811 in the specified DIR, or no if to use local version 1812 [default=auto-detect] 1813 --with-libfguid[=DIR] search for libfguid in includedir and libdir or in 1814 the specified DIR, or no if to use local version 1815 [default=auto-detect] 1816 --with-libfole[=DIR] search for libfole in includedir and libdir or in 1817 the specified DIR, or no if to use local version 1818 [default=auto-detect] 1819 --with-libfwps[=DIR] search for libfwps in includedir and libdir or in 1820 the specified DIR, or no if to use local version 1821 [default=auto-detect] 1822 --with-libfwsi[=DIR] search for libfwsi in includedir and libdir or in 1823 the specified DIR, or no if to use local version 1824 [default=auto-detect] 1825 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1826 of pythondir instead of --prefix [default=no] 1827 --with-pythondir[=no] use to specify the Python directory (pythondir) 1828 [default=no] 1829 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1830 [default=no] 1831 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1832 [default=no] 1833 1834Some influential environment variables: 1835 CC C compiler command 1836 CFLAGS C compiler flags 1837 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1838 nonstandard directory <lib dir> 1839 LIBS libraries to pass to the linker, e.g. -l<library> 1840 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1841 you have headers in a nonstandard directory <include dir> 1842 CPP C preprocessor 1843 CXX C++ compiler command 1844 CXXFLAGS C++ compiler flags 1845 LT_SYS_LIBRARY_PATH 1846 User-defined run-time library search path. 1847 CXXCPP C++ preprocessor 1848 PKG_CONFIG path to pkg-config utility 1849 PKG_CONFIG_PATH 1850 directories to add to pkg-config's search path 1851 PKG_CONFIG_LIBDIR 1852 path overriding pkg-config's built-in search path 1853 libcerror_CFLAGS 1854 C compiler flags for libcerror, overriding pkg-config 1855 libcerror_LIBS 1856 linker flags for libcerror, overriding pkg-config 1857 libcthreads_CFLAGS 1858 C compiler flags for libcthreads, overriding pkg-config 1859 libcthreads_LIBS 1860 linker flags for libcthreads, overriding pkg-config 1861 libcdata_CFLAGS 1862 C compiler flags for libcdata, overriding pkg-config 1863 libcdata_LIBS 1864 linker flags for libcdata, overriding pkg-config 1865 libclocale_CFLAGS 1866 C compiler flags for libclocale, overriding pkg-config 1867 libclocale_LIBS 1868 linker flags for libclocale, overriding pkg-config 1869 libcnotify_CFLAGS 1870 C compiler flags for libcnotify, overriding pkg-config 1871 libcnotify_LIBS 1872 linker flags for libcnotify, overriding pkg-config 1873 libcsplit_CFLAGS 1874 C compiler flags for libcsplit, overriding pkg-config 1875 libcsplit_LIBS 1876 linker flags for libcsplit, overriding pkg-config 1877 libuna_CFLAGS 1878 C compiler flags for libuna, overriding pkg-config 1879 libuna_LIBS linker flags for libuna, overriding pkg-config 1880 libcfile_CFLAGS 1881 C compiler flags for libcfile, overriding pkg-config 1882 libcfile_LIBS 1883 linker flags for libcfile, overriding pkg-config 1884 libcpath_CFLAGS 1885 C compiler flags for libcpath, overriding pkg-config 1886 libcpath_LIBS 1887 linker flags for libcpath, overriding pkg-config 1888 libbfio_CFLAGS 1889 C compiler flags for libbfio, overriding pkg-config 1890 libbfio_LIBS 1891 linker flags for libbfio, overriding pkg-config 1892 libfdatetime_CFLAGS 1893 C compiler flags for libfdatetime, overriding pkg-config 1894 libfdatetime_LIBS 1895 linker flags for libfdatetime, overriding pkg-config 1896 libfguid_CFLAGS 1897 C compiler flags for libfguid, overriding pkg-config 1898 libfguid_LIBS 1899 linker flags for libfguid, overriding pkg-config 1900 libfole_CFLAGS 1901 C compiler flags for libfole, overriding pkg-config 1902 libfole_LIBS 1903 linker flags for libfole, overriding pkg-config 1904 libfwps_CFLAGS 1905 C compiler flags for libfwps, overriding pkg-config 1906 libfwps_LIBS 1907 linker flags for libfwps, overriding pkg-config 1908 libfwsi_CFLAGS 1909 C compiler flags for libfwsi, overriding pkg-config 1910 libfwsi_LIBS 1911 linker flags for libfwsi, overriding pkg-config 1912 1913Use these variables to override the choices made by `configure' or to help 1914it to find libraries and programs with nonstandard names/locations. 1915 1916Report bugs to <joachim.metz@gmail.com>. 1917_ACEOF 1918ac_status=$? 1919fi 1920 1921if test "$ac_init_help" = "recursive"; then 1922 # If there are subdirs, report their specific --help. 1923 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1924 test -d "$ac_dir" || 1925 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1926 continue 1927 ac_builddir=. 1928 1929case "$ac_dir" in 1930.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1931*) 1932 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1933 # A ".." for each directory in $ac_dir_suffix. 1934 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1935 case $ac_top_builddir_sub in 1936 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1937 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1938 esac ;; 1939esac 1940ac_abs_top_builddir=$ac_pwd 1941ac_abs_builddir=$ac_pwd$ac_dir_suffix 1942# for backward compatibility: 1943ac_top_builddir=$ac_top_build_prefix 1944 1945case $srcdir in 1946 .) # We are building in place. 1947 ac_srcdir=. 1948 ac_top_srcdir=$ac_top_builddir_sub 1949 ac_abs_top_srcdir=$ac_pwd ;; 1950 [\\/]* | ?:[\\/]* ) # Absolute name. 1951 ac_srcdir=$srcdir$ac_dir_suffix; 1952 ac_top_srcdir=$srcdir 1953 ac_abs_top_srcdir=$srcdir ;; 1954 *) # Relative name. 1955 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1956 ac_top_srcdir=$ac_top_build_prefix$srcdir 1957 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1958esac 1959ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1960 1961 cd "$ac_dir" || { ac_status=$?; continue; } 1962 # Check for guested configure. 1963 if test -f "$ac_srcdir/configure.gnu"; then 1964 echo && 1965 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1966 elif test -f "$ac_srcdir/configure"; then 1967 echo && 1968 $SHELL "$ac_srcdir/configure" --help=recursive 1969 else 1970 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1971 fi || ac_status=$? 1972 cd "$ac_pwd" || { ac_status=$?; break; } 1973 done 1974fi 1975 1976test -n "$ac_init_help" && exit $ac_status 1977if $ac_init_version; then 1978 cat <<\_ACEOF 1979liblnk configure 20210417 1980generated by GNU Autoconf 2.69 1981 1982Copyright (C) 2012 Free Software Foundation, Inc. 1983This configure script is free software; the Free Software Foundation 1984gives unlimited permission to copy, distribute and modify it. 1985_ACEOF 1986 exit 1987fi 1988 1989## ------------------------ ## 1990## Autoconf initialization. ## 1991## ------------------------ ## 1992 1993# ac_fn_c_try_compile LINENO 1994# -------------------------- 1995# Try to compile conftest.$ac_ext, and return whether this succeeded. 1996ac_fn_c_try_compile () 1997{ 1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1999 rm -f conftest.$ac_objext 2000 if { { ac_try="$ac_compile" 2001case "(($ac_try" in 2002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2003 *) ac_try_echo=$ac_try;; 2004esac 2005eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2006$as_echo "$ac_try_echo"; } >&5 2007 (eval "$ac_compile") 2>conftest.err 2008 ac_status=$? 2009 if test -s conftest.err; then 2010 grep -v '^ *+' conftest.err >conftest.er1 2011 cat conftest.er1 >&5 2012 mv -f conftest.er1 conftest.err 2013 fi 2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2015 test $ac_status = 0; } && { 2016 test -z "$ac_c_werror_flag" || 2017 test ! -s conftest.err 2018 } && test -s conftest.$ac_objext; then : 2019 ac_retval=0 2020else 2021 $as_echo "$as_me: failed program was:" >&5 2022sed 's/^/| /' conftest.$ac_ext >&5 2023 2024 ac_retval=1 2025fi 2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2027 as_fn_set_status $ac_retval 2028 2029} # ac_fn_c_try_compile 2030 2031# ac_fn_c_try_cpp LINENO 2032# ---------------------- 2033# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2034ac_fn_c_try_cpp () 2035{ 2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2037 if { { ac_try="$ac_cpp conftest.$ac_ext" 2038case "(($ac_try" in 2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2040 *) ac_try_echo=$ac_try;; 2041esac 2042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2043$as_echo "$ac_try_echo"; } >&5 2044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2045 ac_status=$? 2046 if test -s conftest.err; then 2047 grep -v '^ *+' conftest.err >conftest.er1 2048 cat conftest.er1 >&5 2049 mv -f conftest.er1 conftest.err 2050 fi 2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2052 test $ac_status = 0; } > conftest.i && { 2053 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2054 test ! -s conftest.err 2055 }; then : 2056 ac_retval=0 2057else 2058 $as_echo "$as_me: failed program was:" >&5 2059sed 's/^/| /' conftest.$ac_ext >&5 2060 2061 ac_retval=1 2062fi 2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2064 as_fn_set_status $ac_retval 2065 2066} # ac_fn_c_try_cpp 2067 2068# ac_fn_cxx_try_compile LINENO 2069# ---------------------------- 2070# Try to compile conftest.$ac_ext, and return whether this succeeded. 2071ac_fn_cxx_try_compile () 2072{ 2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2074 rm -f conftest.$ac_objext 2075 if { { ac_try="$ac_compile" 2076case "(($ac_try" in 2077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2078 *) ac_try_echo=$ac_try;; 2079esac 2080eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2081$as_echo "$ac_try_echo"; } >&5 2082 (eval "$ac_compile") 2>conftest.err 2083 ac_status=$? 2084 if test -s conftest.err; then 2085 grep -v '^ *+' conftest.err >conftest.er1 2086 cat conftest.er1 >&5 2087 mv -f conftest.er1 conftest.err 2088 fi 2089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2090 test $ac_status = 0; } && { 2091 test -z "$ac_cxx_werror_flag" || 2092 test ! -s conftest.err 2093 } && test -s conftest.$ac_objext; then : 2094 ac_retval=0 2095else 2096 $as_echo "$as_me: failed program was:" >&5 2097sed 's/^/| /' conftest.$ac_ext >&5 2098 2099 ac_retval=1 2100fi 2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2102 as_fn_set_status $ac_retval 2103 2104} # ac_fn_cxx_try_compile 2105 2106# ac_fn_c_try_link LINENO 2107# ----------------------- 2108# Try to link conftest.$ac_ext, and return whether this succeeded. 2109ac_fn_c_try_link () 2110{ 2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2112 rm -f conftest.$ac_objext conftest$ac_exeext 2113 if { { ac_try="$ac_link" 2114case "(($ac_try" in 2115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2116 *) ac_try_echo=$ac_try;; 2117esac 2118eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2119$as_echo "$ac_try_echo"; } >&5 2120 (eval "$ac_link") 2>conftest.err 2121 ac_status=$? 2122 if test -s conftest.err; then 2123 grep -v '^ *+' conftest.err >conftest.er1 2124 cat conftest.er1 >&5 2125 mv -f conftest.er1 conftest.err 2126 fi 2127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2128 test $ac_status = 0; } && { 2129 test -z "$ac_c_werror_flag" || 2130 test ! -s conftest.err 2131 } && test -s conftest$ac_exeext && { 2132 test "$cross_compiling" = yes || 2133 test -x conftest$ac_exeext 2134 }; then : 2135 ac_retval=0 2136else 2137 $as_echo "$as_me: failed program was:" >&5 2138sed 's/^/| /' conftest.$ac_ext >&5 2139 2140 ac_retval=1 2141fi 2142 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2143 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2144 # interfere with the next link command; also delete a directory that is 2145 # left behind by Apple's compiler. We do this before executing the actions. 2146 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2148 as_fn_set_status $ac_retval 2149 2150} # ac_fn_c_try_link 2151 2152# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2153# ------------------------------------------------------- 2154# Tests whether HEADER exists and can be compiled using the include files in 2155# INCLUDES, setting the cache variable VAR accordingly. 2156ac_fn_c_check_header_compile () 2157{ 2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2160$as_echo_n "checking for $2... " >&6; } 2161if eval \${$3+:} false; then : 2162 $as_echo_n "(cached) " >&6 2163else 2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2165/* end confdefs.h. */ 2166$4 2167#include <$2> 2168_ACEOF 2169if ac_fn_c_try_compile "$LINENO"; then : 2170 eval "$3=yes" 2171else 2172 eval "$3=no" 2173fi 2174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2175fi 2176eval ac_res=\$$3 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2178$as_echo "$ac_res" >&6; } 2179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2180 2181} # ac_fn_c_check_header_compile 2182 2183# ac_fn_c_try_run LINENO 2184# ---------------------- 2185# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2186# that executables *can* be run. 2187ac_fn_c_try_run () 2188{ 2189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2190 if { { ac_try="$ac_link" 2191case "(($ac_try" in 2192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2193 *) ac_try_echo=$ac_try;; 2194esac 2195eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2196$as_echo "$ac_try_echo"; } >&5 2197 (eval "$ac_link") 2>&5 2198 ac_status=$? 2199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2200 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2201 { { case "(($ac_try" in 2202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2203 *) ac_try_echo=$ac_try;; 2204esac 2205eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2206$as_echo "$ac_try_echo"; } >&5 2207 (eval "$ac_try") 2>&5 2208 ac_status=$? 2209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2210 test $ac_status = 0; }; }; then : 2211 ac_retval=0 2212else 2213 $as_echo "$as_me: program exited with status $ac_status" >&5 2214 $as_echo "$as_me: failed program was:" >&5 2215sed 's/^/| /' conftest.$ac_ext >&5 2216 2217 ac_retval=$ac_status 2218fi 2219 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2221 as_fn_set_status $ac_retval 2222 2223} # ac_fn_c_try_run 2224 2225# ac_fn_c_check_func LINENO FUNC VAR 2226# ---------------------------------- 2227# Tests whether FUNC exists, setting the cache variable VAR accordingly 2228ac_fn_c_check_func () 2229{ 2230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2232$as_echo_n "checking for $2... " >&6; } 2233if eval \${$3+:} false; then : 2234 $as_echo_n "(cached) " >&6 2235else 2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2237/* end confdefs.h. */ 2238/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2239 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2240#define $2 innocuous_$2 2241 2242/* System header to define __stub macros and hopefully few prototypes, 2243 which can conflict with char $2 (); below. 2244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2245 <limits.h> exists even on freestanding compilers. */ 2246 2247#ifdef __STDC__ 2248# include <limits.h> 2249#else 2250# include <assert.h> 2251#endif 2252 2253#undef $2 2254 2255/* Override any GCC internal prototype to avoid an error. 2256 Use char because int might match the return type of a GCC 2257 builtin and then its argument prototype would still apply. */ 2258#ifdef __cplusplus 2259extern "C" 2260#endif 2261char $2 (); 2262/* The GNU C library defines this for functions which it implements 2263 to always fail with ENOSYS. Some functions are actually named 2264 something starting with __ and the normal name is an alias. */ 2265#if defined __stub_$2 || defined __stub___$2 2266choke me 2267#endif 2268 2269int 2270main () 2271{ 2272return $2 (); 2273 ; 2274 return 0; 2275} 2276_ACEOF 2277if ac_fn_c_try_link "$LINENO"; then : 2278 eval "$3=yes" 2279else 2280 eval "$3=no" 2281fi 2282rm -f core conftest.err conftest.$ac_objext \ 2283 conftest$ac_exeext conftest.$ac_ext 2284fi 2285eval ac_res=\$$3 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2287$as_echo "$ac_res" >&6; } 2288 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2289 2290} # ac_fn_c_check_func 2291 2292# ac_fn_cxx_try_cpp LINENO 2293# ------------------------ 2294# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2295ac_fn_cxx_try_cpp () 2296{ 2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2298 if { { ac_try="$ac_cpp conftest.$ac_ext" 2299case "(($ac_try" in 2300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2301 *) ac_try_echo=$ac_try;; 2302esac 2303eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2304$as_echo "$ac_try_echo"; } >&5 2305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2306 ac_status=$? 2307 if test -s conftest.err; then 2308 grep -v '^ *+' conftest.err >conftest.er1 2309 cat conftest.er1 >&5 2310 mv -f conftest.er1 conftest.err 2311 fi 2312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2313 test $ac_status = 0; } > conftest.i && { 2314 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2315 test ! -s conftest.err 2316 }; then : 2317 ac_retval=0 2318else 2319 $as_echo "$as_me: failed program was:" >&5 2320sed 's/^/| /' conftest.$ac_ext >&5 2321 2322 ac_retval=1 2323fi 2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2325 as_fn_set_status $ac_retval 2326 2327} # ac_fn_cxx_try_cpp 2328 2329# ac_fn_cxx_try_link LINENO 2330# ------------------------- 2331# Try to link conftest.$ac_ext, and return whether this succeeded. 2332ac_fn_cxx_try_link () 2333{ 2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2335 rm -f conftest.$ac_objext conftest$ac_exeext 2336 if { { ac_try="$ac_link" 2337case "(($ac_try" in 2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2339 *) ac_try_echo=$ac_try;; 2340esac 2341eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2342$as_echo "$ac_try_echo"; } >&5 2343 (eval "$ac_link") 2>conftest.err 2344 ac_status=$? 2345 if test -s conftest.err; then 2346 grep -v '^ *+' conftest.err >conftest.er1 2347 cat conftest.er1 >&5 2348 mv -f conftest.er1 conftest.err 2349 fi 2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2351 test $ac_status = 0; } && { 2352 test -z "$ac_cxx_werror_flag" || 2353 test ! -s conftest.err 2354 } && test -s conftest$ac_exeext && { 2355 test "$cross_compiling" = yes || 2356 test -x conftest$ac_exeext 2357 }; then : 2358 ac_retval=0 2359else 2360 $as_echo "$as_me: failed program was:" >&5 2361sed 's/^/| /' conftest.$ac_ext >&5 2362 2363 ac_retval=1 2364fi 2365 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2366 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2367 # interfere with the next link command; also delete a directory that is 2368 # left behind by Apple's compiler. We do this before executing the actions. 2369 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2371 as_fn_set_status $ac_retval 2372 2373} # ac_fn_cxx_try_link 2374 2375# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2376# ------------------------------------------------------- 2377# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2378# the include files in INCLUDES and setting the cache variable VAR 2379# accordingly. 2380ac_fn_c_check_header_mongrel () 2381{ 2382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2383 if eval \${$3+:} false; then : 2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2385$as_echo_n "checking for $2... " >&6; } 2386if eval \${$3+:} false; then : 2387 $as_echo_n "(cached) " >&6 2388fi 2389eval ac_res=\$$3 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2391$as_echo "$ac_res" >&6; } 2392else 2393 # Is the header compilable? 2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2395$as_echo_n "checking $2 usability... " >&6; } 2396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2397/* end confdefs.h. */ 2398$4 2399#include <$2> 2400_ACEOF 2401if ac_fn_c_try_compile "$LINENO"; then : 2402 ac_header_compiler=yes 2403else 2404 ac_header_compiler=no 2405fi 2406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2408$as_echo "$ac_header_compiler" >&6; } 2409 2410# Is the header present? 2411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2412$as_echo_n "checking $2 presence... " >&6; } 2413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2414/* end confdefs.h. */ 2415#include <$2> 2416_ACEOF 2417if ac_fn_c_try_cpp "$LINENO"; then : 2418 ac_header_preproc=yes 2419else 2420 ac_header_preproc=no 2421fi 2422rm -f conftest.err conftest.i conftest.$ac_ext 2423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2424$as_echo "$ac_header_preproc" >&6; } 2425 2426# So? What about this header? 2427case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2428 yes:no: ) 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2430$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2432$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2433 ;; 2434 no:yes:* ) 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2436$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2438$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2440$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2442$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2444$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2445( $as_echo "## ------------------------------------- ## 2446## Report this to joachim.metz@gmail.com ## 2447## ------------------------------------- ##" 2448 ) | sed "s/^/$as_me: WARNING: /" >&2 2449 ;; 2450esac 2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2452$as_echo_n "checking for $2... " >&6; } 2453if eval \${$3+:} false; then : 2454 $as_echo_n "(cached) " >&6 2455else 2456 eval "$3=\$ac_header_compiler" 2457fi 2458eval ac_res=\$$3 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2460$as_echo "$ac_res" >&6; } 2461fi 2462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2463 2464} # ac_fn_c_check_header_mongrel 2465 2466# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2467# ------------------------------------------- 2468# Tests whether TYPE exists after having included INCLUDES, setting cache 2469# variable VAR accordingly. 2470ac_fn_c_check_type () 2471{ 2472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2474$as_echo_n "checking for $2... " >&6; } 2475if eval \${$3+:} false; then : 2476 $as_echo_n "(cached) " >&6 2477else 2478 eval "$3=no" 2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2480/* end confdefs.h. */ 2481$4 2482int 2483main () 2484{ 2485if (sizeof ($2)) 2486 return 0; 2487 ; 2488 return 0; 2489} 2490_ACEOF 2491if ac_fn_c_try_compile "$LINENO"; then : 2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2493/* end confdefs.h. */ 2494$4 2495int 2496main () 2497{ 2498if (sizeof (($2))) 2499 return 0; 2500 ; 2501 return 0; 2502} 2503_ACEOF 2504if ac_fn_c_try_compile "$LINENO"; then : 2505 2506else 2507 eval "$3=yes" 2508fi 2509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2510fi 2511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2512fi 2513eval ac_res=\$$3 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2515$as_echo "$ac_res" >&6; } 2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2517 2518} # ac_fn_c_check_type 2519 2520# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2521# -------------------------------------------- 2522# Tries to find the compile-time value of EXPR in a program that includes 2523# INCLUDES, setting VAR accordingly. Returns whether the value could be 2524# computed 2525ac_fn_c_compute_int () 2526{ 2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2528 if test "$cross_compiling" = yes; then 2529 # Depending upon the size, compute the lo and hi bounds. 2530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2531/* end confdefs.h. */ 2532$4 2533int 2534main () 2535{ 2536static int test_array [1 - 2 * !(($2) >= 0)]; 2537test_array [0] = 0; 2538return test_array [0]; 2539 2540 ; 2541 return 0; 2542} 2543_ACEOF 2544if ac_fn_c_try_compile "$LINENO"; then : 2545 ac_lo=0 ac_mid=0 2546 while :; do 2547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2548/* end confdefs.h. */ 2549$4 2550int 2551main () 2552{ 2553static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2554test_array [0] = 0; 2555return test_array [0]; 2556 2557 ; 2558 return 0; 2559} 2560_ACEOF 2561if ac_fn_c_try_compile "$LINENO"; then : 2562 ac_hi=$ac_mid; break 2563else 2564 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2565 if test $ac_lo -le $ac_mid; then 2566 ac_lo= ac_hi= 2567 break 2568 fi 2569 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2570fi 2571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2572 done 2573else 2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2575/* end confdefs.h. */ 2576$4 2577int 2578main () 2579{ 2580static int test_array [1 - 2 * !(($2) < 0)]; 2581test_array [0] = 0; 2582return test_array [0]; 2583 2584 ; 2585 return 0; 2586} 2587_ACEOF 2588if ac_fn_c_try_compile "$LINENO"; then : 2589 ac_hi=-1 ac_mid=-1 2590 while :; do 2591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2592/* end confdefs.h. */ 2593$4 2594int 2595main () 2596{ 2597static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2598test_array [0] = 0; 2599return test_array [0]; 2600 2601 ; 2602 return 0; 2603} 2604_ACEOF 2605if ac_fn_c_try_compile "$LINENO"; then : 2606 ac_lo=$ac_mid; break 2607else 2608 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2609 if test $ac_mid -le $ac_hi; then 2610 ac_lo= ac_hi= 2611 break 2612 fi 2613 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2614fi 2615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2616 done 2617else 2618 ac_lo= ac_hi= 2619fi 2620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2621fi 2622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2623# Binary search between lo and hi bounds. 2624while test "x$ac_lo" != "x$ac_hi"; do 2625 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2627/* end confdefs.h. */ 2628$4 2629int 2630main () 2631{ 2632static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2633test_array [0] = 0; 2634return test_array [0]; 2635 2636 ; 2637 return 0; 2638} 2639_ACEOF 2640if ac_fn_c_try_compile "$LINENO"; then : 2641 ac_hi=$ac_mid 2642else 2643 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2644fi 2645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2646done 2647case $ac_lo in #(( 2648?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2649'') ac_retval=1 ;; 2650esac 2651 else 2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2653/* end confdefs.h. */ 2654$4 2655static long int longval () { return $2; } 2656static unsigned long int ulongval () { return $2; } 2657#include <stdio.h> 2658#include <stdlib.h> 2659int 2660main () 2661{ 2662 2663 FILE *f = fopen ("conftest.val", "w"); 2664 if (! f) 2665 return 1; 2666 if (($2) < 0) 2667 { 2668 long int i = longval (); 2669 if (i != ($2)) 2670 return 1; 2671 fprintf (f, "%ld", i); 2672 } 2673 else 2674 { 2675 unsigned long int i = ulongval (); 2676 if (i != ($2)) 2677 return 1; 2678 fprintf (f, "%lu", i); 2679 } 2680 /* Do not output a trailing newline, as this causes \r\n confusion 2681 on some platforms. */ 2682 return ferror (f) || fclose (f) != 0; 2683 2684 ; 2685 return 0; 2686} 2687_ACEOF 2688if ac_fn_c_try_run "$LINENO"; then : 2689 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2690else 2691 ac_retval=1 2692fi 2693rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2694 conftest.$ac_objext conftest.beam conftest.$ac_ext 2695rm -f conftest.val 2696 2697 fi 2698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2699 as_fn_set_status $ac_retval 2700 2701} # ac_fn_c_compute_int 2702 2703# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2704# --------------------------------------------- 2705# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2706# accordingly. 2707ac_fn_c_check_decl () 2708{ 2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2710 as_decl_name=`echo $2|sed 's/ *(.*//'` 2711 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2713$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2714if eval \${$3+:} false; then : 2715 $as_echo_n "(cached) " >&6 2716else 2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2718/* end confdefs.h. */ 2719$4 2720int 2721main () 2722{ 2723#ifndef $as_decl_name 2724#ifdef __cplusplus 2725 (void) $as_decl_use; 2726#else 2727 (void) $as_decl_name; 2728#endif 2729#endif 2730 2731 ; 2732 return 0; 2733} 2734_ACEOF 2735if ac_fn_c_try_compile "$LINENO"; then : 2736 eval "$3=yes" 2737else 2738 eval "$3=no" 2739fi 2740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2741fi 2742eval ac_res=\$$3 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2744$as_echo "$ac_res" >&6; } 2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2746 2747} # ac_fn_c_check_decl 2748cat >config.log <<_ACEOF 2749This file contains any messages produced by compilers while 2750running configure, to aid debugging if configure makes a mistake. 2751 2752It was created by liblnk $as_me 20210417, which was 2753generated by GNU Autoconf 2.69. Invocation command line was 2754 2755 $ $0 $@ 2756 2757_ACEOF 2758exec 5>>config.log 2759{ 2760cat <<_ASUNAME 2761## --------- ## 2762## Platform. ## 2763## --------- ## 2764 2765hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2766uname -m = `(uname -m) 2>/dev/null || echo unknown` 2767uname -r = `(uname -r) 2>/dev/null || echo unknown` 2768uname -s = `(uname -s) 2>/dev/null || echo unknown` 2769uname -v = `(uname -v) 2>/dev/null || echo unknown` 2770 2771/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2772/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2773 2774/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2775/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2776/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2777/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2778/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2779/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2780/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2781 2782_ASUNAME 2783 2784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2785for as_dir in $PATH 2786do 2787 IFS=$as_save_IFS 2788 test -z "$as_dir" && as_dir=. 2789 $as_echo "PATH: $as_dir" 2790 done 2791IFS=$as_save_IFS 2792 2793} >&5 2794 2795cat >&5 <<_ACEOF 2796 2797 2798## ----------- ## 2799## Core tests. ## 2800## ----------- ## 2801 2802_ACEOF 2803 2804 2805# Keep a trace of the command line. 2806# Strip out --no-create and --no-recursion so they do not pile up. 2807# Strip out --silent because we don't want to record it for future runs. 2808# Also quote any args containing shell meta-characters. 2809# Make two passes to allow for proper duplicate-argument suppression. 2810ac_configure_args= 2811ac_configure_args0= 2812ac_configure_args1= 2813ac_must_keep_next=false 2814for ac_pass in 1 2 2815do 2816 for ac_arg 2817 do 2818 case $ac_arg in 2819 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2821 | -silent | --silent | --silen | --sile | --sil) 2822 continue ;; 2823 *\'*) 2824 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2825 esac 2826 case $ac_pass in 2827 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2828 2) 2829 as_fn_append ac_configure_args1 " '$ac_arg'" 2830 if test $ac_must_keep_next = true; then 2831 ac_must_keep_next=false # Got value, back to normal. 2832 else 2833 case $ac_arg in 2834 *=* | --config-cache | -C | -disable-* | --disable-* \ 2835 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2836 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2837 | -with-* | --with-* | -without-* | --without-* | --x) 2838 case "$ac_configure_args0 " in 2839 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2840 esac 2841 ;; 2842 -* ) ac_must_keep_next=true ;; 2843 esac 2844 fi 2845 as_fn_append ac_configure_args " '$ac_arg'" 2846 ;; 2847 esac 2848 done 2849done 2850{ ac_configure_args0=; unset ac_configure_args0;} 2851{ ac_configure_args1=; unset ac_configure_args1;} 2852 2853# When interrupted or exit'd, cleanup temporary files, and complete 2854# config.log. We remove comments because anyway the quotes in there 2855# would cause problems or look ugly. 2856# WARNING: Use '\'' to represent an apostrophe within the trap. 2857# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2858trap 'exit_status=$? 2859 # Save into config.log some information that might help in debugging. 2860 { 2861 echo 2862 2863 $as_echo "## ---------------- ## 2864## Cache variables. ## 2865## ---------------- ##" 2866 echo 2867 # The following way of writing the cache mishandles newlines in values, 2868( 2869 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2870 eval ac_val=\$$ac_var 2871 case $ac_val in #( 2872 *${as_nl}*) 2873 case $ac_var in #( 2874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2875$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2876 esac 2877 case $ac_var in #( 2878 _ | IFS | as_nl) ;; #( 2879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2880 *) { eval $ac_var=; unset $ac_var;} ;; 2881 esac ;; 2882 esac 2883 done 2884 (set) 2>&1 | 2885 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2886 *${as_nl}ac_space=\ *) 2887 sed -n \ 2888 "s/'\''/'\''\\\\'\'''\''/g; 2889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2890 ;; #( 2891 *) 2892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2893 ;; 2894 esac | 2895 sort 2896) 2897 echo 2898 2899 $as_echo "## ----------------- ## 2900## Output variables. ## 2901## ----------------- ##" 2902 echo 2903 for ac_var in $ac_subst_vars 2904 do 2905 eval ac_val=\$$ac_var 2906 case $ac_val in 2907 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2908 esac 2909 $as_echo "$ac_var='\''$ac_val'\''" 2910 done | sort 2911 echo 2912 2913 if test -n "$ac_subst_files"; then 2914 $as_echo "## ------------------- ## 2915## File substitutions. ## 2916## ------------------- ##" 2917 echo 2918 for ac_var in $ac_subst_files 2919 do 2920 eval ac_val=\$$ac_var 2921 case $ac_val in 2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2923 esac 2924 $as_echo "$ac_var='\''$ac_val'\''" 2925 done | sort 2926 echo 2927 fi 2928 2929 if test -s confdefs.h; then 2930 $as_echo "## ----------- ## 2931## confdefs.h. ## 2932## ----------- ##" 2933 echo 2934 cat confdefs.h 2935 echo 2936 fi 2937 test "$ac_signal" != 0 && 2938 $as_echo "$as_me: caught signal $ac_signal" 2939 $as_echo "$as_me: exit $exit_status" 2940 } >&5 2941 rm -f core *.core core.conftest.* && 2942 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2943 exit $exit_status 2944' 0 2945for ac_signal in 1 2 13 15; do 2946 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2947done 2948ac_signal=0 2949 2950# confdefs.h avoids OS command line length limits that DEFS can exceed. 2951rm -f -r conftest* confdefs.h 2952 2953$as_echo "/* confdefs.h */" > confdefs.h 2954 2955# Predefined preprocessor variables. 2956 2957cat >>confdefs.h <<_ACEOF 2958#define PACKAGE_NAME "$PACKAGE_NAME" 2959_ACEOF 2960 2961cat >>confdefs.h <<_ACEOF 2962#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2963_ACEOF 2964 2965cat >>confdefs.h <<_ACEOF 2966#define PACKAGE_VERSION "$PACKAGE_VERSION" 2967_ACEOF 2968 2969cat >>confdefs.h <<_ACEOF 2970#define PACKAGE_STRING "$PACKAGE_STRING" 2971_ACEOF 2972 2973cat >>confdefs.h <<_ACEOF 2974#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2975_ACEOF 2976 2977cat >>confdefs.h <<_ACEOF 2978#define PACKAGE_URL "$PACKAGE_URL" 2979_ACEOF 2980 2981 2982# Let the site file select an alternate cache file if it wants to. 2983# Prefer an explicitly selected file to automatically selected ones. 2984ac_site_file1=NONE 2985ac_site_file2=NONE 2986if test -n "$CONFIG_SITE"; then 2987 # We do not want a PATH search for config.site. 2988 case $CONFIG_SITE in #(( 2989 -*) ac_site_file1=./$CONFIG_SITE;; 2990 */*) ac_site_file1=$CONFIG_SITE;; 2991 *) ac_site_file1=./$CONFIG_SITE;; 2992 esac 2993elif test "x$prefix" != xNONE; then 2994 ac_site_file1=$prefix/share/config.site 2995 ac_site_file2=$prefix/etc/config.site 2996else 2997 ac_site_file1=$ac_default_prefix/share/config.site 2998 ac_site_file2=$ac_default_prefix/etc/config.site 2999fi 3000for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3001do 3002 test "x$ac_site_file" = xNONE && continue 3003 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3005$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3006 sed 's/^/| /' "$ac_site_file" >&5 3007 . "$ac_site_file" \ 3008 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3009$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3010as_fn_error $? "failed to load site script $ac_site_file 3011See \`config.log' for more details" "$LINENO" 5; } 3012 fi 3013done 3014 3015if test -r "$cache_file"; then 3016 # Some versions of bash will fail to source /dev/null (special files 3017 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3018 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3020$as_echo "$as_me: loading cache $cache_file" >&6;} 3021 case $cache_file in 3022 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3023 *) . "./$cache_file";; 3024 esac 3025 fi 3026else 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3028$as_echo "$as_me: creating cache $cache_file" >&6;} 3029 >$cache_file 3030fi 3031 3032gt_needs="$gt_needs " 3033# Check that the precious variables saved in the cache have kept the same 3034# value. 3035ac_cache_corrupted=false 3036for ac_var in $ac_precious_vars; do 3037 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3038 eval ac_new_set=\$ac_env_${ac_var}_set 3039 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3040 eval ac_new_val=\$ac_env_${ac_var}_value 3041 case $ac_old_set,$ac_new_set in 3042 set,) 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3044$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3045 ac_cache_corrupted=: ;; 3046 ,set) 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3048$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3049 ac_cache_corrupted=: ;; 3050 ,);; 3051 *) 3052 if test "x$ac_old_val" != "x$ac_new_val"; then 3053 # differences in whitespace do not lead to failure. 3054 ac_old_val_w=`echo x $ac_old_val` 3055 ac_new_val_w=`echo x $ac_new_val` 3056 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3058$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3059 ac_cache_corrupted=: 3060 else 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3062$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3063 eval $ac_var=\$ac_old_val 3064 fi 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3066$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3068$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3069 fi;; 3070 esac 3071 # Pass precious variables to config.status. 3072 if test "$ac_new_set" = set; then 3073 case $ac_new_val in 3074 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3075 *) ac_arg=$ac_var=$ac_new_val ;; 3076 esac 3077 case " $ac_configure_args " in 3078 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3079 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3080 esac 3081 fi 3082done 3083if $ac_cache_corrupted; then 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3085$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3087$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3088 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3089fi 3090## -------------------- ## 3091## Main body of script. ## 3092## -------------------- ## 3093 3094ac_ext=c 3095ac_cpp='$CPP $CPPFLAGS' 3096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3098ac_compiler_gnu=$ac_cv_c_compiler_gnu 3099 3100 3101 3102 3103 3104am__api_version='1.16' 3105 3106ac_aux_dir= 3107for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3108 if test -f "$ac_dir/install-sh"; then 3109 ac_aux_dir=$ac_dir 3110 ac_install_sh="$ac_aux_dir/install-sh -c" 3111 break 3112 elif test -f "$ac_dir/install.sh"; then 3113 ac_aux_dir=$ac_dir 3114 ac_install_sh="$ac_aux_dir/install.sh -c" 3115 break 3116 elif test -f "$ac_dir/shtool"; then 3117 ac_aux_dir=$ac_dir 3118 ac_install_sh="$ac_aux_dir/shtool install -c" 3119 break 3120 fi 3121done 3122if test -z "$ac_aux_dir"; then 3123 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3124fi 3125 3126# These three variables are undocumented and unsupported, 3127# and are intended to be withdrawn in a future Autoconf release. 3128# They can cause serious problems if a builder's source tree is in a directory 3129# whose full name contains unusual characters. 3130ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3131ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3132ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3133 3134 3135# Find a good install program. We prefer a C program (faster), 3136# so one script is as good as another. But avoid the broken or 3137# incompatible versions: 3138# SysV /etc/install, /usr/sbin/install 3139# SunOS /usr/etc/install 3140# IRIX /sbin/install 3141# AIX /bin/install 3142# AmigaOS /C/install, which installs bootblocks on floppy discs 3143# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3144# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3145# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3146# OS/2's system install, which has a completely different semantic 3147# ./install, which can be erroneously created by make from ./install.sh. 3148# Reject install programs that cannot install multiple files. 3149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3150$as_echo_n "checking for a BSD-compatible install... " >&6; } 3151if test -z "$INSTALL"; then 3152if ${ac_cv_path_install+:} false; then : 3153 $as_echo_n "(cached) " >&6 3154else 3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3156for as_dir in $PATH 3157do 3158 IFS=$as_save_IFS 3159 test -z "$as_dir" && as_dir=. 3160 # Account for people who put trailing slashes in PATH elements. 3161case $as_dir/ in #(( 3162 ./ | .// | /[cC]/* | \ 3163 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3164 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3165 /usr/ucb/* ) ;; 3166 *) 3167 # OSF1 and SCO ODT 3.0 have their own names for install. 3168 # Don't use installbsd from OSF since it installs stuff as root 3169 # by default. 3170 for ac_prog in ginstall scoinst install; do 3171 for ac_exec_ext in '' $ac_executable_extensions; do 3172 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3173 if test $ac_prog = install && 3174 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3175 # AIX install. It has an incompatible calling convention. 3176 : 3177 elif test $ac_prog = install && 3178 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3179 # program-specific install script used by HP pwplus--don't use. 3180 : 3181 else 3182 rm -rf conftest.one conftest.two conftest.dir 3183 echo one > conftest.one 3184 echo two > conftest.two 3185 mkdir conftest.dir 3186 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3187 test -s conftest.one && test -s conftest.two && 3188 test -s conftest.dir/conftest.one && 3189 test -s conftest.dir/conftest.two 3190 then 3191 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3192 break 3 3193 fi 3194 fi 3195 fi 3196 done 3197 done 3198 ;; 3199esac 3200 3201 done 3202IFS=$as_save_IFS 3203 3204rm -rf conftest.one conftest.two conftest.dir 3205 3206fi 3207 if test "${ac_cv_path_install+set}" = set; then 3208 INSTALL=$ac_cv_path_install 3209 else 3210 # As a last resort, use the slow shell script. Don't cache a 3211 # value for INSTALL within a source directory, because that will 3212 # break other packages using the cache if that directory is 3213 # removed, or if the value is a relative name. 3214 INSTALL=$ac_install_sh 3215 fi 3216fi 3217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3218$as_echo "$INSTALL" >&6; } 3219 3220# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3221# It thinks the first close brace ends the variable substitution. 3222test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3223 3224test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3225 3226test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3227 3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3229$as_echo_n "checking whether build environment is sane... " >&6; } 3230# Reject unsafe characters in $srcdir or the absolute working directory 3231# name. Accept space and tab only in the latter. 3232am_lf=' 3233' 3234case `pwd` in 3235 *[\\\"\#\$\&\'\`$am_lf]*) 3236 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3237esac 3238case $srcdir in 3239 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3240 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3241esac 3242 3243# Do 'set' in a subshell so we don't clobber the current shell's 3244# arguments. Must try -L first in case configure is actually a 3245# symlink; some systems play weird games with the mod time of symlinks 3246# (eg FreeBSD returns the mod time of the symlink's containing 3247# directory). 3248if ( 3249 am_has_slept=no 3250 for am_try in 1 2; do 3251 echo "timestamp, slept: $am_has_slept" > conftest.file 3252 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3253 if test "$*" = "X"; then 3254 # -L didn't work. 3255 set X `ls -t "$srcdir/configure" conftest.file` 3256 fi 3257 if test "$*" != "X $srcdir/configure conftest.file" \ 3258 && test "$*" != "X conftest.file $srcdir/configure"; then 3259 3260 # If neither matched, then we have a broken ls. This can happen 3261 # if, for instance, CONFIG_SHELL is bash and it inherits a 3262 # broken ls alias from the environment. This has actually 3263 # happened. Such a system could not be considered "sane". 3264 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3265 alias in your environment" "$LINENO" 5 3266 fi 3267 if test "$2" = conftest.file || test $am_try -eq 2; then 3268 break 3269 fi 3270 # Just in case. 3271 sleep 1 3272 am_has_slept=yes 3273 done 3274 test "$2" = conftest.file 3275 ) 3276then 3277 # Ok. 3278 : 3279else 3280 as_fn_error $? "newly created file is older than distributed files! 3281Check your system clock" "$LINENO" 5 3282fi 3283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3284$as_echo "yes" >&6; } 3285# If we didn't sleep, we still need to ensure time stamps of config.status and 3286# generated files are strictly newer. 3287am_sleep_pid= 3288if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3289 ( sleep 1 ) & 3290 am_sleep_pid=$! 3291fi 3292 3293rm -f conftest.file 3294 3295test "$program_prefix" != NONE && 3296 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3297# Use a double $ so make ignores it. 3298test "$program_suffix" != NONE && 3299 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3300# Double any \ or $. 3301# By default was `s,x,x', remove it if useless. 3302ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3303program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3304 3305# Expand $ac_aux_dir to an absolute path. 3306am_aux_dir=`cd "$ac_aux_dir" && pwd` 3307 3308if test x"${MISSING+set}" != xset; then 3309 case $am_aux_dir in 3310 *\ * | *\ *) 3311 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3312 *) 3313 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3314 esac 3315fi 3316# Use eval to expand $SHELL 3317if eval "$MISSING --is-lightweight"; then 3318 am_missing_run="$MISSING " 3319else 3320 am_missing_run= 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3322$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3323fi 3324 3325if test x"${install_sh+set}" != xset; then 3326 case $am_aux_dir in 3327 *\ * | *\ *) 3328 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3329 *) 3330 install_sh="\${SHELL} $am_aux_dir/install-sh" 3331 esac 3332fi 3333 3334# Installed binaries are usually stripped using 'strip' when the user 3335# run "make install-strip". However 'strip' might not be the right 3336# tool to use in cross-compilation environments, therefore Automake 3337# will honor the 'STRIP' environment variable to overrule this program. 3338if test "$cross_compiling" != no; then 3339 if test -n "$ac_tool_prefix"; then 3340 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3341set dummy ${ac_tool_prefix}strip; ac_word=$2 3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3343$as_echo_n "checking for $ac_word... " >&6; } 3344if ${ac_cv_prog_STRIP+:} false; then : 3345 $as_echo_n "(cached) " >&6 3346else 3347 if test -n "$STRIP"; then 3348 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3349else 3350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351for as_dir in $PATH 3352do 3353 IFS=$as_save_IFS 3354 test -z "$as_dir" && as_dir=. 3355 for ac_exec_ext in '' $ac_executable_extensions; do 3356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3357 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3359 break 2 3360 fi 3361done 3362 done 3363IFS=$as_save_IFS 3364 3365fi 3366fi 3367STRIP=$ac_cv_prog_STRIP 3368if test -n "$STRIP"; then 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3370$as_echo "$STRIP" >&6; } 3371else 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3373$as_echo "no" >&6; } 3374fi 3375 3376 3377fi 3378if test -z "$ac_cv_prog_STRIP"; then 3379 ac_ct_STRIP=$STRIP 3380 # Extract the first word of "strip", so it can be a program name with args. 3381set dummy strip; ac_word=$2 3382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3383$as_echo_n "checking for $ac_word... " >&6; } 3384if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3385 $as_echo_n "(cached) " >&6 3386else 3387 if test -n "$ac_ct_STRIP"; then 3388 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3389else 3390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3391for as_dir in $PATH 3392do 3393 IFS=$as_save_IFS 3394 test -z "$as_dir" && as_dir=. 3395 for ac_exec_ext in '' $ac_executable_extensions; do 3396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3397 ac_cv_prog_ac_ct_STRIP="strip" 3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3399 break 2 3400 fi 3401done 3402 done 3403IFS=$as_save_IFS 3404 3405fi 3406fi 3407ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3408if test -n "$ac_ct_STRIP"; then 3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3410$as_echo "$ac_ct_STRIP" >&6; } 3411else 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3413$as_echo "no" >&6; } 3414fi 3415 3416 if test "x$ac_ct_STRIP" = x; then 3417 STRIP=":" 3418 else 3419 case $cross_compiling:$ac_tool_warned in 3420yes:) 3421{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3422$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3423ac_tool_warned=yes ;; 3424esac 3425 STRIP=$ac_ct_STRIP 3426 fi 3427else 3428 STRIP="$ac_cv_prog_STRIP" 3429fi 3430 3431fi 3432INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3433 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3435$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3436if test -z "$MKDIR_P"; then 3437 if ${ac_cv_path_mkdir+:} false; then : 3438 $as_echo_n "(cached) " >&6 3439else 3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3441for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3442do 3443 IFS=$as_save_IFS 3444 test -z "$as_dir" && as_dir=. 3445 for ac_prog in mkdir gmkdir; do 3446 for ac_exec_ext in '' $ac_executable_extensions; do 3447 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3448 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3449 'mkdir (GNU coreutils) '* | \ 3450 'mkdir (coreutils) '* | \ 3451 'mkdir (fileutils) '4.1*) 3452 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3453 break 3;; 3454 esac 3455 done 3456 done 3457 done 3458IFS=$as_save_IFS 3459 3460fi 3461 3462 test -d ./--version && rmdir ./--version 3463 if test "${ac_cv_path_mkdir+set}" = set; then 3464 MKDIR_P="$ac_cv_path_mkdir -p" 3465 else 3466 # As a last resort, use the slow shell script. Don't cache a 3467 # value for MKDIR_P within a source directory, because that will 3468 # break other packages using the cache if that directory is 3469 # removed, or if the value is a relative name. 3470 MKDIR_P="$ac_install_sh -d" 3471 fi 3472fi 3473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3474$as_echo "$MKDIR_P" >&6; } 3475 3476for ac_prog in gawk mawk nawk awk 3477do 3478 # Extract the first word of "$ac_prog", so it can be a program name with args. 3479set dummy $ac_prog; ac_word=$2 3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3481$as_echo_n "checking for $ac_word... " >&6; } 3482if ${ac_cv_prog_AWK+:} false; then : 3483 $as_echo_n "(cached) " >&6 3484else 3485 if test -n "$AWK"; then 3486 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3487else 3488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3489for as_dir in $PATH 3490do 3491 IFS=$as_save_IFS 3492 test -z "$as_dir" && as_dir=. 3493 for ac_exec_ext in '' $ac_executable_extensions; do 3494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3495 ac_cv_prog_AWK="$ac_prog" 3496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3497 break 2 3498 fi 3499done 3500 done 3501IFS=$as_save_IFS 3502 3503fi 3504fi 3505AWK=$ac_cv_prog_AWK 3506if test -n "$AWK"; then 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3508$as_echo "$AWK" >&6; } 3509else 3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3511$as_echo "no" >&6; } 3512fi 3513 3514 3515 test -n "$AWK" && break 3516done 3517 3518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3519$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3520set x ${MAKE-make} 3521ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3522if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3523 $as_echo_n "(cached) " >&6 3524else 3525 cat >conftest.make <<\_ACEOF 3526SHELL = /bin/sh 3527all: 3528 @echo '@@@%%%=$(MAKE)=@@@%%%' 3529_ACEOF 3530# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3531case `${MAKE-make} -f conftest.make 2>/dev/null` in 3532 *@@@%%%=?*=@@@%%%*) 3533 eval ac_cv_prog_make_${ac_make}_set=yes;; 3534 *) 3535 eval ac_cv_prog_make_${ac_make}_set=no;; 3536esac 3537rm -f conftest.make 3538fi 3539if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3541$as_echo "yes" >&6; } 3542 SET_MAKE= 3543else 3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3545$as_echo "no" >&6; } 3546 SET_MAKE="MAKE=${MAKE-make}" 3547fi 3548 3549rm -rf .tst 2>/dev/null 3550mkdir .tst 2>/dev/null 3551if test -d .tst; then 3552 am__leading_dot=. 3553else 3554 am__leading_dot=_ 3555fi 3556rmdir .tst 2>/dev/null 3557 3558# Check whether --enable-silent-rules was given. 3559if test "${enable_silent_rules+set}" = set; then : 3560 enableval=$enable_silent_rules; 3561fi 3562 3563case $enable_silent_rules in # ((( 3564 yes) AM_DEFAULT_VERBOSITY=0;; 3565 no) AM_DEFAULT_VERBOSITY=1;; 3566 *) AM_DEFAULT_VERBOSITY=1;; 3567esac 3568am_make=${MAKE-make} 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3570$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3571if ${am_cv_make_support_nested_variables+:} false; then : 3572 $as_echo_n "(cached) " >&6 3573else 3574 if $as_echo 'TRUE=$(BAR$(V)) 3575BAR0=false 3576BAR1=true 3577V=1 3578am__doit: 3579 @$(TRUE) 3580.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3581 am_cv_make_support_nested_variables=yes 3582else 3583 am_cv_make_support_nested_variables=no 3584fi 3585fi 3586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3587$as_echo "$am_cv_make_support_nested_variables" >&6; } 3588if test $am_cv_make_support_nested_variables = yes; then 3589 AM_V='$(V)' 3590 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3591else 3592 AM_V=$AM_DEFAULT_VERBOSITY 3593 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3594fi 3595AM_BACKSLASH='\' 3596 3597if test "`cd $srcdir && pwd`" != "`pwd`"; then 3598 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3599 # is not polluted with repeated "-I." 3600 am__isrc=' -I$(srcdir)' 3601 # test to see if srcdir already configured 3602 if test -f $srcdir/config.status; then 3603 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3604 fi 3605fi 3606 3607# test whether we have cygpath 3608if test -z "$CYGPATH_W"; then 3609 if (cygpath --version) >/dev/null 2>/dev/null; then 3610 CYGPATH_W='cygpath -w' 3611 else 3612 CYGPATH_W=echo 3613 fi 3614fi 3615 3616 3617# Define the identity of the package. 3618 PACKAGE='liblnk' 3619 VERSION='20210417' 3620 3621 3622cat >>confdefs.h <<_ACEOF 3623#define PACKAGE "$PACKAGE" 3624_ACEOF 3625 3626 3627cat >>confdefs.h <<_ACEOF 3628#define VERSION "$VERSION" 3629_ACEOF 3630 3631# Some tools Automake needs. 3632 3633ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3634 3635 3636AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3637 3638 3639AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3640 3641 3642AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3643 3644 3645MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3646 3647# For better backward compatibility. To be removed once Automake 1.9.x 3648# dies out for good. For more background, see: 3649# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3650# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3651mkdir_p='$(MKDIR_P)' 3652 3653# We need awk for the "check" target (and possibly the TAP driver). The 3654# system "awk" is bad on some platforms. 3655# Always define AMTAR for backward compatibility. Yes, it's still used 3656# in the wild :-( We should find a proper way to deprecate it ... 3657AMTAR='$${TAR-tar}' 3658 3659 3660# We'll loop over all known methods to create a tar archive until one works. 3661_am_tools='gnutar plaintar pax cpio none' 3662 3663# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3664 # There is notably a 21 bits limit for the UID and the GID. In fact, 3665 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3666 # and bug#13588). 3667 am_max_uid=2097151 # 2^21 - 1 3668 am_max_gid=$am_max_uid 3669 # The $UID and $GID variables are not portable, so we need to resort 3670 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3671 # below are definitely unexpected, so allow the users to see them 3672 # (that is, avoid stderr redirection). 3673 am_uid=`id -u || echo unknown` 3674 am_gid=`id -g || echo unknown` 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3676$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3677 if test $am_uid -le $am_max_uid; then 3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3679$as_echo "yes" >&6; } 3680 else 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3682$as_echo "no" >&6; } 3683 _am_tools=none 3684 fi 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3686$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3687 if test $am_gid -le $am_max_gid; then 3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3689$as_echo "yes" >&6; } 3690 else 3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3692$as_echo "no" >&6; } 3693 _am_tools=none 3694 fi 3695 3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3697$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3698 3699 # Go ahead even if we have the value already cached. We do so because we 3700 # need to set the values for the 'am__tar' and 'am__untar' variables. 3701 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3702 3703 for _am_tool in $_am_tools; do 3704 case $_am_tool in 3705 gnutar) 3706 for _am_tar in tar gnutar gtar; do 3707 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3708 ($_am_tar --version) >&5 2>&5 3709 ac_status=$? 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); } && break 3712 done 3713 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3714 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3715 am__untar="$_am_tar -xf -" 3716 ;; 3717 plaintar) 3718 # Must skip GNU tar: if it does not support --format= it doesn't create 3719 # ustar tarball either. 3720 (tar --version) >/dev/null 2>&1 && continue 3721 am__tar='tar chf - "$$tardir"' 3722 am__tar_='tar chf - "$tardir"' 3723 am__untar='tar xf -' 3724 ;; 3725 pax) 3726 am__tar='pax -L -x ustar -w "$$tardir"' 3727 am__tar_='pax -L -x ustar -w "$tardir"' 3728 am__untar='pax -r' 3729 ;; 3730 cpio) 3731 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3732 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3733 am__untar='cpio -i -H ustar -d' 3734 ;; 3735 none) 3736 am__tar=false 3737 am__tar_=false 3738 am__untar=false 3739 ;; 3740 esac 3741 3742 # If the value was cached, stop now. We just wanted to have am__tar 3743 # and am__untar set. 3744 test -n "${am_cv_prog_tar_ustar}" && break 3745 3746 # tar/untar a dummy directory, and stop if the command works. 3747 rm -rf conftest.dir 3748 mkdir conftest.dir 3749 echo GrepMe > conftest.dir/file 3750 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3751 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3752 ac_status=$? 3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3754 (exit $ac_status); } 3755 rm -rf conftest.dir 3756 if test -s conftest.tar; then 3757 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3758 ($am__untar <conftest.tar) >&5 2>&5 3759 ac_status=$? 3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3761 (exit $ac_status); } 3762 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3763 (cat conftest.dir/file) >&5 2>&5 3764 ac_status=$? 3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3766 (exit $ac_status); } 3767 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3768 fi 3769 done 3770 rm -rf conftest.dir 3771 3772 if ${am_cv_prog_tar_ustar+:} false; then : 3773 $as_echo_n "(cached) " >&6 3774else 3775 am_cv_prog_tar_ustar=$_am_tool 3776fi 3777 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3779$as_echo "$am_cv_prog_tar_ustar" >&6; } 3780 3781 3782 3783 3784 3785 3786# POSIX will say in a future version that running "rm -f" with no argument 3787# is OK; and we want to be able to make that assumption in our Makefile 3788# recipes. So use an aggressive probe to check that the usage we want is 3789# actually supported "in the wild" to an acceptable degree. 3790# See automake bug#10828. 3791# To make any issue more visible, cause the running configure to be aborted 3792# by default if the 'rm' program in use doesn't match our expectations; the 3793# user can still override this though. 3794if rm -f && rm -fr && rm -rf; then : OK; else 3795 cat >&2 <<'END' 3796Oops! 3797 3798Your 'rm' program seems unable to run without file operands specified 3799on the command line, even when the '-f' option is present. This is contrary 3800to the behaviour of most rm programs out there, and not conforming with 3801the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3802 3803Please tell bug-automake@gnu.org about your system, including the value 3804of your $PATH and any error possibly output before this message. This 3805can help us improve future automake versions. 3806 3807END 3808 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3809 echo 'Configuration will proceed anyway, since you have set the' >&2 3810 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3811 echo >&2 3812 else 3813 cat >&2 <<'END' 3814Aborting the configuration process, to ensure you take notice of the issue. 3815 3816You can download and install GNU coreutils to get an 'rm' implementation 3817that behaves properly: <https://www.gnu.org/software/coreutils/>. 3818 3819If you want to complete the configuration process using your problematic 3820'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3821to "yes", and re-run configure. 3822 3823END 3824 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3825 fi 3826fi 3827 3828 3829 3830 3831# Make sure we can run config.sub. 3832$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3833 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3834 3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3836$as_echo_n "checking build system type... " >&6; } 3837if ${ac_cv_build+:} false; then : 3838 $as_echo_n "(cached) " >&6 3839else 3840 ac_build_alias=$build_alias 3841test "x$ac_build_alias" = x && 3842 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3843test "x$ac_build_alias" = x && 3844 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3845ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3846 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3847 3848fi 3849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3850$as_echo "$ac_cv_build" >&6; } 3851case $ac_cv_build in 3852*-*-*) ;; 3853*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3854esac 3855build=$ac_cv_build 3856ac_save_IFS=$IFS; IFS='-' 3857set x $ac_cv_build 3858shift 3859build_cpu=$1 3860build_vendor=$2 3861shift; shift 3862# Remember, the first character of IFS is used to create $*, 3863# except with old shells: 3864build_os=$* 3865IFS=$ac_save_IFS 3866case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3867 3868 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3870$as_echo_n "checking host system type... " >&6; } 3871if ${ac_cv_host+:} false; then : 3872 $as_echo_n "(cached) " >&6 3873else 3874 if test "x$host_alias" = x; then 3875 ac_cv_host=$ac_cv_build 3876else 3877 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3878 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3879fi 3880 3881fi 3882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3883$as_echo "$ac_cv_host" >&6; } 3884case $ac_cv_host in 3885*-*-*) ;; 3886*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3887esac 3888host=$ac_cv_host 3889ac_save_IFS=$IFS; IFS='-' 3890set x $ac_cv_host 3891shift 3892host_cpu=$1 3893host_vendor=$2 3894shift; shift 3895# Remember, the first character of IFS is used to create $*, 3896# except with old shells: 3897host_os=$* 3898IFS=$ac_save_IFS 3899case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3900 3901 3902 3903enable_win32_dll=yes 3904 3905case $host in 3906*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3907 if test -n "$ac_tool_prefix"; then 3908 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3909set dummy ${ac_tool_prefix}as; ac_word=$2 3910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3911$as_echo_n "checking for $ac_word... " >&6; } 3912if ${ac_cv_prog_AS+:} false; then : 3913 $as_echo_n "(cached) " >&6 3914else 3915 if test -n "$AS"; then 3916 ac_cv_prog_AS="$AS" # Let the user override the test. 3917else 3918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3919for as_dir in $PATH 3920do 3921 IFS=$as_save_IFS 3922 test -z "$as_dir" && as_dir=. 3923 for ac_exec_ext in '' $ac_executable_extensions; do 3924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3925 ac_cv_prog_AS="${ac_tool_prefix}as" 3926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3927 break 2 3928 fi 3929done 3930 done 3931IFS=$as_save_IFS 3932 3933fi 3934fi 3935AS=$ac_cv_prog_AS 3936if test -n "$AS"; then 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3938$as_echo "$AS" >&6; } 3939else 3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3941$as_echo "no" >&6; } 3942fi 3943 3944 3945fi 3946if test -z "$ac_cv_prog_AS"; then 3947 ac_ct_AS=$AS 3948 # Extract the first word of "as", so it can be a program name with args. 3949set dummy as; ac_word=$2 3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3951$as_echo_n "checking for $ac_word... " >&6; } 3952if ${ac_cv_prog_ac_ct_AS+:} false; then : 3953 $as_echo_n "(cached) " >&6 3954else 3955 if test -n "$ac_ct_AS"; then 3956 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3957else 3958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3959for as_dir in $PATH 3960do 3961 IFS=$as_save_IFS 3962 test -z "$as_dir" && as_dir=. 3963 for ac_exec_ext in '' $ac_executable_extensions; do 3964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3965 ac_cv_prog_ac_ct_AS="as" 3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3967 break 2 3968 fi 3969done 3970 done 3971IFS=$as_save_IFS 3972 3973fi 3974fi 3975ac_ct_AS=$ac_cv_prog_ac_ct_AS 3976if test -n "$ac_ct_AS"; then 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3978$as_echo "$ac_ct_AS" >&6; } 3979else 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3981$as_echo "no" >&6; } 3982fi 3983 3984 if test "x$ac_ct_AS" = x; then 3985 AS="false" 3986 else 3987 case $cross_compiling:$ac_tool_warned in 3988yes:) 3989{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3990$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3991ac_tool_warned=yes ;; 3992esac 3993 AS=$ac_ct_AS 3994 fi 3995else 3996 AS="$ac_cv_prog_AS" 3997fi 3998 3999 if test -n "$ac_tool_prefix"; then 4000 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4001set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4003$as_echo_n "checking for $ac_word... " >&6; } 4004if ${ac_cv_prog_DLLTOOL+:} false; then : 4005 $as_echo_n "(cached) " >&6 4006else 4007 if test -n "$DLLTOOL"; then 4008 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4009else 4010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4011for as_dir in $PATH 4012do 4013 IFS=$as_save_IFS 4014 test -z "$as_dir" && as_dir=. 4015 for ac_exec_ext in '' $ac_executable_extensions; do 4016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4017 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4019 break 2 4020 fi 4021done 4022 done 4023IFS=$as_save_IFS 4024 4025fi 4026fi 4027DLLTOOL=$ac_cv_prog_DLLTOOL 4028if test -n "$DLLTOOL"; then 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4030$as_echo "$DLLTOOL" >&6; } 4031else 4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4033$as_echo "no" >&6; } 4034fi 4035 4036 4037fi 4038if test -z "$ac_cv_prog_DLLTOOL"; then 4039 ac_ct_DLLTOOL=$DLLTOOL 4040 # Extract the first word of "dlltool", so it can be a program name with args. 4041set dummy dlltool; ac_word=$2 4042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4043$as_echo_n "checking for $ac_word... " >&6; } 4044if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4045 $as_echo_n "(cached) " >&6 4046else 4047 if test -n "$ac_ct_DLLTOOL"; then 4048 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4049else 4050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4051for as_dir in $PATH 4052do 4053 IFS=$as_save_IFS 4054 test -z "$as_dir" && as_dir=. 4055 for ac_exec_ext in '' $ac_executable_extensions; do 4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4057 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4059 break 2 4060 fi 4061done 4062 done 4063IFS=$as_save_IFS 4064 4065fi 4066fi 4067ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4068if test -n "$ac_ct_DLLTOOL"; then 4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4070$as_echo "$ac_ct_DLLTOOL" >&6; } 4071else 4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4073$as_echo "no" >&6; } 4074fi 4075 4076 if test "x$ac_ct_DLLTOOL" = x; then 4077 DLLTOOL="false" 4078 else 4079 case $cross_compiling:$ac_tool_warned in 4080yes:) 4081{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4082$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4083ac_tool_warned=yes ;; 4084esac 4085 DLLTOOL=$ac_ct_DLLTOOL 4086 fi 4087else 4088 DLLTOOL="$ac_cv_prog_DLLTOOL" 4089fi 4090 4091 if test -n "$ac_tool_prefix"; then 4092 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4093set dummy ${ac_tool_prefix}objdump; ac_word=$2 4094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4095$as_echo_n "checking for $ac_word... " >&6; } 4096if ${ac_cv_prog_OBJDUMP+:} false; then : 4097 $as_echo_n "(cached) " >&6 4098else 4099 if test -n "$OBJDUMP"; then 4100 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4101else 4102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4103for as_dir in $PATH 4104do 4105 IFS=$as_save_IFS 4106 test -z "$as_dir" && as_dir=. 4107 for ac_exec_ext in '' $ac_executable_extensions; do 4108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4109 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4111 break 2 4112 fi 4113done 4114 done 4115IFS=$as_save_IFS 4116 4117fi 4118fi 4119OBJDUMP=$ac_cv_prog_OBJDUMP 4120if test -n "$OBJDUMP"; then 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4122$as_echo "$OBJDUMP" >&6; } 4123else 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4125$as_echo "no" >&6; } 4126fi 4127 4128 4129fi 4130if test -z "$ac_cv_prog_OBJDUMP"; then 4131 ac_ct_OBJDUMP=$OBJDUMP 4132 # Extract the first word of "objdump", so it can be a program name with args. 4133set dummy objdump; ac_word=$2 4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4135$as_echo_n "checking for $ac_word... " >&6; } 4136if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4137 $as_echo_n "(cached) " >&6 4138else 4139 if test -n "$ac_ct_OBJDUMP"; then 4140 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4141else 4142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4143for as_dir in $PATH 4144do 4145 IFS=$as_save_IFS 4146 test -z "$as_dir" && as_dir=. 4147 for ac_exec_ext in '' $ac_executable_extensions; do 4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4149 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4151 break 2 4152 fi 4153done 4154 done 4155IFS=$as_save_IFS 4156 4157fi 4158fi 4159ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4160if test -n "$ac_ct_OBJDUMP"; then 4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4162$as_echo "$ac_ct_OBJDUMP" >&6; } 4163else 4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4165$as_echo "no" >&6; } 4166fi 4167 4168 if test "x$ac_ct_OBJDUMP" = x; then 4169 OBJDUMP="false" 4170 else 4171 case $cross_compiling:$ac_tool_warned in 4172yes:) 4173{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4174$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4175ac_tool_warned=yes ;; 4176esac 4177 OBJDUMP=$ac_ct_OBJDUMP 4178 fi 4179else 4180 OBJDUMP="$ac_cv_prog_OBJDUMP" 4181fi 4182 4183 ;; 4184esac 4185 4186test -z "$AS" && AS=as 4187 4188 4189 4190 4191 4192test -z "$DLLTOOL" && DLLTOOL=dlltool 4193 4194 4195 4196 4197 4198test -z "$OBJDUMP" && OBJDUMP=objdump 4199 4200 4201 4202 4203 4204 4205 4206 4207ac_ext=c 4208ac_cpp='$CPP $CPPFLAGS' 4209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4211ac_compiler_gnu=$ac_cv_c_compiler_gnu 4212if test -n "$ac_tool_prefix"; then 4213 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4214set dummy ${ac_tool_prefix}gcc; ac_word=$2 4215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4216$as_echo_n "checking for $ac_word... " >&6; } 4217if ${ac_cv_prog_CC+:} false; then : 4218 $as_echo_n "(cached) " >&6 4219else 4220 if test -n "$CC"; then 4221 ac_cv_prog_CC="$CC" # Let the user override the test. 4222else 4223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4224for as_dir in $PATH 4225do 4226 IFS=$as_save_IFS 4227 test -z "$as_dir" && as_dir=. 4228 for ac_exec_ext in '' $ac_executable_extensions; do 4229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4230 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4232 break 2 4233 fi 4234done 4235 done 4236IFS=$as_save_IFS 4237 4238fi 4239fi 4240CC=$ac_cv_prog_CC 4241if test -n "$CC"; then 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4243$as_echo "$CC" >&6; } 4244else 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4246$as_echo "no" >&6; } 4247fi 4248 4249 4250fi 4251if test -z "$ac_cv_prog_CC"; then 4252 ac_ct_CC=$CC 4253 # Extract the first word of "gcc", so it can be a program name with args. 4254set dummy gcc; ac_word=$2 4255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4256$as_echo_n "checking for $ac_word... " >&6; } 4257if ${ac_cv_prog_ac_ct_CC+:} false; then : 4258 $as_echo_n "(cached) " >&6 4259else 4260 if test -n "$ac_ct_CC"; then 4261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4262else 4263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4264for as_dir in $PATH 4265do 4266 IFS=$as_save_IFS 4267 test -z "$as_dir" && as_dir=. 4268 for ac_exec_ext in '' $ac_executable_extensions; do 4269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4270 ac_cv_prog_ac_ct_CC="gcc" 4271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4272 break 2 4273 fi 4274done 4275 done 4276IFS=$as_save_IFS 4277 4278fi 4279fi 4280ac_ct_CC=$ac_cv_prog_ac_ct_CC 4281if test -n "$ac_ct_CC"; then 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4283$as_echo "$ac_ct_CC" >&6; } 4284else 4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4286$as_echo "no" >&6; } 4287fi 4288 4289 if test "x$ac_ct_CC" = x; then 4290 CC="" 4291 else 4292 case $cross_compiling:$ac_tool_warned in 4293yes:) 4294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4296ac_tool_warned=yes ;; 4297esac 4298 CC=$ac_ct_CC 4299 fi 4300else 4301 CC="$ac_cv_prog_CC" 4302fi 4303 4304if test -z "$CC"; then 4305 if test -n "$ac_tool_prefix"; then 4306 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4307set dummy ${ac_tool_prefix}cc; ac_word=$2 4308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4309$as_echo_n "checking for $ac_word... " >&6; } 4310if ${ac_cv_prog_CC+:} false; then : 4311 $as_echo_n "(cached) " >&6 4312else 4313 if test -n "$CC"; then 4314 ac_cv_prog_CC="$CC" # Let the user override the test. 4315else 4316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4317for as_dir in $PATH 4318do 4319 IFS=$as_save_IFS 4320 test -z "$as_dir" && as_dir=. 4321 for ac_exec_ext in '' $ac_executable_extensions; do 4322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4323 ac_cv_prog_CC="${ac_tool_prefix}cc" 4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4325 break 2 4326 fi 4327done 4328 done 4329IFS=$as_save_IFS 4330 4331fi 4332fi 4333CC=$ac_cv_prog_CC 4334if test -n "$CC"; then 4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4336$as_echo "$CC" >&6; } 4337else 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4339$as_echo "no" >&6; } 4340fi 4341 4342 4343 fi 4344fi 4345if test -z "$CC"; then 4346 # Extract the first word of "cc", so it can be a program name with args. 4347set dummy cc; ac_word=$2 4348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4349$as_echo_n "checking for $ac_word... " >&6; } 4350if ${ac_cv_prog_CC+:} false; then : 4351 $as_echo_n "(cached) " >&6 4352else 4353 if test -n "$CC"; then 4354 ac_cv_prog_CC="$CC" # Let the user override the test. 4355else 4356 ac_prog_rejected=no 4357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4358for as_dir in $PATH 4359do 4360 IFS=$as_save_IFS 4361 test -z "$as_dir" && as_dir=. 4362 for ac_exec_ext in '' $ac_executable_extensions; do 4363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4364 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4365 ac_prog_rejected=yes 4366 continue 4367 fi 4368 ac_cv_prog_CC="cc" 4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4370 break 2 4371 fi 4372done 4373 done 4374IFS=$as_save_IFS 4375 4376if test $ac_prog_rejected = yes; then 4377 # We found a bogon in the path, so make sure we never use it. 4378 set dummy $ac_cv_prog_CC 4379 shift 4380 if test $# != 0; then 4381 # We chose a different compiler from the bogus one. 4382 # However, it has the same basename, so the bogon will be chosen 4383 # first if we set CC to just the basename; use the full file name. 4384 shift 4385 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4386 fi 4387fi 4388fi 4389fi 4390CC=$ac_cv_prog_CC 4391if test -n "$CC"; then 4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4393$as_echo "$CC" >&6; } 4394else 4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4396$as_echo "no" >&6; } 4397fi 4398 4399 4400fi 4401if test -z "$CC"; then 4402 if test -n "$ac_tool_prefix"; then 4403 for ac_prog in cl.exe 4404 do 4405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4406set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4408$as_echo_n "checking for $ac_word... " >&6; } 4409if ${ac_cv_prog_CC+:} false; then : 4410 $as_echo_n "(cached) " >&6 4411else 4412 if test -n "$CC"; then 4413 ac_cv_prog_CC="$CC" # Let the user override the test. 4414else 4415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4416for as_dir in $PATH 4417do 4418 IFS=$as_save_IFS 4419 test -z "$as_dir" && as_dir=. 4420 for ac_exec_ext in '' $ac_executable_extensions; do 4421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4422 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4424 break 2 4425 fi 4426done 4427 done 4428IFS=$as_save_IFS 4429 4430fi 4431fi 4432CC=$ac_cv_prog_CC 4433if test -n "$CC"; then 4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4435$as_echo "$CC" >&6; } 4436else 4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4438$as_echo "no" >&6; } 4439fi 4440 4441 4442 test -n "$CC" && break 4443 done 4444fi 4445if test -z "$CC"; then 4446 ac_ct_CC=$CC 4447 for ac_prog in cl.exe 4448do 4449 # Extract the first word of "$ac_prog", so it can be a program name with args. 4450set dummy $ac_prog; ac_word=$2 4451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4452$as_echo_n "checking for $ac_word... " >&6; } 4453if ${ac_cv_prog_ac_ct_CC+:} false; then : 4454 $as_echo_n "(cached) " >&6 4455else 4456 if test -n "$ac_ct_CC"; then 4457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4458else 4459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4460for as_dir in $PATH 4461do 4462 IFS=$as_save_IFS 4463 test -z "$as_dir" && as_dir=. 4464 for ac_exec_ext in '' $ac_executable_extensions; do 4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4466 ac_cv_prog_ac_ct_CC="$ac_prog" 4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4468 break 2 4469 fi 4470done 4471 done 4472IFS=$as_save_IFS 4473 4474fi 4475fi 4476ac_ct_CC=$ac_cv_prog_ac_ct_CC 4477if test -n "$ac_ct_CC"; then 4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4479$as_echo "$ac_ct_CC" >&6; } 4480else 4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4482$as_echo "no" >&6; } 4483fi 4484 4485 4486 test -n "$ac_ct_CC" && break 4487done 4488 4489 if test "x$ac_ct_CC" = x; then 4490 CC="" 4491 else 4492 case $cross_compiling:$ac_tool_warned in 4493yes:) 4494{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4495$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4496ac_tool_warned=yes ;; 4497esac 4498 CC=$ac_ct_CC 4499 fi 4500fi 4501 4502fi 4503 4504 4505test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4506$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4507as_fn_error $? "no acceptable C compiler found in \$PATH 4508See \`config.log' for more details" "$LINENO" 5; } 4509 4510# Provide some information about the compiler. 4511$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4512set X $ac_compile 4513ac_compiler=$2 4514for ac_option in --version -v -V -qversion; do 4515 { { ac_try="$ac_compiler $ac_option >&5" 4516case "(($ac_try" in 4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4518 *) ac_try_echo=$ac_try;; 4519esac 4520eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4521$as_echo "$ac_try_echo"; } >&5 4522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4523 ac_status=$? 4524 if test -s conftest.err; then 4525 sed '10a\ 4526... rest of stderr output deleted ... 4527 10q' conftest.err >conftest.er1 4528 cat conftest.er1 >&5 4529 fi 4530 rm -f conftest.er1 conftest.err 4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4532 test $ac_status = 0; } 4533done 4534 4535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4536/* end confdefs.h. */ 4537 4538int 4539main () 4540{ 4541 4542 ; 4543 return 0; 4544} 4545_ACEOF 4546ac_clean_files_save=$ac_clean_files 4547ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4548# Try to create an executable without -o first, disregard a.out. 4549# It will help us diagnose broken compilers, and finding out an intuition 4550# of exeext. 4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4552$as_echo_n "checking whether the C compiler works... " >&6; } 4553ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4554 4555# The possible output files: 4556ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4557 4558ac_rmfiles= 4559for ac_file in $ac_files 4560do 4561 case $ac_file in 4562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4563 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4564 esac 4565done 4566rm -f $ac_rmfiles 4567 4568if { { ac_try="$ac_link_default" 4569case "(($ac_try" in 4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4571 *) ac_try_echo=$ac_try;; 4572esac 4573eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4574$as_echo "$ac_try_echo"; } >&5 4575 (eval "$ac_link_default") 2>&5 4576 ac_status=$? 4577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4578 test $ac_status = 0; }; then : 4579 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4580# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4581# in a Makefile. We should not override ac_cv_exeext if it was cached, 4582# so that the user can short-circuit this test for compilers unknown to 4583# Autoconf. 4584for ac_file in $ac_files '' 4585do 4586 test -f "$ac_file" || continue 4587 case $ac_file in 4588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4589 ;; 4590 [ab].out ) 4591 # We found the default executable, but exeext='' is most 4592 # certainly right. 4593 break;; 4594 *.* ) 4595 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4596 then :; else 4597 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4598 fi 4599 # We set ac_cv_exeext here because the later test for it is not 4600 # safe: cross compilers may not add the suffix if given an `-o' 4601 # argument, so we may need to know it at that point already. 4602 # Even if this section looks crufty: it has the advantage of 4603 # actually working. 4604 break;; 4605 * ) 4606 break;; 4607 esac 4608done 4609test "$ac_cv_exeext" = no && ac_cv_exeext= 4610 4611else 4612 ac_file='' 4613fi 4614if test -z "$ac_file"; then : 4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4616$as_echo "no" >&6; } 4617$as_echo "$as_me: failed program was:" >&5 4618sed 's/^/| /' conftest.$ac_ext >&5 4619 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 77 "C compiler cannot create executables 4623See \`config.log' for more details" "$LINENO" 5; } 4624else 4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4626$as_echo "yes" >&6; } 4627fi 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4629$as_echo_n "checking for C compiler default output file name... " >&6; } 4630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4631$as_echo "$ac_file" >&6; } 4632ac_exeext=$ac_cv_exeext 4633 4634rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4635ac_clean_files=$ac_clean_files_save 4636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4637$as_echo_n "checking for suffix of executables... " >&6; } 4638if { { ac_try="$ac_link" 4639case "(($ac_try" in 4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4641 *) ac_try_echo=$ac_try;; 4642esac 4643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4644$as_echo "$ac_try_echo"; } >&5 4645 (eval "$ac_link") 2>&5 4646 ac_status=$? 4647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4648 test $ac_status = 0; }; then : 4649 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4650# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4651# work properly (i.e., refer to `conftest.exe'), while it won't with 4652# `rm'. 4653for ac_file in conftest.exe conftest conftest.*; do 4654 test -f "$ac_file" || continue 4655 case $ac_file in 4656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4657 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4658 break;; 4659 * ) break;; 4660 esac 4661done 4662else 4663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4664$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4665as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4666See \`config.log' for more details" "$LINENO" 5; } 4667fi 4668rm -f conftest conftest$ac_cv_exeext 4669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4670$as_echo "$ac_cv_exeext" >&6; } 4671 4672rm -f conftest.$ac_ext 4673EXEEXT=$ac_cv_exeext 4674ac_exeext=$EXEEXT 4675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4676/* end confdefs.h. */ 4677#include <stdio.h> 4678int 4679main () 4680{ 4681FILE *f = fopen ("conftest.out", "w"); 4682 return ferror (f) || fclose (f) != 0; 4683 4684 ; 4685 return 0; 4686} 4687_ACEOF 4688ac_clean_files="$ac_clean_files conftest.out" 4689# Check that the compiler produces executables we can run. If not, either 4690# the compiler is broken, or we cross compile. 4691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4692$as_echo_n "checking whether we are cross compiling... " >&6; } 4693if test "$cross_compiling" != yes; then 4694 { { ac_try="$ac_link" 4695case "(($ac_try" in 4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4697 *) ac_try_echo=$ac_try;; 4698esac 4699eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4700$as_echo "$ac_try_echo"; } >&5 4701 (eval "$ac_link") 2>&5 4702 ac_status=$? 4703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4704 test $ac_status = 0; } 4705 if { ac_try='./conftest$ac_cv_exeext' 4706 { { case "(($ac_try" in 4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4708 *) ac_try_echo=$ac_try;; 4709esac 4710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4711$as_echo "$ac_try_echo"; } >&5 4712 (eval "$ac_try") 2>&5 4713 ac_status=$? 4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4715 test $ac_status = 0; }; }; then 4716 cross_compiling=no 4717 else 4718 if test "$cross_compiling" = maybe; then 4719 cross_compiling=yes 4720 else 4721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4723as_fn_error $? "cannot run C compiled programs. 4724If you meant to cross compile, use \`--host'. 4725See \`config.log' for more details" "$LINENO" 5; } 4726 fi 4727 fi 4728fi 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4730$as_echo "$cross_compiling" >&6; } 4731 4732rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4733ac_clean_files=$ac_clean_files_save 4734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4735$as_echo_n "checking for suffix of object files... " >&6; } 4736if ${ac_cv_objext+:} false; then : 4737 $as_echo_n "(cached) " >&6 4738else 4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4740/* end confdefs.h. */ 4741 4742int 4743main () 4744{ 4745 4746 ; 4747 return 0; 4748} 4749_ACEOF 4750rm -f conftest.o conftest.obj 4751if { { ac_try="$ac_compile" 4752case "(($ac_try" in 4753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4754 *) ac_try_echo=$ac_try;; 4755esac 4756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4757$as_echo "$ac_try_echo"; } >&5 4758 (eval "$ac_compile") 2>&5 4759 ac_status=$? 4760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4761 test $ac_status = 0; }; then : 4762 for ac_file in conftest.o conftest.obj conftest.*; do 4763 test -f "$ac_file" || continue; 4764 case $ac_file in 4765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4766 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4767 break;; 4768 esac 4769done 4770else 4771 $as_echo "$as_me: failed program was:" >&5 4772sed 's/^/| /' conftest.$ac_ext >&5 4773 4774{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4775$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4776as_fn_error $? "cannot compute suffix of object files: cannot compile 4777See \`config.log' for more details" "$LINENO" 5; } 4778fi 4779rm -f conftest.$ac_cv_objext conftest.$ac_ext 4780fi 4781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4782$as_echo "$ac_cv_objext" >&6; } 4783OBJEXT=$ac_cv_objext 4784ac_objext=$OBJEXT 4785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4786$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4787if ${ac_cv_c_compiler_gnu+:} false; then : 4788 $as_echo_n "(cached) " >&6 4789else 4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4791/* end confdefs.h. */ 4792 4793int 4794main () 4795{ 4796#ifndef __GNUC__ 4797 choke me 4798#endif 4799 4800 ; 4801 return 0; 4802} 4803_ACEOF 4804if ac_fn_c_try_compile "$LINENO"; then : 4805 ac_compiler_gnu=yes 4806else 4807 ac_compiler_gnu=no 4808fi 4809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4810ac_cv_c_compiler_gnu=$ac_compiler_gnu 4811 4812fi 4813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4814$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4815if test $ac_compiler_gnu = yes; then 4816 GCC=yes 4817else 4818 GCC= 4819fi 4820ac_test_CFLAGS=${CFLAGS+set} 4821ac_save_CFLAGS=$CFLAGS 4822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4823$as_echo_n "checking whether $CC accepts -g... " >&6; } 4824if ${ac_cv_prog_cc_g+:} false; then : 4825 $as_echo_n "(cached) " >&6 4826else 4827 ac_save_c_werror_flag=$ac_c_werror_flag 4828 ac_c_werror_flag=yes 4829 ac_cv_prog_cc_g=no 4830 CFLAGS="-g" 4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4832/* end confdefs.h. */ 4833 4834int 4835main () 4836{ 4837 4838 ; 4839 return 0; 4840} 4841_ACEOF 4842if ac_fn_c_try_compile "$LINENO"; then : 4843 ac_cv_prog_cc_g=yes 4844else 4845 CFLAGS="" 4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4847/* end confdefs.h. */ 4848 4849int 4850main () 4851{ 4852 4853 ; 4854 return 0; 4855} 4856_ACEOF 4857if ac_fn_c_try_compile "$LINENO"; then : 4858 4859else 4860 ac_c_werror_flag=$ac_save_c_werror_flag 4861 CFLAGS="-g" 4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4863/* end confdefs.h. */ 4864 4865int 4866main () 4867{ 4868 4869 ; 4870 return 0; 4871} 4872_ACEOF 4873if ac_fn_c_try_compile "$LINENO"; then : 4874 ac_cv_prog_cc_g=yes 4875fi 4876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4877fi 4878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4879fi 4880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4881 ac_c_werror_flag=$ac_save_c_werror_flag 4882fi 4883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4884$as_echo "$ac_cv_prog_cc_g" >&6; } 4885if test "$ac_test_CFLAGS" = set; then 4886 CFLAGS=$ac_save_CFLAGS 4887elif test $ac_cv_prog_cc_g = yes; then 4888 if test "$GCC" = yes; then 4889 CFLAGS="-g -O2" 4890 else 4891 CFLAGS="-g" 4892 fi 4893else 4894 if test "$GCC" = yes; then 4895 CFLAGS="-O2" 4896 else 4897 CFLAGS= 4898 fi 4899fi 4900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4901$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4902if ${ac_cv_prog_cc_c89+:} false; then : 4903 $as_echo_n "(cached) " >&6 4904else 4905 ac_cv_prog_cc_c89=no 4906ac_save_CC=$CC 4907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4908/* end confdefs.h. */ 4909#include <stdarg.h> 4910#include <stdio.h> 4911struct stat; 4912/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4913struct buf { int x; }; 4914FILE * (*rcsopen) (struct buf *, struct stat *, int); 4915static char *e (p, i) 4916 char **p; 4917 int i; 4918{ 4919 return p[i]; 4920} 4921static char *f (char * (*g) (char **, int), char **p, ...) 4922{ 4923 char *s; 4924 va_list v; 4925 va_start (v,p); 4926 s = g (p, va_arg (v,int)); 4927 va_end (v); 4928 return s; 4929} 4930 4931/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4932 function prototypes and stuff, but not '\xHH' hex character constants. 4933 These don't provoke an error unfortunately, instead are silently treated 4934 as 'x'. The following induces an error, until -std is added to get 4935 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4936 array size at least. It's necessary to write '\x00'==0 to get something 4937 that's true only with -std. */ 4938int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4939 4940/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4941 inside strings and character constants. */ 4942#define FOO(x) 'x' 4943int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4944 4945int test (int i, double x); 4946struct s1 {int (*f) (int a);}; 4947struct s2 {int (*f) (double a);}; 4948int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4949int argc; 4950char **argv; 4951int 4952main () 4953{ 4954return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4955 ; 4956 return 0; 4957} 4958_ACEOF 4959for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4960 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4961do 4962 CC="$ac_save_CC $ac_arg" 4963 if ac_fn_c_try_compile "$LINENO"; then : 4964 ac_cv_prog_cc_c89=$ac_arg 4965fi 4966rm -f core conftest.err conftest.$ac_objext 4967 test "x$ac_cv_prog_cc_c89" != "xno" && break 4968done 4969rm -f conftest.$ac_ext 4970CC=$ac_save_CC 4971 4972fi 4973# AC_CACHE_VAL 4974case "x$ac_cv_prog_cc_c89" in 4975 x) 4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4977$as_echo "none needed" >&6; } ;; 4978 xno) 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4980$as_echo "unsupported" >&6; } ;; 4981 *) 4982 CC="$CC $ac_cv_prog_cc_c89" 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4984$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4985esac 4986if test "x$ac_cv_prog_cc_c89" != xno; then : 4987 4988fi 4989 4990ac_ext=c 4991ac_cpp='$CPP $CPPFLAGS' 4992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4994ac_compiler_gnu=$ac_cv_c_compiler_gnu 4995 4996ac_ext=c 4997ac_cpp='$CPP $CPPFLAGS' 4998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5000ac_compiler_gnu=$ac_cv_c_compiler_gnu 5001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5002$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5003if ${am_cv_prog_cc_c_o+:} false; then : 5004 $as_echo_n "(cached) " >&6 5005else 5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5007/* end confdefs.h. */ 5008 5009int 5010main () 5011{ 5012 5013 ; 5014 return 0; 5015} 5016_ACEOF 5017 # Make sure it works both with $CC and with simple cc. 5018 # Following AC_PROG_CC_C_O, we do the test twice because some 5019 # compilers refuse to overwrite an existing .o file with -o, 5020 # though they will create one. 5021 am_cv_prog_cc_c_o=yes 5022 for am_i in 1 2; do 5023 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5024 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5025 ac_status=$? 5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5027 (exit $ac_status); } \ 5028 && test -f conftest2.$ac_objext; then 5029 : OK 5030 else 5031 am_cv_prog_cc_c_o=no 5032 break 5033 fi 5034 done 5035 rm -f core conftest* 5036 unset am_i 5037fi 5038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5039$as_echo "$am_cv_prog_cc_c_o" >&6; } 5040if test "$am_cv_prog_cc_c_o" != yes; then 5041 # Losing compiler, so override with the script. 5042 # FIXME: It is wrong to rewrite CC. 5043 # But if we don't then we get into trouble of one sort or another. 5044 # A longer-term fix would be to have automake use am__CC in this case, 5045 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5046 CC="$am_aux_dir/compile $CC" 5047fi 5048ac_ext=c 5049ac_cpp='$CPP $CPPFLAGS' 5050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5052ac_compiler_gnu=$ac_cv_c_compiler_gnu 5053 5054DEPDIR="${am__leading_dot}deps" 5055 5056ac_config_commands="$ac_config_commands depfiles" 5057 5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5059$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5060cat > confinc.mk << 'END' 5061am__doit: 5062 @echo this is the am__doit target >confinc.out 5063.PHONY: am__doit 5064END 5065am__include="#" 5066am__quote= 5067# BSD make does it like this. 5068echo '.include "confinc.mk" # ignored' > confmf.BSD 5069# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5070echo 'include confinc.mk # ignored' > confmf.GNU 5071_am_result=no 5072for s in GNU BSD; do 5073 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5074 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5075 ac_status=$? 5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5077 (exit $ac_status); } 5078 case $?:`cat confinc.out 2>/dev/null` in #( 5079 '0:this is the am__doit target') : 5080 case $s in #( 5081 BSD) : 5082 am__include='.include' am__quote='"' ;; #( 5083 *) : 5084 am__include='include' am__quote='' ;; 5085esac ;; #( 5086 *) : 5087 ;; 5088esac 5089 if test "$am__include" != "#"; then 5090 _am_result="yes ($s style)" 5091 break 5092 fi 5093done 5094rm -f confinc.* confmf.* 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5096$as_echo "${_am_result}" >&6; } 5097 5098# Check whether --enable-dependency-tracking was given. 5099if test "${enable_dependency_tracking+set}" = set; then : 5100 enableval=$enable_dependency_tracking; 5101fi 5102 5103if test "x$enable_dependency_tracking" != xno; then 5104 am_depcomp="$ac_aux_dir/depcomp" 5105 AMDEPBACKSLASH='\' 5106 am__nodep='_no' 5107fi 5108 if test "x$enable_dependency_tracking" != xno; then 5109 AMDEP_TRUE= 5110 AMDEP_FALSE='#' 5111else 5112 AMDEP_TRUE='#' 5113 AMDEP_FALSE= 5114fi 5115 5116 5117 5118depcc="$CC" am_compiler_list= 5119 5120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5121$as_echo_n "checking dependency style of $depcc... " >&6; } 5122if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5123 $as_echo_n "(cached) " >&6 5124else 5125 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5126 # We make a subdir and do the tests there. Otherwise we can end up 5127 # making bogus files that we don't know about and never remove. For 5128 # instance it was reported that on HP-UX the gcc test will end up 5129 # making a dummy file named 'D' -- because '-MD' means "put the output 5130 # in D". 5131 rm -rf conftest.dir 5132 mkdir conftest.dir 5133 # Copy depcomp to subdir because otherwise we won't find it if we're 5134 # using a relative directory. 5135 cp "$am_depcomp" conftest.dir 5136 cd conftest.dir 5137 # We will build objects and dependencies in a subdirectory because 5138 # it helps to detect inapplicable dependency modes. For instance 5139 # both Tru64's cc and ICC support -MD to output dependencies as a 5140 # side effect of compilation, but ICC will put the dependencies in 5141 # the current directory while Tru64 will put them in the object 5142 # directory. 5143 mkdir sub 5144 5145 am_cv_CC_dependencies_compiler_type=none 5146 if test "$am_compiler_list" = ""; then 5147 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5148 fi 5149 am__universal=false 5150 case " $depcc " in #( 5151 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5152 esac 5153 5154 for depmode in $am_compiler_list; do 5155 # Setup a source with many dependencies, because some compilers 5156 # like to wrap large dependency lists on column 80 (with \), and 5157 # we should not choose a depcomp mode which is confused by this. 5158 # 5159 # We need to recreate these files for each test, as the compiler may 5160 # overwrite some of them when testing with obscure command lines. 5161 # This happens at least with the AIX C compiler. 5162 : > sub/conftest.c 5163 for i in 1 2 3 4 5 6; do 5164 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5165 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5166 # Solaris 10 /bin/sh. 5167 echo '/* dummy */' > sub/conftst$i.h 5168 done 5169 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5170 5171 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5172 # mode. It turns out that the SunPro C++ compiler does not properly 5173 # handle '-M -o', and we need to detect this. Also, some Intel 5174 # versions had trouble with output in subdirs. 5175 am__obj=sub/conftest.${OBJEXT-o} 5176 am__minus_obj="-o $am__obj" 5177 case $depmode in 5178 gcc) 5179 # This depmode causes a compiler race in universal mode. 5180 test "$am__universal" = false || continue 5181 ;; 5182 nosideeffect) 5183 # After this tag, mechanisms are not by side-effect, so they'll 5184 # only be used when explicitly requested. 5185 if test "x$enable_dependency_tracking" = xyes; then 5186 continue 5187 else 5188 break 5189 fi 5190 ;; 5191 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5192 # This compiler won't grok '-c -o', but also, the minuso test has 5193 # not run yet. These depmodes are late enough in the game, and 5194 # so weak that their functioning should not be impacted. 5195 am__obj=conftest.${OBJEXT-o} 5196 am__minus_obj= 5197 ;; 5198 none) break ;; 5199 esac 5200 if depmode=$depmode \ 5201 source=sub/conftest.c object=$am__obj \ 5202 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5203 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5204 >/dev/null 2>conftest.err && 5205 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5206 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5207 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5208 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5209 # icc doesn't choke on unknown options, it will just issue warnings 5210 # or remarks (even with -Werror). So we grep stderr for any message 5211 # that says an option was ignored or not supported. 5212 # When given -MP, icc 7.0 and 7.1 complain thusly: 5213 # icc: Command line warning: ignoring option '-M'; no argument required 5214 # The diagnosis changed in icc 8.0: 5215 # icc: Command line remark: option '-MP' not supported 5216 if (grep 'ignoring option' conftest.err || 5217 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5218 am_cv_CC_dependencies_compiler_type=$depmode 5219 break 5220 fi 5221 fi 5222 done 5223 5224 cd .. 5225 rm -rf conftest.dir 5226else 5227 am_cv_CC_dependencies_compiler_type=none 5228fi 5229 5230fi 5231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5232$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5233CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5234 5235 if 5236 test "x$enable_dependency_tracking" != xno \ 5237 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5238 am__fastdepCC_TRUE= 5239 am__fastdepCC_FALSE='#' 5240else 5241 am__fastdepCC_TRUE='#' 5242 am__fastdepCC_FALSE= 5243fi 5244 5245 5246 5247ac_ext=c 5248ac_cpp='$CPP $CPPFLAGS' 5249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5251ac_compiler_gnu=$ac_cv_c_compiler_gnu 5252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5253$as_echo_n "checking how to run the C preprocessor... " >&6; } 5254# On Suns, sometimes $CPP names a directory. 5255if test -n "$CPP" && test -d "$CPP"; then 5256 CPP= 5257fi 5258if test -z "$CPP"; then 5259 if ${ac_cv_prog_CPP+:} false; then : 5260 $as_echo_n "(cached) " >&6 5261else 5262 # Double quotes because CPP needs to be expanded 5263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5264 do 5265 ac_preproc_ok=false 5266for ac_c_preproc_warn_flag in '' yes 5267do 5268 # Use a header file that comes with gcc, so configuring glibc 5269 # with a fresh cross-compiler works. 5270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5271 # <limits.h> exists even on freestanding compilers. 5272 # On the NeXT, cc -E runs the code through the compiler's parser, 5273 # not just through cpp. "Syntax error" is here to catch this case. 5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5275/* end confdefs.h. */ 5276#ifdef __STDC__ 5277# include <limits.h> 5278#else 5279# include <assert.h> 5280#endif 5281 Syntax error 5282_ACEOF 5283if ac_fn_c_try_cpp "$LINENO"; then : 5284 5285else 5286 # Broken: fails on valid input. 5287continue 5288fi 5289rm -f conftest.err conftest.i conftest.$ac_ext 5290 5291 # OK, works on sane cases. Now check whether nonexistent headers 5292 # can be detected and how. 5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5294/* end confdefs.h. */ 5295#include <ac_nonexistent.h> 5296_ACEOF 5297if ac_fn_c_try_cpp "$LINENO"; then : 5298 # Broken: success on invalid input. 5299continue 5300else 5301 # Passes both tests. 5302ac_preproc_ok=: 5303break 5304fi 5305rm -f conftest.err conftest.i conftest.$ac_ext 5306 5307done 5308# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5309rm -f conftest.i conftest.err conftest.$ac_ext 5310if $ac_preproc_ok; then : 5311 break 5312fi 5313 5314 done 5315 ac_cv_prog_CPP=$CPP 5316 5317fi 5318 CPP=$ac_cv_prog_CPP 5319else 5320 ac_cv_prog_CPP=$CPP 5321fi 5322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5323$as_echo "$CPP" >&6; } 5324ac_preproc_ok=false 5325for ac_c_preproc_warn_flag in '' yes 5326do 5327 # Use a header file that comes with gcc, so configuring glibc 5328 # with a fresh cross-compiler works. 5329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5330 # <limits.h> exists even on freestanding compilers. 5331 # On the NeXT, cc -E runs the code through the compiler's parser, 5332 # not just through cpp. "Syntax error" is here to catch this case. 5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5334/* end confdefs.h. */ 5335#ifdef __STDC__ 5336# include <limits.h> 5337#else 5338# include <assert.h> 5339#endif 5340 Syntax error 5341_ACEOF 5342if ac_fn_c_try_cpp "$LINENO"; then : 5343 5344else 5345 # Broken: fails on valid input. 5346continue 5347fi 5348rm -f conftest.err conftest.i conftest.$ac_ext 5349 5350 # OK, works on sane cases. Now check whether nonexistent headers 5351 # can be detected and how. 5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5353/* end confdefs.h. */ 5354#include <ac_nonexistent.h> 5355_ACEOF 5356if ac_fn_c_try_cpp "$LINENO"; then : 5357 # Broken: success on invalid input. 5358continue 5359else 5360 # Passes both tests. 5361ac_preproc_ok=: 5362break 5363fi 5364rm -f conftest.err conftest.i conftest.$ac_ext 5365 5366done 5367# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5368rm -f conftest.i conftest.err conftest.$ac_ext 5369if $ac_preproc_ok; then : 5370 5371else 5372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5373$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5374as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5375See \`config.log' for more details" "$LINENO" 5; } 5376fi 5377 5378ac_ext=c 5379ac_cpp='$CPP $CPPFLAGS' 5380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5382ac_compiler_gnu=$ac_cv_c_compiler_gnu 5383 5384 5385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5386$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5387if ${ac_cv_path_GREP+:} false; then : 5388 $as_echo_n "(cached) " >&6 5389else 5390 if test -z "$GREP"; then 5391 ac_path_GREP_found=false 5392 # Loop through the user's path and test for each of PROGNAME-LIST 5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5394for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5395do 5396 IFS=$as_save_IFS 5397 test -z "$as_dir" && as_dir=. 5398 for ac_prog in grep ggrep; do 5399 for ac_exec_ext in '' $ac_executable_extensions; do 5400 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5401 as_fn_executable_p "$ac_path_GREP" || continue 5402# Check for GNU ac_path_GREP and select it if it is found. 5403 # Check for GNU $ac_path_GREP 5404case `"$ac_path_GREP" --version 2>&1` in 5405*GNU*) 5406 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5407*) 5408 ac_count=0 5409 $as_echo_n 0123456789 >"conftest.in" 5410 while : 5411 do 5412 cat "conftest.in" "conftest.in" >"conftest.tmp" 5413 mv "conftest.tmp" "conftest.in" 5414 cp "conftest.in" "conftest.nl" 5415 $as_echo 'GREP' >> "conftest.nl" 5416 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5418 as_fn_arith $ac_count + 1 && ac_count=$as_val 5419 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5420 # Best one so far, save it but keep looking for a better one 5421 ac_cv_path_GREP="$ac_path_GREP" 5422 ac_path_GREP_max=$ac_count 5423 fi 5424 # 10*(2^10) chars as input seems more than enough 5425 test $ac_count -gt 10 && break 5426 done 5427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5428esac 5429 5430 $ac_path_GREP_found && break 3 5431 done 5432 done 5433 done 5434IFS=$as_save_IFS 5435 if test -z "$ac_cv_path_GREP"; then 5436 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5437 fi 5438else 5439 ac_cv_path_GREP=$GREP 5440fi 5441 5442fi 5443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5444$as_echo "$ac_cv_path_GREP" >&6; } 5445 GREP="$ac_cv_path_GREP" 5446 5447 5448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5449$as_echo_n "checking for egrep... " >&6; } 5450if ${ac_cv_path_EGREP+:} false; then : 5451 $as_echo_n "(cached) " >&6 5452else 5453 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5454 then ac_cv_path_EGREP="$GREP -E" 5455 else 5456 if test -z "$EGREP"; then 5457 ac_path_EGREP_found=false 5458 # Loop through the user's path and test for each of PROGNAME-LIST 5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5460for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5461do 5462 IFS=$as_save_IFS 5463 test -z "$as_dir" && as_dir=. 5464 for ac_prog in egrep; do 5465 for ac_exec_ext in '' $ac_executable_extensions; do 5466 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5467 as_fn_executable_p "$ac_path_EGREP" || continue 5468# Check for GNU ac_path_EGREP and select it if it is found. 5469 # Check for GNU $ac_path_EGREP 5470case `"$ac_path_EGREP" --version 2>&1` in 5471*GNU*) 5472 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5473*) 5474 ac_count=0 5475 $as_echo_n 0123456789 >"conftest.in" 5476 while : 5477 do 5478 cat "conftest.in" "conftest.in" >"conftest.tmp" 5479 mv "conftest.tmp" "conftest.in" 5480 cp "conftest.in" "conftest.nl" 5481 $as_echo 'EGREP' >> "conftest.nl" 5482 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5483 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5484 as_fn_arith $ac_count + 1 && ac_count=$as_val 5485 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5486 # Best one so far, save it but keep looking for a better one 5487 ac_cv_path_EGREP="$ac_path_EGREP" 5488 ac_path_EGREP_max=$ac_count 5489 fi 5490 # 10*(2^10) chars as input seems more than enough 5491 test $ac_count -gt 10 && break 5492 done 5493 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5494esac 5495 5496 $ac_path_EGREP_found && break 3 5497 done 5498 done 5499 done 5500IFS=$as_save_IFS 5501 if test -z "$ac_cv_path_EGREP"; then 5502 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5503 fi 5504else 5505 ac_cv_path_EGREP=$EGREP 5506fi 5507 5508 fi 5509fi 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5511$as_echo "$ac_cv_path_EGREP" >&6; } 5512 EGREP="$ac_cv_path_EGREP" 5513 5514 5515if test $ac_cv_c_compiler_gnu = yes; then 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5517$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5518if ${ac_cv_prog_gcc_traditional+:} false; then : 5519 $as_echo_n "(cached) " >&6 5520else 5521 ac_pattern="Autoconf.*'x'" 5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5523/* end confdefs.h. */ 5524#include <sgtty.h> 5525Autoconf TIOCGETP 5526_ACEOF 5527if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5528 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5529 ac_cv_prog_gcc_traditional=yes 5530else 5531 ac_cv_prog_gcc_traditional=no 5532fi 5533rm -f conftest* 5534 5535 5536 if test $ac_cv_prog_gcc_traditional = no; then 5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5538/* end confdefs.h. */ 5539#include <termio.h> 5540Autoconf TCGETA 5541_ACEOF 5542if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5543 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5544 ac_cv_prog_gcc_traditional=yes 5545fi 5546rm -f conftest* 5547 5548 fi 5549fi 5550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5551$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5552 if test $ac_cv_prog_gcc_traditional = yes; then 5553 CC="$CC -traditional" 5554 fi 5555fi 5556 5557ac_ext=cpp 5558ac_cpp='$CXXCPP $CPPFLAGS' 5559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5562if test -z "$CXX"; then 5563 if test -n "$CCC"; then 5564 CXX=$CCC 5565 else 5566 if test -n "$ac_tool_prefix"; then 5567 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5568 do 5569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5570set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5572$as_echo_n "checking for $ac_word... " >&6; } 5573if ${ac_cv_prog_CXX+:} false; then : 5574 $as_echo_n "(cached) " >&6 5575else 5576 if test -n "$CXX"; then 5577 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5578else 5579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5580for as_dir in $PATH 5581do 5582 IFS=$as_save_IFS 5583 test -z "$as_dir" && as_dir=. 5584 for ac_exec_ext in '' $ac_executable_extensions; do 5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5586 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5588 break 2 5589 fi 5590done 5591 done 5592IFS=$as_save_IFS 5593 5594fi 5595fi 5596CXX=$ac_cv_prog_CXX 5597if test -n "$CXX"; then 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5599$as_echo "$CXX" >&6; } 5600else 5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5602$as_echo "no" >&6; } 5603fi 5604 5605 5606 test -n "$CXX" && break 5607 done 5608fi 5609if test -z "$CXX"; then 5610 ac_ct_CXX=$CXX 5611 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5612do 5613 # Extract the first word of "$ac_prog", so it can be a program name with args. 5614set dummy $ac_prog; ac_word=$2 5615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5616$as_echo_n "checking for $ac_word... " >&6; } 5617if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5618 $as_echo_n "(cached) " >&6 5619else 5620 if test -n "$ac_ct_CXX"; then 5621 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5622else 5623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5624for as_dir in $PATH 5625do 5626 IFS=$as_save_IFS 5627 test -z "$as_dir" && as_dir=. 5628 for ac_exec_ext in '' $ac_executable_extensions; do 5629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5630 ac_cv_prog_ac_ct_CXX="$ac_prog" 5631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5632 break 2 5633 fi 5634done 5635 done 5636IFS=$as_save_IFS 5637 5638fi 5639fi 5640ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5641if test -n "$ac_ct_CXX"; then 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5643$as_echo "$ac_ct_CXX" >&6; } 5644else 5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5646$as_echo "no" >&6; } 5647fi 5648 5649 5650 test -n "$ac_ct_CXX" && break 5651done 5652 5653 if test "x$ac_ct_CXX" = x; then 5654 CXX="g++" 5655 else 5656 case $cross_compiling:$ac_tool_warned in 5657yes:) 5658{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5659$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5660ac_tool_warned=yes ;; 5661esac 5662 CXX=$ac_ct_CXX 5663 fi 5664fi 5665 5666 fi 5667fi 5668# Provide some information about the compiler. 5669$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5670set X $ac_compile 5671ac_compiler=$2 5672for ac_option in --version -v -V -qversion; do 5673 { { ac_try="$ac_compiler $ac_option >&5" 5674case "(($ac_try" in 5675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5676 *) ac_try_echo=$ac_try;; 5677esac 5678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5679$as_echo "$ac_try_echo"; } >&5 5680 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5681 ac_status=$? 5682 if test -s conftest.err; then 5683 sed '10a\ 5684... rest of stderr output deleted ... 5685 10q' conftest.err >conftest.er1 5686 cat conftest.er1 >&5 5687 fi 5688 rm -f conftest.er1 conftest.err 5689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5690 test $ac_status = 0; } 5691done 5692 5693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5694$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5695if ${ac_cv_cxx_compiler_gnu+:} false; then : 5696 $as_echo_n "(cached) " >&6 5697else 5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5699/* end confdefs.h. */ 5700 5701int 5702main () 5703{ 5704#ifndef __GNUC__ 5705 choke me 5706#endif 5707 5708 ; 5709 return 0; 5710} 5711_ACEOF 5712if ac_fn_cxx_try_compile "$LINENO"; then : 5713 ac_compiler_gnu=yes 5714else 5715 ac_compiler_gnu=no 5716fi 5717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5718ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5719 5720fi 5721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5722$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5723if test $ac_compiler_gnu = yes; then 5724 GXX=yes 5725else 5726 GXX= 5727fi 5728ac_test_CXXFLAGS=${CXXFLAGS+set} 5729ac_save_CXXFLAGS=$CXXFLAGS 5730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5731$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5732if ${ac_cv_prog_cxx_g+:} false; then : 5733 $as_echo_n "(cached) " >&6 5734else 5735 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5736 ac_cxx_werror_flag=yes 5737 ac_cv_prog_cxx_g=no 5738 CXXFLAGS="-g" 5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5740/* end confdefs.h. */ 5741 5742int 5743main () 5744{ 5745 5746 ; 5747 return 0; 5748} 5749_ACEOF 5750if ac_fn_cxx_try_compile "$LINENO"; then : 5751 ac_cv_prog_cxx_g=yes 5752else 5753 CXXFLAGS="" 5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5755/* end confdefs.h. */ 5756 5757int 5758main () 5759{ 5760 5761 ; 5762 return 0; 5763} 5764_ACEOF 5765if ac_fn_cxx_try_compile "$LINENO"; then : 5766 5767else 5768 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5769 CXXFLAGS="-g" 5770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5771/* end confdefs.h. */ 5772 5773int 5774main () 5775{ 5776 5777 ; 5778 return 0; 5779} 5780_ACEOF 5781if ac_fn_cxx_try_compile "$LINENO"; then : 5782 ac_cv_prog_cxx_g=yes 5783fi 5784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5785fi 5786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5787fi 5788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5789 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5790fi 5791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5792$as_echo "$ac_cv_prog_cxx_g" >&6; } 5793if test "$ac_test_CXXFLAGS" = set; then 5794 CXXFLAGS=$ac_save_CXXFLAGS 5795elif test $ac_cv_prog_cxx_g = yes; then 5796 if test "$GXX" = yes; then 5797 CXXFLAGS="-g -O2" 5798 else 5799 CXXFLAGS="-g" 5800 fi 5801else 5802 if test "$GXX" = yes; then 5803 CXXFLAGS="-O2" 5804 else 5805 CXXFLAGS= 5806 fi 5807fi 5808ac_ext=c 5809ac_cpp='$CPP $CPPFLAGS' 5810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5812ac_compiler_gnu=$ac_cv_c_compiler_gnu 5813 5814depcc="$CXX" am_compiler_list= 5815 5816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5817$as_echo_n "checking dependency style of $depcc... " >&6; } 5818if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5819 $as_echo_n "(cached) " >&6 5820else 5821 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5822 # We make a subdir and do the tests there. Otherwise we can end up 5823 # making bogus files that we don't know about and never remove. For 5824 # instance it was reported that on HP-UX the gcc test will end up 5825 # making a dummy file named 'D' -- because '-MD' means "put the output 5826 # in D". 5827 rm -rf conftest.dir 5828 mkdir conftest.dir 5829 # Copy depcomp to subdir because otherwise we won't find it if we're 5830 # using a relative directory. 5831 cp "$am_depcomp" conftest.dir 5832 cd conftest.dir 5833 # We will build objects and dependencies in a subdirectory because 5834 # it helps to detect inapplicable dependency modes. For instance 5835 # both Tru64's cc and ICC support -MD to output dependencies as a 5836 # side effect of compilation, but ICC will put the dependencies in 5837 # the current directory while Tru64 will put them in the object 5838 # directory. 5839 mkdir sub 5840 5841 am_cv_CXX_dependencies_compiler_type=none 5842 if test "$am_compiler_list" = ""; then 5843 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5844 fi 5845 am__universal=false 5846 case " $depcc " in #( 5847 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5848 esac 5849 5850 for depmode in $am_compiler_list; do 5851 # Setup a source with many dependencies, because some compilers 5852 # like to wrap large dependency lists on column 80 (with \), and 5853 # we should not choose a depcomp mode which is confused by this. 5854 # 5855 # We need to recreate these files for each test, as the compiler may 5856 # overwrite some of them when testing with obscure command lines. 5857 # This happens at least with the AIX C compiler. 5858 : > sub/conftest.c 5859 for i in 1 2 3 4 5 6; do 5860 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5861 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5862 # Solaris 10 /bin/sh. 5863 echo '/* dummy */' > sub/conftst$i.h 5864 done 5865 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5866 5867 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5868 # mode. It turns out that the SunPro C++ compiler does not properly 5869 # handle '-M -o', and we need to detect this. Also, some Intel 5870 # versions had trouble with output in subdirs. 5871 am__obj=sub/conftest.${OBJEXT-o} 5872 am__minus_obj="-o $am__obj" 5873 case $depmode in 5874 gcc) 5875 # This depmode causes a compiler race in universal mode. 5876 test "$am__universal" = false || continue 5877 ;; 5878 nosideeffect) 5879 # After this tag, mechanisms are not by side-effect, so they'll 5880 # only be used when explicitly requested. 5881 if test "x$enable_dependency_tracking" = xyes; then 5882 continue 5883 else 5884 break 5885 fi 5886 ;; 5887 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5888 # This compiler won't grok '-c -o', but also, the minuso test has 5889 # not run yet. These depmodes are late enough in the game, and 5890 # so weak that their functioning should not be impacted. 5891 am__obj=conftest.${OBJEXT-o} 5892 am__minus_obj= 5893 ;; 5894 none) break ;; 5895 esac 5896 if depmode=$depmode \ 5897 source=sub/conftest.c object=$am__obj \ 5898 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5899 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5900 >/dev/null 2>conftest.err && 5901 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5902 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5903 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5904 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5905 # icc doesn't choke on unknown options, it will just issue warnings 5906 # or remarks (even with -Werror). So we grep stderr for any message 5907 # that says an option was ignored or not supported. 5908 # When given -MP, icc 7.0 and 7.1 complain thusly: 5909 # icc: Command line warning: ignoring option '-M'; no argument required 5910 # The diagnosis changed in icc 8.0: 5911 # icc: Command line remark: option '-MP' not supported 5912 if (grep 'ignoring option' conftest.err || 5913 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5914 am_cv_CXX_dependencies_compiler_type=$depmode 5915 break 5916 fi 5917 fi 5918 done 5919 5920 cd .. 5921 rm -rf conftest.dir 5922else 5923 am_cv_CXX_dependencies_compiler_type=none 5924fi 5925 5926fi 5927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5928$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5929CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5930 5931 if 5932 test "x$enable_dependency_tracking" != xno \ 5933 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5934 am__fastdepCXX_TRUE= 5935 am__fastdepCXX_FALSE='#' 5936else 5937 am__fastdepCXX_TRUE='#' 5938 am__fastdepCXX_FALSE= 5939fi 5940 5941 5942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5943$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5944set x ${MAKE-make} 5945ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5946if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5947 $as_echo_n "(cached) " >&6 5948else 5949 cat >conftest.make <<\_ACEOF 5950SHELL = /bin/sh 5951all: 5952 @echo '@@@%%%=$(MAKE)=@@@%%%' 5953_ACEOF 5954# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5955case `${MAKE-make} -f conftest.make 2>/dev/null` in 5956 *@@@%%%=?*=@@@%%%*) 5957 eval ac_cv_prog_make_${ac_make}_set=yes;; 5958 *) 5959 eval ac_cv_prog_make_${ac_make}_set=no;; 5960esac 5961rm -f conftest.make 5962fi 5963if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5965$as_echo "yes" >&6; } 5966 SET_MAKE= 5967else 5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5969$as_echo "no" >&6; } 5970 SET_MAKE="MAKE=${MAKE-make}" 5971fi 5972 5973 5974 5975case `pwd` in 5976 *\ * | *\ *) 5977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5978$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5979esac 5980 5981 5982 5983macro_version='2.4.6' 5984macro_revision='2.4.6' 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998ltmain=$ac_aux_dir/ltmain.sh 5999 6000# Backslashify metacharacters that are still active within 6001# double-quoted strings. 6002sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6003 6004# Same as above, but do not quote variable references. 6005double_quote_subst='s/\(["`\\]\)/\\\1/g' 6006 6007# Sed substitution to delay expansion of an escaped shell variable in a 6008# double_quote_subst'ed string. 6009delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6010 6011# Sed substitution to delay expansion of an escaped single quote. 6012delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6013 6014# Sed substitution to avoid accidental globbing in evaled expressions 6015no_glob_subst='s/\*/\\\*/g' 6016 6017ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6018ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6019ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6020 6021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6022$as_echo_n "checking how to print strings... " >&6; } 6023# Test print first, because it will be a builtin if present. 6024if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6025 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6026 ECHO='print -r --' 6027elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6028 ECHO='printf %s\n' 6029else 6030 # Use this function as a fallback that always works. 6031 func_fallback_echo () 6032 { 6033 eval 'cat <<_LTECHO_EOF 6034$1 6035_LTECHO_EOF' 6036 } 6037 ECHO='func_fallback_echo' 6038fi 6039 6040# func_echo_all arg... 6041# Invoke $ECHO with all args, space-separated. 6042func_echo_all () 6043{ 6044 $ECHO "" 6045} 6046 6047case $ECHO in 6048 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6049$as_echo "printf" >&6; } ;; 6050 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6051$as_echo "print -r" >&6; } ;; 6052 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6053$as_echo "cat" >&6; } ;; 6054esac 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6070$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6071if ${ac_cv_path_SED+:} false; then : 6072 $as_echo_n "(cached) " >&6 6073else 6074 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6075 for ac_i in 1 2 3 4 5 6 7; do 6076 ac_script="$ac_script$as_nl$ac_script" 6077 done 6078 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6079 { ac_script=; unset ac_script;} 6080 if test -z "$SED"; then 6081 ac_path_SED_found=false 6082 # Loop through the user's path and test for each of PROGNAME-LIST 6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6084for as_dir in $PATH 6085do 6086 IFS=$as_save_IFS 6087 test -z "$as_dir" && as_dir=. 6088 for ac_prog in sed gsed; do 6089 for ac_exec_ext in '' $ac_executable_extensions; do 6090 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6091 as_fn_executable_p "$ac_path_SED" || continue 6092# Check for GNU ac_path_SED and select it if it is found. 6093 # Check for GNU $ac_path_SED 6094case `"$ac_path_SED" --version 2>&1` in 6095*GNU*) 6096 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6097*) 6098 ac_count=0 6099 $as_echo_n 0123456789 >"conftest.in" 6100 while : 6101 do 6102 cat "conftest.in" "conftest.in" >"conftest.tmp" 6103 mv "conftest.tmp" "conftest.in" 6104 cp "conftest.in" "conftest.nl" 6105 $as_echo '' >> "conftest.nl" 6106 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6107 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6108 as_fn_arith $ac_count + 1 && ac_count=$as_val 6109 if test $ac_count -gt ${ac_path_SED_max-0}; then 6110 # Best one so far, save it but keep looking for a better one 6111 ac_cv_path_SED="$ac_path_SED" 6112 ac_path_SED_max=$ac_count 6113 fi 6114 # 10*(2^10) chars as input seems more than enough 6115 test $ac_count -gt 10 && break 6116 done 6117 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6118esac 6119 6120 $ac_path_SED_found && break 3 6121 done 6122 done 6123 done 6124IFS=$as_save_IFS 6125 if test -z "$ac_cv_path_SED"; then 6126 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6127 fi 6128else 6129 ac_cv_path_SED=$SED 6130fi 6131 6132fi 6133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6134$as_echo "$ac_cv_path_SED" >&6; } 6135 SED="$ac_cv_path_SED" 6136 rm -f conftest.sed 6137 6138test -z "$SED" && SED=sed 6139Xsed="$SED -e 1s/^X//" 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6152$as_echo_n "checking for fgrep... " >&6; } 6153if ${ac_cv_path_FGREP+:} false; then : 6154 $as_echo_n "(cached) " >&6 6155else 6156 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6157 then ac_cv_path_FGREP="$GREP -F" 6158 else 6159 if test -z "$FGREP"; then 6160 ac_path_FGREP_found=false 6161 # Loop through the user's path and test for each of PROGNAME-LIST 6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6163for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6164do 6165 IFS=$as_save_IFS 6166 test -z "$as_dir" && as_dir=. 6167 for ac_prog in fgrep; do 6168 for ac_exec_ext in '' $ac_executable_extensions; do 6169 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6170 as_fn_executable_p "$ac_path_FGREP" || continue 6171# Check for GNU ac_path_FGREP and select it if it is found. 6172 # Check for GNU $ac_path_FGREP 6173case `"$ac_path_FGREP" --version 2>&1` in 6174*GNU*) 6175 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6176*) 6177 ac_count=0 6178 $as_echo_n 0123456789 >"conftest.in" 6179 while : 6180 do 6181 cat "conftest.in" "conftest.in" >"conftest.tmp" 6182 mv "conftest.tmp" "conftest.in" 6183 cp "conftest.in" "conftest.nl" 6184 $as_echo 'FGREP' >> "conftest.nl" 6185 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6186 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6187 as_fn_arith $ac_count + 1 && ac_count=$as_val 6188 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6189 # Best one so far, save it but keep looking for a better one 6190 ac_cv_path_FGREP="$ac_path_FGREP" 6191 ac_path_FGREP_max=$ac_count 6192 fi 6193 # 10*(2^10) chars as input seems more than enough 6194 test $ac_count -gt 10 && break 6195 done 6196 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6197esac 6198 6199 $ac_path_FGREP_found && break 3 6200 done 6201 done 6202 done 6203IFS=$as_save_IFS 6204 if test -z "$ac_cv_path_FGREP"; then 6205 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6206 fi 6207else 6208 ac_cv_path_FGREP=$FGREP 6209fi 6210 6211 fi 6212fi 6213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6214$as_echo "$ac_cv_path_FGREP" >&6; } 6215 FGREP="$ac_cv_path_FGREP" 6216 6217 6218test -z "$GREP" && GREP=grep 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238# Check whether --with-gnu-ld was given. 6239if test "${with_gnu_ld+set}" = set; then : 6240 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6241else 6242 with_gnu_ld=no 6243fi 6244 6245ac_prog=ld 6246if test yes = "$GCC"; then 6247 # Check if gcc -print-prog-name=ld gives a path. 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6249$as_echo_n "checking for ld used by $CC... " >&6; } 6250 case $host in 6251 *-*-mingw*) 6252 # gcc leaves a trailing carriage return, which upsets mingw 6253 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6254 *) 6255 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6256 esac 6257 case $ac_prog in 6258 # Accept absolute paths. 6259 [\\/]* | ?:[\\/]*) 6260 re_direlt='/[^/][^/]*/\.\./' 6261 # Canonicalize the pathname of ld 6262 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6263 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6264 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6265 done 6266 test -z "$LD" && LD=$ac_prog 6267 ;; 6268 "") 6269 # If it fails, then pretend we aren't using GCC. 6270 ac_prog=ld 6271 ;; 6272 *) 6273 # If it is relative, then search for the first ld in PATH. 6274 with_gnu_ld=unknown 6275 ;; 6276 esac 6277elif test yes = "$with_gnu_ld"; then 6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6279$as_echo_n "checking for GNU ld... " >&6; } 6280else 6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6282$as_echo_n "checking for non-GNU ld... " >&6; } 6283fi 6284if ${lt_cv_path_LD+:} false; then : 6285 $as_echo_n "(cached) " >&6 6286else 6287 if test -z "$LD"; then 6288 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6289 for ac_dir in $PATH; do 6290 IFS=$lt_save_ifs 6291 test -z "$ac_dir" && ac_dir=. 6292 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6293 lt_cv_path_LD=$ac_dir/$ac_prog 6294 # Check to see if the program is GNU ld. I'd rather use --version, 6295 # but apparently some variants of GNU ld only accept -v. 6296 # Break only if it was the GNU/non-GNU ld that we prefer. 6297 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6298 *GNU* | *'with BFD'*) 6299 test no != "$with_gnu_ld" && break 6300 ;; 6301 *) 6302 test yes != "$with_gnu_ld" && break 6303 ;; 6304 esac 6305 fi 6306 done 6307 IFS=$lt_save_ifs 6308else 6309 lt_cv_path_LD=$LD # Let the user override the test with a path. 6310fi 6311fi 6312 6313LD=$lt_cv_path_LD 6314if test -n "$LD"; then 6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6316$as_echo "$LD" >&6; } 6317else 6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6319$as_echo "no" >&6; } 6320fi 6321test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6323$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6324if ${lt_cv_prog_gnu_ld+:} false; then : 6325 $as_echo_n "(cached) " >&6 6326else 6327 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6328case `$LD -v 2>&1 </dev/null` in 6329*GNU* | *'with BFD'*) 6330 lt_cv_prog_gnu_ld=yes 6331 ;; 6332*) 6333 lt_cv_prog_gnu_ld=no 6334 ;; 6335esac 6336fi 6337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6338$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6339with_gnu_ld=$lt_cv_prog_gnu_ld 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6350$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6351if ${lt_cv_path_NM+:} false; then : 6352 $as_echo_n "(cached) " >&6 6353else 6354 if test -n "$NM"; then 6355 # Let the user override the test. 6356 lt_cv_path_NM=$NM 6357else 6358 lt_nm_to_check=${ac_tool_prefix}nm 6359 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6360 lt_nm_to_check="$lt_nm_to_check nm" 6361 fi 6362 for lt_tmp_nm in $lt_nm_to_check; do 6363 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6364 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6365 IFS=$lt_save_ifs 6366 test -z "$ac_dir" && ac_dir=. 6367 tmp_nm=$ac_dir/$lt_tmp_nm 6368 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6369 # Check to see if the nm accepts a BSD-compat flag. 6370 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6371 # nm: unknown option "B" ignored 6372 # Tru64's nm complains that /dev/null is an invalid object file 6373 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6374 case $build_os in 6375 mingw*) lt_bad_file=conftest.nm/nofile ;; 6376 *) lt_bad_file=/dev/null ;; 6377 esac 6378 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6379 *$lt_bad_file* | *'Invalid file or object type'*) 6380 lt_cv_path_NM="$tmp_nm -B" 6381 break 2 6382 ;; 6383 *) 6384 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6385 */dev/null*) 6386 lt_cv_path_NM="$tmp_nm -p" 6387 break 2 6388 ;; 6389 *) 6390 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6391 continue # so that we can try to find one that supports BSD flags 6392 ;; 6393 esac 6394 ;; 6395 esac 6396 fi 6397 done 6398 IFS=$lt_save_ifs 6399 done 6400 : ${lt_cv_path_NM=no} 6401fi 6402fi 6403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6404$as_echo "$lt_cv_path_NM" >&6; } 6405if test no != "$lt_cv_path_NM"; then 6406 NM=$lt_cv_path_NM 6407else 6408 # Didn't find any BSD compatible name lister, look for dumpbin. 6409 if test -n "$DUMPBIN"; then : 6410 # Let the user override the test. 6411 else 6412 if test -n "$ac_tool_prefix"; then 6413 for ac_prog in dumpbin "link -dump" 6414 do 6415 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6416set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6418$as_echo_n "checking for $ac_word... " >&6; } 6419if ${ac_cv_prog_DUMPBIN+:} false; then : 6420 $as_echo_n "(cached) " >&6 6421else 6422 if test -n "$DUMPBIN"; then 6423 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6424else 6425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6426for as_dir in $PATH 6427do 6428 IFS=$as_save_IFS 6429 test -z "$as_dir" && as_dir=. 6430 for ac_exec_ext in '' $ac_executable_extensions; do 6431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6432 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6434 break 2 6435 fi 6436done 6437 done 6438IFS=$as_save_IFS 6439 6440fi 6441fi 6442DUMPBIN=$ac_cv_prog_DUMPBIN 6443if test -n "$DUMPBIN"; then 6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6445$as_echo "$DUMPBIN" >&6; } 6446else 6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6448$as_echo "no" >&6; } 6449fi 6450 6451 6452 test -n "$DUMPBIN" && break 6453 done 6454fi 6455if test -z "$DUMPBIN"; then 6456 ac_ct_DUMPBIN=$DUMPBIN 6457 for ac_prog in dumpbin "link -dump" 6458do 6459 # Extract the first word of "$ac_prog", so it can be a program name with args. 6460set dummy $ac_prog; ac_word=$2 6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6462$as_echo_n "checking for $ac_word... " >&6; } 6463if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6464 $as_echo_n "(cached) " >&6 6465else 6466 if test -n "$ac_ct_DUMPBIN"; then 6467 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6468else 6469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6470for as_dir in $PATH 6471do 6472 IFS=$as_save_IFS 6473 test -z "$as_dir" && as_dir=. 6474 for ac_exec_ext in '' $ac_executable_extensions; do 6475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6476 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6478 break 2 6479 fi 6480done 6481 done 6482IFS=$as_save_IFS 6483 6484fi 6485fi 6486ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6487if test -n "$ac_ct_DUMPBIN"; then 6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6489$as_echo "$ac_ct_DUMPBIN" >&6; } 6490else 6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6492$as_echo "no" >&6; } 6493fi 6494 6495 6496 test -n "$ac_ct_DUMPBIN" && break 6497done 6498 6499 if test "x$ac_ct_DUMPBIN" = x; then 6500 DUMPBIN=":" 6501 else 6502 case $cross_compiling:$ac_tool_warned in 6503yes:) 6504{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6505$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6506ac_tool_warned=yes ;; 6507esac 6508 DUMPBIN=$ac_ct_DUMPBIN 6509 fi 6510fi 6511 6512 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6513 *COFF*) 6514 DUMPBIN="$DUMPBIN -symbols -headers" 6515 ;; 6516 *) 6517 DUMPBIN=: 6518 ;; 6519 esac 6520 fi 6521 6522 if test : != "$DUMPBIN"; then 6523 NM=$DUMPBIN 6524 fi 6525fi 6526test -z "$NM" && NM=nm 6527 6528 6529 6530 6531 6532 6533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6534$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6535if ${lt_cv_nm_interface+:} false; then : 6536 $as_echo_n "(cached) " >&6 6537else 6538 lt_cv_nm_interface="BSD nm" 6539 echo "int some_variable = 0;" > conftest.$ac_ext 6540 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6541 (eval "$ac_compile" 2>conftest.err) 6542 cat conftest.err >&5 6543 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6544 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6545 cat conftest.err >&5 6546 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6547 cat conftest.out >&5 6548 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6549 lt_cv_nm_interface="MS dumpbin" 6550 fi 6551 rm -f conftest* 6552fi 6553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6554$as_echo "$lt_cv_nm_interface" >&6; } 6555 6556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6557$as_echo_n "checking whether ln -s works... " >&6; } 6558LN_S=$as_ln_s 6559if test "$LN_S" = "ln -s"; then 6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6561$as_echo "yes" >&6; } 6562else 6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6564$as_echo "no, using $LN_S" >&6; } 6565fi 6566 6567# find the maximum length of command line arguments 6568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6569$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6570if ${lt_cv_sys_max_cmd_len+:} false; then : 6571 $as_echo_n "(cached) " >&6 6572else 6573 i=0 6574 teststring=ABCD 6575 6576 case $build_os in 6577 msdosdjgpp*) 6578 # On DJGPP, this test can blow up pretty badly due to problems in libc 6579 # (any single argument exceeding 2000 bytes causes a buffer overrun 6580 # during glob expansion). Even if it were fixed, the result of this 6581 # check would be larger than it should be. 6582 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6583 ;; 6584 6585 gnu*) 6586 # Under GNU Hurd, this test is not required because there is 6587 # no limit to the length of command line arguments. 6588 # Libtool will interpret -1 as no limit whatsoever 6589 lt_cv_sys_max_cmd_len=-1; 6590 ;; 6591 6592 cygwin* | mingw* | cegcc*) 6593 # On Win9x/ME, this test blows up -- it succeeds, but takes 6594 # about 5 minutes as the teststring grows exponentially. 6595 # Worse, since 9x/ME are not pre-emptively multitasking, 6596 # you end up with a "frozen" computer, even though with patience 6597 # the test eventually succeeds (with a max line length of 256k). 6598 # Instead, let's just punt: use the minimum linelength reported by 6599 # all of the supported platforms: 8192 (on NT/2K/XP). 6600 lt_cv_sys_max_cmd_len=8192; 6601 ;; 6602 6603 mint*) 6604 # On MiNT this can take a long time and run out of memory. 6605 lt_cv_sys_max_cmd_len=8192; 6606 ;; 6607 6608 amigaos*) 6609 # On AmigaOS with pdksh, this test takes hours, literally. 6610 # So we just punt and use a minimum line length of 8192. 6611 lt_cv_sys_max_cmd_len=8192; 6612 ;; 6613 6614 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6615 # This has been around since 386BSD, at least. Likely further. 6616 if test -x /sbin/sysctl; then 6617 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6618 elif test -x /usr/sbin/sysctl; then 6619 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6620 else 6621 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6622 fi 6623 # And add a safety zone 6624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6626 ;; 6627 6628 interix*) 6629 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6630 lt_cv_sys_max_cmd_len=196608 6631 ;; 6632 6633 os2*) 6634 # The test takes a long time on OS/2. 6635 lt_cv_sys_max_cmd_len=8192 6636 ;; 6637 6638 osf*) 6639 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6640 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6641 # nice to cause kernel panics so lets avoid the loop below. 6642 # First set a reasonable default. 6643 lt_cv_sys_max_cmd_len=16384 6644 # 6645 if test -x /sbin/sysconfig; then 6646 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6647 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6648 esac 6649 fi 6650 ;; 6651 sco3.2v5*) 6652 lt_cv_sys_max_cmd_len=102400 6653 ;; 6654 sysv5* | sco5v6* | sysv4.2uw2*) 6655 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6656 if test -n "$kargmax"; then 6657 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6658 else 6659 lt_cv_sys_max_cmd_len=32768 6660 fi 6661 ;; 6662 *) 6663 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6664 if test -n "$lt_cv_sys_max_cmd_len" && \ 6665 test undefined != "$lt_cv_sys_max_cmd_len"; then 6666 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6668 else 6669 # Make teststring a little bigger before we do anything with it. 6670 # a 1K string should be a reasonable start. 6671 for i in 1 2 3 4 5 6 7 8; do 6672 teststring=$teststring$teststring 6673 done 6674 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6675 # If test is not a shell built-in, we'll probably end up computing a 6676 # maximum length that is only half of the actual maximum length, but 6677 # we can't tell. 6678 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6679 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6680 test 17 != "$i" # 1/2 MB should be enough 6681 do 6682 i=`expr $i + 1` 6683 teststring=$teststring$teststring 6684 done 6685 # Only check the string length outside the loop. 6686 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6687 teststring= 6688 # Add a significant safety factor because C++ compilers can tack on 6689 # massive amounts of additional arguments before passing them to the 6690 # linker. It appears as though 1/2 is a usable value. 6691 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6692 fi 6693 ;; 6694 esac 6695 6696fi 6697 6698if test -n "$lt_cv_sys_max_cmd_len"; then 6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6700$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6701else 6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6703$as_echo "none" >&6; } 6704fi 6705max_cmd_len=$lt_cv_sys_max_cmd_len 6706 6707 6708 6709 6710 6711 6712: ${CP="cp -f"} 6713: ${MV="mv -f"} 6714: ${RM="rm -f"} 6715 6716if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6717 lt_unset=unset 6718else 6719 lt_unset=false 6720fi 6721 6722 6723 6724 6725 6726# test EBCDIC or ASCII 6727case `echo X|tr X '\101'` in 6728 A) # ASCII based system 6729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6730 lt_SP2NL='tr \040 \012' 6731 lt_NL2SP='tr \015\012 \040\040' 6732 ;; 6733 *) # EBCDIC based system 6734 lt_SP2NL='tr \100 \n' 6735 lt_NL2SP='tr \r\n \100\100' 6736 ;; 6737esac 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6748$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6749if ${lt_cv_to_host_file_cmd+:} false; then : 6750 $as_echo_n "(cached) " >&6 6751else 6752 case $host in 6753 *-*-mingw* ) 6754 case $build in 6755 *-*-mingw* ) # actually msys 6756 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6757 ;; 6758 *-*-cygwin* ) 6759 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6760 ;; 6761 * ) # otherwise, assume *nix 6762 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6763 ;; 6764 esac 6765 ;; 6766 *-*-cygwin* ) 6767 case $build in 6768 *-*-mingw* ) # actually msys 6769 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6770 ;; 6771 *-*-cygwin* ) 6772 lt_cv_to_host_file_cmd=func_convert_file_noop 6773 ;; 6774 * ) # otherwise, assume *nix 6775 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6776 ;; 6777 esac 6778 ;; 6779 * ) # unhandled hosts (and "normal" native builds) 6780 lt_cv_to_host_file_cmd=func_convert_file_noop 6781 ;; 6782esac 6783 6784fi 6785 6786to_host_file_cmd=$lt_cv_to_host_file_cmd 6787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6788$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6789 6790 6791 6792 6793 6794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6795$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6796if ${lt_cv_to_tool_file_cmd+:} false; then : 6797 $as_echo_n "(cached) " >&6 6798else 6799 #assume ordinary cross tools, or native build. 6800lt_cv_to_tool_file_cmd=func_convert_file_noop 6801case $host in 6802 *-*-mingw* ) 6803 case $build in 6804 *-*-mingw* ) # actually msys 6805 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6806 ;; 6807 esac 6808 ;; 6809esac 6810 6811fi 6812 6813to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6815$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6816 6817 6818 6819 6820 6821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6822$as_echo_n "checking for $LD option to reload object files... " >&6; } 6823if ${lt_cv_ld_reload_flag+:} false; then : 6824 $as_echo_n "(cached) " >&6 6825else 6826 lt_cv_ld_reload_flag='-r' 6827fi 6828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6829$as_echo "$lt_cv_ld_reload_flag" >&6; } 6830reload_flag=$lt_cv_ld_reload_flag 6831case $reload_flag in 6832"" | " "*) ;; 6833*) reload_flag=" $reload_flag" ;; 6834esac 6835reload_cmds='$LD$reload_flag -o $output$reload_objs' 6836case $host_os in 6837 cygwin* | mingw* | pw32* | cegcc*) 6838 if test yes != "$GCC"; then 6839 reload_cmds=false 6840 fi 6841 ;; 6842 darwin*) 6843 if test yes = "$GCC"; then 6844 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6845 else 6846 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6847 fi 6848 ;; 6849esac 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859if test -n "$ac_tool_prefix"; then 6860 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6861set dummy ${ac_tool_prefix}objdump; ac_word=$2 6862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6863$as_echo_n "checking for $ac_word... " >&6; } 6864if ${ac_cv_prog_OBJDUMP+:} false; then : 6865 $as_echo_n "(cached) " >&6 6866else 6867 if test -n "$OBJDUMP"; then 6868 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6869else 6870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6871for as_dir in $PATH 6872do 6873 IFS=$as_save_IFS 6874 test -z "$as_dir" && as_dir=. 6875 for ac_exec_ext in '' $ac_executable_extensions; do 6876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6877 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6879 break 2 6880 fi 6881done 6882 done 6883IFS=$as_save_IFS 6884 6885fi 6886fi 6887OBJDUMP=$ac_cv_prog_OBJDUMP 6888if test -n "$OBJDUMP"; then 6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6890$as_echo "$OBJDUMP" >&6; } 6891else 6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6893$as_echo "no" >&6; } 6894fi 6895 6896 6897fi 6898if test -z "$ac_cv_prog_OBJDUMP"; then 6899 ac_ct_OBJDUMP=$OBJDUMP 6900 # Extract the first word of "objdump", so it can be a program name with args. 6901set dummy objdump; ac_word=$2 6902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6903$as_echo_n "checking for $ac_word... " >&6; } 6904if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6905 $as_echo_n "(cached) " >&6 6906else 6907 if test -n "$ac_ct_OBJDUMP"; then 6908 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6909else 6910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6911for as_dir in $PATH 6912do 6913 IFS=$as_save_IFS 6914 test -z "$as_dir" && as_dir=. 6915 for ac_exec_ext in '' $ac_executable_extensions; do 6916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6917 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6919 break 2 6920 fi 6921done 6922 done 6923IFS=$as_save_IFS 6924 6925fi 6926fi 6927ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6928if test -n "$ac_ct_OBJDUMP"; then 6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6930$as_echo "$ac_ct_OBJDUMP" >&6; } 6931else 6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6933$as_echo "no" >&6; } 6934fi 6935 6936 if test "x$ac_ct_OBJDUMP" = x; then 6937 OBJDUMP="false" 6938 else 6939 case $cross_compiling:$ac_tool_warned in 6940yes:) 6941{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6942$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6943ac_tool_warned=yes ;; 6944esac 6945 OBJDUMP=$ac_ct_OBJDUMP 6946 fi 6947else 6948 OBJDUMP="$ac_cv_prog_OBJDUMP" 6949fi 6950 6951test -z "$OBJDUMP" && OBJDUMP=objdump 6952 6953 6954 6955 6956 6957 6958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6959$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6960if ${lt_cv_deplibs_check_method+:} false; then : 6961 $as_echo_n "(cached) " >&6 6962else 6963 lt_cv_file_magic_cmd='$MAGIC_CMD' 6964lt_cv_file_magic_test_file= 6965lt_cv_deplibs_check_method='unknown' 6966# Need to set the preceding variable on all platforms that support 6967# interlibrary dependencies. 6968# 'none' -- dependencies not supported. 6969# 'unknown' -- same as none, but documents that we really don't know. 6970# 'pass_all' -- all dependencies passed with no checks. 6971# 'test_compile' -- check by making test program. 6972# 'file_magic [[regex]]' -- check by looking for files in library path 6973# that responds to the $file_magic_cmd with a given extended regex. 6974# If you have 'file' or equivalent on your system and you're not sure 6975# whether 'pass_all' will *always* work, you probably want this one. 6976 6977case $host_os in 6978aix[4-9]*) 6979 lt_cv_deplibs_check_method=pass_all 6980 ;; 6981 6982beos*) 6983 lt_cv_deplibs_check_method=pass_all 6984 ;; 6985 6986bsdi[45]*) 6987 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6988 lt_cv_file_magic_cmd='/usr/bin/file -L' 6989 lt_cv_file_magic_test_file=/shlib/libc.so 6990 ;; 6991 6992cygwin*) 6993 # func_win32_libid is a shell function defined in ltmain.sh 6994 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6995 lt_cv_file_magic_cmd='func_win32_libid' 6996 ;; 6997 6998mingw* | pw32*) 6999 # Base MSYS/MinGW do not provide the 'file' command needed by 7000 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7001 # unless we find 'file', for example because we are cross-compiling. 7002 if ( file / ) >/dev/null 2>&1; then 7003 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7004 lt_cv_file_magic_cmd='func_win32_libid' 7005 else 7006 # Keep this pattern in sync with the one in func_win32_libid. 7007 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7008 lt_cv_file_magic_cmd='$OBJDUMP -f' 7009 fi 7010 ;; 7011 7012cegcc*) 7013 # use the weaker test based on 'objdump'. See mingw*. 7014 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7015 lt_cv_file_magic_cmd='$OBJDUMP -f' 7016 ;; 7017 7018darwin* | rhapsody*) 7019 lt_cv_deplibs_check_method=pass_all 7020 ;; 7021 7022freebsd* | dragonfly*) 7023 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7024 case $host_cpu in 7025 i*86 ) 7026 # Not sure whether the presence of OpenBSD here was a mistake. 7027 # Let's accept both of them until this is cleared up. 7028 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7029 lt_cv_file_magic_cmd=/usr/bin/file 7030 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7031 ;; 7032 esac 7033 else 7034 lt_cv_deplibs_check_method=pass_all 7035 fi 7036 ;; 7037 7038haiku*) 7039 lt_cv_deplibs_check_method=pass_all 7040 ;; 7041 7042hpux10.20* | hpux11*) 7043 lt_cv_file_magic_cmd=/usr/bin/file 7044 case $host_cpu in 7045 ia64*) 7046 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7047 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7048 ;; 7049 hppa*64*) 7050 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]' 7051 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7052 ;; 7053 *) 7054 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7055 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7056 ;; 7057 esac 7058 ;; 7059 7060interix[3-9]*) 7061 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7063 ;; 7064 7065irix5* | irix6* | nonstopux*) 7066 case $LD in 7067 *-32|*"-32 ") libmagic=32-bit;; 7068 *-n32|*"-n32 ") libmagic=N32;; 7069 *-64|*"-64 ") libmagic=64-bit;; 7070 *) libmagic=never-match;; 7071 esac 7072 lt_cv_deplibs_check_method=pass_all 7073 ;; 7074 7075# This must be glibc/ELF. 7076linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7077 lt_cv_deplibs_check_method=pass_all 7078 ;; 7079 7080netbsd*) 7081 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7083 else 7084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7085 fi 7086 ;; 7087 7088newos6*) 7089 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7090 lt_cv_file_magic_cmd=/usr/bin/file 7091 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7092 ;; 7093 7094*nto* | *qnx*) 7095 lt_cv_deplibs_check_method=pass_all 7096 ;; 7097 7098openbsd* | bitrig*) 7099 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7100 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7101 else 7102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7103 fi 7104 ;; 7105 7106osf3* | osf4* | osf5*) 7107 lt_cv_deplibs_check_method=pass_all 7108 ;; 7109 7110rdos*) 7111 lt_cv_deplibs_check_method=pass_all 7112 ;; 7113 7114solaris*) 7115 lt_cv_deplibs_check_method=pass_all 7116 ;; 7117 7118sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7119 lt_cv_deplibs_check_method=pass_all 7120 ;; 7121 7122sysv4 | sysv4.3*) 7123 case $host_vendor in 7124 motorola) 7125 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]' 7126 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7127 ;; 7128 ncr) 7129 lt_cv_deplibs_check_method=pass_all 7130 ;; 7131 sequent) 7132 lt_cv_file_magic_cmd='/bin/file' 7133 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7134 ;; 7135 sni) 7136 lt_cv_file_magic_cmd='/bin/file' 7137 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7138 lt_cv_file_magic_test_file=/lib/libc.so 7139 ;; 7140 siemens) 7141 lt_cv_deplibs_check_method=pass_all 7142 ;; 7143 pc) 7144 lt_cv_deplibs_check_method=pass_all 7145 ;; 7146 esac 7147 ;; 7148 7149tpf*) 7150 lt_cv_deplibs_check_method=pass_all 7151 ;; 7152os2*) 7153 lt_cv_deplibs_check_method=pass_all 7154 ;; 7155esac 7156 7157fi 7158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7159$as_echo "$lt_cv_deplibs_check_method" >&6; } 7160 7161file_magic_glob= 7162want_nocaseglob=no 7163if test "$build" = "$host"; then 7164 case $host_os in 7165 mingw* | pw32*) 7166 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7167 want_nocaseglob=yes 7168 else 7169 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7170 fi 7171 ;; 7172 esac 7173fi 7174 7175file_magic_cmd=$lt_cv_file_magic_cmd 7176deplibs_check_method=$lt_cv_deplibs_check_method 7177test -z "$deplibs_check_method" && deplibs_check_method=unknown 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200if test -n "$ac_tool_prefix"; then 7201 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7202set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7204$as_echo_n "checking for $ac_word... " >&6; } 7205if ${ac_cv_prog_DLLTOOL+:} false; then : 7206 $as_echo_n "(cached) " >&6 7207else 7208 if test -n "$DLLTOOL"; then 7209 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7210else 7211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7212for as_dir in $PATH 7213do 7214 IFS=$as_save_IFS 7215 test -z "$as_dir" && as_dir=. 7216 for ac_exec_ext in '' $ac_executable_extensions; do 7217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7218 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7220 break 2 7221 fi 7222done 7223 done 7224IFS=$as_save_IFS 7225 7226fi 7227fi 7228DLLTOOL=$ac_cv_prog_DLLTOOL 7229if test -n "$DLLTOOL"; then 7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7231$as_echo "$DLLTOOL" >&6; } 7232else 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7234$as_echo "no" >&6; } 7235fi 7236 7237 7238fi 7239if test -z "$ac_cv_prog_DLLTOOL"; then 7240 ac_ct_DLLTOOL=$DLLTOOL 7241 # Extract the first word of "dlltool", so it can be a program name with args. 7242set dummy dlltool; ac_word=$2 7243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7244$as_echo_n "checking for $ac_word... " >&6; } 7245if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7246 $as_echo_n "(cached) " >&6 7247else 7248 if test -n "$ac_ct_DLLTOOL"; then 7249 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7250else 7251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7252for as_dir in $PATH 7253do 7254 IFS=$as_save_IFS 7255 test -z "$as_dir" && as_dir=. 7256 for ac_exec_ext in '' $ac_executable_extensions; do 7257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7258 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7260 break 2 7261 fi 7262done 7263 done 7264IFS=$as_save_IFS 7265 7266fi 7267fi 7268ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7269if test -n "$ac_ct_DLLTOOL"; then 7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7271$as_echo "$ac_ct_DLLTOOL" >&6; } 7272else 7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7274$as_echo "no" >&6; } 7275fi 7276 7277 if test "x$ac_ct_DLLTOOL" = x; then 7278 DLLTOOL="false" 7279 else 7280 case $cross_compiling:$ac_tool_warned in 7281yes:) 7282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7284ac_tool_warned=yes ;; 7285esac 7286 DLLTOOL=$ac_ct_DLLTOOL 7287 fi 7288else 7289 DLLTOOL="$ac_cv_prog_DLLTOOL" 7290fi 7291 7292test -z "$DLLTOOL" && DLLTOOL=dlltool 7293 7294 7295 7296 7297 7298 7299 7300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7301$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7302if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7303 $as_echo_n "(cached) " >&6 7304else 7305 lt_cv_sharedlib_from_linklib_cmd='unknown' 7306 7307case $host_os in 7308cygwin* | mingw* | pw32* | cegcc*) 7309 # two different shell functions defined in ltmain.sh; 7310 # decide which one to use based on capabilities of $DLLTOOL 7311 case `$DLLTOOL --help 2>&1` in 7312 *--identify-strict*) 7313 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7314 ;; 7315 *) 7316 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7317 ;; 7318 esac 7319 ;; 7320*) 7321 # fallback: assume linklib IS sharedlib 7322 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7323 ;; 7324esac 7325 7326fi 7327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7328$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7329sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7330test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7331 7332 7333 7334 7335 7336 7337 7338if test -n "$ac_tool_prefix"; then 7339 for ac_prog in ar 7340 do 7341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7342set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7344$as_echo_n "checking for $ac_word... " >&6; } 7345if ${ac_cv_prog_AR+:} false; then : 7346 $as_echo_n "(cached) " >&6 7347else 7348 if test -n "$AR"; then 7349 ac_cv_prog_AR="$AR" # Let the user override the test. 7350else 7351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7352for as_dir in $PATH 7353do 7354 IFS=$as_save_IFS 7355 test -z "$as_dir" && as_dir=. 7356 for ac_exec_ext in '' $ac_executable_extensions; do 7357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7358 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7360 break 2 7361 fi 7362done 7363 done 7364IFS=$as_save_IFS 7365 7366fi 7367fi 7368AR=$ac_cv_prog_AR 7369if test -n "$AR"; then 7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7371$as_echo "$AR" >&6; } 7372else 7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7374$as_echo "no" >&6; } 7375fi 7376 7377 7378 test -n "$AR" && break 7379 done 7380fi 7381if test -z "$AR"; then 7382 ac_ct_AR=$AR 7383 for ac_prog in ar 7384do 7385 # Extract the first word of "$ac_prog", so it can be a program name with args. 7386set dummy $ac_prog; ac_word=$2 7387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7388$as_echo_n "checking for $ac_word... " >&6; } 7389if ${ac_cv_prog_ac_ct_AR+:} false; then : 7390 $as_echo_n "(cached) " >&6 7391else 7392 if test -n "$ac_ct_AR"; then 7393 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7394else 7395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7396for as_dir in $PATH 7397do 7398 IFS=$as_save_IFS 7399 test -z "$as_dir" && as_dir=. 7400 for ac_exec_ext in '' $ac_executable_extensions; do 7401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7402 ac_cv_prog_ac_ct_AR="$ac_prog" 7403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7404 break 2 7405 fi 7406done 7407 done 7408IFS=$as_save_IFS 7409 7410fi 7411fi 7412ac_ct_AR=$ac_cv_prog_ac_ct_AR 7413if test -n "$ac_ct_AR"; then 7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7415$as_echo "$ac_ct_AR" >&6; } 7416else 7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7418$as_echo "no" >&6; } 7419fi 7420 7421 7422 test -n "$ac_ct_AR" && break 7423done 7424 7425 if test "x$ac_ct_AR" = x; then 7426 AR="false" 7427 else 7428 case $cross_compiling:$ac_tool_warned in 7429yes:) 7430{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7431$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7432ac_tool_warned=yes ;; 7433esac 7434 AR=$ac_ct_AR 7435 fi 7436fi 7437 7438: ${AR=ar} 7439: ${AR_FLAGS=cru} 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7452$as_echo_n "checking for archiver @FILE support... " >&6; } 7453if ${lt_cv_ar_at_file+:} false; then : 7454 $as_echo_n "(cached) " >&6 7455else 7456 lt_cv_ar_at_file=no 7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7458/* end confdefs.h. */ 7459 7460int 7461main () 7462{ 7463 7464 ; 7465 return 0; 7466} 7467_ACEOF 7468if ac_fn_c_try_compile "$LINENO"; then : 7469 echo conftest.$ac_objext > conftest.lst 7470 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7471 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7472 (eval $lt_ar_try) 2>&5 7473 ac_status=$? 7474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7475 test $ac_status = 0; } 7476 if test 0 -eq "$ac_status"; then 7477 # Ensure the archiver fails upon bogus file names. 7478 rm -f conftest.$ac_objext libconftest.a 7479 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7480 (eval $lt_ar_try) 2>&5 7481 ac_status=$? 7482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7483 test $ac_status = 0; } 7484 if test 0 -ne "$ac_status"; then 7485 lt_cv_ar_at_file=@ 7486 fi 7487 fi 7488 rm -f conftest.* libconftest.a 7489 7490fi 7491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7492 7493fi 7494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7495$as_echo "$lt_cv_ar_at_file" >&6; } 7496 7497if test no = "$lt_cv_ar_at_file"; then 7498 archiver_list_spec= 7499else 7500 archiver_list_spec=$lt_cv_ar_at_file 7501fi 7502 7503 7504 7505 7506 7507 7508 7509if test -n "$ac_tool_prefix"; then 7510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7511set dummy ${ac_tool_prefix}strip; ac_word=$2 7512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7513$as_echo_n "checking for $ac_word... " >&6; } 7514if ${ac_cv_prog_STRIP+:} false; then : 7515 $as_echo_n "(cached) " >&6 7516else 7517 if test -n "$STRIP"; then 7518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7519else 7520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7521for as_dir in $PATH 7522do 7523 IFS=$as_save_IFS 7524 test -z "$as_dir" && as_dir=. 7525 for ac_exec_ext in '' $ac_executable_extensions; do 7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7527 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7529 break 2 7530 fi 7531done 7532 done 7533IFS=$as_save_IFS 7534 7535fi 7536fi 7537STRIP=$ac_cv_prog_STRIP 7538if test -n "$STRIP"; then 7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7540$as_echo "$STRIP" >&6; } 7541else 7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7543$as_echo "no" >&6; } 7544fi 7545 7546 7547fi 7548if test -z "$ac_cv_prog_STRIP"; then 7549 ac_ct_STRIP=$STRIP 7550 # Extract the first word of "strip", so it can be a program name with args. 7551set dummy strip; ac_word=$2 7552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7553$as_echo_n "checking for $ac_word... " >&6; } 7554if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7555 $as_echo_n "(cached) " >&6 7556else 7557 if test -n "$ac_ct_STRIP"; then 7558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7559else 7560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7561for as_dir in $PATH 7562do 7563 IFS=$as_save_IFS 7564 test -z "$as_dir" && as_dir=. 7565 for ac_exec_ext in '' $ac_executable_extensions; do 7566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7567 ac_cv_prog_ac_ct_STRIP="strip" 7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7569 break 2 7570 fi 7571done 7572 done 7573IFS=$as_save_IFS 7574 7575fi 7576fi 7577ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7578if test -n "$ac_ct_STRIP"; then 7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7580$as_echo "$ac_ct_STRIP" >&6; } 7581else 7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7583$as_echo "no" >&6; } 7584fi 7585 7586 if test "x$ac_ct_STRIP" = x; then 7587 STRIP=":" 7588 else 7589 case $cross_compiling:$ac_tool_warned in 7590yes:) 7591{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7592$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7593ac_tool_warned=yes ;; 7594esac 7595 STRIP=$ac_ct_STRIP 7596 fi 7597else 7598 STRIP="$ac_cv_prog_STRIP" 7599fi 7600 7601test -z "$STRIP" && STRIP=: 7602 7603 7604 7605 7606 7607 7608if test -n "$ac_tool_prefix"; then 7609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7610set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7612$as_echo_n "checking for $ac_word... " >&6; } 7613if ${ac_cv_prog_RANLIB+:} false; then : 7614 $as_echo_n "(cached) " >&6 7615else 7616 if test -n "$RANLIB"; then 7617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7618else 7619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7620for as_dir in $PATH 7621do 7622 IFS=$as_save_IFS 7623 test -z "$as_dir" && as_dir=. 7624 for ac_exec_ext in '' $ac_executable_extensions; do 7625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7628 break 2 7629 fi 7630done 7631 done 7632IFS=$as_save_IFS 7633 7634fi 7635fi 7636RANLIB=$ac_cv_prog_RANLIB 7637if test -n "$RANLIB"; then 7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7639$as_echo "$RANLIB" >&6; } 7640else 7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7642$as_echo "no" >&6; } 7643fi 7644 7645 7646fi 7647if test -z "$ac_cv_prog_RANLIB"; then 7648 ac_ct_RANLIB=$RANLIB 7649 # Extract the first word of "ranlib", so it can be a program name with args. 7650set dummy ranlib; ac_word=$2 7651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7652$as_echo_n "checking for $ac_word... " >&6; } 7653if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7654 $as_echo_n "(cached) " >&6 7655else 7656 if test -n "$ac_ct_RANLIB"; then 7657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7658else 7659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7660for as_dir in $PATH 7661do 7662 IFS=$as_save_IFS 7663 test -z "$as_dir" && as_dir=. 7664 for ac_exec_ext in '' $ac_executable_extensions; do 7665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7666 ac_cv_prog_ac_ct_RANLIB="ranlib" 7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7668 break 2 7669 fi 7670done 7671 done 7672IFS=$as_save_IFS 7673 7674fi 7675fi 7676ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7677if test -n "$ac_ct_RANLIB"; then 7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7679$as_echo "$ac_ct_RANLIB" >&6; } 7680else 7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7682$as_echo "no" >&6; } 7683fi 7684 7685 if test "x$ac_ct_RANLIB" = x; then 7686 RANLIB=":" 7687 else 7688 case $cross_compiling:$ac_tool_warned in 7689yes:) 7690{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7691$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7692ac_tool_warned=yes ;; 7693esac 7694 RANLIB=$ac_ct_RANLIB 7695 fi 7696else 7697 RANLIB="$ac_cv_prog_RANLIB" 7698fi 7699 7700test -z "$RANLIB" && RANLIB=: 7701 7702 7703 7704 7705 7706 7707# Determine commands to create old-style static archives. 7708old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7709old_postinstall_cmds='chmod 644 $oldlib' 7710old_postuninstall_cmds= 7711 7712if test -n "$RANLIB"; then 7713 case $host_os in 7714 bitrig* | openbsd*) 7715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7716 ;; 7717 *) 7718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7719 ;; 7720 esac 7721 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7722fi 7723 7724case $host_os in 7725 darwin*) 7726 lock_old_archive_extraction=yes ;; 7727 *) 7728 lock_old_archive_extraction=no ;; 7729esac 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769# If no C compiler was specified, use CC. 7770LTCC=${LTCC-"$CC"} 7771 7772# If no C compiler flags were specified, use CFLAGS. 7773LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7774 7775# Allow CC to be a program name with arguments. 7776compiler=$CC 7777 7778 7779# Check for command to grab the raw symbol name followed by C symbol from nm. 7780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7781$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7782if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7783 $as_echo_n "(cached) " >&6 7784else 7785 7786# These are sane defaults that work on at least a few old systems. 7787# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7788 7789# Character class describing NM global symbol codes. 7790symcode='[BCDEGRST]' 7791 7792# Regexp to match symbols that can be accessed directly from C. 7793sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7794 7795# Define system-specific variables. 7796case $host_os in 7797aix*) 7798 symcode='[BCDT]' 7799 ;; 7800cygwin* | mingw* | pw32* | cegcc*) 7801 symcode='[ABCDGISTW]' 7802 ;; 7803hpux*) 7804 if test ia64 = "$host_cpu"; then 7805 symcode='[ABCDEGRST]' 7806 fi 7807 ;; 7808irix* | nonstopux*) 7809 symcode='[BCDEGRST]' 7810 ;; 7811osf*) 7812 symcode='[BCDEGQRST]' 7813 ;; 7814solaris*) 7815 symcode='[BDRT]' 7816 ;; 7817sco3.2v5*) 7818 symcode='[DT]' 7819 ;; 7820sysv4.2uw2*) 7821 symcode='[DT]' 7822 ;; 7823sysv5* | sco5v6* | unixware* | OpenUNIX*) 7824 symcode='[ABDT]' 7825 ;; 7826sysv4) 7827 symcode='[DFNSTU]' 7828 ;; 7829esac 7830 7831# If we're using GNU nm, then use its standard symbol codes. 7832case `$NM -V 2>&1` in 7833*GNU* | *'with BFD'*) 7834 symcode='[ABCDGIRSTW]' ;; 7835esac 7836 7837if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7838 # Gets list of data symbols to import. 7839 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7840 # Adjust the below global symbol transforms to fixup imported variables. 7841 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7842 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7843 lt_c_name_lib_hook="\ 7844 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7845 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7846else 7847 # Disable hooks by default. 7848 lt_cv_sys_global_symbol_to_import= 7849 lt_cdecl_hook= 7850 lt_c_name_hook= 7851 lt_c_name_lib_hook= 7852fi 7853 7854# Transform an extracted symbol line into a proper C declaration. 7855# Some systems (esp. on ia64) link data and code symbols differently, 7856# so use this general approach. 7857lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7858$lt_cdecl_hook\ 7859" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7860" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7861 7862# Transform an extracted symbol line into symbol name and symbol address 7863lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7864$lt_c_name_hook\ 7865" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7866" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7867 7868# Transform an extracted symbol line into symbol name with lib prefix and 7869# symbol address. 7870lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7871$lt_c_name_lib_hook\ 7872" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7873" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7874" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7875 7876# Handle CRLF in mingw tool chain 7877opt_cr= 7878case $build_os in 7879mingw*) 7880 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7881 ;; 7882esac 7883 7884# Try without a prefix underscore, then with it. 7885for ac_symprfx in "" "_"; do 7886 7887 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7888 symxfrm="\\1 $ac_symprfx\\2 \\2" 7889 7890 # Write the raw and C identifiers. 7891 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7892 # Fake it for dumpbin and say T for any non-static function, 7893 # D for any global variable and I for any imported variable. 7894 # Also find C++ and __fastcall symbols from MSVC++, 7895 # which start with @ or ?. 7896 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7897" {last_section=section; section=\$ 3};"\ 7898" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7899" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7900" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7901" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7902" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7903" \$ 0!~/External *\|/{next};"\ 7904" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7905" {if(hide[section]) next};"\ 7906" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7907" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7908" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7909" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7910" ' prfx=^$ac_symprfx" 7911 else 7912 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7913 fi 7914 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7915 7916 # Check to see that the pipe works correctly. 7917 pipe_works=no 7918 7919 rm -f conftest* 7920 cat > conftest.$ac_ext <<_LT_EOF 7921#ifdef __cplusplus 7922extern "C" { 7923#endif 7924char nm_test_var; 7925void nm_test_func(void); 7926void nm_test_func(void){} 7927#ifdef __cplusplus 7928} 7929#endif 7930int main(){nm_test_var='a';nm_test_func();return(0);} 7931_LT_EOF 7932 7933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7934 (eval $ac_compile) 2>&5 7935 ac_status=$? 7936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7937 test $ac_status = 0; }; then 7938 # Now try to grab the symbols. 7939 nlist=conftest.nm 7940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7941 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7942 ac_status=$? 7943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7944 test $ac_status = 0; } && test -s "$nlist"; then 7945 # Try sorting and uniquifying the output. 7946 if sort "$nlist" | uniq > "$nlist"T; then 7947 mv -f "$nlist"T "$nlist" 7948 else 7949 rm -f "$nlist"T 7950 fi 7951 7952 # Make sure that we snagged all the symbols we need. 7953 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7954 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7955 cat <<_LT_EOF > conftest.$ac_ext 7956/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7957#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7958/* DATA imports from DLLs on WIN32 can't be const, because runtime 7959 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7960# define LT_DLSYM_CONST 7961#elif defined __osf__ 7962/* This system does not cope well with relocations in const data. */ 7963# define LT_DLSYM_CONST 7964#else 7965# define LT_DLSYM_CONST const 7966#endif 7967 7968#ifdef __cplusplus 7969extern "C" { 7970#endif 7971 7972_LT_EOF 7973 # Now generate the symbol file. 7974 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7975 7976 cat <<_LT_EOF >> conftest.$ac_ext 7977 7978/* The mapping between symbol names and symbols. */ 7979LT_DLSYM_CONST struct { 7980 const char *name; 7981 void *address; 7982} 7983lt__PROGRAM__LTX_preloaded_symbols[] = 7984{ 7985 { "@PROGRAM@", (void *) 0 }, 7986_LT_EOF 7987 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7988 cat <<\_LT_EOF >> conftest.$ac_ext 7989 {0, (void *) 0} 7990}; 7991 7992/* This works around a problem in FreeBSD linker */ 7993#ifdef FREEBSD_WORKAROUND 7994static const void *lt_preloaded_setup() { 7995 return lt__PROGRAM__LTX_preloaded_symbols; 7996} 7997#endif 7998 7999#ifdef __cplusplus 8000} 8001#endif 8002_LT_EOF 8003 # Now try linking the two files. 8004 mv conftest.$ac_objext conftstm.$ac_objext 8005 lt_globsym_save_LIBS=$LIBS 8006 lt_globsym_save_CFLAGS=$CFLAGS 8007 LIBS=conftstm.$ac_objext 8008 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8010 (eval $ac_link) 2>&5 8011 ac_status=$? 8012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8013 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8014 pipe_works=yes 8015 fi 8016 LIBS=$lt_globsym_save_LIBS 8017 CFLAGS=$lt_globsym_save_CFLAGS 8018 else 8019 echo "cannot find nm_test_func in $nlist" >&5 8020 fi 8021 else 8022 echo "cannot find nm_test_var in $nlist" >&5 8023 fi 8024 else 8025 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8026 fi 8027 else 8028 echo "$progname: failed program was:" >&5 8029 cat conftest.$ac_ext >&5 8030 fi 8031 rm -rf conftest* conftst* 8032 8033 # Do not use the global_symbol_pipe unless it works. 8034 if test yes = "$pipe_works"; then 8035 break 8036 else 8037 lt_cv_sys_global_symbol_pipe= 8038 fi 8039done 8040 8041fi 8042 8043if test -z "$lt_cv_sys_global_symbol_pipe"; then 8044 lt_cv_sys_global_symbol_to_cdecl= 8045fi 8046if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8048$as_echo "failed" >&6; } 8049else 8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8051$as_echo "ok" >&6; } 8052fi 8053 8054# Response file support. 8055if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8056 nm_file_list_spec='@' 8057elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8058 nm_file_list_spec='@' 8059fi 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8098$as_echo_n "checking for sysroot... " >&6; } 8099 8100# Check whether --with-sysroot was given. 8101if test "${with_sysroot+set}" = set; then : 8102 withval=$with_sysroot; 8103else 8104 with_sysroot=no 8105fi 8106 8107 8108lt_sysroot= 8109case $with_sysroot in #( 8110 yes) 8111 if test yes = "$GCC"; then 8112 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8113 fi 8114 ;; #( 8115 /*) 8116 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8117 ;; #( 8118 no|'') 8119 ;; #( 8120 *) 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8122$as_echo "$with_sysroot" >&6; } 8123 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8124 ;; 8125esac 8126 8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8128$as_echo "${lt_sysroot:-no}" >&6; } 8129 8130 8131 8132 8133 8134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8135$as_echo_n "checking for a working dd... " >&6; } 8136if ${ac_cv_path_lt_DD+:} false; then : 8137 $as_echo_n "(cached) " >&6 8138else 8139 printf 0123456789abcdef0123456789abcdef >conftest.i 8140cat conftest.i conftest.i >conftest2.i 8141: ${lt_DD:=$DD} 8142if test -z "$lt_DD"; then 8143 ac_path_lt_DD_found=false 8144 # Loop through the user's path and test for each of PROGNAME-LIST 8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8146for as_dir in $PATH 8147do 8148 IFS=$as_save_IFS 8149 test -z "$as_dir" && as_dir=. 8150 for ac_prog in dd; do 8151 for ac_exec_ext in '' $ac_executable_extensions; do 8152 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8153 as_fn_executable_p "$ac_path_lt_DD" || continue 8154if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8155 cmp -s conftest.i conftest.out \ 8156 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8157fi 8158 $ac_path_lt_DD_found && break 3 8159 done 8160 done 8161 done 8162IFS=$as_save_IFS 8163 if test -z "$ac_cv_path_lt_DD"; then 8164 : 8165 fi 8166else 8167 ac_cv_path_lt_DD=$lt_DD 8168fi 8169 8170rm -f conftest.i conftest2.i conftest.out 8171fi 8172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8173$as_echo "$ac_cv_path_lt_DD" >&6; } 8174 8175 8176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8177$as_echo_n "checking how to truncate binary pipes... " >&6; } 8178if ${lt_cv_truncate_bin+:} false; then : 8179 $as_echo_n "(cached) " >&6 8180else 8181 printf 0123456789abcdef0123456789abcdef >conftest.i 8182cat conftest.i conftest.i >conftest2.i 8183lt_cv_truncate_bin= 8184if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8185 cmp -s conftest.i conftest.out \ 8186 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8187fi 8188rm -f conftest.i conftest2.i conftest.out 8189test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8190fi 8191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8192$as_echo "$lt_cv_truncate_bin" >&6; } 8193 8194 8195 8196 8197 8198 8199 8200# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8201func_cc_basename () 8202{ 8203 for cc_temp in $*""; do 8204 case $cc_temp in 8205 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8206 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8207 \-*) ;; 8208 *) break;; 8209 esac 8210 done 8211 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8212} 8213 8214# Check whether --enable-libtool-lock was given. 8215if test "${enable_libtool_lock+set}" = set; then : 8216 enableval=$enable_libtool_lock; 8217fi 8218 8219test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8220 8221# Some flags need to be propagated to the compiler or linker for good 8222# libtool support. 8223case $host in 8224ia64-*-hpux*) 8225 # Find out what ABI is being produced by ac_compile, and set mode 8226 # options accordingly. 8227 echo 'int i;' > conftest.$ac_ext 8228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8229 (eval $ac_compile) 2>&5 8230 ac_status=$? 8231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8232 test $ac_status = 0; }; then 8233 case `/usr/bin/file conftest.$ac_objext` in 8234 *ELF-32*) 8235 HPUX_IA64_MODE=32 8236 ;; 8237 *ELF-64*) 8238 HPUX_IA64_MODE=64 8239 ;; 8240 esac 8241 fi 8242 rm -rf conftest* 8243 ;; 8244*-*-irix6*) 8245 # Find out what ABI is being produced by ac_compile, and set linker 8246 # options accordingly. 8247 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8249 (eval $ac_compile) 2>&5 8250 ac_status=$? 8251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8252 test $ac_status = 0; }; then 8253 if test yes = "$lt_cv_prog_gnu_ld"; then 8254 case `/usr/bin/file conftest.$ac_objext` in 8255 *32-bit*) 8256 LD="${LD-ld} -melf32bsmip" 8257 ;; 8258 *N32*) 8259 LD="${LD-ld} -melf32bmipn32" 8260 ;; 8261 *64-bit*) 8262 LD="${LD-ld} -melf64bmip" 8263 ;; 8264 esac 8265 else 8266 case `/usr/bin/file conftest.$ac_objext` in 8267 *32-bit*) 8268 LD="${LD-ld} -32" 8269 ;; 8270 *N32*) 8271 LD="${LD-ld} -n32" 8272 ;; 8273 *64-bit*) 8274 LD="${LD-ld} -64" 8275 ;; 8276 esac 8277 fi 8278 fi 8279 rm -rf conftest* 8280 ;; 8281 8282mips64*-*linux*) 8283 # Find out what ABI is being produced by ac_compile, and set linker 8284 # options accordingly. 8285 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8287 (eval $ac_compile) 2>&5 8288 ac_status=$? 8289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8290 test $ac_status = 0; }; then 8291 emul=elf 8292 case `/usr/bin/file conftest.$ac_objext` in 8293 *32-bit*) 8294 emul="${emul}32" 8295 ;; 8296 *64-bit*) 8297 emul="${emul}64" 8298 ;; 8299 esac 8300 case `/usr/bin/file conftest.$ac_objext` in 8301 *MSB*) 8302 emul="${emul}btsmip" 8303 ;; 8304 *LSB*) 8305 emul="${emul}ltsmip" 8306 ;; 8307 esac 8308 case `/usr/bin/file conftest.$ac_objext` in 8309 *N32*) 8310 emul="${emul}n32" 8311 ;; 8312 esac 8313 LD="${LD-ld} -m $emul" 8314 fi 8315 rm -rf conftest* 8316 ;; 8317 8318x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8319s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8320 # Find out what ABI is being produced by ac_compile, and set linker 8321 # options accordingly. Note that the listed cases only cover the 8322 # situations where additional linker options are needed (such as when 8323 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8324 # vice versa); the common cases where no linker options are needed do 8325 # not appear in the list. 8326 echo 'int i;' > conftest.$ac_ext 8327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8328 (eval $ac_compile) 2>&5 8329 ac_status=$? 8330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8331 test $ac_status = 0; }; then 8332 case `/usr/bin/file conftest.o` in 8333 *32-bit*) 8334 case $host in 8335 x86_64-*kfreebsd*-gnu) 8336 LD="${LD-ld} -m elf_i386_fbsd" 8337 ;; 8338 x86_64-*linux*) 8339 case `/usr/bin/file conftest.o` in 8340 *x86-64*) 8341 LD="${LD-ld} -m elf32_x86_64" 8342 ;; 8343 *) 8344 LD="${LD-ld} -m elf_i386" 8345 ;; 8346 esac 8347 ;; 8348 powerpc64le-*linux*) 8349 LD="${LD-ld} -m elf32lppclinux" 8350 ;; 8351 powerpc64-*linux*) 8352 LD="${LD-ld} -m elf32ppclinux" 8353 ;; 8354 s390x-*linux*) 8355 LD="${LD-ld} -m elf_s390" 8356 ;; 8357 sparc64-*linux*) 8358 LD="${LD-ld} -m elf32_sparc" 8359 ;; 8360 esac 8361 ;; 8362 *64-bit*) 8363 case $host in 8364 x86_64-*kfreebsd*-gnu) 8365 LD="${LD-ld} -m elf_x86_64_fbsd" 8366 ;; 8367 x86_64-*linux*) 8368 LD="${LD-ld} -m elf_x86_64" 8369 ;; 8370 powerpcle-*linux*) 8371 LD="${LD-ld} -m elf64lppc" 8372 ;; 8373 powerpc-*linux*) 8374 LD="${LD-ld} -m elf64ppc" 8375 ;; 8376 s390*-*linux*|s390*-*tpf*) 8377 LD="${LD-ld} -m elf64_s390" 8378 ;; 8379 sparc*-*linux*) 8380 LD="${LD-ld} -m elf64_sparc" 8381 ;; 8382 esac 8383 ;; 8384 esac 8385 fi 8386 rm -rf conftest* 8387 ;; 8388 8389*-*-sco3.2v5*) 8390 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8391 SAVE_CFLAGS=$CFLAGS 8392 CFLAGS="$CFLAGS -belf" 8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8394$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8395if ${lt_cv_cc_needs_belf+:} false; then : 8396 $as_echo_n "(cached) " >&6 8397else 8398 ac_ext=c 8399ac_cpp='$CPP $CPPFLAGS' 8400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8402ac_compiler_gnu=$ac_cv_c_compiler_gnu 8403 8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8405/* end confdefs.h. */ 8406 8407int 8408main () 8409{ 8410 8411 ; 8412 return 0; 8413} 8414_ACEOF 8415if ac_fn_c_try_link "$LINENO"; then : 8416 lt_cv_cc_needs_belf=yes 8417else 8418 lt_cv_cc_needs_belf=no 8419fi 8420rm -f core conftest.err conftest.$ac_objext \ 8421 conftest$ac_exeext conftest.$ac_ext 8422 ac_ext=c 8423ac_cpp='$CPP $CPPFLAGS' 8424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8426ac_compiler_gnu=$ac_cv_c_compiler_gnu 8427 8428fi 8429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8430$as_echo "$lt_cv_cc_needs_belf" >&6; } 8431 if test yes != "$lt_cv_cc_needs_belf"; then 8432 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8433 CFLAGS=$SAVE_CFLAGS 8434 fi 8435 ;; 8436*-*solaris*) 8437 # Find out what ABI is being produced by ac_compile, and set linker 8438 # options accordingly. 8439 echo 'int i;' > conftest.$ac_ext 8440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8441 (eval $ac_compile) 2>&5 8442 ac_status=$? 8443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8444 test $ac_status = 0; }; then 8445 case `/usr/bin/file conftest.o` in 8446 *64-bit*) 8447 case $lt_cv_prog_gnu_ld in 8448 yes*) 8449 case $host in 8450 i?86-*-solaris*|x86_64-*-solaris*) 8451 LD="${LD-ld} -m elf_x86_64" 8452 ;; 8453 sparc*-*-solaris*) 8454 LD="${LD-ld} -m elf64_sparc" 8455 ;; 8456 esac 8457 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8458 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8459 LD=${LD-ld}_sol2 8460 fi 8461 ;; 8462 *) 8463 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8464 LD="${LD-ld} -64" 8465 fi 8466 ;; 8467 esac 8468 ;; 8469 esac 8470 fi 8471 rm -rf conftest* 8472 ;; 8473esac 8474 8475need_locks=$enable_libtool_lock 8476 8477if test -n "$ac_tool_prefix"; then 8478 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8479set dummy ${ac_tool_prefix}mt; ac_word=$2 8480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8481$as_echo_n "checking for $ac_word... " >&6; } 8482if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8483 $as_echo_n "(cached) " >&6 8484else 8485 if test -n "$MANIFEST_TOOL"; then 8486 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8487else 8488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8489for as_dir in $PATH 8490do 8491 IFS=$as_save_IFS 8492 test -z "$as_dir" && as_dir=. 8493 for ac_exec_ext in '' $ac_executable_extensions; do 8494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8495 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8497 break 2 8498 fi 8499done 8500 done 8501IFS=$as_save_IFS 8502 8503fi 8504fi 8505MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8506if test -n "$MANIFEST_TOOL"; then 8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8508$as_echo "$MANIFEST_TOOL" >&6; } 8509else 8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8511$as_echo "no" >&6; } 8512fi 8513 8514 8515fi 8516if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8517 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8518 # Extract the first word of "mt", so it can be a program name with args. 8519set dummy mt; ac_word=$2 8520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8521$as_echo_n "checking for $ac_word... " >&6; } 8522if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8523 $as_echo_n "(cached) " >&6 8524else 8525 if test -n "$ac_ct_MANIFEST_TOOL"; then 8526 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8527else 8528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8529for as_dir in $PATH 8530do 8531 IFS=$as_save_IFS 8532 test -z "$as_dir" && as_dir=. 8533 for ac_exec_ext in '' $ac_executable_extensions; do 8534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8535 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8537 break 2 8538 fi 8539done 8540 done 8541IFS=$as_save_IFS 8542 8543fi 8544fi 8545ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8546if test -n "$ac_ct_MANIFEST_TOOL"; then 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8548$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8549else 8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8551$as_echo "no" >&6; } 8552fi 8553 8554 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8555 MANIFEST_TOOL=":" 8556 else 8557 case $cross_compiling:$ac_tool_warned in 8558yes:) 8559{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8561ac_tool_warned=yes ;; 8562esac 8563 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8564 fi 8565else 8566 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8567fi 8568 8569test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8571$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8572if ${lt_cv_path_mainfest_tool+:} false; then : 8573 $as_echo_n "(cached) " >&6 8574else 8575 lt_cv_path_mainfest_tool=no 8576 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8577 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8578 cat conftest.err >&5 8579 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8580 lt_cv_path_mainfest_tool=yes 8581 fi 8582 rm -f conftest* 8583fi 8584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8585$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8586if test yes != "$lt_cv_path_mainfest_tool"; then 8587 MANIFEST_TOOL=: 8588fi 8589 8590 8591 8592 8593 8594 8595 case $host_os in 8596 rhapsody* | darwin*) 8597 if test -n "$ac_tool_prefix"; then 8598 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8599set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8601$as_echo_n "checking for $ac_word... " >&6; } 8602if ${ac_cv_prog_DSYMUTIL+:} false; then : 8603 $as_echo_n "(cached) " >&6 8604else 8605 if test -n "$DSYMUTIL"; then 8606 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8607else 8608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8609for as_dir in $PATH 8610do 8611 IFS=$as_save_IFS 8612 test -z "$as_dir" && as_dir=. 8613 for ac_exec_ext in '' $ac_executable_extensions; do 8614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8615 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8617 break 2 8618 fi 8619done 8620 done 8621IFS=$as_save_IFS 8622 8623fi 8624fi 8625DSYMUTIL=$ac_cv_prog_DSYMUTIL 8626if test -n "$DSYMUTIL"; then 8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8628$as_echo "$DSYMUTIL" >&6; } 8629else 8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8631$as_echo "no" >&6; } 8632fi 8633 8634 8635fi 8636if test -z "$ac_cv_prog_DSYMUTIL"; then 8637 ac_ct_DSYMUTIL=$DSYMUTIL 8638 # Extract the first word of "dsymutil", so it can be a program name with args. 8639set dummy dsymutil; ac_word=$2 8640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8641$as_echo_n "checking for $ac_word... " >&6; } 8642if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8643 $as_echo_n "(cached) " >&6 8644else 8645 if test -n "$ac_ct_DSYMUTIL"; then 8646 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8647else 8648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8649for as_dir in $PATH 8650do 8651 IFS=$as_save_IFS 8652 test -z "$as_dir" && as_dir=. 8653 for ac_exec_ext in '' $ac_executable_extensions; do 8654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8655 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8657 break 2 8658 fi 8659done 8660 done 8661IFS=$as_save_IFS 8662 8663fi 8664fi 8665ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8666if test -n "$ac_ct_DSYMUTIL"; then 8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8668$as_echo "$ac_ct_DSYMUTIL" >&6; } 8669else 8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8671$as_echo "no" >&6; } 8672fi 8673 8674 if test "x$ac_ct_DSYMUTIL" = x; then 8675 DSYMUTIL=":" 8676 else 8677 case $cross_compiling:$ac_tool_warned in 8678yes:) 8679{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8680$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8681ac_tool_warned=yes ;; 8682esac 8683 DSYMUTIL=$ac_ct_DSYMUTIL 8684 fi 8685else 8686 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8687fi 8688 8689 if test -n "$ac_tool_prefix"; then 8690 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8691set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8693$as_echo_n "checking for $ac_word... " >&6; } 8694if ${ac_cv_prog_NMEDIT+:} false; then : 8695 $as_echo_n "(cached) " >&6 8696else 8697 if test -n "$NMEDIT"; then 8698 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8699else 8700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8701for as_dir in $PATH 8702do 8703 IFS=$as_save_IFS 8704 test -z "$as_dir" && as_dir=. 8705 for ac_exec_ext in '' $ac_executable_extensions; do 8706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8707 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8709 break 2 8710 fi 8711done 8712 done 8713IFS=$as_save_IFS 8714 8715fi 8716fi 8717NMEDIT=$ac_cv_prog_NMEDIT 8718if test -n "$NMEDIT"; then 8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8720$as_echo "$NMEDIT" >&6; } 8721else 8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8723$as_echo "no" >&6; } 8724fi 8725 8726 8727fi 8728if test -z "$ac_cv_prog_NMEDIT"; then 8729 ac_ct_NMEDIT=$NMEDIT 8730 # Extract the first word of "nmedit", so it can be a program name with args. 8731set dummy nmedit; ac_word=$2 8732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8733$as_echo_n "checking for $ac_word... " >&6; } 8734if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8735 $as_echo_n "(cached) " >&6 8736else 8737 if test -n "$ac_ct_NMEDIT"; then 8738 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8739else 8740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8741for as_dir in $PATH 8742do 8743 IFS=$as_save_IFS 8744 test -z "$as_dir" && as_dir=. 8745 for ac_exec_ext in '' $ac_executable_extensions; do 8746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8747 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8749 break 2 8750 fi 8751done 8752 done 8753IFS=$as_save_IFS 8754 8755fi 8756fi 8757ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8758if test -n "$ac_ct_NMEDIT"; then 8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8760$as_echo "$ac_ct_NMEDIT" >&6; } 8761else 8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8763$as_echo "no" >&6; } 8764fi 8765 8766 if test "x$ac_ct_NMEDIT" = x; then 8767 NMEDIT=":" 8768 else 8769 case $cross_compiling:$ac_tool_warned in 8770yes:) 8771{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8772$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8773ac_tool_warned=yes ;; 8774esac 8775 NMEDIT=$ac_ct_NMEDIT 8776 fi 8777else 8778 NMEDIT="$ac_cv_prog_NMEDIT" 8779fi 8780 8781 if test -n "$ac_tool_prefix"; then 8782 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8783set dummy ${ac_tool_prefix}lipo; ac_word=$2 8784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8785$as_echo_n "checking for $ac_word... " >&6; } 8786if ${ac_cv_prog_LIPO+:} false; then : 8787 $as_echo_n "(cached) " >&6 8788else 8789 if test -n "$LIPO"; then 8790 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8791else 8792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8793for as_dir in $PATH 8794do 8795 IFS=$as_save_IFS 8796 test -z "$as_dir" && as_dir=. 8797 for ac_exec_ext in '' $ac_executable_extensions; do 8798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8799 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8801 break 2 8802 fi 8803done 8804 done 8805IFS=$as_save_IFS 8806 8807fi 8808fi 8809LIPO=$ac_cv_prog_LIPO 8810if test -n "$LIPO"; then 8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8812$as_echo "$LIPO" >&6; } 8813else 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8815$as_echo "no" >&6; } 8816fi 8817 8818 8819fi 8820if test -z "$ac_cv_prog_LIPO"; then 8821 ac_ct_LIPO=$LIPO 8822 # Extract the first word of "lipo", so it can be a program name with args. 8823set dummy lipo; ac_word=$2 8824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8825$as_echo_n "checking for $ac_word... " >&6; } 8826if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8827 $as_echo_n "(cached) " >&6 8828else 8829 if test -n "$ac_ct_LIPO"; then 8830 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8831else 8832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8833for as_dir in $PATH 8834do 8835 IFS=$as_save_IFS 8836 test -z "$as_dir" && as_dir=. 8837 for ac_exec_ext in '' $ac_executable_extensions; do 8838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8839 ac_cv_prog_ac_ct_LIPO="lipo" 8840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8841 break 2 8842 fi 8843done 8844 done 8845IFS=$as_save_IFS 8846 8847fi 8848fi 8849ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8850if test -n "$ac_ct_LIPO"; then 8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8852$as_echo "$ac_ct_LIPO" >&6; } 8853else 8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8855$as_echo "no" >&6; } 8856fi 8857 8858 if test "x$ac_ct_LIPO" = x; then 8859 LIPO=":" 8860 else 8861 case $cross_compiling:$ac_tool_warned in 8862yes:) 8863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8865ac_tool_warned=yes ;; 8866esac 8867 LIPO=$ac_ct_LIPO 8868 fi 8869else 8870 LIPO="$ac_cv_prog_LIPO" 8871fi 8872 8873 if test -n "$ac_tool_prefix"; then 8874 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8875set dummy ${ac_tool_prefix}otool; ac_word=$2 8876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8877$as_echo_n "checking for $ac_word... " >&6; } 8878if ${ac_cv_prog_OTOOL+:} false; then : 8879 $as_echo_n "(cached) " >&6 8880else 8881 if test -n "$OTOOL"; then 8882 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8883else 8884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8885for as_dir in $PATH 8886do 8887 IFS=$as_save_IFS 8888 test -z "$as_dir" && as_dir=. 8889 for ac_exec_ext in '' $ac_executable_extensions; do 8890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8891 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8893 break 2 8894 fi 8895done 8896 done 8897IFS=$as_save_IFS 8898 8899fi 8900fi 8901OTOOL=$ac_cv_prog_OTOOL 8902if test -n "$OTOOL"; then 8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8904$as_echo "$OTOOL" >&6; } 8905else 8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8907$as_echo "no" >&6; } 8908fi 8909 8910 8911fi 8912if test -z "$ac_cv_prog_OTOOL"; then 8913 ac_ct_OTOOL=$OTOOL 8914 # Extract the first word of "otool", so it can be a program name with args. 8915set dummy otool; ac_word=$2 8916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8917$as_echo_n "checking for $ac_word... " >&6; } 8918if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8919 $as_echo_n "(cached) " >&6 8920else 8921 if test -n "$ac_ct_OTOOL"; then 8922 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8923else 8924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8925for as_dir in $PATH 8926do 8927 IFS=$as_save_IFS 8928 test -z "$as_dir" && as_dir=. 8929 for ac_exec_ext in '' $ac_executable_extensions; do 8930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8931 ac_cv_prog_ac_ct_OTOOL="otool" 8932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8933 break 2 8934 fi 8935done 8936 done 8937IFS=$as_save_IFS 8938 8939fi 8940fi 8941ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8942if test -n "$ac_ct_OTOOL"; then 8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8944$as_echo "$ac_ct_OTOOL" >&6; } 8945else 8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8947$as_echo "no" >&6; } 8948fi 8949 8950 if test "x$ac_ct_OTOOL" = x; then 8951 OTOOL=":" 8952 else 8953 case $cross_compiling:$ac_tool_warned in 8954yes:) 8955{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8956$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8957ac_tool_warned=yes ;; 8958esac 8959 OTOOL=$ac_ct_OTOOL 8960 fi 8961else 8962 OTOOL="$ac_cv_prog_OTOOL" 8963fi 8964 8965 if test -n "$ac_tool_prefix"; then 8966 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8967set dummy ${ac_tool_prefix}otool64; ac_word=$2 8968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8969$as_echo_n "checking for $ac_word... " >&6; } 8970if ${ac_cv_prog_OTOOL64+:} false; then : 8971 $as_echo_n "(cached) " >&6 8972else 8973 if test -n "$OTOOL64"; then 8974 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8975else 8976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8977for as_dir in $PATH 8978do 8979 IFS=$as_save_IFS 8980 test -z "$as_dir" && as_dir=. 8981 for ac_exec_ext in '' $ac_executable_extensions; do 8982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8983 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8985 break 2 8986 fi 8987done 8988 done 8989IFS=$as_save_IFS 8990 8991fi 8992fi 8993OTOOL64=$ac_cv_prog_OTOOL64 8994if test -n "$OTOOL64"; then 8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8996$as_echo "$OTOOL64" >&6; } 8997else 8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8999$as_echo "no" >&6; } 9000fi 9001 9002 9003fi 9004if test -z "$ac_cv_prog_OTOOL64"; then 9005 ac_ct_OTOOL64=$OTOOL64 9006 # Extract the first word of "otool64", so it can be a program name with args. 9007set dummy otool64; ac_word=$2 9008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9009$as_echo_n "checking for $ac_word... " >&6; } 9010if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9011 $as_echo_n "(cached) " >&6 9012else 9013 if test -n "$ac_ct_OTOOL64"; then 9014 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9015else 9016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9017for as_dir in $PATH 9018do 9019 IFS=$as_save_IFS 9020 test -z "$as_dir" && as_dir=. 9021 for ac_exec_ext in '' $ac_executable_extensions; do 9022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9023 ac_cv_prog_ac_ct_OTOOL64="otool64" 9024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9025 break 2 9026 fi 9027done 9028 done 9029IFS=$as_save_IFS 9030 9031fi 9032fi 9033ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9034if test -n "$ac_ct_OTOOL64"; then 9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9036$as_echo "$ac_ct_OTOOL64" >&6; } 9037else 9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9039$as_echo "no" >&6; } 9040fi 9041 9042 if test "x$ac_ct_OTOOL64" = x; then 9043 OTOOL64=":" 9044 else 9045 case $cross_compiling:$ac_tool_warned in 9046yes:) 9047{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9048$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9049ac_tool_warned=yes ;; 9050esac 9051 OTOOL64=$ac_ct_OTOOL64 9052 fi 9053else 9054 OTOOL64="$ac_cv_prog_OTOOL64" 9055fi 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9084$as_echo_n "checking for -single_module linker flag... " >&6; } 9085if ${lt_cv_apple_cc_single_mod+:} false; then : 9086 $as_echo_n "(cached) " >&6 9087else 9088 lt_cv_apple_cc_single_mod=no 9089 if test -z "$LT_MULTI_MODULE"; then 9090 # By default we will add the -single_module flag. You can override 9091 # by either setting the environment variable LT_MULTI_MODULE 9092 # non-empty at configure time, or by adding -multi_module to the 9093 # link flags. 9094 rm -rf libconftest.dylib* 9095 echo "int foo(void){return 1;}" > conftest.c 9096 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9097-dynamiclib -Wl,-single_module conftest.c" >&5 9098 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9099 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9100 _lt_result=$? 9101 # If there is a non-empty error log, and "single_module" 9102 # appears in it, assume the flag caused a linker warning 9103 if test -s conftest.err && $GREP single_module conftest.err; then 9104 cat conftest.err >&5 9105 # Otherwise, if the output was created with a 0 exit code from 9106 # the compiler, it worked. 9107 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9108 lt_cv_apple_cc_single_mod=yes 9109 else 9110 cat conftest.err >&5 9111 fi 9112 rm -rf libconftest.dylib* 9113 rm -f conftest.* 9114 fi 9115fi 9116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9117$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9118 9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9120$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9121if ${lt_cv_ld_exported_symbols_list+:} false; then : 9122 $as_echo_n "(cached) " >&6 9123else 9124 lt_cv_ld_exported_symbols_list=no 9125 save_LDFLAGS=$LDFLAGS 9126 echo "_main" > conftest.sym 9127 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9129/* end confdefs.h. */ 9130 9131int 9132main () 9133{ 9134 9135 ; 9136 return 0; 9137} 9138_ACEOF 9139if ac_fn_c_try_link "$LINENO"; then : 9140 lt_cv_ld_exported_symbols_list=yes 9141else 9142 lt_cv_ld_exported_symbols_list=no 9143fi 9144rm -f core conftest.err conftest.$ac_objext \ 9145 conftest$ac_exeext conftest.$ac_ext 9146 LDFLAGS=$save_LDFLAGS 9147 9148fi 9149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9150$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9151 9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9153$as_echo_n "checking for -force_load linker flag... " >&6; } 9154if ${lt_cv_ld_force_load+:} false; then : 9155 $as_echo_n "(cached) " >&6 9156else 9157 lt_cv_ld_force_load=no 9158 cat > conftest.c << _LT_EOF 9159int forced_loaded() { return 2;} 9160_LT_EOF 9161 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9162 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9163 echo "$AR cru libconftest.a conftest.o" >&5 9164 $AR cru libconftest.a conftest.o 2>&5 9165 echo "$RANLIB libconftest.a" >&5 9166 $RANLIB libconftest.a 2>&5 9167 cat > conftest.c << _LT_EOF 9168int main() { return 0;} 9169_LT_EOF 9170 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9171 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9172 _lt_result=$? 9173 if test -s conftest.err && $GREP force_load conftest.err; then 9174 cat conftest.err >&5 9175 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9176 lt_cv_ld_force_load=yes 9177 else 9178 cat conftest.err >&5 9179 fi 9180 rm -f conftest.err libconftest.a conftest conftest.c 9181 rm -rf conftest.dSYM 9182 9183fi 9184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9185$as_echo "$lt_cv_ld_force_load" >&6; } 9186 case $host_os in 9187 rhapsody* | darwin1.[012]) 9188 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9189 darwin1.*) 9190 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9191 darwin*) # darwin 5.x on 9192 # if running on 10.5 or later, the deployment target defaults 9193 # to the OS version, if on x86, and 10.4, the deployment 9194 # target defaults to 10.4. Don't you love it? 9195 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9196 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9197 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9198 10.[012][,.]*) 9199 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9200 10.*) 9201 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9202 esac 9203 ;; 9204 esac 9205 if test yes = "$lt_cv_apple_cc_single_mod"; then 9206 _lt_dar_single_mod='$single_module' 9207 fi 9208 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9209 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9210 else 9211 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9212 fi 9213 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9214 _lt_dsymutil='~$DSYMUTIL $lib || :' 9215 else 9216 _lt_dsymutil= 9217 fi 9218 ;; 9219 esac 9220 9221# func_munge_path_list VARIABLE PATH 9222# ----------------------------------- 9223# VARIABLE is name of variable containing _space_ separated list of 9224# directories to be munged by the contents of PATH, which is string 9225# having a format: 9226# "DIR[:DIR]:" 9227# string "DIR[ DIR]" will be prepended to VARIABLE 9228# ":DIR[:DIR]" 9229# string "DIR[ DIR]" will be appended to VARIABLE 9230# "DIRP[:DIRP]::[DIRA:]DIRA" 9231# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9232# "DIRA[ DIRA]" will be appended to VARIABLE 9233# "DIR[:DIR]" 9234# VARIABLE will be replaced by "DIR[ DIR]" 9235func_munge_path_list () 9236{ 9237 case x$2 in 9238 x) 9239 ;; 9240 *:) 9241 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9242 ;; 9243 x:*) 9244 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9245 ;; 9246 *::*) 9247 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9248 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9249 ;; 9250 *) 9251 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9252 ;; 9253 esac 9254} 9255 9256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9257$as_echo_n "checking for ANSI C header files... " >&6; } 9258if ${ac_cv_header_stdc+:} false; then : 9259 $as_echo_n "(cached) " >&6 9260else 9261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9262/* end confdefs.h. */ 9263#include <stdlib.h> 9264#include <stdarg.h> 9265#include <string.h> 9266#include <float.h> 9267 9268int 9269main () 9270{ 9271 9272 ; 9273 return 0; 9274} 9275_ACEOF 9276if ac_fn_c_try_compile "$LINENO"; then : 9277 ac_cv_header_stdc=yes 9278else 9279 ac_cv_header_stdc=no 9280fi 9281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9282 9283if test $ac_cv_header_stdc = yes; then 9284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9286/* end confdefs.h. */ 9287#include <string.h> 9288 9289_ACEOF 9290if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9291 $EGREP "memchr" >/dev/null 2>&1; then : 9292 9293else 9294 ac_cv_header_stdc=no 9295fi 9296rm -f conftest* 9297 9298fi 9299 9300if test $ac_cv_header_stdc = yes; then 9301 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9303/* end confdefs.h. */ 9304#include <stdlib.h> 9305 9306_ACEOF 9307if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9308 $EGREP "free" >/dev/null 2>&1; then : 9309 9310else 9311 ac_cv_header_stdc=no 9312fi 9313rm -f conftest* 9314 9315fi 9316 9317if test $ac_cv_header_stdc = yes; then 9318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9319 if test "$cross_compiling" = yes; then : 9320 : 9321else 9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9323/* end confdefs.h. */ 9324#include <ctype.h> 9325#include <stdlib.h> 9326#if ((' ' & 0x0FF) == 0x020) 9327# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9328# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9329#else 9330# define ISLOWER(c) \ 9331 (('a' <= (c) && (c) <= 'i') \ 9332 || ('j' <= (c) && (c) <= 'r') \ 9333 || ('s' <= (c) && (c) <= 'z')) 9334# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9335#endif 9336 9337#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9338int 9339main () 9340{ 9341 int i; 9342 for (i = 0; i < 256; i++) 9343 if (XOR (islower (i), ISLOWER (i)) 9344 || toupper (i) != TOUPPER (i)) 9345 return 2; 9346 return 0; 9347} 9348_ACEOF 9349if ac_fn_c_try_run "$LINENO"; then : 9350 9351else 9352 ac_cv_header_stdc=no 9353fi 9354rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9355 conftest.$ac_objext conftest.beam conftest.$ac_ext 9356fi 9357 9358fi 9359fi 9360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9361$as_echo "$ac_cv_header_stdc" >&6; } 9362if test $ac_cv_header_stdc = yes; then 9363 9364$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9365 9366fi 9367 9368# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9369for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9370 inttypes.h stdint.h unistd.h 9371do : 9372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9373ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9374" 9375if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9376 cat >>confdefs.h <<_ACEOF 9377#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9378_ACEOF 9379 9380fi 9381 9382done 9383 9384 9385for ac_header in dlfcn.h 9386do : 9387 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9388" 9389if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9390 cat >>confdefs.h <<_ACEOF 9391#define HAVE_DLFCN_H 1 9392_ACEOF 9393 9394fi 9395 9396done 9397 9398 9399 9400 9401func_stripname_cnf () 9402{ 9403 case $2 in 9404 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9405 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9406 esac 9407} # func_stripname_cnf 9408 9409 9410 9411 9412 9413# Set options 9414 9415 9416 9417 enable_dlopen=no 9418 9419 9420 9421 # Check whether --enable-shared was given. 9422if test "${enable_shared+set}" = set; then : 9423 enableval=$enable_shared; p=${PACKAGE-default} 9424 case $enableval in 9425 yes) enable_shared=yes ;; 9426 no) enable_shared=no ;; 9427 *) 9428 enable_shared=no 9429 # Look at the argument we got. We use all the common list separators. 9430 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9431 for pkg in $enableval; do 9432 IFS=$lt_save_ifs 9433 if test "X$pkg" = "X$p"; then 9434 enable_shared=yes 9435 fi 9436 done 9437 IFS=$lt_save_ifs 9438 ;; 9439 esac 9440else 9441 enable_shared=yes 9442fi 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 # Check whether --enable-static was given. 9453if test "${enable_static+set}" = set; then : 9454 enableval=$enable_static; p=${PACKAGE-default} 9455 case $enableval in 9456 yes) enable_static=yes ;; 9457 no) enable_static=no ;; 9458 *) 9459 enable_static=no 9460 # Look at the argument we got. We use all the common list separators. 9461 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9462 for pkg in $enableval; do 9463 IFS=$lt_save_ifs 9464 if test "X$pkg" = "X$p"; then 9465 enable_static=yes 9466 fi 9467 done 9468 IFS=$lt_save_ifs 9469 ;; 9470 esac 9471else 9472 enable_static=yes 9473fi 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484# Check whether --with-pic was given. 9485if test "${with_pic+set}" = set; then : 9486 withval=$with_pic; lt_p=${PACKAGE-default} 9487 case $withval in 9488 yes|no) pic_mode=$withval ;; 9489 *) 9490 pic_mode=default 9491 # Look at the argument we got. We use all the common list separators. 9492 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9493 for lt_pkg in $withval; do 9494 IFS=$lt_save_ifs 9495 if test "X$lt_pkg" = "X$lt_p"; then 9496 pic_mode=yes 9497 fi 9498 done 9499 IFS=$lt_save_ifs 9500 ;; 9501 esac 9502else 9503 pic_mode=default 9504fi 9505 9506 9507 9508 9509 9510 9511 9512 9513 # Check whether --enable-fast-install was given. 9514if test "${enable_fast_install+set}" = set; then : 9515 enableval=$enable_fast_install; p=${PACKAGE-default} 9516 case $enableval in 9517 yes) enable_fast_install=yes ;; 9518 no) enable_fast_install=no ;; 9519 *) 9520 enable_fast_install=no 9521 # Look at the argument we got. We use all the common list separators. 9522 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9523 for pkg in $enableval; do 9524 IFS=$lt_save_ifs 9525 if test "X$pkg" = "X$p"; then 9526 enable_fast_install=yes 9527 fi 9528 done 9529 IFS=$lt_save_ifs 9530 ;; 9531 esac 9532else 9533 enable_fast_install=yes 9534fi 9535 9536 9537 9538 9539 9540 9541 9542 9543 shared_archive_member_spec= 9544case $host,$enable_shared in 9545power*-*-aix[5-9]*,yes) 9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9547$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9548 9549# Check whether --with-aix-soname was given. 9550if test "${with_aix_soname+set}" = set; then : 9551 withval=$with_aix_soname; case $withval in 9552 aix|svr4|both) 9553 ;; 9554 *) 9555 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9556 ;; 9557 esac 9558 lt_cv_with_aix_soname=$with_aix_soname 9559else 9560 if ${lt_cv_with_aix_soname+:} false; then : 9561 $as_echo_n "(cached) " >&6 9562else 9563 lt_cv_with_aix_soname=aix 9564fi 9565 9566 with_aix_soname=$lt_cv_with_aix_soname 9567fi 9568 9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9570$as_echo "$with_aix_soname" >&6; } 9571 if test aix != "$with_aix_soname"; then 9572 # For the AIX way of multilib, we name the shared archive member 9573 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9574 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9575 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9576 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9577 if test 64 = "${OBJECT_MODE-32}"; then 9578 shared_archive_member_spec=shr_64 9579 else 9580 shared_archive_member_spec=shr 9581 fi 9582 fi 9583 ;; 9584*) 9585 with_aix_soname=aix 9586 ;; 9587esac 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598# This can be used to rebuild libtool when needed 9599LIBTOOL_DEPS=$ltmain 9600 9601# Always use our own libtool. 9602LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633test -z "$LN_S" && LN_S="ln -s" 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648if test -n "${ZSH_VERSION+set}"; then 9649 setopt NO_GLOB_SUBST 9650fi 9651 9652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9653$as_echo_n "checking for objdir... " >&6; } 9654if ${lt_cv_objdir+:} false; then : 9655 $as_echo_n "(cached) " >&6 9656else 9657 rm -f .libs 2>/dev/null 9658mkdir .libs 2>/dev/null 9659if test -d .libs; then 9660 lt_cv_objdir=.libs 9661else 9662 # MS-DOS does not allow filenames that begin with a dot. 9663 lt_cv_objdir=_libs 9664fi 9665rmdir .libs 2>/dev/null 9666fi 9667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9668$as_echo "$lt_cv_objdir" >&6; } 9669objdir=$lt_cv_objdir 9670 9671 9672 9673 9674 9675cat >>confdefs.h <<_ACEOF 9676#define LT_OBJDIR "$lt_cv_objdir/" 9677_ACEOF 9678 9679 9680 9681 9682case $host_os in 9683aix3*) 9684 # AIX sometimes has problems with the GCC collect2 program. For some 9685 # reason, if we set the COLLECT_NAMES environment variable, the problems 9686 # vanish in a puff of smoke. 9687 if test set != "${COLLECT_NAMES+set}"; then 9688 COLLECT_NAMES= 9689 export COLLECT_NAMES 9690 fi 9691 ;; 9692esac 9693 9694# Global variables: 9695ofile=libtool 9696can_build_shared=yes 9697 9698# All known linkers require a '.a' archive for static linking (except MSVC, 9699# which needs '.lib'). 9700libext=a 9701 9702with_gnu_ld=$lt_cv_prog_gnu_ld 9703 9704old_CC=$CC 9705old_CFLAGS=$CFLAGS 9706 9707# Set sane defaults for various variables 9708test -z "$CC" && CC=cc 9709test -z "$LTCC" && LTCC=$CC 9710test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9711test -z "$LD" && LD=ld 9712test -z "$ac_objext" && ac_objext=o 9713 9714func_cc_basename $compiler 9715cc_basename=$func_cc_basename_result 9716 9717 9718# Only perform the check for file, if the check method requires it 9719test -z "$MAGIC_CMD" && MAGIC_CMD=file 9720case $deplibs_check_method in 9721file_magic*) 9722 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9724$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9725if ${lt_cv_path_MAGIC_CMD+:} false; then : 9726 $as_echo_n "(cached) " >&6 9727else 9728 case $MAGIC_CMD in 9729[\\/*] | ?:[\\/]*) 9730 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9731 ;; 9732*) 9733 lt_save_MAGIC_CMD=$MAGIC_CMD 9734 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9735 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9736 for ac_dir in $ac_dummy; do 9737 IFS=$lt_save_ifs 9738 test -z "$ac_dir" && ac_dir=. 9739 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9740 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9741 if test -n "$file_magic_test_file"; then 9742 case $deplibs_check_method in 9743 "file_magic "*) 9744 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9745 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9746 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9747 $EGREP "$file_magic_regex" > /dev/null; then 9748 : 9749 else 9750 cat <<_LT_EOF 1>&2 9751 9752*** Warning: the command libtool uses to detect shared libraries, 9753*** $file_magic_cmd, produces output that libtool cannot recognize. 9754*** The result is that libtool may fail to recognize shared libraries 9755*** as such. This will affect the creation of libtool libraries that 9756*** depend on shared libraries, but programs linked with such libtool 9757*** libraries will work regardless of this problem. Nevertheless, you 9758*** may want to report the problem to your system manager and/or to 9759*** bug-libtool@gnu.org 9760 9761_LT_EOF 9762 fi ;; 9763 esac 9764 fi 9765 break 9766 fi 9767 done 9768 IFS=$lt_save_ifs 9769 MAGIC_CMD=$lt_save_MAGIC_CMD 9770 ;; 9771esac 9772fi 9773 9774MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9775if test -n "$MAGIC_CMD"; then 9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9777$as_echo "$MAGIC_CMD" >&6; } 9778else 9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9780$as_echo "no" >&6; } 9781fi 9782 9783 9784 9785 9786 9787if test -z "$lt_cv_path_MAGIC_CMD"; then 9788 if test -n "$ac_tool_prefix"; then 9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9790$as_echo_n "checking for file... " >&6; } 9791if ${lt_cv_path_MAGIC_CMD+:} false; then : 9792 $as_echo_n "(cached) " >&6 9793else 9794 case $MAGIC_CMD in 9795[\\/*] | ?:[\\/]*) 9796 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9797 ;; 9798*) 9799 lt_save_MAGIC_CMD=$MAGIC_CMD 9800 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9801 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9802 for ac_dir in $ac_dummy; do 9803 IFS=$lt_save_ifs 9804 test -z "$ac_dir" && ac_dir=. 9805 if test -f "$ac_dir/file"; then 9806 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9807 if test -n "$file_magic_test_file"; then 9808 case $deplibs_check_method in 9809 "file_magic "*) 9810 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9811 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9812 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9813 $EGREP "$file_magic_regex" > /dev/null; then 9814 : 9815 else 9816 cat <<_LT_EOF 1>&2 9817 9818*** Warning: the command libtool uses to detect shared libraries, 9819*** $file_magic_cmd, produces output that libtool cannot recognize. 9820*** The result is that libtool may fail to recognize shared libraries 9821*** as such. This will affect the creation of libtool libraries that 9822*** depend on shared libraries, but programs linked with such libtool 9823*** libraries will work regardless of this problem. Nevertheless, you 9824*** may want to report the problem to your system manager and/or to 9825*** bug-libtool@gnu.org 9826 9827_LT_EOF 9828 fi ;; 9829 esac 9830 fi 9831 break 9832 fi 9833 done 9834 IFS=$lt_save_ifs 9835 MAGIC_CMD=$lt_save_MAGIC_CMD 9836 ;; 9837esac 9838fi 9839 9840MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9841if test -n "$MAGIC_CMD"; then 9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9843$as_echo "$MAGIC_CMD" >&6; } 9844else 9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9846$as_echo "no" >&6; } 9847fi 9848 9849 9850 else 9851 MAGIC_CMD=: 9852 fi 9853fi 9854 9855 fi 9856 ;; 9857esac 9858 9859# Use C for the default configuration in the libtool script 9860 9861lt_save_CC=$CC 9862ac_ext=c 9863ac_cpp='$CPP $CPPFLAGS' 9864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9866ac_compiler_gnu=$ac_cv_c_compiler_gnu 9867 9868 9869# Source file extension for C test sources. 9870ac_ext=c 9871 9872# Object file extension for compiled C test sources. 9873objext=o 9874objext=$objext 9875 9876# Code to be used in simple compile tests 9877lt_simple_compile_test_code="int some_variable = 0;" 9878 9879# Code to be used in simple link tests 9880lt_simple_link_test_code='int main(){return(0);}' 9881 9882 9883 9884 9885 9886 9887 9888# If no C compiler was specified, use CC. 9889LTCC=${LTCC-"$CC"} 9890 9891# If no C compiler flags were specified, use CFLAGS. 9892LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9893 9894# Allow CC to be a program name with arguments. 9895compiler=$CC 9896 9897# Save the default compiler, since it gets overwritten when the other 9898# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9899compiler_DEFAULT=$CC 9900 9901# save warnings/boilerplate of simple test code 9902ac_outfile=conftest.$ac_objext 9903echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9904eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9905_lt_compiler_boilerplate=`cat conftest.err` 9906$RM conftest* 9907 9908ac_outfile=conftest.$ac_objext 9909echo "$lt_simple_link_test_code" >conftest.$ac_ext 9910eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9911_lt_linker_boilerplate=`cat conftest.err` 9912$RM -r conftest* 9913 9914 9915## CAVEAT EMPTOR: 9916## There is no encapsulation within the following macros, do not change 9917## the running order or otherwise move them around unless you know exactly 9918## what you are doing... 9919if test -n "$compiler"; then 9920 9921lt_prog_compiler_no_builtin_flag= 9922 9923if test yes = "$GCC"; then 9924 case $cc_basename in 9925 nvcc*) 9926 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9927 *) 9928 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9929 esac 9930 9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9932$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9933if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9934 $as_echo_n "(cached) " >&6 9935else 9936 lt_cv_prog_compiler_rtti_exceptions=no 9937 ac_outfile=conftest.$ac_objext 9938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9939 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9940 # Insert the option either (1) after the last *FLAGS variable, or 9941 # (2) before a word containing "conftest.", or (3) at the end. 9942 # Note that $ac_compile itself does not contain backslashes and begins 9943 # with a dollar sign (not a hyphen), so the echo should work correctly. 9944 # The option is referenced via a variable to avoid confusing sed. 9945 lt_compile=`echo "$ac_compile" | $SED \ 9946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9948 -e 's:$: $lt_compiler_flag:'` 9949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9950 (eval "$lt_compile" 2>conftest.err) 9951 ac_status=$? 9952 cat conftest.err >&5 9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9954 if (exit $ac_status) && test -s "$ac_outfile"; then 9955 # The compiler can only warn and ignore the option if not recognized 9956 # So say no if there are warnings other than the usual output. 9957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9958 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9959 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9960 lt_cv_prog_compiler_rtti_exceptions=yes 9961 fi 9962 fi 9963 $RM conftest* 9964 9965fi 9966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9967$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9968 9969if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9970 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9971else 9972 : 9973fi 9974 9975fi 9976 9977 9978 9979 9980 9981 9982 lt_prog_compiler_wl= 9983lt_prog_compiler_pic= 9984lt_prog_compiler_static= 9985 9986 9987 if test yes = "$GCC"; then 9988 lt_prog_compiler_wl='-Wl,' 9989 lt_prog_compiler_static='-static' 9990 9991 case $host_os in 9992 aix*) 9993 # All AIX code is PIC. 9994 if test ia64 = "$host_cpu"; then 9995 # AIX 5 now supports IA64 processor 9996 lt_prog_compiler_static='-Bstatic' 9997 fi 9998 lt_prog_compiler_pic='-fPIC' 9999 ;; 10000 10001 amigaos*) 10002 case $host_cpu in 10003 powerpc) 10004 # see comment about AmigaOS4 .so support 10005 lt_prog_compiler_pic='-fPIC' 10006 ;; 10007 m68k) 10008 # FIXME: we need at least 68020 code to build shared libraries, but 10009 # adding the '-m68020' flag to GCC prevents building anything better, 10010 # like '-m68040'. 10011 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10012 ;; 10013 esac 10014 ;; 10015 10016 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10017 # PIC is the default for these OSes. 10018 ;; 10019 10020 mingw* | cygwin* | pw32* | os2* | cegcc*) 10021 # This hack is so that the source file can tell whether it is being 10022 # built for inclusion in a dll (and should export symbols for example). 10023 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10024 # (--disable-auto-import) libraries 10025 lt_prog_compiler_pic='-DDLL_EXPORT' 10026 case $host_os in 10027 os2*) 10028 lt_prog_compiler_static='$wl-static' 10029 ;; 10030 esac 10031 ;; 10032 10033 darwin* | rhapsody*) 10034 # PIC is the default on this platform 10035 # Common symbols not allowed in MH_DYLIB files 10036 lt_prog_compiler_pic='-fno-common' 10037 ;; 10038 10039 haiku*) 10040 # PIC is the default for Haiku. 10041 # The "-static" flag exists, but is broken. 10042 lt_prog_compiler_static= 10043 ;; 10044 10045 hpux*) 10046 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10047 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10048 # sets the default TLS model and affects inlining. 10049 case $host_cpu in 10050 hppa*64*) 10051 # +Z the default 10052 ;; 10053 *) 10054 lt_prog_compiler_pic='-fPIC' 10055 ;; 10056 esac 10057 ;; 10058 10059 interix[3-9]*) 10060 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10061 # Instead, we relocate shared libraries at runtime. 10062 ;; 10063 10064 msdosdjgpp*) 10065 # Just because we use GCC doesn't mean we suddenly get shared libraries 10066 # on systems that don't support them. 10067 lt_prog_compiler_can_build_shared=no 10068 enable_shared=no 10069 ;; 10070 10071 *nto* | *qnx*) 10072 # QNX uses GNU C++, but need to define -shared option too, otherwise 10073 # it will coredump. 10074 lt_prog_compiler_pic='-fPIC -shared' 10075 ;; 10076 10077 sysv4*MP*) 10078 if test -d /usr/nec; then 10079 lt_prog_compiler_pic=-Kconform_pic 10080 fi 10081 ;; 10082 10083 *) 10084 lt_prog_compiler_pic='-fPIC' 10085 ;; 10086 esac 10087 10088 case $cc_basename in 10089 nvcc*) # Cuda Compiler Driver 2.2 10090 lt_prog_compiler_wl='-Xlinker ' 10091 if test -n "$lt_prog_compiler_pic"; then 10092 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10093 fi 10094 ;; 10095 esac 10096 else 10097 # PORTME Check for flag to pass linker flags through the system compiler. 10098 case $host_os in 10099 aix*) 10100 lt_prog_compiler_wl='-Wl,' 10101 if test ia64 = "$host_cpu"; then 10102 # AIX 5 now supports IA64 processor 10103 lt_prog_compiler_static='-Bstatic' 10104 else 10105 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10106 fi 10107 ;; 10108 10109 darwin* | rhapsody*) 10110 # PIC is the default on this platform 10111 # Common symbols not allowed in MH_DYLIB files 10112 lt_prog_compiler_pic='-fno-common' 10113 case $cc_basename in 10114 nagfor*) 10115 # NAG Fortran compiler 10116 lt_prog_compiler_wl='-Wl,-Wl,,' 10117 lt_prog_compiler_pic='-PIC' 10118 lt_prog_compiler_static='-Bstatic' 10119 ;; 10120 esac 10121 ;; 10122 10123 mingw* | cygwin* | pw32* | os2* | cegcc*) 10124 # This hack is so that the source file can tell whether it is being 10125 # built for inclusion in a dll (and should export symbols for example). 10126 lt_prog_compiler_pic='-DDLL_EXPORT' 10127 case $host_os in 10128 os2*) 10129 lt_prog_compiler_static='$wl-static' 10130 ;; 10131 esac 10132 ;; 10133 10134 hpux9* | hpux10* | hpux11*) 10135 lt_prog_compiler_wl='-Wl,' 10136 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10137 # not for PA HP-UX. 10138 case $host_cpu in 10139 hppa*64*|ia64*) 10140 # +Z the default 10141 ;; 10142 *) 10143 lt_prog_compiler_pic='+Z' 10144 ;; 10145 esac 10146 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10147 lt_prog_compiler_static='$wl-a ${wl}archive' 10148 ;; 10149 10150 irix5* | irix6* | nonstopux*) 10151 lt_prog_compiler_wl='-Wl,' 10152 # PIC (with -KPIC) is the default. 10153 lt_prog_compiler_static='-non_shared' 10154 ;; 10155 10156 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10157 case $cc_basename in 10158 # old Intel for x86_64, which still supported -KPIC. 10159 ecc*) 10160 lt_prog_compiler_wl='-Wl,' 10161 lt_prog_compiler_pic='-KPIC' 10162 lt_prog_compiler_static='-static' 10163 ;; 10164 # icc used to be incompatible with GCC. 10165 # ICC 10 doesn't accept -KPIC any more. 10166 icc* | ifort*) 10167 lt_prog_compiler_wl='-Wl,' 10168 lt_prog_compiler_pic='-fPIC' 10169 lt_prog_compiler_static='-static' 10170 ;; 10171 # Lahey Fortran 8.1. 10172 lf95*) 10173 lt_prog_compiler_wl='-Wl,' 10174 lt_prog_compiler_pic='--shared' 10175 lt_prog_compiler_static='--static' 10176 ;; 10177 nagfor*) 10178 # NAG Fortran compiler 10179 lt_prog_compiler_wl='-Wl,-Wl,,' 10180 lt_prog_compiler_pic='-PIC' 10181 lt_prog_compiler_static='-Bstatic' 10182 ;; 10183 tcc*) 10184 # Fabrice Bellard et al's Tiny C Compiler 10185 lt_prog_compiler_wl='-Wl,' 10186 lt_prog_compiler_pic='-fPIC' 10187 lt_prog_compiler_static='-static' 10188 ;; 10189 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10190 # Portland Group compilers (*not* the Pentium gcc compiler, 10191 # which looks to be a dead project) 10192 lt_prog_compiler_wl='-Wl,' 10193 lt_prog_compiler_pic='-fpic' 10194 lt_prog_compiler_static='-Bstatic' 10195 ;; 10196 ccc*) 10197 lt_prog_compiler_wl='-Wl,' 10198 # All Alpha code is PIC. 10199 lt_prog_compiler_static='-non_shared' 10200 ;; 10201 xl* | bgxl* | bgf* | mpixl*) 10202 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10203 lt_prog_compiler_wl='-Wl,' 10204 lt_prog_compiler_pic='-qpic' 10205 lt_prog_compiler_static='-qstaticlink' 10206 ;; 10207 *) 10208 case `$CC -V 2>&1 | sed 5q` in 10209 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10210 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10211 lt_prog_compiler_pic='-KPIC' 10212 lt_prog_compiler_static='-Bstatic' 10213 lt_prog_compiler_wl='' 10214 ;; 10215 *Sun\ F* | *Sun*Fortran*) 10216 lt_prog_compiler_pic='-KPIC' 10217 lt_prog_compiler_static='-Bstatic' 10218 lt_prog_compiler_wl='-Qoption ld ' 10219 ;; 10220 *Sun\ C*) 10221 # Sun C 5.9 10222 lt_prog_compiler_pic='-KPIC' 10223 lt_prog_compiler_static='-Bstatic' 10224 lt_prog_compiler_wl='-Wl,' 10225 ;; 10226 *Intel*\ [CF]*Compiler*) 10227 lt_prog_compiler_wl='-Wl,' 10228 lt_prog_compiler_pic='-fPIC' 10229 lt_prog_compiler_static='-static' 10230 ;; 10231 *Portland\ Group*) 10232 lt_prog_compiler_wl='-Wl,' 10233 lt_prog_compiler_pic='-fpic' 10234 lt_prog_compiler_static='-Bstatic' 10235 ;; 10236 esac 10237 ;; 10238 esac 10239 ;; 10240 10241 newsos6) 10242 lt_prog_compiler_pic='-KPIC' 10243 lt_prog_compiler_static='-Bstatic' 10244 ;; 10245 10246 *nto* | *qnx*) 10247 # QNX uses GNU C++, but need to define -shared option too, otherwise 10248 # it will coredump. 10249 lt_prog_compiler_pic='-fPIC -shared' 10250 ;; 10251 10252 osf3* | osf4* | osf5*) 10253 lt_prog_compiler_wl='-Wl,' 10254 # All OSF/1 code is PIC. 10255 lt_prog_compiler_static='-non_shared' 10256 ;; 10257 10258 rdos*) 10259 lt_prog_compiler_static='-non_shared' 10260 ;; 10261 10262 solaris*) 10263 lt_prog_compiler_pic='-KPIC' 10264 lt_prog_compiler_static='-Bstatic' 10265 case $cc_basename in 10266 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10267 lt_prog_compiler_wl='-Qoption ld ';; 10268 *) 10269 lt_prog_compiler_wl='-Wl,';; 10270 esac 10271 ;; 10272 10273 sunos4*) 10274 lt_prog_compiler_wl='-Qoption ld ' 10275 lt_prog_compiler_pic='-PIC' 10276 lt_prog_compiler_static='-Bstatic' 10277 ;; 10278 10279 sysv4 | sysv4.2uw2* | sysv4.3*) 10280 lt_prog_compiler_wl='-Wl,' 10281 lt_prog_compiler_pic='-KPIC' 10282 lt_prog_compiler_static='-Bstatic' 10283 ;; 10284 10285 sysv4*MP*) 10286 if test -d /usr/nec; then 10287 lt_prog_compiler_pic='-Kconform_pic' 10288 lt_prog_compiler_static='-Bstatic' 10289 fi 10290 ;; 10291 10292 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10293 lt_prog_compiler_wl='-Wl,' 10294 lt_prog_compiler_pic='-KPIC' 10295 lt_prog_compiler_static='-Bstatic' 10296 ;; 10297 10298 unicos*) 10299 lt_prog_compiler_wl='-Wl,' 10300 lt_prog_compiler_can_build_shared=no 10301 ;; 10302 10303 uts4*) 10304 lt_prog_compiler_pic='-pic' 10305 lt_prog_compiler_static='-Bstatic' 10306 ;; 10307 10308 *) 10309 lt_prog_compiler_can_build_shared=no 10310 ;; 10311 esac 10312 fi 10313 10314case $host_os in 10315 # For platforms that do not support PIC, -DPIC is meaningless: 10316 *djgpp*) 10317 lt_prog_compiler_pic= 10318 ;; 10319 *) 10320 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10321 ;; 10322esac 10323 10324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10325$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10326if ${lt_cv_prog_compiler_pic+:} false; then : 10327 $as_echo_n "(cached) " >&6 10328else 10329 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10330fi 10331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10332$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10333lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10334 10335# 10336# Check to make sure the PIC flag actually works. 10337# 10338if test -n "$lt_prog_compiler_pic"; then 10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10340$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10341if ${lt_cv_prog_compiler_pic_works+:} false; then : 10342 $as_echo_n "(cached) " >&6 10343else 10344 lt_cv_prog_compiler_pic_works=no 10345 ac_outfile=conftest.$ac_objext 10346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10347 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10348 # Insert the option either (1) after the last *FLAGS variable, or 10349 # (2) before a word containing "conftest.", or (3) at the end. 10350 # Note that $ac_compile itself does not contain backslashes and begins 10351 # with a dollar sign (not a hyphen), so the echo should work correctly. 10352 # The option is referenced via a variable to avoid confusing sed. 10353 lt_compile=`echo "$ac_compile" | $SED \ 10354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10356 -e 's:$: $lt_compiler_flag:'` 10357 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10358 (eval "$lt_compile" 2>conftest.err) 10359 ac_status=$? 10360 cat conftest.err >&5 10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10362 if (exit $ac_status) && test -s "$ac_outfile"; then 10363 # The compiler can only warn and ignore the option if not recognized 10364 # So say no if there are warnings other than the usual output. 10365 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10366 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10367 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10368 lt_cv_prog_compiler_pic_works=yes 10369 fi 10370 fi 10371 $RM conftest* 10372 10373fi 10374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10375$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10376 10377if test yes = "$lt_cv_prog_compiler_pic_works"; then 10378 case $lt_prog_compiler_pic in 10379 "" | " "*) ;; 10380 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10381 esac 10382else 10383 lt_prog_compiler_pic= 10384 lt_prog_compiler_can_build_shared=no 10385fi 10386 10387fi 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399# 10400# Check to make sure the static flag actually works. 10401# 10402wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10404$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10405if ${lt_cv_prog_compiler_static_works+:} false; then : 10406 $as_echo_n "(cached) " >&6 10407else 10408 lt_cv_prog_compiler_static_works=no 10409 save_LDFLAGS=$LDFLAGS 10410 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10411 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10412 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10413 # The linker can only warn and ignore the option if not recognized 10414 # So say no if there are warnings 10415 if test -s conftest.err; then 10416 # Append any errors to the config.log. 10417 cat conftest.err 1>&5 10418 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10419 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10420 if diff conftest.exp conftest.er2 >/dev/null; then 10421 lt_cv_prog_compiler_static_works=yes 10422 fi 10423 else 10424 lt_cv_prog_compiler_static_works=yes 10425 fi 10426 fi 10427 $RM -r conftest* 10428 LDFLAGS=$save_LDFLAGS 10429 10430fi 10431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10432$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10433 10434if test yes = "$lt_cv_prog_compiler_static_works"; then 10435 : 10436else 10437 lt_prog_compiler_static= 10438fi 10439 10440 10441 10442 10443 10444 10445 10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10447$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10448if ${lt_cv_prog_compiler_c_o+:} false; then : 10449 $as_echo_n "(cached) " >&6 10450else 10451 lt_cv_prog_compiler_c_o=no 10452 $RM -r conftest 2>/dev/null 10453 mkdir conftest 10454 cd conftest 10455 mkdir out 10456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10457 10458 lt_compiler_flag="-o out/conftest2.$ac_objext" 10459 # Insert the option either (1) after the last *FLAGS variable, or 10460 # (2) before a word containing "conftest.", or (3) at the end. 10461 # Note that $ac_compile itself does not contain backslashes and begins 10462 # with a dollar sign (not a hyphen), so the echo should work correctly. 10463 lt_compile=`echo "$ac_compile" | $SED \ 10464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10466 -e 's:$: $lt_compiler_flag:'` 10467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10468 (eval "$lt_compile" 2>out/conftest.err) 10469 ac_status=$? 10470 cat out/conftest.err >&5 10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10472 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10473 then 10474 # The compiler can only warn and ignore the option if not recognized 10475 # So say no if there are warnings 10476 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10477 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10478 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10479 lt_cv_prog_compiler_c_o=yes 10480 fi 10481 fi 10482 chmod u+w . 2>&5 10483 $RM conftest* 10484 # SGI C++ compiler will create directory out/ii_files/ for 10485 # template instantiation 10486 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10487 $RM out/* && rmdir out 10488 cd .. 10489 $RM -r conftest 10490 $RM conftest* 10491 10492fi 10493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10494$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10495 10496 10497 10498 10499 10500 10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10502$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10503if ${lt_cv_prog_compiler_c_o+:} false; then : 10504 $as_echo_n "(cached) " >&6 10505else 10506 lt_cv_prog_compiler_c_o=no 10507 $RM -r conftest 2>/dev/null 10508 mkdir conftest 10509 cd conftest 10510 mkdir out 10511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10512 10513 lt_compiler_flag="-o out/conftest2.$ac_objext" 10514 # Insert the option either (1) after the last *FLAGS variable, or 10515 # (2) before a word containing "conftest.", or (3) at the end. 10516 # Note that $ac_compile itself does not contain backslashes and begins 10517 # with a dollar sign (not a hyphen), so the echo should work correctly. 10518 lt_compile=`echo "$ac_compile" | $SED \ 10519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10521 -e 's:$: $lt_compiler_flag:'` 10522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10523 (eval "$lt_compile" 2>out/conftest.err) 10524 ac_status=$? 10525 cat out/conftest.err >&5 10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10527 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10528 then 10529 # The compiler can only warn and ignore the option if not recognized 10530 # So say no if there are warnings 10531 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10532 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10533 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10534 lt_cv_prog_compiler_c_o=yes 10535 fi 10536 fi 10537 chmod u+w . 2>&5 10538 $RM conftest* 10539 # SGI C++ compiler will create directory out/ii_files/ for 10540 # template instantiation 10541 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10542 $RM out/* && rmdir out 10543 cd .. 10544 $RM -r conftest 10545 $RM conftest* 10546 10547fi 10548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10549$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10550 10551 10552 10553 10554hard_links=nottested 10555if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10556 # do not overwrite the value of need_locks provided by the user 10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10558$as_echo_n "checking if we can lock with hard links... " >&6; } 10559 hard_links=yes 10560 $RM conftest* 10561 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10562 touch conftest.a 10563 ln conftest.a conftest.b 2>&5 || hard_links=no 10564 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10566$as_echo "$hard_links" >&6; } 10567 if test no = "$hard_links"; then 10568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10569$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10570 need_locks=warn 10571 fi 10572else 10573 need_locks=no 10574fi 10575 10576 10577 10578 10579 10580 10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10582$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10583 10584 runpath_var= 10585 allow_undefined_flag= 10586 always_export_symbols=no 10587 archive_cmds= 10588 archive_expsym_cmds= 10589 compiler_needs_object=no 10590 enable_shared_with_static_runtimes=no 10591 export_dynamic_flag_spec= 10592 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10593 hardcode_automatic=no 10594 hardcode_direct=no 10595 hardcode_direct_absolute=no 10596 hardcode_libdir_flag_spec= 10597 hardcode_libdir_separator= 10598 hardcode_minus_L=no 10599 hardcode_shlibpath_var=unsupported 10600 inherit_rpath=no 10601 link_all_deplibs=unknown 10602 module_cmds= 10603 module_expsym_cmds= 10604 old_archive_from_new_cmds= 10605 old_archive_from_expsyms_cmds= 10606 thread_safe_flag_spec= 10607 whole_archive_flag_spec= 10608 # include_expsyms should be a list of space-separated symbols to be *always* 10609 # included in the symbol list 10610 include_expsyms= 10611 # exclude_expsyms can be an extended regexp of symbols to exclude 10612 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10613 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10614 # as well as any symbol that contains 'd'. 10615 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10616 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10617 # platforms (ab)use it in PIC code, but their linkers get confused if 10618 # the symbol is explicitly referenced. Since portable code cannot 10619 # rely on this symbol name, it's probably fine to never include it in 10620 # preloaded symbol tables. 10621 # Exclude shared library initialization/finalization symbols. 10622 extract_expsyms_cmds= 10623 10624 case $host_os in 10625 cygwin* | mingw* | pw32* | cegcc*) 10626 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10627 # When not using gcc, we currently assume that we are using 10628 # Microsoft Visual C++. 10629 if test yes != "$GCC"; then 10630 with_gnu_ld=no 10631 fi 10632 ;; 10633 interix*) 10634 # we just hope/assume this is gcc and not c89 (= MSVC++) 10635 with_gnu_ld=yes 10636 ;; 10637 openbsd* | bitrig*) 10638 with_gnu_ld=no 10639 ;; 10640 esac 10641 10642 ld_shlibs=yes 10643 10644 # On some targets, GNU ld is compatible enough with the native linker 10645 # that we're better off using the native interface for both. 10646 lt_use_gnu_ld_interface=no 10647 if test yes = "$with_gnu_ld"; then 10648 case $host_os in 10649 aix*) 10650 # The AIX port of GNU ld has always aspired to compatibility 10651 # with the native linker. However, as the warning in the GNU ld 10652 # block says, versions before 2.19.5* couldn't really create working 10653 # shared libraries, regardless of the interface used. 10654 case `$LD -v 2>&1` in 10655 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10656 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10657 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10658 *) 10659 lt_use_gnu_ld_interface=yes 10660 ;; 10661 esac 10662 ;; 10663 *) 10664 lt_use_gnu_ld_interface=yes 10665 ;; 10666 esac 10667 fi 10668 10669 if test yes = "$lt_use_gnu_ld_interface"; then 10670 # If archive_cmds runs LD, not CC, wlarc should be empty 10671 wlarc='$wl' 10672 10673 # Set some defaults for GNU ld with shared library support. These 10674 # are reset later if shared libraries are not supported. Putting them 10675 # here allows them to be overridden if necessary. 10676 runpath_var=LD_RUN_PATH 10677 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10678 export_dynamic_flag_spec='$wl--export-dynamic' 10679 # ancient GNU ld didn't support --whole-archive et. al. 10680 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10681 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10682 else 10683 whole_archive_flag_spec= 10684 fi 10685 supports_anon_versioning=no 10686 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10687 *GNU\ gold*) supports_anon_versioning=yes ;; 10688 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10689 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10690 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10691 *\ 2.11.*) ;; # other 2.11 versions 10692 *) supports_anon_versioning=yes ;; 10693 esac 10694 10695 # See if GNU ld supports shared libraries. 10696 case $host_os in 10697 aix[3-9]*) 10698 # On AIX/PPC, the GNU linker is very broken 10699 if test ia64 != "$host_cpu"; then 10700 ld_shlibs=no 10701 cat <<_LT_EOF 1>&2 10702 10703*** Warning: the GNU linker, at least up to release 2.19, is reported 10704*** to be unable to reliably create shared libraries on AIX. 10705*** Therefore, libtool is disabling shared libraries support. If you 10706*** really care for shared libraries, you may want to install binutils 10707*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10708*** You will then need to restart the configuration process. 10709 10710_LT_EOF 10711 fi 10712 ;; 10713 10714 amigaos*) 10715 case $host_cpu in 10716 powerpc) 10717 # see comment about AmigaOS4 .so support 10718 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10719 archive_expsym_cmds='' 10720 ;; 10721 m68k) 10722 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)' 10723 hardcode_libdir_flag_spec='-L$libdir' 10724 hardcode_minus_L=yes 10725 ;; 10726 esac 10727 ;; 10728 10729 beos*) 10730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10731 allow_undefined_flag=unsupported 10732 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10733 # support --undefined. This deserves some investigation. FIXME 10734 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10735 else 10736 ld_shlibs=no 10737 fi 10738 ;; 10739 10740 cygwin* | mingw* | pw32* | cegcc*) 10741 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10742 # as there is no search path for DLLs. 10743 hardcode_libdir_flag_spec='-L$libdir' 10744 export_dynamic_flag_spec='$wl--export-all-symbols' 10745 allow_undefined_flag=unsupported 10746 always_export_symbols=no 10747 enable_shared_with_static_runtimes=yes 10748 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' 10749 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10750 10751 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10752 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10753 # If the export-symbols file already is a .def file, use it as 10754 # is; otherwise, prepend EXPORTS... 10755 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10756 cp $export_symbols $output_objdir/$soname.def; 10757 else 10758 echo EXPORTS > $output_objdir/$soname.def; 10759 cat $export_symbols >> $output_objdir/$soname.def; 10760 fi~ 10761 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10762 else 10763 ld_shlibs=no 10764 fi 10765 ;; 10766 10767 haiku*) 10768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10769 link_all_deplibs=yes 10770 ;; 10771 10772 os2*) 10773 hardcode_libdir_flag_spec='-L$libdir' 10774 hardcode_minus_L=yes 10775 allow_undefined_flag=unsupported 10776 shrext_cmds=.dll 10777 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10778 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10779 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10780 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10781 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10782 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10783 emximp -o $lib $output_objdir/$libname.def' 10784 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10785 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10786 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10787 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10788 prefix_cmds="$SED"~ 10789 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10790 prefix_cmds="$prefix_cmds -e 1d"; 10791 fi~ 10792 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10793 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10794 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10795 emximp -o $lib $output_objdir/$libname.def' 10796 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10797 enable_shared_with_static_runtimes=yes 10798 ;; 10799 10800 interix[3-9]*) 10801 hardcode_direct=no 10802 hardcode_shlibpath_var=no 10803 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10804 export_dynamic_flag_spec='$wl-E' 10805 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10806 # Instead, shared libraries are loaded at an image base (0x10000000 by 10807 # default) and relocated if they conflict, which is a slow very memory 10808 # consuming and fragmenting process. To avoid this, we pick a random, 10809 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10810 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10811 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10812 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' 10813 ;; 10814 10815 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10816 tmp_diet=no 10817 if test linux-dietlibc = "$host_os"; then 10818 case $cc_basename in 10819 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10820 esac 10821 fi 10822 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10823 && test no = "$tmp_diet" 10824 then 10825 tmp_addflag=' $pic_flag' 10826 tmp_sharedflag='-shared' 10827 case $cc_basename,$host_cpu in 10828 pgcc*) # Portland Group C compiler 10829 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' 10830 tmp_addflag=' $pic_flag' 10831 ;; 10832 pgf77* | pgf90* | pgf95* | pgfortran*) 10833 # Portland Group f77 and f90 compilers 10834 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' 10835 tmp_addflag=' $pic_flag -Mnomain' ;; 10836 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10837 tmp_addflag=' -i_dynamic' ;; 10838 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10839 tmp_addflag=' -i_dynamic -nofor_main' ;; 10840 ifc* | ifort*) # Intel Fortran compiler 10841 tmp_addflag=' -nofor_main' ;; 10842 lf95*) # Lahey Fortran 8.1 10843 whole_archive_flag_spec= 10844 tmp_sharedflag='--shared' ;; 10845 nagfor*) # NAGFOR 5.3 10846 tmp_sharedflag='-Wl,-shared' ;; 10847 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10848 tmp_sharedflag='-qmkshrobj' 10849 tmp_addflag= ;; 10850 nvcc*) # Cuda Compiler Driver 2.2 10851 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' 10852 compiler_needs_object=yes 10853 ;; 10854 esac 10855 case `$CC -V 2>&1 | sed 5q` in 10856 *Sun\ C*) # Sun C 5.9 10857 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' 10858 compiler_needs_object=yes 10859 tmp_sharedflag='-G' ;; 10860 *Sun\ F*) # Sun Fortran 8.3 10861 tmp_sharedflag='-G' ;; 10862 esac 10863 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10864 10865 if test yes = "$supports_anon_versioning"; then 10866 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10867 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10868 echo "local: *; };" >> $output_objdir/$libname.ver~ 10869 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10870 fi 10871 10872 case $cc_basename in 10873 tcc*) 10874 export_dynamic_flag_spec='-rdynamic' 10875 ;; 10876 xlf* | bgf* | bgxlf* | mpixlf*) 10877 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10878 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10879 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10880 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10881 if test yes = "$supports_anon_versioning"; then 10882 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10883 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10884 echo "local: *; };" >> $output_objdir/$libname.ver~ 10885 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10886 fi 10887 ;; 10888 esac 10889 else 10890 ld_shlibs=no 10891 fi 10892 ;; 10893 10894 netbsd*) 10895 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10896 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10897 wlarc= 10898 else 10899 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10900 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10901 fi 10902 ;; 10903 10904 solaris*) 10905 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10906 ld_shlibs=no 10907 cat <<_LT_EOF 1>&2 10908 10909*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10910*** create shared libraries on Solaris systems. Therefore, libtool 10911*** is disabling shared libraries support. We urge you to upgrade GNU 10912*** binutils to release 2.9.1 or newer. Another option is to modify 10913*** your PATH or compiler configuration so that the native linker is 10914*** used, and then restart. 10915 10916_LT_EOF 10917 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10918 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10919 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10920 else 10921 ld_shlibs=no 10922 fi 10923 ;; 10924 10925 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10926 case `$LD -v 2>&1` in 10927 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10928 ld_shlibs=no 10929 cat <<_LT_EOF 1>&2 10930 10931*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10932*** reliably create shared libraries on SCO systems. Therefore, libtool 10933*** is disabling shared libraries support. We urge you to upgrade GNU 10934*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10935*** your PATH or compiler configuration so that the native linker is 10936*** used, and then restart. 10937 10938_LT_EOF 10939 ;; 10940 *) 10941 # For security reasons, it is highly recommended that you always 10942 # use absolute paths for naming shared libraries, and exclude the 10943 # DT_RUNPATH tag from executables and libraries. But doing so 10944 # requires that you compile everything twice, which is a pain. 10945 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10946 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10947 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10948 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10949 else 10950 ld_shlibs=no 10951 fi 10952 ;; 10953 esac 10954 ;; 10955 10956 sunos4*) 10957 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10958 wlarc= 10959 hardcode_direct=yes 10960 hardcode_shlibpath_var=no 10961 ;; 10962 10963 *) 10964 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10965 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10966 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10967 else 10968 ld_shlibs=no 10969 fi 10970 ;; 10971 esac 10972 10973 if test no = "$ld_shlibs"; then 10974 runpath_var= 10975 hardcode_libdir_flag_spec= 10976 export_dynamic_flag_spec= 10977 whole_archive_flag_spec= 10978 fi 10979 else 10980 # PORTME fill in a description of your system's linker (not GNU ld) 10981 case $host_os in 10982 aix3*) 10983 allow_undefined_flag=unsupported 10984 always_export_symbols=yes 10985 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' 10986 # Note: this linker hardcodes the directories in LIBPATH if there 10987 # are no directories specified by -L. 10988 hardcode_minus_L=yes 10989 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10990 # Neither direct hardcoding nor static linking is supported with a 10991 # broken collect2. 10992 hardcode_direct=unsupported 10993 fi 10994 ;; 10995 10996 aix[4-9]*) 10997 if test ia64 = "$host_cpu"; then 10998 # On IA64, the linker does run time linking by default, so we don't 10999 # have to do anything special. 11000 aix_use_runtimelinking=no 11001 exp_sym_flag='-Bexport' 11002 no_entry_flag= 11003 else 11004 # If we're using GNU nm, then we don't want the "-C" option. 11005 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11006 # Without the "-l" option, or with the "-B" option, AIX nm treats 11007 # weak defined symbols like other global defined symbols, whereas 11008 # GNU nm marks them as "W". 11009 # While the 'weak' keyword is ignored in the Export File, we need 11010 # it in the Import File for the 'aix-soname' feature, so we have 11011 # to replace the "-B" option with "-P" for AIX nm. 11012 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11013 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' 11014 else 11015 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' 11016 fi 11017 aix_use_runtimelinking=no 11018 11019 # Test if we are trying to use run time linking or normal 11020 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11021 # have runtime linking enabled, and use it for executables. 11022 # For shared libraries, we enable/disable runtime linking 11023 # depending on the kind of the shared library created - 11024 # when "with_aix_soname,aix_use_runtimelinking" is: 11025 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11026 # "aix,yes" lib.so shared, rtl:yes, for executables 11027 # lib.a static archive 11028 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11029 # lib.a(lib.so.V) shared, rtl:no, for executables 11030 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11031 # lib.a(lib.so.V) shared, rtl:no 11032 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11033 # lib.a static archive 11034 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11035 for ld_flag in $LDFLAGS; do 11036 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11037 aix_use_runtimelinking=yes 11038 break 11039 fi 11040 done 11041 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11042 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11043 # so we don't have lib.a shared libs to link our executables. 11044 # We have to force runtime linking in this case. 11045 aix_use_runtimelinking=yes 11046 LDFLAGS="$LDFLAGS -Wl,-brtl" 11047 fi 11048 ;; 11049 esac 11050 11051 exp_sym_flag='-bexport' 11052 no_entry_flag='-bnoentry' 11053 fi 11054 11055 # When large executables or shared objects are built, AIX ld can 11056 # have problems creating the table of contents. If linking a library 11057 # or program results in "error TOC overflow" add -mminimal-toc to 11058 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11059 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11060 11061 archive_cmds='' 11062 hardcode_direct=yes 11063 hardcode_direct_absolute=yes 11064 hardcode_libdir_separator=':' 11065 link_all_deplibs=yes 11066 file_list_spec='$wl-f,' 11067 case $with_aix_soname,$aix_use_runtimelinking in 11068 aix,*) ;; # traditional, no import file 11069 svr4,* | *,yes) # use import file 11070 # The Import File defines what to hardcode. 11071 hardcode_direct=no 11072 hardcode_direct_absolute=no 11073 ;; 11074 esac 11075 11076 if test yes = "$GCC"; then 11077 case $host_os in aix4.[012]|aix4.[012].*) 11078 # We only want to do this on AIX 4.2 and lower, the check 11079 # below for broken collect2 doesn't work under 4.3+ 11080 collect2name=`$CC -print-prog-name=collect2` 11081 if test -f "$collect2name" && 11082 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11083 then 11084 # We have reworked collect2 11085 : 11086 else 11087 # We have old collect2 11088 hardcode_direct=unsupported 11089 # It fails to find uninstalled libraries when the uninstalled 11090 # path is not listed in the libpath. Setting hardcode_minus_L 11091 # to unsupported forces relinking 11092 hardcode_minus_L=yes 11093 hardcode_libdir_flag_spec='-L$libdir' 11094 hardcode_libdir_separator= 11095 fi 11096 ;; 11097 esac 11098 shared_flag='-shared' 11099 if test yes = "$aix_use_runtimelinking"; then 11100 shared_flag="$shared_flag "'$wl-G' 11101 fi 11102 # Need to ensure runtime linking is disabled for the traditional 11103 # shared library, or the linker may eventually find shared libraries 11104 # /with/ Import File - we do not want to mix them. 11105 shared_flag_aix='-shared' 11106 shared_flag_svr4='-shared $wl-G' 11107 else 11108 # not using gcc 11109 if test ia64 = "$host_cpu"; then 11110 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11111 # chokes on -Wl,-G. The following line is correct: 11112 shared_flag='-G' 11113 else 11114 if test yes = "$aix_use_runtimelinking"; then 11115 shared_flag='$wl-G' 11116 else 11117 shared_flag='$wl-bM:SRE' 11118 fi 11119 shared_flag_aix='$wl-bM:SRE' 11120 shared_flag_svr4='$wl-G' 11121 fi 11122 fi 11123 11124 export_dynamic_flag_spec='$wl-bexpall' 11125 # It seems that -bexpall does not export symbols beginning with 11126 # underscore (_), so it is better to generate a list of symbols to export. 11127 always_export_symbols=yes 11128 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11129 # Warning - without using the other runtime loading flags (-brtl), 11130 # -berok will link without error, but may produce a broken library. 11131 allow_undefined_flag='-berok' 11132 # Determine the default libpath from the value encoded in an 11133 # empty executable. 11134 if test set = "${lt_cv_aix_libpath+set}"; then 11135 aix_libpath=$lt_cv_aix_libpath 11136else 11137 if ${lt_cv_aix_libpath_+:} false; then : 11138 $as_echo_n "(cached) " >&6 11139else 11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11141/* end confdefs.h. */ 11142 11143int 11144main () 11145{ 11146 11147 ; 11148 return 0; 11149} 11150_ACEOF 11151if ac_fn_c_try_link "$LINENO"; then : 11152 11153 lt_aix_libpath_sed=' 11154 /Import File Strings/,/^$/ { 11155 /^0/ { 11156 s/^0 *\([^ ]*\) *$/\1/ 11157 p 11158 } 11159 }' 11160 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11161 # Check for a 64-bit object if we didn't find anything. 11162 if test -z "$lt_cv_aix_libpath_"; then 11163 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11164 fi 11165fi 11166rm -f core conftest.err conftest.$ac_objext \ 11167 conftest$ac_exeext conftest.$ac_ext 11168 if test -z "$lt_cv_aix_libpath_"; then 11169 lt_cv_aix_libpath_=/usr/lib:/lib 11170 fi 11171 11172fi 11173 11174 aix_libpath=$lt_cv_aix_libpath_ 11175fi 11176 11177 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11178 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 11179 else 11180 if test ia64 = "$host_cpu"; then 11181 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11182 allow_undefined_flag="-z nodefs" 11183 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" 11184 else 11185 # Determine the default libpath from the value encoded in an 11186 # empty executable. 11187 if test set = "${lt_cv_aix_libpath+set}"; then 11188 aix_libpath=$lt_cv_aix_libpath 11189else 11190 if ${lt_cv_aix_libpath_+:} false; then : 11191 $as_echo_n "(cached) " >&6 11192else 11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11194/* end confdefs.h. */ 11195 11196int 11197main () 11198{ 11199 11200 ; 11201 return 0; 11202} 11203_ACEOF 11204if ac_fn_c_try_link "$LINENO"; then : 11205 11206 lt_aix_libpath_sed=' 11207 /Import File Strings/,/^$/ { 11208 /^0/ { 11209 s/^0 *\([^ ]*\) *$/\1/ 11210 p 11211 } 11212 }' 11213 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11214 # Check for a 64-bit object if we didn't find anything. 11215 if test -z "$lt_cv_aix_libpath_"; then 11216 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11217 fi 11218fi 11219rm -f core conftest.err conftest.$ac_objext \ 11220 conftest$ac_exeext conftest.$ac_ext 11221 if test -z "$lt_cv_aix_libpath_"; then 11222 lt_cv_aix_libpath_=/usr/lib:/lib 11223 fi 11224 11225fi 11226 11227 aix_libpath=$lt_cv_aix_libpath_ 11228fi 11229 11230 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11231 # Warning - without using the other run time loading flags, 11232 # -berok will link without error, but may produce a broken library. 11233 no_undefined_flag=' $wl-bernotok' 11234 allow_undefined_flag=' $wl-berok' 11235 if test yes = "$with_gnu_ld"; then 11236 # We only use this code for GNU lds that support --whole-archive. 11237 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11238 else 11239 # Exported symbols can be pulled into shared objects from archives 11240 whole_archive_flag_spec='$convenience' 11241 fi 11242 archive_cmds_need_lc=yes 11243 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11244 # -brtl affects multiple linker settings, -berok does not and is overridden later 11245 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11246 if test svr4 != "$with_aix_soname"; then 11247 # This is similar to how AIX traditionally builds its shared libraries. 11248 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' 11249 fi 11250 if test aix != "$with_aix_soname"; then 11251 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' 11252 else 11253 # used by -dlpreopen to get the symbols 11254 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11255 fi 11256 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11257 fi 11258 fi 11259 ;; 11260 11261 amigaos*) 11262 case $host_cpu in 11263 powerpc) 11264 # see comment about AmigaOS4 .so support 11265 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11266 archive_expsym_cmds='' 11267 ;; 11268 m68k) 11269 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)' 11270 hardcode_libdir_flag_spec='-L$libdir' 11271 hardcode_minus_L=yes 11272 ;; 11273 esac 11274 ;; 11275 11276 bsdi[45]*) 11277 export_dynamic_flag_spec=-rdynamic 11278 ;; 11279 11280 cygwin* | mingw* | pw32* | cegcc*) 11281 # When not using gcc, we currently assume that we are using 11282 # Microsoft Visual C++. 11283 # hardcode_libdir_flag_spec is actually meaningless, as there is 11284 # no search path for DLLs. 11285 case $cc_basename in 11286 cl*) 11287 # Native MSVC 11288 hardcode_libdir_flag_spec=' ' 11289 allow_undefined_flag=unsupported 11290 always_export_symbols=yes 11291 file_list_spec='@' 11292 # Tell ltmain to make .lib files, not .a files. 11293 libext=lib 11294 # Tell ltmain to make .dll files, not .so files. 11295 shrext_cmds=.dll 11296 # FIXME: Setting linknames here is a bad hack. 11297 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11298 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11299 cp "$export_symbols" "$output_objdir/$soname.def"; 11300 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11301 else 11302 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11303 fi~ 11304 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11305 linknames=' 11306 # The linker will not automatically build a static lib if we build a DLL. 11307 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11308 enable_shared_with_static_runtimes=yes 11309 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11310 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11311 # Don't use ranlib 11312 old_postinstall_cmds='chmod 644 $oldlib' 11313 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11314 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11315 case $lt_outputfile in 11316 *.exe|*.EXE) ;; 11317 *) 11318 lt_outputfile=$lt_outputfile.exe 11319 lt_tool_outputfile=$lt_tool_outputfile.exe 11320 ;; 11321 esac~ 11322 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11323 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11324 $RM "$lt_outputfile.manifest"; 11325 fi' 11326 ;; 11327 *) 11328 # Assume MSVC wrapper 11329 hardcode_libdir_flag_spec=' ' 11330 allow_undefined_flag=unsupported 11331 # Tell ltmain to make .lib files, not .a files. 11332 libext=lib 11333 # Tell ltmain to make .dll files, not .so files. 11334 shrext_cmds=.dll 11335 # FIXME: Setting linknames here is a bad hack. 11336 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11337 # The linker will automatically build a .lib file if we build a DLL. 11338 old_archive_from_new_cmds='true' 11339 # FIXME: Should let the user specify the lib program. 11340 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11341 enable_shared_with_static_runtimes=yes 11342 ;; 11343 esac 11344 ;; 11345 11346 darwin* | rhapsody*) 11347 11348 11349 archive_cmds_need_lc=no 11350 hardcode_direct=no 11351 hardcode_automatic=yes 11352 hardcode_shlibpath_var=unsupported 11353 if test yes = "$lt_cv_ld_force_load"; then 11354 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\"`' 11355 11356 else 11357 whole_archive_flag_spec='' 11358 fi 11359 link_all_deplibs=yes 11360 allow_undefined_flag=$_lt_dar_allow_undefined 11361 case $cc_basename in 11362 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11363 *) _lt_dar_can_shared=$GCC ;; 11364 esac 11365 if test yes = "$_lt_dar_can_shared"; then 11366 output_verbose_link_cmd=func_echo_all 11367 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11368 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11369 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" 11370 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" 11371 11372 else 11373 ld_shlibs=no 11374 fi 11375 11376 ;; 11377 11378 dgux*) 11379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11380 hardcode_libdir_flag_spec='-L$libdir' 11381 hardcode_shlibpath_var=no 11382 ;; 11383 11384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11385 # support. Future versions do this automatically, but an explicit c++rt0.o 11386 # does not break anything, and helps significantly (at the cost of a little 11387 # extra space). 11388 freebsd2.2*) 11389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11390 hardcode_libdir_flag_spec='-R$libdir' 11391 hardcode_direct=yes 11392 hardcode_shlibpath_var=no 11393 ;; 11394 11395 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11396 freebsd2.*) 11397 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11398 hardcode_direct=yes 11399 hardcode_minus_L=yes 11400 hardcode_shlibpath_var=no 11401 ;; 11402 11403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11404 freebsd* | dragonfly*) 11405 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11406 hardcode_libdir_flag_spec='-R$libdir' 11407 hardcode_direct=yes 11408 hardcode_shlibpath_var=no 11409 ;; 11410 11411 hpux9*) 11412 if test yes = "$GCC"; then 11413 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' 11414 else 11415 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' 11416 fi 11417 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11418 hardcode_libdir_separator=: 11419 hardcode_direct=yes 11420 11421 # hardcode_minus_L: Not really in the search PATH, 11422 # but as the default location of the library. 11423 hardcode_minus_L=yes 11424 export_dynamic_flag_spec='$wl-E' 11425 ;; 11426 11427 hpux10*) 11428 if test yes,no = "$GCC,$with_gnu_ld"; then 11429 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11430 else 11431 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11432 fi 11433 if test no = "$with_gnu_ld"; then 11434 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11435 hardcode_libdir_separator=: 11436 hardcode_direct=yes 11437 hardcode_direct_absolute=yes 11438 export_dynamic_flag_spec='$wl-E' 11439 # hardcode_minus_L: Not really in the search PATH, 11440 # but as the default location of the library. 11441 hardcode_minus_L=yes 11442 fi 11443 ;; 11444 11445 hpux11*) 11446 if test yes,no = "$GCC,$with_gnu_ld"; then 11447 case $host_cpu in 11448 hppa*64*) 11449 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11450 ;; 11451 ia64*) 11452 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11453 ;; 11454 *) 11455 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11456 ;; 11457 esac 11458 else 11459 case $host_cpu in 11460 hppa*64*) 11461 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11462 ;; 11463 ia64*) 11464 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11465 ;; 11466 *) 11467 11468 # Older versions of the 11.00 compiler do not understand -b yet 11469 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11471$as_echo_n "checking if $CC understands -b... " >&6; } 11472if ${lt_cv_prog_compiler__b+:} false; then : 11473 $as_echo_n "(cached) " >&6 11474else 11475 lt_cv_prog_compiler__b=no 11476 save_LDFLAGS=$LDFLAGS 11477 LDFLAGS="$LDFLAGS -b" 11478 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11479 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11480 # The linker can only warn and ignore the option if not recognized 11481 # So say no if there are warnings 11482 if test -s conftest.err; then 11483 # Append any errors to the config.log. 11484 cat conftest.err 1>&5 11485 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11486 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11487 if diff conftest.exp conftest.er2 >/dev/null; then 11488 lt_cv_prog_compiler__b=yes 11489 fi 11490 else 11491 lt_cv_prog_compiler__b=yes 11492 fi 11493 fi 11494 $RM -r conftest* 11495 LDFLAGS=$save_LDFLAGS 11496 11497fi 11498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11499$as_echo "$lt_cv_prog_compiler__b" >&6; } 11500 11501if test yes = "$lt_cv_prog_compiler__b"; then 11502 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11503else 11504 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11505fi 11506 11507 ;; 11508 esac 11509 fi 11510 if test no = "$with_gnu_ld"; then 11511 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11512 hardcode_libdir_separator=: 11513 11514 case $host_cpu in 11515 hppa*64*|ia64*) 11516 hardcode_direct=no 11517 hardcode_shlibpath_var=no 11518 ;; 11519 *) 11520 hardcode_direct=yes 11521 hardcode_direct_absolute=yes 11522 export_dynamic_flag_spec='$wl-E' 11523 11524 # hardcode_minus_L: Not really in the search PATH, 11525 # but as the default location of the library. 11526 hardcode_minus_L=yes 11527 ;; 11528 esac 11529 fi 11530 ;; 11531 11532 irix5* | irix6* | nonstopux*) 11533 if test yes = "$GCC"; then 11534 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' 11535 # Try to use the -exported_symbol ld option, if it does not 11536 # work, assume that -exports_file does not work either and 11537 # implicitly export all symbols. 11538 # This should be the same for all languages, so no per-tag cache variable. 11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11540$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11541if ${lt_cv_irix_exported_symbol+:} false; then : 11542 $as_echo_n "(cached) " >&6 11543else 11544 save_LDFLAGS=$LDFLAGS 11545 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11547/* end confdefs.h. */ 11548int foo (void) { return 0; } 11549_ACEOF 11550if ac_fn_c_try_link "$LINENO"; then : 11551 lt_cv_irix_exported_symbol=yes 11552else 11553 lt_cv_irix_exported_symbol=no 11554fi 11555rm -f core conftest.err conftest.$ac_objext \ 11556 conftest$ac_exeext conftest.$ac_ext 11557 LDFLAGS=$save_LDFLAGS 11558fi 11559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11560$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11561 if test yes = "$lt_cv_irix_exported_symbol"; then 11562 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' 11563 fi 11564 else 11565 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' 11566 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' 11567 fi 11568 archive_cmds_need_lc='no' 11569 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11570 hardcode_libdir_separator=: 11571 inherit_rpath=yes 11572 link_all_deplibs=yes 11573 ;; 11574 11575 linux*) 11576 case $cc_basename in 11577 tcc*) 11578 # Fabrice Bellard et al's Tiny C Compiler 11579 ld_shlibs=yes 11580 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11581 ;; 11582 esac 11583 ;; 11584 11585 netbsd*) 11586 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11587 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11588 else 11589 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11590 fi 11591 hardcode_libdir_flag_spec='-R$libdir' 11592 hardcode_direct=yes 11593 hardcode_shlibpath_var=no 11594 ;; 11595 11596 newsos6) 11597 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11598 hardcode_direct=yes 11599 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11600 hardcode_libdir_separator=: 11601 hardcode_shlibpath_var=no 11602 ;; 11603 11604 *nto* | *qnx*) 11605 ;; 11606 11607 openbsd* | bitrig*) 11608 if test -f /usr/libexec/ld.so; then 11609 hardcode_direct=yes 11610 hardcode_shlibpath_var=no 11611 hardcode_direct_absolute=yes 11612 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11613 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11614 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11615 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11616 export_dynamic_flag_spec='$wl-E' 11617 else 11618 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11619 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11620 fi 11621 else 11622 ld_shlibs=no 11623 fi 11624 ;; 11625 11626 os2*) 11627 hardcode_libdir_flag_spec='-L$libdir' 11628 hardcode_minus_L=yes 11629 allow_undefined_flag=unsupported 11630 shrext_cmds=.dll 11631 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11632 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11633 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11634 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11635 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11636 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11637 emximp -o $lib $output_objdir/$libname.def' 11638 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11639 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11640 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11641 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11642 prefix_cmds="$SED"~ 11643 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11644 prefix_cmds="$prefix_cmds -e 1d"; 11645 fi~ 11646 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11647 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11648 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11649 emximp -o $lib $output_objdir/$libname.def' 11650 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11651 enable_shared_with_static_runtimes=yes 11652 ;; 11653 11654 osf3*) 11655 if test yes = "$GCC"; then 11656 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11657 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' 11658 else 11659 allow_undefined_flag=' -expect_unresolved \*' 11660 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' 11661 fi 11662 archive_cmds_need_lc='no' 11663 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11664 hardcode_libdir_separator=: 11665 ;; 11666 11667 osf4* | osf5*) # as osf3* with the addition of -msym flag 11668 if test yes = "$GCC"; then 11669 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11670 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' 11671 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11672 else 11673 allow_undefined_flag=' -expect_unresolved \*' 11674 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' 11675 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~ 11676 $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' 11677 11678 # Both c and cxx compiler support -rpath directly 11679 hardcode_libdir_flag_spec='-rpath $libdir' 11680 fi 11681 archive_cmds_need_lc='no' 11682 hardcode_libdir_separator=: 11683 ;; 11684 11685 solaris*) 11686 no_undefined_flag=' -z defs' 11687 if test yes = "$GCC"; then 11688 wlarc='$wl' 11689 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11690 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11691 $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' 11692 else 11693 case `$CC -V 2>&1` in 11694 *"Compilers 5.0"*) 11695 wlarc='' 11696 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11697 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11698 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11699 ;; 11700 *) 11701 wlarc='$wl' 11702 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11703 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11704 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11705 ;; 11706 esac 11707 fi 11708 hardcode_libdir_flag_spec='-R$libdir' 11709 hardcode_shlibpath_var=no 11710 case $host_os in 11711 solaris2.[0-5] | solaris2.[0-5].*) ;; 11712 *) 11713 # The compiler driver will combine and reorder linker options, 11714 # but understands '-z linker_flag'. GCC discards it without '$wl', 11715 # but is careful enough not to reorder. 11716 # Supported since Solaris 2.6 (maybe 2.5.1?) 11717 if test yes = "$GCC"; then 11718 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11719 else 11720 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11721 fi 11722 ;; 11723 esac 11724 link_all_deplibs=yes 11725 ;; 11726 11727 sunos4*) 11728 if test sequent = "$host_vendor"; then 11729 # Use $CC to link under sequent, because it throws in some extra .o 11730 # files that make .init and .fini sections work. 11731 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11732 else 11733 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11734 fi 11735 hardcode_libdir_flag_spec='-L$libdir' 11736 hardcode_direct=yes 11737 hardcode_minus_L=yes 11738 hardcode_shlibpath_var=no 11739 ;; 11740 11741 sysv4) 11742 case $host_vendor in 11743 sni) 11744 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11745 hardcode_direct=yes # is this really true??? 11746 ;; 11747 siemens) 11748 ## LD is ld it makes a PLAMLIB 11749 ## CC just makes a GrossModule. 11750 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11751 reload_cmds='$CC -r -o $output$reload_objs' 11752 hardcode_direct=no 11753 ;; 11754 motorola) 11755 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11756 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11757 ;; 11758 esac 11759 runpath_var='LD_RUN_PATH' 11760 hardcode_shlibpath_var=no 11761 ;; 11762 11763 sysv4.3*) 11764 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11765 hardcode_shlibpath_var=no 11766 export_dynamic_flag_spec='-Bexport' 11767 ;; 11768 11769 sysv4*MP*) 11770 if test -d /usr/nec; then 11771 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11772 hardcode_shlibpath_var=no 11773 runpath_var=LD_RUN_PATH 11774 hardcode_runpath_var=yes 11775 ld_shlibs=yes 11776 fi 11777 ;; 11778 11779 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11780 no_undefined_flag='$wl-z,text' 11781 archive_cmds_need_lc=no 11782 hardcode_shlibpath_var=no 11783 runpath_var='LD_RUN_PATH' 11784 11785 if test yes = "$GCC"; then 11786 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11787 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11788 else 11789 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11790 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11791 fi 11792 ;; 11793 11794 sysv5* | sco3.2v5* | sco5v6*) 11795 # Note: We CANNOT use -z defs as we might desire, because we do not 11796 # link with -lc, and that would cause any symbols used from libc to 11797 # always be unresolved, which means just about no library would 11798 # ever link correctly. If we're not using GNU ld we use -z text 11799 # though, which does catch some bad symbols but isn't as heavy-handed 11800 # as -z defs. 11801 no_undefined_flag='$wl-z,text' 11802 allow_undefined_flag='$wl-z,nodefs' 11803 archive_cmds_need_lc=no 11804 hardcode_shlibpath_var=no 11805 hardcode_libdir_flag_spec='$wl-R,$libdir' 11806 hardcode_libdir_separator=':' 11807 link_all_deplibs=yes 11808 export_dynamic_flag_spec='$wl-Bexport' 11809 runpath_var='LD_RUN_PATH' 11810 11811 if test yes = "$GCC"; then 11812 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11813 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11814 else 11815 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11816 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11817 fi 11818 ;; 11819 11820 uts4*) 11821 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11822 hardcode_libdir_flag_spec='-L$libdir' 11823 hardcode_shlibpath_var=no 11824 ;; 11825 11826 *) 11827 ld_shlibs=no 11828 ;; 11829 esac 11830 11831 if test sni = "$host_vendor"; then 11832 case $host in 11833 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11834 export_dynamic_flag_spec='$wl-Blargedynsym' 11835 ;; 11836 esac 11837 fi 11838 fi 11839 11840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11841$as_echo "$ld_shlibs" >&6; } 11842test no = "$ld_shlibs" && can_build_shared=no 11843 11844with_gnu_ld=$with_gnu_ld 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860# 11861# Do we need to explicitly link libc? 11862# 11863case "x$archive_cmds_need_lc" in 11864x|xyes) 11865 # Assume -lc should be added 11866 archive_cmds_need_lc=yes 11867 11868 if test yes,yes = "$GCC,$enable_shared"; then 11869 case $archive_cmds in 11870 *'~'*) 11871 # FIXME: we may have to deal with multi-command sequences. 11872 ;; 11873 '$CC '*) 11874 # Test whether the compiler implicitly links with -lc since on some 11875 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11876 # to ld, don't add -lc before -lgcc. 11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11878$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11879if ${lt_cv_archive_cmds_need_lc+:} false; then : 11880 $as_echo_n "(cached) " >&6 11881else 11882 $RM conftest* 11883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11884 11885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11886 (eval $ac_compile) 2>&5 11887 ac_status=$? 11888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11889 test $ac_status = 0; } 2>conftest.err; then 11890 soname=conftest 11891 lib=conftest 11892 libobjs=conftest.$ac_objext 11893 deplibs= 11894 wl=$lt_prog_compiler_wl 11895 pic_flag=$lt_prog_compiler_pic 11896 compiler_flags=-v 11897 linker_flags=-v 11898 verstring= 11899 output_objdir=. 11900 libname=conftest 11901 lt_save_allow_undefined_flag=$allow_undefined_flag 11902 allow_undefined_flag= 11903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11904 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11905 ac_status=$? 11906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11907 test $ac_status = 0; } 11908 then 11909 lt_cv_archive_cmds_need_lc=no 11910 else 11911 lt_cv_archive_cmds_need_lc=yes 11912 fi 11913 allow_undefined_flag=$lt_save_allow_undefined_flag 11914 else 11915 cat conftest.err 1>&5 11916 fi 11917 $RM conftest* 11918 11919fi 11920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11921$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11922 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11923 ;; 11924 esac 11925 fi 11926 ;; 11927esac 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12081$as_echo_n "checking dynamic linker characteristics... " >&6; } 12082 12083if test yes = "$GCC"; then 12084 case $host_os in 12085 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12086 *) lt_awk_arg='/^libraries:/' ;; 12087 esac 12088 case $host_os in 12089 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12090 *) lt_sed_strip_eq='s|=/|/|g' ;; 12091 esac 12092 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12093 case $lt_search_path_spec in 12094 *\;*) 12095 # if the path contains ";" then we assume it to be the separator 12096 # otherwise default to the standard path separator (i.e. ":") - it is 12097 # assumed that no part of a normal pathname contains ";" but that should 12098 # okay in the real world where ";" in dirpaths is itself problematic. 12099 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12100 ;; 12101 *) 12102 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12103 ;; 12104 esac 12105 # Ok, now we have the path, separated by spaces, we can step through it 12106 # and add multilib dir if necessary... 12107 lt_tmp_lt_search_path_spec= 12108 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12109 # ...but if some path component already ends with the multilib dir we assume 12110 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12111 case "$lt_multi_os_dir; $lt_search_path_spec " in 12112 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12113 lt_multi_os_dir= 12114 ;; 12115 esac 12116 for lt_sys_path in $lt_search_path_spec; do 12117 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12118 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12119 elif test -n "$lt_multi_os_dir"; then 12120 test -d "$lt_sys_path" && \ 12121 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12122 fi 12123 done 12124 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12125BEGIN {RS = " "; FS = "/|\n";} { 12126 lt_foo = ""; 12127 lt_count = 0; 12128 for (lt_i = NF; lt_i > 0; lt_i--) { 12129 if ($lt_i != "" && $lt_i != ".") { 12130 if ($lt_i == "..") { 12131 lt_count++; 12132 } else { 12133 if (lt_count == 0) { 12134 lt_foo = "/" $lt_i lt_foo; 12135 } else { 12136 lt_count--; 12137 } 12138 } 12139 } 12140 } 12141 if (lt_foo != "") { lt_freq[lt_foo]++; } 12142 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12143}'` 12144 # AWK program above erroneously prepends '/' to C:/dos/paths 12145 # for these hosts. 12146 case $host_os in 12147 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12148 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12149 esac 12150 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12151else 12152 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12153fi 12154library_names_spec= 12155libname_spec='lib$name' 12156soname_spec= 12157shrext_cmds=.so 12158postinstall_cmds= 12159postuninstall_cmds= 12160finish_cmds= 12161finish_eval= 12162shlibpath_var= 12163shlibpath_overrides_runpath=unknown 12164version_type=none 12165dynamic_linker="$host_os ld.so" 12166sys_lib_dlsearch_path_spec="/lib /usr/lib" 12167need_lib_prefix=unknown 12168hardcode_into_libs=no 12169 12170# when you set need_version to no, make sure it does not cause -set_version 12171# flags to be left without arguments 12172need_version=unknown 12173 12174 12175 12176case $host_os in 12177aix3*) 12178 version_type=linux # correct to gnu/linux during the next big refactor 12179 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12180 shlibpath_var=LIBPATH 12181 12182 # AIX 3 has no versioning support, so we append a major version to the name. 12183 soname_spec='$libname$release$shared_ext$major' 12184 ;; 12185 12186aix[4-9]*) 12187 version_type=linux # correct to gnu/linux during the next big refactor 12188 need_lib_prefix=no 12189 need_version=no 12190 hardcode_into_libs=yes 12191 if test ia64 = "$host_cpu"; then 12192 # AIX 5 supports IA64 12193 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12194 shlibpath_var=LD_LIBRARY_PATH 12195 else 12196 # With GCC up to 2.95.x, collect2 would create an import file 12197 # for dependence libraries. The import file would start with 12198 # the line '#! .'. This would cause the generated library to 12199 # depend on '.', always an invalid library. This was fixed in 12200 # development snapshots of GCC prior to 3.0. 12201 case $host_os in 12202 aix4 | aix4.[01] | aix4.[01].*) 12203 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12204 echo ' yes ' 12205 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12206 : 12207 else 12208 can_build_shared=no 12209 fi 12210 ;; 12211 esac 12212 # Using Import Files as archive members, it is possible to support 12213 # filename-based versioning of shared library archives on AIX. While 12214 # this would work for both with and without runtime linking, it will 12215 # prevent static linking of such archives. So we do filename-based 12216 # shared library versioning with .so extension only, which is used 12217 # when both runtime linking and shared linking is enabled. 12218 # Unfortunately, runtime linking may impact performance, so we do 12219 # not want this to be the default eventually. Also, we use the 12220 # versioned .so libs for executables only if there is the -brtl 12221 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12222 # To allow for filename-based versioning support, we need to create 12223 # libNAME.so.V as an archive file, containing: 12224 # *) an Import File, referring to the versioned filename of the 12225 # archive as well as the shared archive member, telling the 12226 # bitwidth (32 or 64) of that shared object, and providing the 12227 # list of exported symbols of that shared object, eventually 12228 # decorated with the 'weak' keyword 12229 # *) the shared object with the F_LOADONLY flag set, to really avoid 12230 # it being seen by the linker. 12231 # At run time we better use the real file rather than another symlink, 12232 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12233 12234 case $with_aix_soname,$aix_use_runtimelinking in 12235 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12236 # soname into executable. Probably we can add versioning support to 12237 # collect2, so additional links can be useful in future. 12238 aix,yes) # traditional libtool 12239 dynamic_linker='AIX unversionable lib.so' 12240 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12241 # instead of lib<name>.a to let people know that these are not 12242 # typical AIX shared libraries. 12243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12244 ;; 12245 aix,no) # traditional AIX only 12246 dynamic_linker='AIX lib.a(lib.so.V)' 12247 # We preserve .a as extension for shared libraries through AIX4.2 12248 # and later when we are not doing run time linking. 12249 library_names_spec='$libname$release.a $libname.a' 12250 soname_spec='$libname$release$shared_ext$major' 12251 ;; 12252 svr4,*) # full svr4 only 12253 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12254 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12255 # We do not specify a path in Import Files, so LIBPATH fires. 12256 shlibpath_overrides_runpath=yes 12257 ;; 12258 *,yes) # both, prefer svr4 12259 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12260 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12261 # unpreferred sharedlib libNAME.a needs extra handling 12262 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"' 12263 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"' 12264 # We do not specify a path in Import Files, so LIBPATH fires. 12265 shlibpath_overrides_runpath=yes 12266 ;; 12267 *,no) # both, prefer aix 12268 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12269 library_names_spec='$libname$release.a $libname.a' 12270 soname_spec='$libname$release$shared_ext$major' 12271 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12272 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)' 12273 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"' 12274 ;; 12275 esac 12276 shlibpath_var=LIBPATH 12277 fi 12278 ;; 12279 12280amigaos*) 12281 case $host_cpu in 12282 powerpc) 12283 # Since July 2007 AmigaOS4 officially supports .so libraries. 12284 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12285 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12286 ;; 12287 m68k) 12288 library_names_spec='$libname.ixlibrary $libname.a' 12289 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12290 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' 12291 ;; 12292 esac 12293 ;; 12294 12295beos*) 12296 library_names_spec='$libname$shared_ext' 12297 dynamic_linker="$host_os ld.so" 12298 shlibpath_var=LIBRARY_PATH 12299 ;; 12300 12301bsdi[45]*) 12302 version_type=linux # correct to gnu/linux during the next big refactor 12303 need_version=no 12304 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12305 soname_spec='$libname$release$shared_ext$major' 12306 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12307 shlibpath_var=LD_LIBRARY_PATH 12308 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12309 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12310 # the default ld.so.conf also contains /usr/contrib/lib and 12311 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12312 # libtool to hard-code these into programs 12313 ;; 12314 12315cygwin* | mingw* | pw32* | cegcc*) 12316 version_type=windows 12317 shrext_cmds=.dll 12318 need_version=no 12319 need_lib_prefix=no 12320 12321 case $GCC,$cc_basename in 12322 yes,*) 12323 # gcc 12324 library_names_spec='$libname.dll.a' 12325 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12326 postinstall_cmds='base_file=`basename \$file`~ 12327 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12328 dldir=$destdir/`dirname \$dlpath`~ 12329 test -d \$dldir || mkdir -p \$dldir~ 12330 $install_prog $dir/$dlname \$dldir/$dlname~ 12331 chmod a+x \$dldir/$dlname~ 12332 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12333 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12334 fi' 12335 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12336 dlpath=$dir/\$dldll~ 12337 $RM \$dlpath' 12338 shlibpath_overrides_runpath=yes 12339 12340 case $host_os in 12341 cygwin*) 12342 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12343 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12344 12345 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12346 ;; 12347 mingw* | cegcc*) 12348 # MinGW DLLs use traditional 'lib' prefix 12349 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12350 ;; 12351 pw32*) 12352 # pw32 DLLs use 'pw' prefix rather than 'lib' 12353 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12354 ;; 12355 esac 12356 dynamic_linker='Win32 ld.exe' 12357 ;; 12358 12359 *,cl*) 12360 # Native MSVC 12361 libname_spec='$name' 12362 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12363 library_names_spec='$libname.dll.lib' 12364 12365 case $build_os in 12366 mingw*) 12367 sys_lib_search_path_spec= 12368 lt_save_ifs=$IFS 12369 IFS=';' 12370 for lt_path in $LIB 12371 do 12372 IFS=$lt_save_ifs 12373 # Let DOS variable expansion print the short 8.3 style file name. 12374 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12375 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12376 done 12377 IFS=$lt_save_ifs 12378 # Convert to MSYS style. 12379 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12380 ;; 12381 cygwin*) 12382 # Convert to unix form, then to dos form, then back to unix form 12383 # but this time dos style (no spaces!) so that the unix form looks 12384 # like /cygdrive/c/PROGRA~1:/cygdr... 12385 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12386 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12387 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12388 ;; 12389 *) 12390 sys_lib_search_path_spec=$LIB 12391 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12392 # It is most probably a Windows format PATH. 12393 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12394 else 12395 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12396 fi 12397 # FIXME: find the short name or the path components, as spaces are 12398 # common. (e.g. "Program Files" -> "PROGRA~1") 12399 ;; 12400 esac 12401 12402 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12403 postinstall_cmds='base_file=`basename \$file`~ 12404 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12405 dldir=$destdir/`dirname \$dlpath`~ 12406 test -d \$dldir || mkdir -p \$dldir~ 12407 $install_prog $dir/$dlname \$dldir/$dlname' 12408 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12409 dlpath=$dir/\$dldll~ 12410 $RM \$dlpath' 12411 shlibpath_overrides_runpath=yes 12412 dynamic_linker='Win32 link.exe' 12413 ;; 12414 12415 *) 12416 # Assume MSVC wrapper 12417 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12418 dynamic_linker='Win32 ld.exe' 12419 ;; 12420 esac 12421 # FIXME: first we should search . and the directory the executable is in 12422 shlibpath_var=PATH 12423 ;; 12424 12425darwin* | rhapsody*) 12426 dynamic_linker="$host_os dyld" 12427 version_type=darwin 12428 need_lib_prefix=no 12429 need_version=no 12430 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12431 soname_spec='$libname$release$major$shared_ext' 12432 shlibpath_overrides_runpath=yes 12433 shlibpath_var=DYLD_LIBRARY_PATH 12434 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12435 12436 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12437 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12438 ;; 12439 12440dgux*) 12441 version_type=linux # correct to gnu/linux during the next big refactor 12442 need_lib_prefix=no 12443 need_version=no 12444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12445 soname_spec='$libname$release$shared_ext$major' 12446 shlibpath_var=LD_LIBRARY_PATH 12447 ;; 12448 12449freebsd* | dragonfly*) 12450 # DragonFly does not have aout. When/if they implement a new 12451 # versioning mechanism, adjust this. 12452 if test -x /usr/bin/objformat; then 12453 objformat=`/usr/bin/objformat` 12454 else 12455 case $host_os in 12456 freebsd[23].*) objformat=aout ;; 12457 *) objformat=elf ;; 12458 esac 12459 fi 12460 version_type=freebsd-$objformat 12461 case $version_type in 12462 freebsd-elf*) 12463 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12464 soname_spec='$libname$release$shared_ext$major' 12465 need_version=no 12466 need_lib_prefix=no 12467 ;; 12468 freebsd-*) 12469 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12470 need_version=yes 12471 ;; 12472 esac 12473 shlibpath_var=LD_LIBRARY_PATH 12474 case $host_os in 12475 freebsd2.*) 12476 shlibpath_overrides_runpath=yes 12477 ;; 12478 freebsd3.[01]* | freebsdelf3.[01]*) 12479 shlibpath_overrides_runpath=yes 12480 hardcode_into_libs=yes 12481 ;; 12482 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12483 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12484 shlibpath_overrides_runpath=no 12485 hardcode_into_libs=yes 12486 ;; 12487 *) # from 4.6 on, and DragonFly 12488 shlibpath_overrides_runpath=yes 12489 hardcode_into_libs=yes 12490 ;; 12491 esac 12492 ;; 12493 12494haiku*) 12495 version_type=linux # correct to gnu/linux during the next big refactor 12496 need_lib_prefix=no 12497 need_version=no 12498 dynamic_linker="$host_os runtime_loader" 12499 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12500 soname_spec='$libname$release$shared_ext$major' 12501 shlibpath_var=LIBRARY_PATH 12502 shlibpath_overrides_runpath=no 12503 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12504 hardcode_into_libs=yes 12505 ;; 12506 12507hpux9* | hpux10* | hpux11*) 12508 # Give a soname corresponding to the major version so that dld.sl refuses to 12509 # link against other versions. 12510 version_type=sunos 12511 need_lib_prefix=no 12512 need_version=no 12513 case $host_cpu in 12514 ia64*) 12515 shrext_cmds='.so' 12516 hardcode_into_libs=yes 12517 dynamic_linker="$host_os dld.so" 12518 shlibpath_var=LD_LIBRARY_PATH 12519 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12520 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12521 soname_spec='$libname$release$shared_ext$major' 12522 if test 32 = "$HPUX_IA64_MODE"; then 12523 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12524 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12525 else 12526 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12527 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12528 fi 12529 ;; 12530 hppa*64*) 12531 shrext_cmds='.sl' 12532 hardcode_into_libs=yes 12533 dynamic_linker="$host_os dld.sl" 12534 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12535 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12536 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12537 soname_spec='$libname$release$shared_ext$major' 12538 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12539 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12540 ;; 12541 *) 12542 shrext_cmds='.sl' 12543 dynamic_linker="$host_os dld.sl" 12544 shlibpath_var=SHLIB_PATH 12545 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12546 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12547 soname_spec='$libname$release$shared_ext$major' 12548 ;; 12549 esac 12550 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12551 postinstall_cmds='chmod 555 $lib' 12552 # or fails outright, so override atomically: 12553 install_override_mode=555 12554 ;; 12555 12556interix[3-9]*) 12557 version_type=linux # correct to gnu/linux during the next big refactor 12558 need_lib_prefix=no 12559 need_version=no 12560 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12561 soname_spec='$libname$release$shared_ext$major' 12562 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12563 shlibpath_var=LD_LIBRARY_PATH 12564 shlibpath_overrides_runpath=no 12565 hardcode_into_libs=yes 12566 ;; 12567 12568irix5* | irix6* | nonstopux*) 12569 case $host_os in 12570 nonstopux*) version_type=nonstopux ;; 12571 *) 12572 if test yes = "$lt_cv_prog_gnu_ld"; then 12573 version_type=linux # correct to gnu/linux during the next big refactor 12574 else 12575 version_type=irix 12576 fi ;; 12577 esac 12578 need_lib_prefix=no 12579 need_version=no 12580 soname_spec='$libname$release$shared_ext$major' 12581 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12582 case $host_os in 12583 irix5* | nonstopux*) 12584 libsuff= shlibsuff= 12585 ;; 12586 *) 12587 case $LD in # libtool.m4 will add one of these switches to LD 12588 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12589 libsuff= shlibsuff= libmagic=32-bit;; 12590 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12591 libsuff=32 shlibsuff=N32 libmagic=N32;; 12592 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12593 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12594 *) libsuff= shlibsuff= libmagic=never-match;; 12595 esac 12596 ;; 12597 esac 12598 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12599 shlibpath_overrides_runpath=no 12600 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12601 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12602 hardcode_into_libs=yes 12603 ;; 12604 12605# No shared lib support for Linux oldld, aout, or coff. 12606linux*oldld* | linux*aout* | linux*coff*) 12607 dynamic_linker=no 12608 ;; 12609 12610linux*android*) 12611 version_type=none # Android doesn't support versioned libraries. 12612 need_lib_prefix=no 12613 need_version=no 12614 library_names_spec='$libname$release$shared_ext' 12615 soname_spec='$libname$release$shared_ext' 12616 finish_cmds= 12617 shlibpath_var=LD_LIBRARY_PATH 12618 shlibpath_overrides_runpath=yes 12619 12620 # This implies no fast_install, which is unacceptable. 12621 # Some rework will be needed to allow for fast_install 12622 # before this can be enabled. 12623 hardcode_into_libs=yes 12624 12625 dynamic_linker='Android linker' 12626 # Don't embed -rpath directories since the linker doesn't support them. 12627 hardcode_libdir_flag_spec='-L$libdir' 12628 ;; 12629 12630# This must be glibc/ELF. 12631linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12632 version_type=linux # correct to gnu/linux during the next big refactor 12633 need_lib_prefix=no 12634 need_version=no 12635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12636 soname_spec='$libname$release$shared_ext$major' 12637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12638 shlibpath_var=LD_LIBRARY_PATH 12639 shlibpath_overrides_runpath=no 12640 12641 # Some binutils ld are patched to set DT_RUNPATH 12642 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12643 $as_echo_n "(cached) " >&6 12644else 12645 lt_cv_shlibpath_overrides_runpath=no 12646 save_LDFLAGS=$LDFLAGS 12647 save_libdir=$libdir 12648 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12649 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12651/* end confdefs.h. */ 12652 12653int 12654main () 12655{ 12656 12657 ; 12658 return 0; 12659} 12660_ACEOF 12661if ac_fn_c_try_link "$LINENO"; then : 12662 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12663 lt_cv_shlibpath_overrides_runpath=yes 12664fi 12665fi 12666rm -f core conftest.err conftest.$ac_objext \ 12667 conftest$ac_exeext conftest.$ac_ext 12668 LDFLAGS=$save_LDFLAGS 12669 libdir=$save_libdir 12670 12671fi 12672 12673 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12674 12675 # This implies no fast_install, which is unacceptable. 12676 # Some rework will be needed to allow for fast_install 12677 # before this can be enabled. 12678 hardcode_into_libs=yes 12679 12680 # Add ABI-specific directories to the system library path. 12681 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12682 12683 # Ideally, we could use ldconfig to report *all* directores which are 12684 # searched for libraries, however this is still not possible. Aside from not 12685 # being certain /sbin/ldconfig is available, command 12686 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12687 # even though it is searched at run-time. Try to do the best guess by 12688 # appending ld.so.conf contents (and includes) to the search path. 12689 if test -f /etc/ld.so.conf; then 12690 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' ' '` 12691 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12692 fi 12693 12694 # We used to test for /lib/ld.so.1 and disable shared libraries on 12695 # powerpc, because MkLinux only supported shared libraries with the 12696 # GNU dynamic linker. Since this was broken with cross compilers, 12697 # most powerpc-linux boxes support dynamic linking these days and 12698 # people can always --disable-shared, the test was removed, and we 12699 # assume the GNU/Linux dynamic linker is in use. 12700 dynamic_linker='GNU/Linux ld.so' 12701 ;; 12702 12703netbsd*) 12704 version_type=sunos 12705 need_lib_prefix=no 12706 need_version=no 12707 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12708 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12709 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12710 dynamic_linker='NetBSD (a.out) ld.so' 12711 else 12712 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12713 soname_spec='$libname$release$shared_ext$major' 12714 dynamic_linker='NetBSD ld.elf_so' 12715 fi 12716 shlibpath_var=LD_LIBRARY_PATH 12717 shlibpath_overrides_runpath=yes 12718 hardcode_into_libs=yes 12719 ;; 12720 12721newsos6) 12722 version_type=linux # correct to gnu/linux during the next big refactor 12723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12724 shlibpath_var=LD_LIBRARY_PATH 12725 shlibpath_overrides_runpath=yes 12726 ;; 12727 12728*nto* | *qnx*) 12729 version_type=qnx 12730 need_lib_prefix=no 12731 need_version=no 12732 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12733 soname_spec='$libname$release$shared_ext$major' 12734 shlibpath_var=LD_LIBRARY_PATH 12735 shlibpath_overrides_runpath=no 12736 hardcode_into_libs=yes 12737 dynamic_linker='ldqnx.so' 12738 ;; 12739 12740openbsd* | bitrig*) 12741 version_type=sunos 12742 sys_lib_dlsearch_path_spec=/usr/lib 12743 need_lib_prefix=no 12744 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12745 need_version=no 12746 else 12747 need_version=yes 12748 fi 12749 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12751 shlibpath_var=LD_LIBRARY_PATH 12752 shlibpath_overrides_runpath=yes 12753 ;; 12754 12755os2*) 12756 libname_spec='$name' 12757 version_type=windows 12758 shrext_cmds=.dll 12759 need_version=no 12760 need_lib_prefix=no 12761 # OS/2 can only load a DLL with a base name of 8 characters or less. 12762 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12763 v=$($ECHO $release$versuffix | tr -d .-); 12764 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12765 $ECHO $n$v`$shared_ext' 12766 library_names_spec='${libname}_dll.$libext' 12767 dynamic_linker='OS/2 ld.exe' 12768 shlibpath_var=BEGINLIBPATH 12769 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12770 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12771 postinstall_cmds='base_file=`basename \$file`~ 12772 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12773 dldir=$destdir/`dirname \$dlpath`~ 12774 test -d \$dldir || mkdir -p \$dldir~ 12775 $install_prog $dir/$dlname \$dldir/$dlname~ 12776 chmod a+x \$dldir/$dlname~ 12777 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12778 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12779 fi' 12780 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12781 dlpath=$dir/\$dldll~ 12782 $RM \$dlpath' 12783 ;; 12784 12785osf3* | osf4* | osf5*) 12786 version_type=osf 12787 need_lib_prefix=no 12788 need_version=no 12789 soname_spec='$libname$release$shared_ext$major' 12790 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12791 shlibpath_var=LD_LIBRARY_PATH 12792 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12793 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12794 ;; 12795 12796rdos*) 12797 dynamic_linker=no 12798 ;; 12799 12800solaris*) 12801 version_type=linux # correct to gnu/linux during the next big refactor 12802 need_lib_prefix=no 12803 need_version=no 12804 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12805 soname_spec='$libname$release$shared_ext$major' 12806 shlibpath_var=LD_LIBRARY_PATH 12807 shlibpath_overrides_runpath=yes 12808 hardcode_into_libs=yes 12809 # ldd complains unless libraries are executable 12810 postinstall_cmds='chmod +x $lib' 12811 ;; 12812 12813sunos4*) 12814 version_type=sunos 12815 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12816 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12817 shlibpath_var=LD_LIBRARY_PATH 12818 shlibpath_overrides_runpath=yes 12819 if test yes = "$with_gnu_ld"; then 12820 need_lib_prefix=no 12821 fi 12822 need_version=yes 12823 ;; 12824 12825sysv4 | sysv4.3*) 12826 version_type=linux # correct to gnu/linux during the next big refactor 12827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12828 soname_spec='$libname$release$shared_ext$major' 12829 shlibpath_var=LD_LIBRARY_PATH 12830 case $host_vendor in 12831 sni) 12832 shlibpath_overrides_runpath=no 12833 need_lib_prefix=no 12834 runpath_var=LD_RUN_PATH 12835 ;; 12836 siemens) 12837 need_lib_prefix=no 12838 ;; 12839 motorola) 12840 need_lib_prefix=no 12841 need_version=no 12842 shlibpath_overrides_runpath=no 12843 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12844 ;; 12845 esac 12846 ;; 12847 12848sysv4*MP*) 12849 if test -d /usr/nec; then 12850 version_type=linux # correct to gnu/linux during the next big refactor 12851 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12852 soname_spec='$libname$shared_ext.$major' 12853 shlibpath_var=LD_LIBRARY_PATH 12854 fi 12855 ;; 12856 12857sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12858 version_type=sco 12859 need_lib_prefix=no 12860 need_version=no 12861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12862 soname_spec='$libname$release$shared_ext$major' 12863 shlibpath_var=LD_LIBRARY_PATH 12864 shlibpath_overrides_runpath=yes 12865 hardcode_into_libs=yes 12866 if test yes = "$with_gnu_ld"; then 12867 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12868 else 12869 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12870 case $host_os in 12871 sco3.2v5*) 12872 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12873 ;; 12874 esac 12875 fi 12876 sys_lib_dlsearch_path_spec='/usr/lib' 12877 ;; 12878 12879tpf*) 12880 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12881 version_type=linux # correct to gnu/linux during the next big refactor 12882 need_lib_prefix=no 12883 need_version=no 12884 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12885 shlibpath_var=LD_LIBRARY_PATH 12886 shlibpath_overrides_runpath=no 12887 hardcode_into_libs=yes 12888 ;; 12889 12890uts4*) 12891 version_type=linux # correct to gnu/linux during the next big refactor 12892 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12893 soname_spec='$libname$release$shared_ext$major' 12894 shlibpath_var=LD_LIBRARY_PATH 12895 ;; 12896 12897*) 12898 dynamic_linker=no 12899 ;; 12900esac 12901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12902$as_echo "$dynamic_linker" >&6; } 12903test no = "$dynamic_linker" && can_build_shared=no 12904 12905variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12906if test yes = "$GCC"; then 12907 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12908fi 12909 12910if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12911 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12912fi 12913 12914if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12915 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12916fi 12917 12918# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12919configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12920 12921# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12922func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12923 12924# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12925configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13024$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13025hardcode_action= 13026if test -n "$hardcode_libdir_flag_spec" || 13027 test -n "$runpath_var" || 13028 test yes = "$hardcode_automatic"; then 13029 13030 # We can hardcode non-existent directories. 13031 if test no != "$hardcode_direct" && 13032 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13033 # have to relink, otherwise we might link with an installed library 13034 # when we should be linking with a yet-to-be-installed one 13035 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13036 test no != "$hardcode_minus_L"; then 13037 # Linking always hardcodes the temporary library directory. 13038 hardcode_action=relink 13039 else 13040 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13041 hardcode_action=immediate 13042 fi 13043else 13044 # We cannot hardcode anything, or else we can only hardcode existing 13045 # directories. 13046 hardcode_action=unsupported 13047fi 13048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13049$as_echo "$hardcode_action" >&6; } 13050 13051if test relink = "$hardcode_action" || 13052 test yes = "$inherit_rpath"; then 13053 # Fast installation is not supported 13054 enable_fast_install=no 13055elif test yes = "$shlibpath_overrides_runpath" || 13056 test no = "$enable_shared"; then 13057 # Fast installation is not necessary 13058 enable_fast_install=needless 13059fi 13060 13061 13062 13063 13064 13065 13066 if test yes != "$enable_dlopen"; then 13067 enable_dlopen=unknown 13068 enable_dlopen_self=unknown 13069 enable_dlopen_self_static=unknown 13070else 13071 lt_cv_dlopen=no 13072 lt_cv_dlopen_libs= 13073 13074 case $host_os in 13075 beos*) 13076 lt_cv_dlopen=load_add_on 13077 lt_cv_dlopen_libs= 13078 lt_cv_dlopen_self=yes 13079 ;; 13080 13081 mingw* | pw32* | cegcc*) 13082 lt_cv_dlopen=LoadLibrary 13083 lt_cv_dlopen_libs= 13084 ;; 13085 13086 cygwin*) 13087 lt_cv_dlopen=dlopen 13088 lt_cv_dlopen_libs= 13089 ;; 13090 13091 darwin*) 13092 # if libdl is installed we need to link against it 13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13094$as_echo_n "checking for dlopen in -ldl... " >&6; } 13095if ${ac_cv_lib_dl_dlopen+:} false; then : 13096 $as_echo_n "(cached) " >&6 13097else 13098 ac_check_lib_save_LIBS=$LIBS 13099LIBS="-ldl $LIBS" 13100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13101/* end confdefs.h. */ 13102 13103/* Override any GCC internal prototype to avoid an error. 13104 Use char because int might match the return type of a GCC 13105 builtin and then its argument prototype would still apply. */ 13106#ifdef __cplusplus 13107extern "C" 13108#endif 13109char dlopen (); 13110int 13111main () 13112{ 13113return dlopen (); 13114 ; 13115 return 0; 13116} 13117_ACEOF 13118if ac_fn_c_try_link "$LINENO"; then : 13119 ac_cv_lib_dl_dlopen=yes 13120else 13121 ac_cv_lib_dl_dlopen=no 13122fi 13123rm -f core conftest.err conftest.$ac_objext \ 13124 conftest$ac_exeext conftest.$ac_ext 13125LIBS=$ac_check_lib_save_LIBS 13126fi 13127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13128$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13129if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13130 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13131else 13132 13133 lt_cv_dlopen=dyld 13134 lt_cv_dlopen_libs= 13135 lt_cv_dlopen_self=yes 13136 13137fi 13138 13139 ;; 13140 13141 tpf*) 13142 # Don't try to run any link tests for TPF. We know it's impossible 13143 # because TPF is a cross-compiler, and we know how we open DSOs. 13144 lt_cv_dlopen=dlopen 13145 lt_cv_dlopen_libs= 13146 lt_cv_dlopen_self=no 13147 ;; 13148 13149 *) 13150 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13151if test "x$ac_cv_func_shl_load" = xyes; then : 13152 lt_cv_dlopen=shl_load 13153else 13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13155$as_echo_n "checking for shl_load in -ldld... " >&6; } 13156if ${ac_cv_lib_dld_shl_load+:} false; then : 13157 $as_echo_n "(cached) " >&6 13158else 13159 ac_check_lib_save_LIBS=$LIBS 13160LIBS="-ldld $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 shl_load (); 13171int 13172main () 13173{ 13174return shl_load (); 13175 ; 13176 return 0; 13177} 13178_ACEOF 13179if ac_fn_c_try_link "$LINENO"; then : 13180 ac_cv_lib_dld_shl_load=yes 13181else 13182 ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5 13189$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13190if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13191 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13192else 13193 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13194if test "x$ac_cv_func_dlopen" = xyes; then : 13195 lt_cv_dlopen=dlopen 13196else 13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13198$as_echo_n "checking for dlopen in -ldl... " >&6; } 13199if ${ac_cv_lib_dl_dlopen+:} false; then : 13200 $as_echo_n "(cached) " >&6 13201else 13202 ac_check_lib_save_LIBS=$LIBS 13203LIBS="-ldl $LIBS" 13204cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13205/* end confdefs.h. */ 13206 13207/* Override any GCC internal prototype to avoid an error. 13208 Use char because int might match the return type of a GCC 13209 builtin and then its argument prototype would still apply. */ 13210#ifdef __cplusplus 13211extern "C" 13212#endif 13213char dlopen (); 13214int 13215main () 13216{ 13217return dlopen (); 13218 ; 13219 return 0; 13220} 13221_ACEOF 13222if ac_fn_c_try_link "$LINENO"; then : 13223 ac_cv_lib_dl_dlopen=yes 13224else 13225 ac_cv_lib_dl_dlopen=no 13226fi 13227rm -f core conftest.err conftest.$ac_objext \ 13228 conftest$ac_exeext conftest.$ac_ext 13229LIBS=$ac_check_lib_save_LIBS 13230fi 13231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13232$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13233if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13234 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13235else 13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13237$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13238if ${ac_cv_lib_svld_dlopen+:} false; then : 13239 $as_echo_n "(cached) " >&6 13240else 13241 ac_check_lib_save_LIBS=$LIBS 13242LIBS="-lsvld $LIBS" 13243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13244/* end confdefs.h. */ 13245 13246/* Override any GCC internal prototype to avoid an error. 13247 Use char because int might match the return type of a GCC 13248 builtin and then its argument prototype would still apply. */ 13249#ifdef __cplusplus 13250extern "C" 13251#endif 13252char dlopen (); 13253int 13254main () 13255{ 13256return dlopen (); 13257 ; 13258 return 0; 13259} 13260_ACEOF 13261if ac_fn_c_try_link "$LINENO"; then : 13262 ac_cv_lib_svld_dlopen=yes 13263else 13264 ac_cv_lib_svld_dlopen=no 13265fi 13266rm -f core conftest.err conftest.$ac_objext \ 13267 conftest$ac_exeext conftest.$ac_ext 13268LIBS=$ac_check_lib_save_LIBS 13269fi 13270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13271$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13272if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13273 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13274else 13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13276$as_echo_n "checking for dld_link in -ldld... " >&6; } 13277if ${ac_cv_lib_dld_dld_link+:} false; then : 13278 $as_echo_n "(cached) " >&6 13279else 13280 ac_check_lib_save_LIBS=$LIBS 13281LIBS="-ldld $LIBS" 13282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13283/* end confdefs.h. */ 13284 13285/* Override any GCC internal prototype to avoid an error. 13286 Use char because int might match the return type of a GCC 13287 builtin and then its argument prototype would still apply. */ 13288#ifdef __cplusplus 13289extern "C" 13290#endif 13291char dld_link (); 13292int 13293main () 13294{ 13295return dld_link (); 13296 ; 13297 return 0; 13298} 13299_ACEOF 13300if ac_fn_c_try_link "$LINENO"; then : 13301 ac_cv_lib_dld_dld_link=yes 13302else 13303 ac_cv_lib_dld_dld_link=no 13304fi 13305rm -f core conftest.err conftest.$ac_objext \ 13306 conftest$ac_exeext conftest.$ac_ext 13307LIBS=$ac_check_lib_save_LIBS 13308fi 13309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13310$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13311if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13312 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13313fi 13314 13315 13316fi 13317 13318 13319fi 13320 13321 13322fi 13323 13324 13325fi 13326 13327 13328fi 13329 13330 ;; 13331 esac 13332 13333 if test no = "$lt_cv_dlopen"; then 13334 enable_dlopen=no 13335 else 13336 enable_dlopen=yes 13337 fi 13338 13339 case $lt_cv_dlopen in 13340 dlopen) 13341 save_CPPFLAGS=$CPPFLAGS 13342 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13343 13344 save_LDFLAGS=$LDFLAGS 13345 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13346 13347 save_LIBS=$LIBS 13348 LIBS="$lt_cv_dlopen_libs $LIBS" 13349 13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13351$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13352if ${lt_cv_dlopen_self+:} false; then : 13353 $as_echo_n "(cached) " >&6 13354else 13355 if test yes = "$cross_compiling"; then : 13356 lt_cv_dlopen_self=cross 13357else 13358 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13359 lt_status=$lt_dlunknown 13360 cat > conftest.$ac_ext <<_LT_EOF 13361#line $LINENO "configure" 13362#include "confdefs.h" 13363 13364#if HAVE_DLFCN_H 13365#include <dlfcn.h> 13366#endif 13367 13368#include <stdio.h> 13369 13370#ifdef RTLD_GLOBAL 13371# define LT_DLGLOBAL RTLD_GLOBAL 13372#else 13373# ifdef DL_GLOBAL 13374# define LT_DLGLOBAL DL_GLOBAL 13375# else 13376# define LT_DLGLOBAL 0 13377# endif 13378#endif 13379 13380/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13381 find out it does not work in some platform. */ 13382#ifndef LT_DLLAZY_OR_NOW 13383# ifdef RTLD_LAZY 13384# define LT_DLLAZY_OR_NOW RTLD_LAZY 13385# else 13386# ifdef DL_LAZY 13387# define LT_DLLAZY_OR_NOW DL_LAZY 13388# else 13389# ifdef RTLD_NOW 13390# define LT_DLLAZY_OR_NOW RTLD_NOW 13391# else 13392# ifdef DL_NOW 13393# define LT_DLLAZY_OR_NOW DL_NOW 13394# else 13395# define LT_DLLAZY_OR_NOW 0 13396# endif 13397# endif 13398# endif 13399# endif 13400#endif 13401 13402/* When -fvisibility=hidden is used, assume the code has been annotated 13403 correspondingly for the symbols needed. */ 13404#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13405int fnord () __attribute__((visibility("default"))); 13406#endif 13407 13408int fnord () { return 42; } 13409int main () 13410{ 13411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13412 int status = $lt_dlunknown; 13413 13414 if (self) 13415 { 13416 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13417 else 13418 { 13419 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13420 else puts (dlerror ()); 13421 } 13422 /* dlclose (self); */ 13423 } 13424 else 13425 puts (dlerror ()); 13426 13427 return status; 13428} 13429_LT_EOF 13430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13431 (eval $ac_link) 2>&5 13432 ac_status=$? 13433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13434 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13435 (./conftest; exit; ) >&5 2>/dev/null 13436 lt_status=$? 13437 case x$lt_status in 13438 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13439 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13440 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13441 esac 13442 else : 13443 # compilation failed 13444 lt_cv_dlopen_self=no 13445 fi 13446fi 13447rm -fr conftest* 13448 13449 13450fi 13451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13452$as_echo "$lt_cv_dlopen_self" >&6; } 13453 13454 if test yes = "$lt_cv_dlopen_self"; then 13455 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13457$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13458if ${lt_cv_dlopen_self_static+:} false; then : 13459 $as_echo_n "(cached) " >&6 13460else 13461 if test yes = "$cross_compiling"; then : 13462 lt_cv_dlopen_self_static=cross 13463else 13464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13465 lt_status=$lt_dlunknown 13466 cat > conftest.$ac_ext <<_LT_EOF 13467#line $LINENO "configure" 13468#include "confdefs.h" 13469 13470#if HAVE_DLFCN_H 13471#include <dlfcn.h> 13472#endif 13473 13474#include <stdio.h> 13475 13476#ifdef RTLD_GLOBAL 13477# define LT_DLGLOBAL RTLD_GLOBAL 13478#else 13479# ifdef DL_GLOBAL 13480# define LT_DLGLOBAL DL_GLOBAL 13481# else 13482# define LT_DLGLOBAL 0 13483# endif 13484#endif 13485 13486/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13487 find out it does not work in some platform. */ 13488#ifndef LT_DLLAZY_OR_NOW 13489# ifdef RTLD_LAZY 13490# define LT_DLLAZY_OR_NOW RTLD_LAZY 13491# else 13492# ifdef DL_LAZY 13493# define LT_DLLAZY_OR_NOW DL_LAZY 13494# else 13495# ifdef RTLD_NOW 13496# define LT_DLLAZY_OR_NOW RTLD_NOW 13497# else 13498# ifdef DL_NOW 13499# define LT_DLLAZY_OR_NOW DL_NOW 13500# else 13501# define LT_DLLAZY_OR_NOW 0 13502# endif 13503# endif 13504# endif 13505# endif 13506#endif 13507 13508/* When -fvisibility=hidden is used, assume the code has been annotated 13509 correspondingly for the symbols needed. */ 13510#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13511int fnord () __attribute__((visibility("default"))); 13512#endif 13513 13514int fnord () { return 42; } 13515int main () 13516{ 13517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13518 int status = $lt_dlunknown; 13519 13520 if (self) 13521 { 13522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13523 else 13524 { 13525 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13526 else puts (dlerror ()); 13527 } 13528 /* dlclose (self); */ 13529 } 13530 else 13531 puts (dlerror ()); 13532 13533 return status; 13534} 13535_LT_EOF 13536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13537 (eval $ac_link) 2>&5 13538 ac_status=$? 13539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13540 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13541 (./conftest; exit; ) >&5 2>/dev/null 13542 lt_status=$? 13543 case x$lt_status in 13544 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13545 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13546 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13547 esac 13548 else : 13549 # compilation failed 13550 lt_cv_dlopen_self_static=no 13551 fi 13552fi 13553rm -fr conftest* 13554 13555 13556fi 13557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13558$as_echo "$lt_cv_dlopen_self_static" >&6; } 13559 fi 13560 13561 CPPFLAGS=$save_CPPFLAGS 13562 LDFLAGS=$save_LDFLAGS 13563 LIBS=$save_LIBS 13564 ;; 13565 esac 13566 13567 case $lt_cv_dlopen_self in 13568 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13569 *) enable_dlopen_self=unknown ;; 13570 esac 13571 13572 case $lt_cv_dlopen_self_static in 13573 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13574 *) enable_dlopen_self_static=unknown ;; 13575 esac 13576fi 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594striplib= 13595old_striplib= 13596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13597$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13598if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13599 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13600 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13602$as_echo "yes" >&6; } 13603else 13604# FIXME - insert some real tests, host_os isn't really good enough 13605 case $host_os in 13606 darwin*) 13607 if test -n "$STRIP"; then 13608 striplib="$STRIP -x" 13609 old_striplib="$STRIP -S" 13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13611$as_echo "yes" >&6; } 13612 else 13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13614$as_echo "no" >&6; } 13615 fi 13616 ;; 13617 *) 13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13619$as_echo "no" >&6; } 13620 ;; 13621 esac 13622fi 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 # Report what library types will actually be built 13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13637$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13639$as_echo "$can_build_shared" >&6; } 13640 13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13642$as_echo_n "checking whether to build shared libraries... " >&6; } 13643 test no = "$can_build_shared" && enable_shared=no 13644 13645 # On AIX, shared libraries and static libraries use the same namespace, and 13646 # are all built from PIC. 13647 case $host_os in 13648 aix3*) 13649 test yes = "$enable_shared" && enable_static=no 13650 if test -n "$RANLIB"; then 13651 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13652 postinstall_cmds='$RANLIB $lib' 13653 fi 13654 ;; 13655 13656 aix[4-9]*) 13657 if test ia64 != "$host_cpu"; then 13658 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13659 yes,aix,yes) ;; # shared object as lib.so file only 13660 yes,svr4,*) ;; # shared object as lib.so archive member only 13661 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13662 esac 13663 fi 13664 ;; 13665 esac 13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13667$as_echo "$enable_shared" >&6; } 13668 13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13670$as_echo_n "checking whether to build static libraries... " >&6; } 13671 # Make sure either enable_shared or enable_static is yes. 13672 test yes = "$enable_shared" || enable_static=yes 13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13674$as_echo "$enable_static" >&6; } 13675 13676 13677 13678 13679fi 13680ac_ext=c 13681ac_cpp='$CPP $CPPFLAGS' 13682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13684ac_compiler_gnu=$ac_cv_c_compiler_gnu 13685 13686CC=$lt_save_CC 13687 13688 if test -n "$CXX" && ( test no != "$CXX" && 13689 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13690 (test g++ != "$CXX"))); then 13691 ac_ext=cpp 13692ac_cpp='$CXXCPP $CPPFLAGS' 13693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13697$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13698if test -z "$CXXCPP"; then 13699 if ${ac_cv_prog_CXXCPP+:} false; then : 13700 $as_echo_n "(cached) " >&6 13701else 13702 # Double quotes because CXXCPP needs to be expanded 13703 for CXXCPP in "$CXX -E" "/lib/cpp" 13704 do 13705 ac_preproc_ok=false 13706for ac_cxx_preproc_warn_flag in '' yes 13707do 13708 # Use a header file that comes with gcc, so configuring glibc 13709 # with a fresh cross-compiler works. 13710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13711 # <limits.h> exists even on freestanding compilers. 13712 # On the NeXT, cc -E runs the code through the compiler's parser, 13713 # not just through cpp. "Syntax error" is here to catch this case. 13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13715/* end confdefs.h. */ 13716#ifdef __STDC__ 13717# include <limits.h> 13718#else 13719# include <assert.h> 13720#endif 13721 Syntax error 13722_ACEOF 13723if ac_fn_cxx_try_cpp "$LINENO"; then : 13724 13725else 13726 # Broken: fails on valid input. 13727continue 13728fi 13729rm -f conftest.err conftest.i conftest.$ac_ext 13730 13731 # OK, works on sane cases. Now check whether nonexistent headers 13732 # can be detected and how. 13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13734/* end confdefs.h. */ 13735#include <ac_nonexistent.h> 13736_ACEOF 13737if ac_fn_cxx_try_cpp "$LINENO"; then : 13738 # Broken: success on invalid input. 13739continue 13740else 13741 # Passes both tests. 13742ac_preproc_ok=: 13743break 13744fi 13745rm -f conftest.err conftest.i conftest.$ac_ext 13746 13747done 13748# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13749rm -f conftest.i conftest.err conftest.$ac_ext 13750if $ac_preproc_ok; then : 13751 break 13752fi 13753 13754 done 13755 ac_cv_prog_CXXCPP=$CXXCPP 13756 13757fi 13758 CXXCPP=$ac_cv_prog_CXXCPP 13759else 13760 ac_cv_prog_CXXCPP=$CXXCPP 13761fi 13762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13763$as_echo "$CXXCPP" >&6; } 13764ac_preproc_ok=false 13765for ac_cxx_preproc_warn_flag in '' yes 13766do 13767 # Use a header file that comes with gcc, so configuring glibc 13768 # with a fresh cross-compiler works. 13769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13770 # <limits.h> exists even on freestanding compilers. 13771 # On the NeXT, cc -E runs the code through the compiler's parser, 13772 # not just through cpp. "Syntax error" is here to catch this case. 13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13774/* end confdefs.h. */ 13775#ifdef __STDC__ 13776# include <limits.h> 13777#else 13778# include <assert.h> 13779#endif 13780 Syntax error 13781_ACEOF 13782if ac_fn_cxx_try_cpp "$LINENO"; then : 13783 13784else 13785 # Broken: fails on valid input. 13786continue 13787fi 13788rm -f conftest.err conftest.i conftest.$ac_ext 13789 13790 # OK, works on sane cases. Now check whether nonexistent headers 13791 # can be detected and how. 13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13793/* end confdefs.h. */ 13794#include <ac_nonexistent.h> 13795_ACEOF 13796if ac_fn_cxx_try_cpp "$LINENO"; then : 13797 # Broken: success on invalid input. 13798continue 13799else 13800 # Passes both tests. 13801ac_preproc_ok=: 13802break 13803fi 13804rm -f conftest.err conftest.i conftest.$ac_ext 13805 13806done 13807# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13808rm -f conftest.i conftest.err conftest.$ac_ext 13809if $ac_preproc_ok; then : 13810 13811else 13812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13813$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13814as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13815See \`config.log' for more details" "$LINENO" 5; } 13816fi 13817 13818ac_ext=c 13819ac_cpp='$CPP $CPPFLAGS' 13820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13822ac_compiler_gnu=$ac_cv_c_compiler_gnu 13823 13824else 13825 _lt_caught_CXX_error=yes 13826fi 13827 13828ac_ext=cpp 13829ac_cpp='$CXXCPP $CPPFLAGS' 13830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13833 13834archive_cmds_need_lc_CXX=no 13835allow_undefined_flag_CXX= 13836always_export_symbols_CXX=no 13837archive_expsym_cmds_CXX= 13838compiler_needs_object_CXX=no 13839export_dynamic_flag_spec_CXX= 13840hardcode_direct_CXX=no 13841hardcode_direct_absolute_CXX=no 13842hardcode_libdir_flag_spec_CXX= 13843hardcode_libdir_separator_CXX= 13844hardcode_minus_L_CXX=no 13845hardcode_shlibpath_var_CXX=unsupported 13846hardcode_automatic_CXX=no 13847inherit_rpath_CXX=no 13848module_cmds_CXX= 13849module_expsym_cmds_CXX= 13850link_all_deplibs_CXX=unknown 13851old_archive_cmds_CXX=$old_archive_cmds 13852reload_flag_CXX=$reload_flag 13853reload_cmds_CXX=$reload_cmds 13854no_undefined_flag_CXX= 13855whole_archive_flag_spec_CXX= 13856enable_shared_with_static_runtimes_CXX=no 13857 13858# Source file extension for C++ test sources. 13859ac_ext=cpp 13860 13861# Object file extension for compiled C++ test sources. 13862objext=o 13863objext_CXX=$objext 13864 13865# No sense in running all these tests if we already determined that 13866# the CXX compiler isn't working. Some variables (like enable_shared) 13867# are currently assumed to apply to all compilers on this platform, 13868# and will be corrupted by setting them based on a non-working compiler. 13869if test yes != "$_lt_caught_CXX_error"; then 13870 # Code to be used in simple compile tests 13871 lt_simple_compile_test_code="int some_variable = 0;" 13872 13873 # Code to be used in simple link tests 13874 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13875 13876 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13877 13878 13879 13880 13881 13882 13883# If no C compiler was specified, use CC. 13884LTCC=${LTCC-"$CC"} 13885 13886# If no C compiler flags were specified, use CFLAGS. 13887LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13888 13889# Allow CC to be a program name with arguments. 13890compiler=$CC 13891 13892 13893 # save warnings/boilerplate of simple test code 13894 ac_outfile=conftest.$ac_objext 13895echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13896eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13897_lt_compiler_boilerplate=`cat conftest.err` 13898$RM conftest* 13899 13900 ac_outfile=conftest.$ac_objext 13901echo "$lt_simple_link_test_code" >conftest.$ac_ext 13902eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13903_lt_linker_boilerplate=`cat conftest.err` 13904$RM -r conftest* 13905 13906 13907 # Allow CC to be a program name with arguments. 13908 lt_save_CC=$CC 13909 lt_save_CFLAGS=$CFLAGS 13910 lt_save_LD=$LD 13911 lt_save_GCC=$GCC 13912 GCC=$GXX 13913 lt_save_with_gnu_ld=$with_gnu_ld 13914 lt_save_path_LD=$lt_cv_path_LD 13915 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13916 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13917 else 13918 $as_unset lt_cv_prog_gnu_ld 13919 fi 13920 if test -n "${lt_cv_path_LDCXX+set}"; then 13921 lt_cv_path_LD=$lt_cv_path_LDCXX 13922 else 13923 $as_unset lt_cv_path_LD 13924 fi 13925 test -z "${LDCXX+set}" || LD=$LDCXX 13926 CC=${CXX-"c++"} 13927 CFLAGS=$CXXFLAGS 13928 compiler=$CC 13929 compiler_CXX=$CC 13930 func_cc_basename $compiler 13931cc_basename=$func_cc_basename_result 13932 13933 13934 if test -n "$compiler"; then 13935 # We don't want -fno-exception when compiling C++ code, so set the 13936 # no_builtin_flag separately 13937 if test yes = "$GXX"; then 13938 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13939 else 13940 lt_prog_compiler_no_builtin_flag_CXX= 13941 fi 13942 13943 if test yes = "$GXX"; then 13944 # Set up default GNU C++ configuration 13945 13946 13947 13948# Check whether --with-gnu-ld was given. 13949if test "${with_gnu_ld+set}" = set; then : 13950 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13951else 13952 with_gnu_ld=no 13953fi 13954 13955ac_prog=ld 13956if test yes = "$GCC"; then 13957 # Check if gcc -print-prog-name=ld gives a path. 13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13959$as_echo_n "checking for ld used by $CC... " >&6; } 13960 case $host in 13961 *-*-mingw*) 13962 # gcc leaves a trailing carriage return, which upsets mingw 13963 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13964 *) 13965 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13966 esac 13967 case $ac_prog in 13968 # Accept absolute paths. 13969 [\\/]* | ?:[\\/]*) 13970 re_direlt='/[^/][^/]*/\.\./' 13971 # Canonicalize the pathname of ld 13972 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13973 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13974 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13975 done 13976 test -z "$LD" && LD=$ac_prog 13977 ;; 13978 "") 13979 # If it fails, then pretend we aren't using GCC. 13980 ac_prog=ld 13981 ;; 13982 *) 13983 # If it is relative, then search for the first ld in PATH. 13984 with_gnu_ld=unknown 13985 ;; 13986 esac 13987elif test yes = "$with_gnu_ld"; then 13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13989$as_echo_n "checking for GNU ld... " >&6; } 13990else 13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13992$as_echo_n "checking for non-GNU ld... " >&6; } 13993fi 13994if ${lt_cv_path_LD+:} false; then : 13995 $as_echo_n "(cached) " >&6 13996else 13997 if test -z "$LD"; then 13998 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13999 for ac_dir in $PATH; do 14000 IFS=$lt_save_ifs 14001 test -z "$ac_dir" && ac_dir=. 14002 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14003 lt_cv_path_LD=$ac_dir/$ac_prog 14004 # Check to see if the program is GNU ld. I'd rather use --version, 14005 # but apparently some variants of GNU ld only accept -v. 14006 # Break only if it was the GNU/non-GNU ld that we prefer. 14007 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14008 *GNU* | *'with BFD'*) 14009 test no != "$with_gnu_ld" && break 14010 ;; 14011 *) 14012 test yes != "$with_gnu_ld" && break 14013 ;; 14014 esac 14015 fi 14016 done 14017 IFS=$lt_save_ifs 14018else 14019 lt_cv_path_LD=$LD # Let the user override the test with a path. 14020fi 14021fi 14022 14023LD=$lt_cv_path_LD 14024if test -n "$LD"; then 14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14026$as_echo "$LD" >&6; } 14027else 14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14029$as_echo "no" >&6; } 14030fi 14031test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14033$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14034if ${lt_cv_prog_gnu_ld+:} false; then : 14035 $as_echo_n "(cached) " >&6 14036else 14037 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14038case `$LD -v 2>&1 </dev/null` in 14039*GNU* | *'with BFD'*) 14040 lt_cv_prog_gnu_ld=yes 14041 ;; 14042*) 14043 lt_cv_prog_gnu_ld=no 14044 ;; 14045esac 14046fi 14047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14048$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14049with_gnu_ld=$lt_cv_prog_gnu_ld 14050 14051 14052 14053 14054 14055 14056 14057 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14058 # archiving commands below assume that GNU ld is being used. 14059 if test yes = "$with_gnu_ld"; then 14060 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14061 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' 14062 14063 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14064 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14065 14066 # If archive_cmds runs LD, not CC, wlarc should be empty 14067 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14068 # investigate it a little bit more. (MM) 14069 wlarc='$wl' 14070 14071 # ancient GNU ld didn't support --whole-archive et. al. 14072 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14073 $GREP 'no-whole-archive' > /dev/null; then 14074 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14075 else 14076 whole_archive_flag_spec_CXX= 14077 fi 14078 else 14079 with_gnu_ld=no 14080 wlarc= 14081 14082 # A generic and very simple default shared library creation 14083 # command for GNU C++ for the case where it uses the native 14084 # linker, instead of GNU ld. If possible, this setting should 14085 # overridden to take advantage of the native linker features on 14086 # the platform it is being used on. 14087 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14088 fi 14089 14090 # Commands to make compiler produce verbose output that lists 14091 # what "hidden" libraries, object files and flags are used when 14092 # linking a shared library. 14093 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14094 14095 else 14096 GXX=no 14097 with_gnu_ld=no 14098 wlarc= 14099 fi 14100 14101 # PORTME: fill in a description of your system's C++ link characteristics 14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14103$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14104 ld_shlibs_CXX=yes 14105 case $host_os in 14106 aix3*) 14107 # FIXME: insert proper C++ library support 14108 ld_shlibs_CXX=no 14109 ;; 14110 aix[4-9]*) 14111 if test ia64 = "$host_cpu"; then 14112 # On IA64, the linker does run time linking by default, so we don't 14113 # have to do anything special. 14114 aix_use_runtimelinking=no 14115 exp_sym_flag='-Bexport' 14116 no_entry_flag= 14117 else 14118 aix_use_runtimelinking=no 14119 14120 # Test if we are trying to use run time linking or normal 14121 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14122 # have runtime linking enabled, and use it for executables. 14123 # For shared libraries, we enable/disable runtime linking 14124 # depending on the kind of the shared library created - 14125 # when "with_aix_soname,aix_use_runtimelinking" is: 14126 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14127 # "aix,yes" lib.so shared, rtl:yes, for executables 14128 # lib.a static archive 14129 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14130 # lib.a(lib.so.V) shared, rtl:no, for executables 14131 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14132 # lib.a(lib.so.V) shared, rtl:no 14133 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14134 # lib.a static archive 14135 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14136 for ld_flag in $LDFLAGS; do 14137 case $ld_flag in 14138 *-brtl*) 14139 aix_use_runtimelinking=yes 14140 break 14141 ;; 14142 esac 14143 done 14144 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14145 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14146 # so we don't have lib.a shared libs to link our executables. 14147 # We have to force runtime linking in this case. 14148 aix_use_runtimelinking=yes 14149 LDFLAGS="$LDFLAGS -Wl,-brtl" 14150 fi 14151 ;; 14152 esac 14153 14154 exp_sym_flag='-bexport' 14155 no_entry_flag='-bnoentry' 14156 fi 14157 14158 # When large executables or shared objects are built, AIX ld can 14159 # have problems creating the table of contents. If linking a library 14160 # or program results in "error TOC overflow" add -mminimal-toc to 14161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14163 14164 archive_cmds_CXX='' 14165 hardcode_direct_CXX=yes 14166 hardcode_direct_absolute_CXX=yes 14167 hardcode_libdir_separator_CXX=':' 14168 link_all_deplibs_CXX=yes 14169 file_list_spec_CXX='$wl-f,' 14170 case $with_aix_soname,$aix_use_runtimelinking in 14171 aix,*) ;; # no import file 14172 svr4,* | *,yes) # use import file 14173 # The Import File defines what to hardcode. 14174 hardcode_direct_CXX=no 14175 hardcode_direct_absolute_CXX=no 14176 ;; 14177 esac 14178 14179 if test yes = "$GXX"; then 14180 case $host_os in aix4.[012]|aix4.[012].*) 14181 # We only want to do this on AIX 4.2 and lower, the check 14182 # below for broken collect2 doesn't work under 4.3+ 14183 collect2name=`$CC -print-prog-name=collect2` 14184 if test -f "$collect2name" && 14185 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14186 then 14187 # We have reworked collect2 14188 : 14189 else 14190 # We have old collect2 14191 hardcode_direct_CXX=unsupported 14192 # It fails to find uninstalled libraries when the uninstalled 14193 # path is not listed in the libpath. Setting hardcode_minus_L 14194 # to unsupported forces relinking 14195 hardcode_minus_L_CXX=yes 14196 hardcode_libdir_flag_spec_CXX='-L$libdir' 14197 hardcode_libdir_separator_CXX= 14198 fi 14199 esac 14200 shared_flag='-shared' 14201 if test yes = "$aix_use_runtimelinking"; then 14202 shared_flag=$shared_flag' $wl-G' 14203 fi 14204 # Need to ensure runtime linking is disabled for the traditional 14205 # shared library, or the linker may eventually find shared libraries 14206 # /with/ Import File - we do not want to mix them. 14207 shared_flag_aix='-shared' 14208 shared_flag_svr4='-shared $wl-G' 14209 else 14210 # not using gcc 14211 if test ia64 = "$host_cpu"; then 14212 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14213 # chokes on -Wl,-G. The following line is correct: 14214 shared_flag='-G' 14215 else 14216 if test yes = "$aix_use_runtimelinking"; then 14217 shared_flag='$wl-G' 14218 else 14219 shared_flag='$wl-bM:SRE' 14220 fi 14221 shared_flag_aix='$wl-bM:SRE' 14222 shared_flag_svr4='$wl-G' 14223 fi 14224 fi 14225 14226 export_dynamic_flag_spec_CXX='$wl-bexpall' 14227 # It seems that -bexpall does not export symbols beginning with 14228 # underscore (_), so it is better to generate a list of symbols to 14229 # export. 14230 always_export_symbols_CXX=yes 14231 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14232 # Warning - without using the other runtime loading flags (-brtl), 14233 # -berok will link without error, but may produce a broken library. 14234 # The "-G" linker flag allows undefined symbols. 14235 no_undefined_flag_CXX='-bernotok' 14236 # Determine the default libpath from the value encoded in an empty 14237 # executable. 14238 if test set = "${lt_cv_aix_libpath+set}"; then 14239 aix_libpath=$lt_cv_aix_libpath 14240else 14241 if ${lt_cv_aix_libpath__CXX+:} false; then : 14242 $as_echo_n "(cached) " >&6 14243else 14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14245/* end confdefs.h. */ 14246 14247int 14248main () 14249{ 14250 14251 ; 14252 return 0; 14253} 14254_ACEOF 14255if ac_fn_cxx_try_link "$LINENO"; then : 14256 14257 lt_aix_libpath_sed=' 14258 /Import File Strings/,/^$/ { 14259 /^0/ { 14260 s/^0 *\([^ ]*\) *$/\1/ 14261 p 14262 } 14263 }' 14264 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14265 # Check for a 64-bit object if we didn't find anything. 14266 if test -z "$lt_cv_aix_libpath__CXX"; then 14267 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14268 fi 14269fi 14270rm -f core conftest.err conftest.$ac_objext \ 14271 conftest$ac_exeext conftest.$ac_ext 14272 if test -z "$lt_cv_aix_libpath__CXX"; then 14273 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14274 fi 14275 14276fi 14277 14278 aix_libpath=$lt_cv_aix_libpath__CXX 14279fi 14280 14281 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14282 14283 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 14284 else 14285 if test ia64 = "$host_cpu"; then 14286 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14287 allow_undefined_flag_CXX="-z nodefs" 14288 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" 14289 else 14290 # Determine the default libpath from the value encoded in an 14291 # empty executable. 14292 if test set = "${lt_cv_aix_libpath+set}"; then 14293 aix_libpath=$lt_cv_aix_libpath 14294else 14295 if ${lt_cv_aix_libpath__CXX+:} false; then : 14296 $as_echo_n "(cached) " >&6 14297else 14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14299/* end confdefs.h. */ 14300 14301int 14302main () 14303{ 14304 14305 ; 14306 return 0; 14307} 14308_ACEOF 14309if ac_fn_cxx_try_link "$LINENO"; then : 14310 14311 lt_aix_libpath_sed=' 14312 /Import File Strings/,/^$/ { 14313 /^0/ { 14314 s/^0 *\([^ ]*\) *$/\1/ 14315 p 14316 } 14317 }' 14318 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14319 # Check for a 64-bit object if we didn't find anything. 14320 if test -z "$lt_cv_aix_libpath__CXX"; then 14321 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14322 fi 14323fi 14324rm -f core conftest.err conftest.$ac_objext \ 14325 conftest$ac_exeext conftest.$ac_ext 14326 if test -z "$lt_cv_aix_libpath__CXX"; then 14327 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14328 fi 14329 14330fi 14331 14332 aix_libpath=$lt_cv_aix_libpath__CXX 14333fi 14334 14335 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14336 # Warning - without using the other run time loading flags, 14337 # -berok will link without error, but may produce a broken library. 14338 no_undefined_flag_CXX=' $wl-bernotok' 14339 allow_undefined_flag_CXX=' $wl-berok' 14340 if test yes = "$with_gnu_ld"; then 14341 # We only use this code for GNU lds that support --whole-archive. 14342 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14343 else 14344 # Exported symbols can be pulled into shared objects from archives 14345 whole_archive_flag_spec_CXX='$convenience' 14346 fi 14347 archive_cmds_need_lc_CXX=yes 14348 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14349 # -brtl affects multiple linker settings, -berok does not and is overridden later 14350 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14351 if test svr4 != "$with_aix_soname"; then 14352 # This is similar to how AIX traditionally builds its shared 14353 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14354 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' 14355 fi 14356 if test aix != "$with_aix_soname"; then 14357 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' 14358 else 14359 # used by -dlpreopen to get the symbols 14360 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14361 fi 14362 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14363 fi 14364 fi 14365 ;; 14366 14367 beos*) 14368 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14369 allow_undefined_flag_CXX=unsupported 14370 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14371 # support --undefined. This deserves some investigation. FIXME 14372 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14373 else 14374 ld_shlibs_CXX=no 14375 fi 14376 ;; 14377 14378 chorus*) 14379 case $cc_basename in 14380 *) 14381 # FIXME: insert proper C++ library support 14382 ld_shlibs_CXX=no 14383 ;; 14384 esac 14385 ;; 14386 14387 cygwin* | mingw* | pw32* | cegcc*) 14388 case $GXX,$cc_basename in 14389 ,cl* | no,cl*) 14390 # Native MSVC 14391 # hardcode_libdir_flag_spec is actually meaningless, as there is 14392 # no search path for DLLs. 14393 hardcode_libdir_flag_spec_CXX=' ' 14394 allow_undefined_flag_CXX=unsupported 14395 always_export_symbols_CXX=yes 14396 file_list_spec_CXX='@' 14397 # Tell ltmain to make .lib files, not .a files. 14398 libext=lib 14399 # Tell ltmain to make .dll files, not .so files. 14400 shrext_cmds=.dll 14401 # FIXME: Setting linknames here is a bad hack. 14402 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14403 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14404 cp "$export_symbols" "$output_objdir/$soname.def"; 14405 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14406 else 14407 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14408 fi~ 14409 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14410 linknames=' 14411 # The linker will not automatically build a static lib if we build a DLL. 14412 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14413 enable_shared_with_static_runtimes_CXX=yes 14414 # Don't use ranlib 14415 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14416 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14417 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14418 case $lt_outputfile in 14419 *.exe|*.EXE) ;; 14420 *) 14421 lt_outputfile=$lt_outputfile.exe 14422 lt_tool_outputfile=$lt_tool_outputfile.exe 14423 ;; 14424 esac~ 14425 func_to_tool_file "$lt_outputfile"~ 14426 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14427 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14428 $RM "$lt_outputfile.manifest"; 14429 fi' 14430 ;; 14431 *) 14432 # g++ 14433 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14434 # as there is no search path for DLLs. 14435 hardcode_libdir_flag_spec_CXX='-L$libdir' 14436 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14437 allow_undefined_flag_CXX=unsupported 14438 always_export_symbols_CXX=no 14439 enable_shared_with_static_runtimes_CXX=yes 14440 14441 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14442 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' 14443 # If the export-symbols file already is a .def file, use it as 14444 # is; otherwise, prepend EXPORTS... 14445 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14446 cp $export_symbols $output_objdir/$soname.def; 14447 else 14448 echo EXPORTS > $output_objdir/$soname.def; 14449 cat $export_symbols >> $output_objdir/$soname.def; 14450 fi~ 14451 $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' 14452 else 14453 ld_shlibs_CXX=no 14454 fi 14455 ;; 14456 esac 14457 ;; 14458 darwin* | rhapsody*) 14459 14460 14461 archive_cmds_need_lc_CXX=no 14462 hardcode_direct_CXX=no 14463 hardcode_automatic_CXX=yes 14464 hardcode_shlibpath_var_CXX=unsupported 14465 if test yes = "$lt_cv_ld_force_load"; then 14466 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\"`' 14467 14468 else 14469 whole_archive_flag_spec_CXX='' 14470 fi 14471 link_all_deplibs_CXX=yes 14472 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14473 case $cc_basename in 14474 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14475 *) _lt_dar_can_shared=$GCC ;; 14476 esac 14477 if test yes = "$_lt_dar_can_shared"; then 14478 output_verbose_link_cmd=func_echo_all 14479 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" 14480 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14481 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" 14482 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" 14483 if test yes != "$lt_cv_apple_cc_single_mod"; then 14484 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" 14485 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" 14486 fi 14487 14488 else 14489 ld_shlibs_CXX=no 14490 fi 14491 14492 ;; 14493 14494 os2*) 14495 hardcode_libdir_flag_spec_CXX='-L$libdir' 14496 hardcode_minus_L_CXX=yes 14497 allow_undefined_flag_CXX=unsupported 14498 shrext_cmds=.dll 14499 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14500 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14501 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14502 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14503 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14504 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14505 emximp -o $lib $output_objdir/$libname.def' 14506 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14507 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14508 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14509 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14510 prefix_cmds="$SED"~ 14511 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14512 prefix_cmds="$prefix_cmds -e 1d"; 14513 fi~ 14514 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14515 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14516 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14517 emximp -o $lib $output_objdir/$libname.def' 14518 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14519 enable_shared_with_static_runtimes_CXX=yes 14520 ;; 14521 14522 dgux*) 14523 case $cc_basename in 14524 ec++*) 14525 # FIXME: insert proper C++ library support 14526 ld_shlibs_CXX=no 14527 ;; 14528 ghcx*) 14529 # Green Hills C++ Compiler 14530 # FIXME: insert proper C++ library support 14531 ld_shlibs_CXX=no 14532 ;; 14533 *) 14534 # FIXME: insert proper C++ library support 14535 ld_shlibs_CXX=no 14536 ;; 14537 esac 14538 ;; 14539 14540 freebsd2.*) 14541 # C++ shared libraries reported to be fairly broken before 14542 # switch to ELF 14543 ld_shlibs_CXX=no 14544 ;; 14545 14546 freebsd-elf*) 14547 archive_cmds_need_lc_CXX=no 14548 ;; 14549 14550 freebsd* | dragonfly*) 14551 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14552 # conventions 14553 ld_shlibs_CXX=yes 14554 ;; 14555 14556 haiku*) 14557 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14558 link_all_deplibs_CXX=yes 14559 ;; 14560 14561 hpux9*) 14562 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14563 hardcode_libdir_separator_CXX=: 14564 export_dynamic_flag_spec_CXX='$wl-E' 14565 hardcode_direct_CXX=yes 14566 hardcode_minus_L_CXX=yes # Not in the search PATH, 14567 # but as the default 14568 # location of the library. 14569 14570 case $cc_basename in 14571 CC*) 14572 # FIXME: insert proper C++ library support 14573 ld_shlibs_CXX=no 14574 ;; 14575 aCC*) 14576 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' 14577 # Commands to make compiler produce verbose output that lists 14578 # what "hidden" libraries, object files and flags are used when 14579 # linking a shared library. 14580 # 14581 # There doesn't appear to be a way to prevent this compiler from 14582 # explicitly linking system object files so we need to strip them 14583 # from the output so that they don't get included in the library 14584 # dependencies. 14585 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"' 14586 ;; 14587 *) 14588 if test yes = "$GXX"; then 14589 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' 14590 else 14591 # FIXME: insert proper C++ library support 14592 ld_shlibs_CXX=no 14593 fi 14594 ;; 14595 esac 14596 ;; 14597 14598 hpux10*|hpux11*) 14599 if test no = "$with_gnu_ld"; then 14600 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14601 hardcode_libdir_separator_CXX=: 14602 14603 case $host_cpu in 14604 hppa*64*|ia64*) 14605 ;; 14606 *) 14607 export_dynamic_flag_spec_CXX='$wl-E' 14608 ;; 14609 esac 14610 fi 14611 case $host_cpu in 14612 hppa*64*|ia64*) 14613 hardcode_direct_CXX=no 14614 hardcode_shlibpath_var_CXX=no 14615 ;; 14616 *) 14617 hardcode_direct_CXX=yes 14618 hardcode_direct_absolute_CXX=yes 14619 hardcode_minus_L_CXX=yes # Not in the search PATH, 14620 # but as the default 14621 # location of the library. 14622 ;; 14623 esac 14624 14625 case $cc_basename in 14626 CC*) 14627 # FIXME: insert proper C++ library support 14628 ld_shlibs_CXX=no 14629 ;; 14630 aCC*) 14631 case $host_cpu in 14632 hppa*64*) 14633 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14634 ;; 14635 ia64*) 14636 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14637 ;; 14638 *) 14639 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14640 ;; 14641 esac 14642 # Commands to make compiler produce verbose output that lists 14643 # what "hidden" libraries, object files and flags are used when 14644 # linking a shared library. 14645 # 14646 # There doesn't appear to be a way to prevent this compiler from 14647 # explicitly linking system object files so we need to strip them 14648 # from the output so that they don't get included in the library 14649 # dependencies. 14650 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"' 14651 ;; 14652 *) 14653 if test yes = "$GXX"; then 14654 if test no = "$with_gnu_ld"; then 14655 case $host_cpu in 14656 hppa*64*) 14657 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14658 ;; 14659 ia64*) 14660 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14661 ;; 14662 *) 14663 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' 14664 ;; 14665 esac 14666 fi 14667 else 14668 # FIXME: insert proper C++ library support 14669 ld_shlibs_CXX=no 14670 fi 14671 ;; 14672 esac 14673 ;; 14674 14675 interix[3-9]*) 14676 hardcode_direct_CXX=no 14677 hardcode_shlibpath_var_CXX=no 14678 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14679 export_dynamic_flag_spec_CXX='$wl-E' 14680 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14681 # Instead, shared libraries are loaded at an image base (0x10000000 by 14682 # default) and relocated if they conflict, which is a slow very memory 14683 # consuming and fragmenting process. To avoid this, we pick a random, 14684 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14685 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14686 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' 14687 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' 14688 ;; 14689 irix5* | irix6*) 14690 case $cc_basename in 14691 CC*) 14692 # SGI C++ 14693 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' 14694 14695 # Archives containing C++ object files must be created using 14696 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14697 # necessary to make sure instantiated templates are included 14698 # in the archive. 14699 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14700 ;; 14701 *) 14702 if test yes = "$GXX"; then 14703 if test no = "$with_gnu_ld"; then 14704 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' 14705 else 14706 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' 14707 fi 14708 fi 14709 link_all_deplibs_CXX=yes 14710 ;; 14711 esac 14712 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14713 hardcode_libdir_separator_CXX=: 14714 inherit_rpath_CXX=yes 14715 ;; 14716 14717 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14718 case $cc_basename in 14719 KCC*) 14720 # Kuck and Associates, Inc. (KAI) C++ Compiler 14721 14722 # KCC will only create a shared library if the output file 14723 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14724 # to its proper name (with version) after linking. 14725 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' 14726 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' 14727 # Commands to make compiler produce verbose output that lists 14728 # what "hidden" libraries, object files and flags are used when 14729 # linking a shared library. 14730 # 14731 # There doesn't appear to be a way to prevent this compiler from 14732 # explicitly linking system object files so we need to strip them 14733 # from the output so that they don't get included in the library 14734 # dependencies. 14735 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"' 14736 14737 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14738 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14739 14740 # Archives containing C++ object files must be created using 14741 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14742 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14743 ;; 14744 icpc* | ecpc* ) 14745 # Intel C++ 14746 with_gnu_ld=yes 14747 # version 8.0 and above of icpc choke on multiply defined symbols 14748 # if we add $predep_objects and $postdep_objects, however 7.1 and 14749 # earlier do not add the objects themselves. 14750 case `$CC -V 2>&1` in 14751 *"Version 7."*) 14752 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14753 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' 14754 ;; 14755 *) # Version 8.0 or newer 14756 tmp_idyn= 14757 case $host_cpu in 14758 ia64*) tmp_idyn=' -i_dynamic';; 14759 esac 14760 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14761 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' 14762 ;; 14763 esac 14764 archive_cmds_need_lc_CXX=no 14765 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14766 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14767 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14768 ;; 14769 pgCC* | pgcpp*) 14770 # Portland Group C++ compiler 14771 case `$CC -V` in 14772 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14773 prelink_cmds_CXX='tpldir=Template.dir~ 14774 rm -rf $tpldir~ 14775 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14776 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14777 old_archive_cmds_CXX='tpldir=Template.dir~ 14778 rm -rf $tpldir~ 14779 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14780 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14781 $RANLIB $oldlib' 14782 archive_cmds_CXX='tpldir=Template.dir~ 14783 rm -rf $tpldir~ 14784 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14785 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14786 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14787 rm -rf $tpldir~ 14788 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14789 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14790 ;; 14791 *) # Version 6 and above use weak symbols 14792 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14793 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' 14794 ;; 14795 esac 14796 14797 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14798 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14799 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' 14800 ;; 14801 cxx*) 14802 # Compaq C++ 14803 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14804 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' 14805 14806 runpath_var=LD_RUN_PATH 14807 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14808 hardcode_libdir_separator_CXX=: 14809 14810 # Commands to make compiler produce verbose output that lists 14811 # what "hidden" libraries, object files and flags are used when 14812 # linking a shared library. 14813 # 14814 # There doesn't appear to be a way to prevent this compiler from 14815 # explicitly linking system object files so we need to strip them 14816 # from the output so that they don't get included in the library 14817 # dependencies. 14818 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' 14819 ;; 14820 xl* | mpixl* | bgxl*) 14821 # IBM XL 8.0 on PPC, with GNU ld 14822 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14823 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14824 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14825 if test yes = "$supports_anon_versioning"; then 14826 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14827 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14828 echo "local: *; };" >> $output_objdir/$libname.ver~ 14829 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14830 fi 14831 ;; 14832 *) 14833 case `$CC -V 2>&1 | sed 5q` in 14834 *Sun\ C*) 14835 # Sun C++ 5.9 14836 no_undefined_flag_CXX=' -zdefs' 14837 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14838 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' 14839 hardcode_libdir_flag_spec_CXX='-R$libdir' 14840 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' 14841 compiler_needs_object_CXX=yes 14842 14843 # Not sure whether something based on 14844 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14845 # would be better. 14846 output_verbose_link_cmd='func_echo_all' 14847 14848 # Archives containing C++ object files must be created using 14849 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14850 # necessary to make sure instantiated templates are included 14851 # in the archive. 14852 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14853 ;; 14854 esac 14855 ;; 14856 esac 14857 ;; 14858 14859 lynxos*) 14860 # FIXME: insert proper C++ library support 14861 ld_shlibs_CXX=no 14862 ;; 14863 14864 m88k*) 14865 # FIXME: insert proper C++ library support 14866 ld_shlibs_CXX=no 14867 ;; 14868 14869 mvs*) 14870 case $cc_basename in 14871 cxx*) 14872 # FIXME: insert proper C++ library support 14873 ld_shlibs_CXX=no 14874 ;; 14875 *) 14876 # FIXME: insert proper C++ library support 14877 ld_shlibs_CXX=no 14878 ;; 14879 esac 14880 ;; 14881 14882 netbsd*) 14883 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14884 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14885 wlarc= 14886 hardcode_libdir_flag_spec_CXX='-R$libdir' 14887 hardcode_direct_CXX=yes 14888 hardcode_shlibpath_var_CXX=no 14889 fi 14890 # Workaround some broken pre-1.5 toolchains 14891 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14892 ;; 14893 14894 *nto* | *qnx*) 14895 ld_shlibs_CXX=yes 14896 ;; 14897 14898 openbsd* | bitrig*) 14899 if test -f /usr/libexec/ld.so; then 14900 hardcode_direct_CXX=yes 14901 hardcode_shlibpath_var_CXX=no 14902 hardcode_direct_absolute_CXX=yes 14903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14904 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14905 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14906 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14907 export_dynamic_flag_spec_CXX='$wl-E' 14908 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14909 fi 14910 output_verbose_link_cmd=func_echo_all 14911 else 14912 ld_shlibs_CXX=no 14913 fi 14914 ;; 14915 14916 osf3* | osf4* | osf5*) 14917 case $cc_basename in 14918 KCC*) 14919 # Kuck and Associates, Inc. (KAI) C++ Compiler 14920 14921 # KCC will only create a shared library if the output file 14922 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14923 # to its proper name (with version) after linking. 14924 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' 14925 14926 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14927 hardcode_libdir_separator_CXX=: 14928 14929 # Archives containing C++ object files must be created using 14930 # the KAI C++ compiler. 14931 case $host in 14932 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14933 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14934 esac 14935 ;; 14936 RCC*) 14937 # Rational C++ 2.4.1 14938 # FIXME: insert proper C++ library support 14939 ld_shlibs_CXX=no 14940 ;; 14941 cxx*) 14942 case $host in 14943 osf3*) 14944 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14945 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' 14946 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14947 ;; 14948 *) 14949 allow_undefined_flag_CXX=' -expect_unresolved \*' 14950 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' 14951 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14952 echo "-hidden">> $lib.exp~ 14953 $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~ 14954 $RM $lib.exp' 14955 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14956 ;; 14957 esac 14958 14959 hardcode_libdir_separator_CXX=: 14960 14961 # Commands to make compiler produce verbose output that lists 14962 # what "hidden" libraries, object files and flags are used when 14963 # linking a shared library. 14964 # 14965 # There doesn't appear to be a way to prevent this compiler from 14966 # explicitly linking system object files so we need to strip them 14967 # from the output so that they don't get included in the library 14968 # dependencies. 14969 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"' 14970 ;; 14971 *) 14972 if test yes,no = "$GXX,$with_gnu_ld"; then 14973 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14974 case $host in 14975 osf3*) 14976 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' 14977 ;; 14978 *) 14979 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' 14980 ;; 14981 esac 14982 14983 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14984 hardcode_libdir_separator_CXX=: 14985 14986 # Commands to make compiler produce verbose output that lists 14987 # what "hidden" libraries, object files and flags are used when 14988 # linking a shared library. 14989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14990 14991 else 14992 # FIXME: insert proper C++ library support 14993 ld_shlibs_CXX=no 14994 fi 14995 ;; 14996 esac 14997 ;; 14998 14999 psos*) 15000 # FIXME: insert proper C++ library support 15001 ld_shlibs_CXX=no 15002 ;; 15003 15004 sunos4*) 15005 case $cc_basename in 15006 CC*) 15007 # Sun C++ 4.x 15008 # FIXME: insert proper C++ library support 15009 ld_shlibs_CXX=no 15010 ;; 15011 lcc*) 15012 # Lucid 15013 # FIXME: insert proper C++ library support 15014 ld_shlibs_CXX=no 15015 ;; 15016 *) 15017 # FIXME: insert proper C++ library support 15018 ld_shlibs_CXX=no 15019 ;; 15020 esac 15021 ;; 15022 15023 solaris*) 15024 case $cc_basename in 15025 CC* | sunCC*) 15026 # Sun C++ 4.2, 5.x and Centerline C++ 15027 archive_cmds_need_lc_CXX=yes 15028 no_undefined_flag_CXX=' -zdefs' 15029 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15031 $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' 15032 15033 hardcode_libdir_flag_spec_CXX='-R$libdir' 15034 hardcode_shlibpath_var_CXX=no 15035 case $host_os in 15036 solaris2.[0-5] | solaris2.[0-5].*) ;; 15037 *) 15038 # The compiler driver will combine and reorder linker options, 15039 # but understands '-z linker_flag'. 15040 # Supported since Solaris 2.6 (maybe 2.5.1?) 15041 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15042 ;; 15043 esac 15044 link_all_deplibs_CXX=yes 15045 15046 output_verbose_link_cmd='func_echo_all' 15047 15048 # Archives containing C++ object files must be created using 15049 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15050 # necessary to make sure instantiated templates are included 15051 # in the archive. 15052 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15053 ;; 15054 gcx*) 15055 # Green Hills C++ Compiler 15056 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15057 15058 # The C++ compiler must be used to create the archive. 15059 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15060 ;; 15061 *) 15062 # GNU C++ compiler with Solaris linker 15063 if test yes,no = "$GXX,$with_gnu_ld"; then 15064 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15065 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15066 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15067 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15068 $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' 15069 15070 # Commands to make compiler produce verbose output that lists 15071 # what "hidden" libraries, object files and flags are used when 15072 # linking a shared library. 15073 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15074 else 15075 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15076 # platform. 15077 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15078 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15079 $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' 15080 15081 # Commands to make compiler produce verbose output that lists 15082 # what "hidden" libraries, object files and flags are used when 15083 # linking a shared library. 15084 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15085 fi 15086 15087 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15088 case $host_os in 15089 solaris2.[0-5] | solaris2.[0-5].*) ;; 15090 *) 15091 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15092 ;; 15093 esac 15094 fi 15095 ;; 15096 esac 15097 ;; 15098 15099 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15100 no_undefined_flag_CXX='$wl-z,text' 15101 archive_cmds_need_lc_CXX=no 15102 hardcode_shlibpath_var_CXX=no 15103 runpath_var='LD_RUN_PATH' 15104 15105 case $cc_basename in 15106 CC*) 15107 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15108 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15109 ;; 15110 *) 15111 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15112 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15113 ;; 15114 esac 15115 ;; 15116 15117 sysv5* | sco3.2v5* | sco5v6*) 15118 # Note: We CANNOT use -z defs as we might desire, because we do not 15119 # link with -lc, and that would cause any symbols used from libc to 15120 # always be unresolved, which means just about no library would 15121 # ever link correctly. If we're not using GNU ld we use -z text 15122 # though, which does catch some bad symbols but isn't as heavy-handed 15123 # as -z defs. 15124 no_undefined_flag_CXX='$wl-z,text' 15125 allow_undefined_flag_CXX='$wl-z,nodefs' 15126 archive_cmds_need_lc_CXX=no 15127 hardcode_shlibpath_var_CXX=no 15128 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15129 hardcode_libdir_separator_CXX=':' 15130 link_all_deplibs_CXX=yes 15131 export_dynamic_flag_spec_CXX='$wl-Bexport' 15132 runpath_var='LD_RUN_PATH' 15133 15134 case $cc_basename in 15135 CC*) 15136 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15137 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15138 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15139 '"$old_archive_cmds_CXX" 15140 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15141 '"$reload_cmds_CXX" 15142 ;; 15143 *) 15144 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15145 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15146 ;; 15147 esac 15148 ;; 15149 15150 tandem*) 15151 case $cc_basename in 15152 NCC*) 15153 # NonStop-UX NCC 3.20 15154 # FIXME: insert proper C++ library support 15155 ld_shlibs_CXX=no 15156 ;; 15157 *) 15158 # FIXME: insert proper C++ library support 15159 ld_shlibs_CXX=no 15160 ;; 15161 esac 15162 ;; 15163 15164 vxworks*) 15165 # FIXME: insert proper C++ library support 15166 ld_shlibs_CXX=no 15167 ;; 15168 15169 *) 15170 # FIXME: insert proper C++ library support 15171 ld_shlibs_CXX=no 15172 ;; 15173 esac 15174 15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15176$as_echo "$ld_shlibs_CXX" >&6; } 15177 test no = "$ld_shlibs_CXX" && can_build_shared=no 15178 15179 GCC_CXX=$GXX 15180 LD_CXX=$LD 15181 15182 ## CAVEAT EMPTOR: 15183 ## There is no encapsulation within the following macros, do not change 15184 ## the running order or otherwise move them around unless you know exactly 15185 ## what you are doing... 15186 # Dependencies to place before and after the object being linked: 15187predep_objects_CXX= 15188postdep_objects_CXX= 15189predeps_CXX= 15190postdeps_CXX= 15191compiler_lib_search_path_CXX= 15192 15193cat > conftest.$ac_ext <<_LT_EOF 15194class Foo 15195{ 15196public: 15197 Foo (void) { a = 0; } 15198private: 15199 int a; 15200}; 15201_LT_EOF 15202 15203 15204_lt_libdeps_save_CFLAGS=$CFLAGS 15205case "$CC $CFLAGS " in #( 15206*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15207*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15208*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15209esac 15210 15211if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15212 (eval $ac_compile) 2>&5 15213 ac_status=$? 15214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15215 test $ac_status = 0; }; then 15216 # Parse the compiler output and extract the necessary 15217 # objects, libraries and library flags. 15218 15219 # Sentinel used to keep track of whether or not we are before 15220 # the conftest object file. 15221 pre_test_object_deps_done=no 15222 15223 for p in `eval "$output_verbose_link_cmd"`; do 15224 case $prev$p in 15225 15226 -L* | -R* | -l*) 15227 # Some compilers place space between "-{L,R}" and the path. 15228 # Remove the space. 15229 if test x-L = "$p" || 15230 test x-R = "$p"; then 15231 prev=$p 15232 continue 15233 fi 15234 15235 # Expand the sysroot to ease extracting the directories later. 15236 if test -z "$prev"; then 15237 case $p in 15238 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15239 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15240 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15241 esac 15242 fi 15243 case $p in 15244 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15245 esac 15246 if test no = "$pre_test_object_deps_done"; then 15247 case $prev in 15248 -L | -R) 15249 # Internal compiler library paths should come after those 15250 # provided the user. The postdeps already come after the 15251 # user supplied libs so there is no need to process them. 15252 if test -z "$compiler_lib_search_path_CXX"; then 15253 compiler_lib_search_path_CXX=$prev$p 15254 else 15255 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15256 fi 15257 ;; 15258 # The "-l" case would never come before the object being 15259 # linked, so don't bother handling this case. 15260 esac 15261 else 15262 if test -z "$postdeps_CXX"; then 15263 postdeps_CXX=$prev$p 15264 else 15265 postdeps_CXX="${postdeps_CXX} $prev$p" 15266 fi 15267 fi 15268 prev= 15269 ;; 15270 15271 *.lto.$objext) ;; # Ignore GCC LTO objects 15272 *.$objext) 15273 # This assumes that the test object file only shows up 15274 # once in the compiler output. 15275 if test "$p" = "conftest.$objext"; then 15276 pre_test_object_deps_done=yes 15277 continue 15278 fi 15279 15280 if test no = "$pre_test_object_deps_done"; then 15281 if test -z "$predep_objects_CXX"; then 15282 predep_objects_CXX=$p 15283 else 15284 predep_objects_CXX="$predep_objects_CXX $p" 15285 fi 15286 else 15287 if test -z "$postdep_objects_CXX"; then 15288 postdep_objects_CXX=$p 15289 else 15290 postdep_objects_CXX="$postdep_objects_CXX $p" 15291 fi 15292 fi 15293 ;; 15294 15295 *) ;; # Ignore the rest. 15296 15297 esac 15298 done 15299 15300 # Clean up. 15301 rm -f a.out a.exe 15302else 15303 echo "libtool.m4: error: problem compiling CXX test program" 15304fi 15305 15306$RM -f confest.$objext 15307CFLAGS=$_lt_libdeps_save_CFLAGS 15308 15309# PORTME: override above test on systems where it is broken 15310case $host_os in 15311interix[3-9]*) 15312 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15313 # hack all around it, let's just trust "g++" to DTRT. 15314 predep_objects_CXX= 15315 postdep_objects_CXX= 15316 postdeps_CXX= 15317 ;; 15318esac 15319 15320 15321case " $postdeps_CXX " in 15322*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15323esac 15324 compiler_lib_search_dirs_CXX= 15325if test -n "${compiler_lib_search_path_CXX}"; then 15326 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15327fi 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 lt_prog_compiler_wl_CXX= 15360lt_prog_compiler_pic_CXX= 15361lt_prog_compiler_static_CXX= 15362 15363 15364 # C++ specific cases for pic, static, wl, etc. 15365 if test yes = "$GXX"; then 15366 lt_prog_compiler_wl_CXX='-Wl,' 15367 lt_prog_compiler_static_CXX='-static' 15368 15369 case $host_os in 15370 aix*) 15371 # All AIX code is PIC. 15372 if test ia64 = "$host_cpu"; then 15373 # AIX 5 now supports IA64 processor 15374 lt_prog_compiler_static_CXX='-Bstatic' 15375 fi 15376 lt_prog_compiler_pic_CXX='-fPIC' 15377 ;; 15378 15379 amigaos*) 15380 case $host_cpu in 15381 powerpc) 15382 # see comment about AmigaOS4 .so support 15383 lt_prog_compiler_pic_CXX='-fPIC' 15384 ;; 15385 m68k) 15386 # FIXME: we need at least 68020 code to build shared libraries, but 15387 # adding the '-m68020' flag to GCC prevents building anything better, 15388 # like '-m68040'. 15389 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15390 ;; 15391 esac 15392 ;; 15393 15394 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15395 # PIC is the default for these OSes. 15396 ;; 15397 mingw* | cygwin* | os2* | pw32* | cegcc*) 15398 # This hack is so that the source file can tell whether it is being 15399 # built for inclusion in a dll (and should export symbols for example). 15400 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15401 # (--disable-auto-import) libraries 15402 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15403 case $host_os in 15404 os2*) 15405 lt_prog_compiler_static_CXX='$wl-static' 15406 ;; 15407 esac 15408 ;; 15409 darwin* | rhapsody*) 15410 # PIC is the default on this platform 15411 # Common symbols not allowed in MH_DYLIB files 15412 lt_prog_compiler_pic_CXX='-fno-common' 15413 ;; 15414 *djgpp*) 15415 # DJGPP does not support shared libraries at all 15416 lt_prog_compiler_pic_CXX= 15417 ;; 15418 haiku*) 15419 # PIC is the default for Haiku. 15420 # The "-static" flag exists, but is broken. 15421 lt_prog_compiler_static_CXX= 15422 ;; 15423 interix[3-9]*) 15424 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15425 # Instead, we relocate shared libraries at runtime. 15426 ;; 15427 sysv4*MP*) 15428 if test -d /usr/nec; then 15429 lt_prog_compiler_pic_CXX=-Kconform_pic 15430 fi 15431 ;; 15432 hpux*) 15433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15435 # sets the default TLS model and affects inlining. 15436 case $host_cpu in 15437 hppa*64*) 15438 ;; 15439 *) 15440 lt_prog_compiler_pic_CXX='-fPIC' 15441 ;; 15442 esac 15443 ;; 15444 *qnx* | *nto*) 15445 # QNX uses GNU C++, but need to define -shared option too, otherwise 15446 # it will coredump. 15447 lt_prog_compiler_pic_CXX='-fPIC -shared' 15448 ;; 15449 *) 15450 lt_prog_compiler_pic_CXX='-fPIC' 15451 ;; 15452 esac 15453 else 15454 case $host_os in 15455 aix[4-9]*) 15456 # All AIX code is PIC. 15457 if test ia64 = "$host_cpu"; then 15458 # AIX 5 now supports IA64 processor 15459 lt_prog_compiler_static_CXX='-Bstatic' 15460 else 15461 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15462 fi 15463 ;; 15464 chorus*) 15465 case $cc_basename in 15466 cxch68*) 15467 # Green Hills C++ Compiler 15468 # _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" 15469 ;; 15470 esac 15471 ;; 15472 mingw* | cygwin* | os2* | pw32* | cegcc*) 15473 # This hack is so that the source file can tell whether it is being 15474 # built for inclusion in a dll (and should export symbols for example). 15475 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15476 ;; 15477 dgux*) 15478 case $cc_basename in 15479 ec++*) 15480 lt_prog_compiler_pic_CXX='-KPIC' 15481 ;; 15482 ghcx*) 15483 # Green Hills C++ Compiler 15484 lt_prog_compiler_pic_CXX='-pic' 15485 ;; 15486 *) 15487 ;; 15488 esac 15489 ;; 15490 freebsd* | dragonfly*) 15491 # FreeBSD uses GNU C++ 15492 ;; 15493 hpux9* | hpux10* | hpux11*) 15494 case $cc_basename in 15495 CC*) 15496 lt_prog_compiler_wl_CXX='-Wl,' 15497 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15498 if test ia64 != "$host_cpu"; then 15499 lt_prog_compiler_pic_CXX='+Z' 15500 fi 15501 ;; 15502 aCC*) 15503 lt_prog_compiler_wl_CXX='-Wl,' 15504 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15505 case $host_cpu in 15506 hppa*64*|ia64*) 15507 # +Z the default 15508 ;; 15509 *) 15510 lt_prog_compiler_pic_CXX='+Z' 15511 ;; 15512 esac 15513 ;; 15514 *) 15515 ;; 15516 esac 15517 ;; 15518 interix*) 15519 # This is c89, which is MS Visual C++ (no shared libs) 15520 # Anyone wants to do a port? 15521 ;; 15522 irix5* | irix6* | nonstopux*) 15523 case $cc_basename in 15524 CC*) 15525 lt_prog_compiler_wl_CXX='-Wl,' 15526 lt_prog_compiler_static_CXX='-non_shared' 15527 # CC pic flag -KPIC is the default. 15528 ;; 15529 *) 15530 ;; 15531 esac 15532 ;; 15533 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15534 case $cc_basename in 15535 KCC*) 15536 # KAI C++ Compiler 15537 lt_prog_compiler_wl_CXX='--backend -Wl,' 15538 lt_prog_compiler_pic_CXX='-fPIC' 15539 ;; 15540 ecpc* ) 15541 # old Intel C++ for x86_64, which still supported -KPIC. 15542 lt_prog_compiler_wl_CXX='-Wl,' 15543 lt_prog_compiler_pic_CXX='-KPIC' 15544 lt_prog_compiler_static_CXX='-static' 15545 ;; 15546 icpc* ) 15547 # Intel C++, used to be incompatible with GCC. 15548 # ICC 10 doesn't accept -KPIC any more. 15549 lt_prog_compiler_wl_CXX='-Wl,' 15550 lt_prog_compiler_pic_CXX='-fPIC' 15551 lt_prog_compiler_static_CXX='-static' 15552 ;; 15553 pgCC* | pgcpp*) 15554 # Portland Group C++ compiler 15555 lt_prog_compiler_wl_CXX='-Wl,' 15556 lt_prog_compiler_pic_CXX='-fpic' 15557 lt_prog_compiler_static_CXX='-Bstatic' 15558 ;; 15559 cxx*) 15560 # Compaq C++ 15561 # Make sure the PIC flag is empty. It appears that all Alpha 15562 # Linux and Compaq Tru64 Unix objects are PIC. 15563 lt_prog_compiler_pic_CXX= 15564 lt_prog_compiler_static_CXX='-non_shared' 15565 ;; 15566 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15567 # IBM XL 8.0, 9.0 on PPC and BlueGene 15568 lt_prog_compiler_wl_CXX='-Wl,' 15569 lt_prog_compiler_pic_CXX='-qpic' 15570 lt_prog_compiler_static_CXX='-qstaticlink' 15571 ;; 15572 *) 15573 case `$CC -V 2>&1 | sed 5q` in 15574 *Sun\ C*) 15575 # Sun C++ 5.9 15576 lt_prog_compiler_pic_CXX='-KPIC' 15577 lt_prog_compiler_static_CXX='-Bstatic' 15578 lt_prog_compiler_wl_CXX='-Qoption ld ' 15579 ;; 15580 esac 15581 ;; 15582 esac 15583 ;; 15584 lynxos*) 15585 ;; 15586 m88k*) 15587 ;; 15588 mvs*) 15589 case $cc_basename in 15590 cxx*) 15591 lt_prog_compiler_pic_CXX='-W c,exportall' 15592 ;; 15593 *) 15594 ;; 15595 esac 15596 ;; 15597 netbsd*) 15598 ;; 15599 *qnx* | *nto*) 15600 # QNX uses GNU C++, but need to define -shared option too, otherwise 15601 # it will coredump. 15602 lt_prog_compiler_pic_CXX='-fPIC -shared' 15603 ;; 15604 osf3* | osf4* | osf5*) 15605 case $cc_basename in 15606 KCC*) 15607 lt_prog_compiler_wl_CXX='--backend -Wl,' 15608 ;; 15609 RCC*) 15610 # Rational C++ 2.4.1 15611 lt_prog_compiler_pic_CXX='-pic' 15612 ;; 15613 cxx*) 15614 # Digital/Compaq C++ 15615 lt_prog_compiler_wl_CXX='-Wl,' 15616 # Make sure the PIC flag is empty. It appears that all Alpha 15617 # Linux and Compaq Tru64 Unix objects are PIC. 15618 lt_prog_compiler_pic_CXX= 15619 lt_prog_compiler_static_CXX='-non_shared' 15620 ;; 15621 *) 15622 ;; 15623 esac 15624 ;; 15625 psos*) 15626 ;; 15627 solaris*) 15628 case $cc_basename in 15629 CC* | sunCC*) 15630 # Sun C++ 4.2, 5.x and Centerline C++ 15631 lt_prog_compiler_pic_CXX='-KPIC' 15632 lt_prog_compiler_static_CXX='-Bstatic' 15633 lt_prog_compiler_wl_CXX='-Qoption ld ' 15634 ;; 15635 gcx*) 15636 # Green Hills C++ Compiler 15637 lt_prog_compiler_pic_CXX='-PIC' 15638 ;; 15639 *) 15640 ;; 15641 esac 15642 ;; 15643 sunos4*) 15644 case $cc_basename in 15645 CC*) 15646 # Sun C++ 4.x 15647 lt_prog_compiler_pic_CXX='-pic' 15648 lt_prog_compiler_static_CXX='-Bstatic' 15649 ;; 15650 lcc*) 15651 # Lucid 15652 lt_prog_compiler_pic_CXX='-pic' 15653 ;; 15654 *) 15655 ;; 15656 esac 15657 ;; 15658 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15659 case $cc_basename in 15660 CC*) 15661 lt_prog_compiler_wl_CXX='-Wl,' 15662 lt_prog_compiler_pic_CXX='-KPIC' 15663 lt_prog_compiler_static_CXX='-Bstatic' 15664 ;; 15665 esac 15666 ;; 15667 tandem*) 15668 case $cc_basename in 15669 NCC*) 15670 # NonStop-UX NCC 3.20 15671 lt_prog_compiler_pic_CXX='-KPIC' 15672 ;; 15673 *) 15674 ;; 15675 esac 15676 ;; 15677 vxworks*) 15678 ;; 15679 *) 15680 lt_prog_compiler_can_build_shared_CXX=no 15681 ;; 15682 esac 15683 fi 15684 15685case $host_os in 15686 # For platforms that do not support PIC, -DPIC is meaningless: 15687 *djgpp*) 15688 lt_prog_compiler_pic_CXX= 15689 ;; 15690 *) 15691 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15692 ;; 15693esac 15694 15695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15696$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15697if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15698 $as_echo_n "(cached) " >&6 15699else 15700 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15701fi 15702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15703$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15704lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15705 15706# 15707# Check to make sure the PIC flag actually works. 15708# 15709if test -n "$lt_prog_compiler_pic_CXX"; then 15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15711$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15712if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15713 $as_echo_n "(cached) " >&6 15714else 15715 lt_cv_prog_compiler_pic_works_CXX=no 15716 ac_outfile=conftest.$ac_objext 15717 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15718 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15719 # Insert the option either (1) after the last *FLAGS variable, or 15720 # (2) before a word containing "conftest.", or (3) at the end. 15721 # Note that $ac_compile itself does not contain backslashes and begins 15722 # with a dollar sign (not a hyphen), so the echo should work correctly. 15723 # The option is referenced via a variable to avoid confusing sed. 15724 lt_compile=`echo "$ac_compile" | $SED \ 15725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15727 -e 's:$: $lt_compiler_flag:'` 15728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15729 (eval "$lt_compile" 2>conftest.err) 15730 ac_status=$? 15731 cat conftest.err >&5 15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15733 if (exit $ac_status) && test -s "$ac_outfile"; then 15734 # The compiler can only warn and ignore the option if not recognized 15735 # So say no if there are warnings other than the usual output. 15736 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15737 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15738 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15739 lt_cv_prog_compiler_pic_works_CXX=yes 15740 fi 15741 fi 15742 $RM conftest* 15743 15744fi 15745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15746$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15747 15748if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15749 case $lt_prog_compiler_pic_CXX in 15750 "" | " "*) ;; 15751 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15752 esac 15753else 15754 lt_prog_compiler_pic_CXX= 15755 lt_prog_compiler_can_build_shared_CXX=no 15756fi 15757 15758fi 15759 15760 15761 15762 15763 15764# 15765# Check to make sure the static flag actually works. 15766# 15767wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15769$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15770if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15771 $as_echo_n "(cached) " >&6 15772else 15773 lt_cv_prog_compiler_static_works_CXX=no 15774 save_LDFLAGS=$LDFLAGS 15775 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15776 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15777 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15778 # The linker can only warn and ignore the option if not recognized 15779 # So say no if there are warnings 15780 if test -s conftest.err; then 15781 # Append any errors to the config.log. 15782 cat conftest.err 1>&5 15783 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15784 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15785 if diff conftest.exp conftest.er2 >/dev/null; then 15786 lt_cv_prog_compiler_static_works_CXX=yes 15787 fi 15788 else 15789 lt_cv_prog_compiler_static_works_CXX=yes 15790 fi 15791 fi 15792 $RM -r conftest* 15793 LDFLAGS=$save_LDFLAGS 15794 15795fi 15796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15797$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15798 15799if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15800 : 15801else 15802 lt_prog_compiler_static_CXX= 15803fi 15804 15805 15806 15807 15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15809$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15810if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15811 $as_echo_n "(cached) " >&6 15812else 15813 lt_cv_prog_compiler_c_o_CXX=no 15814 $RM -r conftest 2>/dev/null 15815 mkdir conftest 15816 cd conftest 15817 mkdir out 15818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15819 15820 lt_compiler_flag="-o out/conftest2.$ac_objext" 15821 # Insert the option either (1) after the last *FLAGS variable, or 15822 # (2) before a word containing "conftest.", or (3) at the end. 15823 # Note that $ac_compile itself does not contain backslashes and begins 15824 # with a dollar sign (not a hyphen), so the echo should work correctly. 15825 lt_compile=`echo "$ac_compile" | $SED \ 15826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15828 -e 's:$: $lt_compiler_flag:'` 15829 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15830 (eval "$lt_compile" 2>out/conftest.err) 15831 ac_status=$? 15832 cat out/conftest.err >&5 15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15834 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15835 then 15836 # The compiler can only warn and ignore the option if not recognized 15837 # So say no if there are warnings 15838 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15839 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15840 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15841 lt_cv_prog_compiler_c_o_CXX=yes 15842 fi 15843 fi 15844 chmod u+w . 2>&5 15845 $RM conftest* 15846 # SGI C++ compiler will create directory out/ii_files/ for 15847 # template instantiation 15848 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15849 $RM out/* && rmdir out 15850 cd .. 15851 $RM -r conftest 15852 $RM conftest* 15853 15854fi 15855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15856$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15857 15858 15859 15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15861$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15862if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15863 $as_echo_n "(cached) " >&6 15864else 15865 lt_cv_prog_compiler_c_o_CXX=no 15866 $RM -r conftest 2>/dev/null 15867 mkdir conftest 15868 cd conftest 15869 mkdir out 15870 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15871 15872 lt_compiler_flag="-o out/conftest2.$ac_objext" 15873 # Insert the option either (1) after the last *FLAGS variable, or 15874 # (2) before a word containing "conftest.", or (3) at the end. 15875 # Note that $ac_compile itself does not contain backslashes and begins 15876 # with a dollar sign (not a hyphen), so the echo should work correctly. 15877 lt_compile=`echo "$ac_compile" | $SED \ 15878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15880 -e 's:$: $lt_compiler_flag:'` 15881 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15882 (eval "$lt_compile" 2>out/conftest.err) 15883 ac_status=$? 15884 cat out/conftest.err >&5 15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15886 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15887 then 15888 # The compiler can only warn and ignore the option if not recognized 15889 # So say no if there are warnings 15890 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15891 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15892 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15893 lt_cv_prog_compiler_c_o_CXX=yes 15894 fi 15895 fi 15896 chmod u+w . 2>&5 15897 $RM conftest* 15898 # SGI C++ compiler will create directory out/ii_files/ for 15899 # template instantiation 15900 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15901 $RM out/* && rmdir out 15902 cd .. 15903 $RM -r conftest 15904 $RM conftest* 15905 15906fi 15907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15908$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15909 15910 15911 15912 15913hard_links=nottested 15914if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15915 # do not overwrite the value of need_locks provided by the user 15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15917$as_echo_n "checking if we can lock with hard links... " >&6; } 15918 hard_links=yes 15919 $RM conftest* 15920 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15921 touch conftest.a 15922 ln conftest.a conftest.b 2>&5 || hard_links=no 15923 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15925$as_echo "$hard_links" >&6; } 15926 if test no = "$hard_links"; then 15927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15928$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15929 need_locks=warn 15930 fi 15931else 15932 need_locks=no 15933fi 15934 15935 15936 15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15938$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15939 15940 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15941 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15942 case $host_os in 15943 aix[4-9]*) 15944 # If we're using GNU nm, then we don't want the "-C" option. 15945 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15946 # Without the "-l" option, or with the "-B" option, AIX nm treats 15947 # weak defined symbols like other global defined symbols, whereas 15948 # GNU nm marks them as "W". 15949 # While the 'weak' keyword is ignored in the Export File, we need 15950 # it in the Import File for the 'aix-soname' feature, so we have 15951 # to replace the "-B" option with "-P" for AIX nm. 15952 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15953 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' 15954 else 15955 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' 15956 fi 15957 ;; 15958 pw32*) 15959 export_symbols_cmds_CXX=$ltdll_cmds 15960 ;; 15961 cygwin* | mingw* | cegcc*) 15962 case $cc_basename in 15963 cl*) 15964 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15965 ;; 15966 *) 15967 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' 15968 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15969 ;; 15970 esac 15971 ;; 15972 *) 15973 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15974 ;; 15975 esac 15976 15977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15978$as_echo "$ld_shlibs_CXX" >&6; } 15979test no = "$ld_shlibs_CXX" && can_build_shared=no 15980 15981with_gnu_ld_CXX=$with_gnu_ld 15982 15983 15984 15985 15986 15987 15988# 15989# Do we need to explicitly link libc? 15990# 15991case "x$archive_cmds_need_lc_CXX" in 15992x|xyes) 15993 # Assume -lc should be added 15994 archive_cmds_need_lc_CXX=yes 15995 15996 if test yes,yes = "$GCC,$enable_shared"; then 15997 case $archive_cmds_CXX in 15998 *'~'*) 15999 # FIXME: we may have to deal with multi-command sequences. 16000 ;; 16001 '$CC '*) 16002 # Test whether the compiler implicitly links with -lc since on some 16003 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16004 # to ld, don't add -lc before -lgcc. 16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16006$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16007if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16008 $as_echo_n "(cached) " >&6 16009else 16010 $RM conftest* 16011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16012 16013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16014 (eval $ac_compile) 2>&5 16015 ac_status=$? 16016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16017 test $ac_status = 0; } 2>conftest.err; then 16018 soname=conftest 16019 lib=conftest 16020 libobjs=conftest.$ac_objext 16021 deplibs= 16022 wl=$lt_prog_compiler_wl_CXX 16023 pic_flag=$lt_prog_compiler_pic_CXX 16024 compiler_flags=-v 16025 linker_flags=-v 16026 verstring= 16027 output_objdir=. 16028 libname=conftest 16029 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16030 allow_undefined_flag_CXX= 16031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16032 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16033 ac_status=$? 16034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16035 test $ac_status = 0; } 16036 then 16037 lt_cv_archive_cmds_need_lc_CXX=no 16038 else 16039 lt_cv_archive_cmds_need_lc_CXX=yes 16040 fi 16041 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16042 else 16043 cat conftest.err 1>&5 16044 fi 16045 $RM conftest* 16046 16047fi 16048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16049$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16050 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16051 ;; 16052 esac 16053 fi 16054 ;; 16055esac 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16119$as_echo_n "checking dynamic linker characteristics... " >&6; } 16120 16121library_names_spec= 16122libname_spec='lib$name' 16123soname_spec= 16124shrext_cmds=.so 16125postinstall_cmds= 16126postuninstall_cmds= 16127finish_cmds= 16128finish_eval= 16129shlibpath_var= 16130shlibpath_overrides_runpath=unknown 16131version_type=none 16132dynamic_linker="$host_os ld.so" 16133sys_lib_dlsearch_path_spec="/lib /usr/lib" 16134need_lib_prefix=unknown 16135hardcode_into_libs=no 16136 16137# when you set need_version to no, make sure it does not cause -set_version 16138# flags to be left without arguments 16139need_version=unknown 16140 16141 16142 16143case $host_os in 16144aix3*) 16145 version_type=linux # correct to gnu/linux during the next big refactor 16146 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16147 shlibpath_var=LIBPATH 16148 16149 # AIX 3 has no versioning support, so we append a major version to the name. 16150 soname_spec='$libname$release$shared_ext$major' 16151 ;; 16152 16153aix[4-9]*) 16154 version_type=linux # correct to gnu/linux during the next big refactor 16155 need_lib_prefix=no 16156 need_version=no 16157 hardcode_into_libs=yes 16158 if test ia64 = "$host_cpu"; then 16159 # AIX 5 supports IA64 16160 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16161 shlibpath_var=LD_LIBRARY_PATH 16162 else 16163 # With GCC up to 2.95.x, collect2 would create an import file 16164 # for dependence libraries. The import file would start with 16165 # the line '#! .'. This would cause the generated library to 16166 # depend on '.', always an invalid library. This was fixed in 16167 # development snapshots of GCC prior to 3.0. 16168 case $host_os in 16169 aix4 | aix4.[01] | aix4.[01].*) 16170 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16171 echo ' yes ' 16172 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16173 : 16174 else 16175 can_build_shared=no 16176 fi 16177 ;; 16178 esac 16179 # Using Import Files as archive members, it is possible to support 16180 # filename-based versioning of shared library archives on AIX. While 16181 # this would work for both with and without runtime linking, it will 16182 # prevent static linking of such archives. So we do filename-based 16183 # shared library versioning with .so extension only, which is used 16184 # when both runtime linking and shared linking is enabled. 16185 # Unfortunately, runtime linking may impact performance, so we do 16186 # not want this to be the default eventually. Also, we use the 16187 # versioned .so libs for executables only if there is the -brtl 16188 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16189 # To allow for filename-based versioning support, we need to create 16190 # libNAME.so.V as an archive file, containing: 16191 # *) an Import File, referring to the versioned filename of the 16192 # archive as well as the shared archive member, telling the 16193 # bitwidth (32 or 64) of that shared object, and providing the 16194 # list of exported symbols of that shared object, eventually 16195 # decorated with the 'weak' keyword 16196 # *) the shared object with the F_LOADONLY flag set, to really avoid 16197 # it being seen by the linker. 16198 # At run time we better use the real file rather than another symlink, 16199 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16200 16201 case $with_aix_soname,$aix_use_runtimelinking in 16202 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16203 # soname into executable. Probably we can add versioning support to 16204 # collect2, so additional links can be useful in future. 16205 aix,yes) # traditional libtool 16206 dynamic_linker='AIX unversionable lib.so' 16207 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16208 # instead of lib<name>.a to let people know that these are not 16209 # typical AIX shared libraries. 16210 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16211 ;; 16212 aix,no) # traditional AIX only 16213 dynamic_linker='AIX lib.a(lib.so.V)' 16214 # We preserve .a as extension for shared libraries through AIX4.2 16215 # and later when we are not doing run time linking. 16216 library_names_spec='$libname$release.a $libname.a' 16217 soname_spec='$libname$release$shared_ext$major' 16218 ;; 16219 svr4,*) # full svr4 only 16220 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16221 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16222 # We do not specify a path in Import Files, so LIBPATH fires. 16223 shlibpath_overrides_runpath=yes 16224 ;; 16225 *,yes) # both, prefer svr4 16226 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16227 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16228 # unpreferred sharedlib libNAME.a needs extra handling 16229 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"' 16230 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"' 16231 # We do not specify a path in Import Files, so LIBPATH fires. 16232 shlibpath_overrides_runpath=yes 16233 ;; 16234 *,no) # both, prefer aix 16235 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16236 library_names_spec='$libname$release.a $libname.a' 16237 soname_spec='$libname$release$shared_ext$major' 16238 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16239 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)' 16240 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"' 16241 ;; 16242 esac 16243 shlibpath_var=LIBPATH 16244 fi 16245 ;; 16246 16247amigaos*) 16248 case $host_cpu in 16249 powerpc) 16250 # Since July 2007 AmigaOS4 officially supports .so libraries. 16251 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16252 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16253 ;; 16254 m68k) 16255 library_names_spec='$libname.ixlibrary $libname.a' 16256 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16257 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' 16258 ;; 16259 esac 16260 ;; 16261 16262beos*) 16263 library_names_spec='$libname$shared_ext' 16264 dynamic_linker="$host_os ld.so" 16265 shlibpath_var=LIBRARY_PATH 16266 ;; 16267 16268bsdi[45]*) 16269 version_type=linux # correct to gnu/linux during the next big refactor 16270 need_version=no 16271 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16272 soname_spec='$libname$release$shared_ext$major' 16273 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16274 shlibpath_var=LD_LIBRARY_PATH 16275 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16276 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16277 # the default ld.so.conf also contains /usr/contrib/lib and 16278 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16279 # libtool to hard-code these into programs 16280 ;; 16281 16282cygwin* | mingw* | pw32* | cegcc*) 16283 version_type=windows 16284 shrext_cmds=.dll 16285 need_version=no 16286 need_lib_prefix=no 16287 16288 case $GCC,$cc_basename in 16289 yes,*) 16290 # gcc 16291 library_names_spec='$libname.dll.a' 16292 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16293 postinstall_cmds='base_file=`basename \$file`~ 16294 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16295 dldir=$destdir/`dirname \$dlpath`~ 16296 test -d \$dldir || mkdir -p \$dldir~ 16297 $install_prog $dir/$dlname \$dldir/$dlname~ 16298 chmod a+x \$dldir/$dlname~ 16299 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16300 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16301 fi' 16302 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16303 dlpath=$dir/\$dldll~ 16304 $RM \$dlpath' 16305 shlibpath_overrides_runpath=yes 16306 16307 case $host_os in 16308 cygwin*) 16309 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16310 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16311 16312 ;; 16313 mingw* | cegcc*) 16314 # MinGW DLLs use traditional 'lib' prefix 16315 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16316 ;; 16317 pw32*) 16318 # pw32 DLLs use 'pw' prefix rather than 'lib' 16319 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16320 ;; 16321 esac 16322 dynamic_linker='Win32 ld.exe' 16323 ;; 16324 16325 *,cl*) 16326 # Native MSVC 16327 libname_spec='$name' 16328 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16329 library_names_spec='$libname.dll.lib' 16330 16331 case $build_os in 16332 mingw*) 16333 sys_lib_search_path_spec= 16334 lt_save_ifs=$IFS 16335 IFS=';' 16336 for lt_path in $LIB 16337 do 16338 IFS=$lt_save_ifs 16339 # Let DOS variable expansion print the short 8.3 style file name. 16340 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16341 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16342 done 16343 IFS=$lt_save_ifs 16344 # Convert to MSYS style. 16345 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16346 ;; 16347 cygwin*) 16348 # Convert to unix form, then to dos form, then back to unix form 16349 # but this time dos style (no spaces!) so that the unix form looks 16350 # like /cygdrive/c/PROGRA~1:/cygdr... 16351 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16352 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16353 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16354 ;; 16355 *) 16356 sys_lib_search_path_spec=$LIB 16357 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16358 # It is most probably a Windows format PATH. 16359 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16360 else 16361 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16362 fi 16363 # FIXME: find the short name or the path components, as spaces are 16364 # common. (e.g. "Program Files" -> "PROGRA~1") 16365 ;; 16366 esac 16367 16368 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16369 postinstall_cmds='base_file=`basename \$file`~ 16370 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16371 dldir=$destdir/`dirname \$dlpath`~ 16372 test -d \$dldir || mkdir -p \$dldir~ 16373 $install_prog $dir/$dlname \$dldir/$dlname' 16374 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16375 dlpath=$dir/\$dldll~ 16376 $RM \$dlpath' 16377 shlibpath_overrides_runpath=yes 16378 dynamic_linker='Win32 link.exe' 16379 ;; 16380 16381 *) 16382 # Assume MSVC wrapper 16383 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16384 dynamic_linker='Win32 ld.exe' 16385 ;; 16386 esac 16387 # FIXME: first we should search . and the directory the executable is in 16388 shlibpath_var=PATH 16389 ;; 16390 16391darwin* | rhapsody*) 16392 dynamic_linker="$host_os dyld" 16393 version_type=darwin 16394 need_lib_prefix=no 16395 need_version=no 16396 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16397 soname_spec='$libname$release$major$shared_ext' 16398 shlibpath_overrides_runpath=yes 16399 shlibpath_var=DYLD_LIBRARY_PATH 16400 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16401 16402 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16403 ;; 16404 16405dgux*) 16406 version_type=linux # correct to gnu/linux during the next big refactor 16407 need_lib_prefix=no 16408 need_version=no 16409 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16410 soname_spec='$libname$release$shared_ext$major' 16411 shlibpath_var=LD_LIBRARY_PATH 16412 ;; 16413 16414freebsd* | dragonfly*) 16415 # DragonFly does not have aout. When/if they implement a new 16416 # versioning mechanism, adjust this. 16417 if test -x /usr/bin/objformat; then 16418 objformat=`/usr/bin/objformat` 16419 else 16420 case $host_os in 16421 freebsd[23].*) objformat=aout ;; 16422 *) objformat=elf ;; 16423 esac 16424 fi 16425 version_type=freebsd-$objformat 16426 case $version_type in 16427 freebsd-elf*) 16428 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16429 soname_spec='$libname$release$shared_ext$major' 16430 need_version=no 16431 need_lib_prefix=no 16432 ;; 16433 freebsd-*) 16434 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16435 need_version=yes 16436 ;; 16437 esac 16438 shlibpath_var=LD_LIBRARY_PATH 16439 case $host_os in 16440 freebsd2.*) 16441 shlibpath_overrides_runpath=yes 16442 ;; 16443 freebsd3.[01]* | freebsdelf3.[01]*) 16444 shlibpath_overrides_runpath=yes 16445 hardcode_into_libs=yes 16446 ;; 16447 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16448 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16449 shlibpath_overrides_runpath=no 16450 hardcode_into_libs=yes 16451 ;; 16452 *) # from 4.6 on, and DragonFly 16453 shlibpath_overrides_runpath=yes 16454 hardcode_into_libs=yes 16455 ;; 16456 esac 16457 ;; 16458 16459haiku*) 16460 version_type=linux # correct to gnu/linux during the next big refactor 16461 need_lib_prefix=no 16462 need_version=no 16463 dynamic_linker="$host_os runtime_loader" 16464 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16465 soname_spec='$libname$release$shared_ext$major' 16466 shlibpath_var=LIBRARY_PATH 16467 shlibpath_overrides_runpath=no 16468 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16469 hardcode_into_libs=yes 16470 ;; 16471 16472hpux9* | hpux10* | hpux11*) 16473 # Give a soname corresponding to the major version so that dld.sl refuses to 16474 # link against other versions. 16475 version_type=sunos 16476 need_lib_prefix=no 16477 need_version=no 16478 case $host_cpu in 16479 ia64*) 16480 shrext_cmds='.so' 16481 hardcode_into_libs=yes 16482 dynamic_linker="$host_os dld.so" 16483 shlibpath_var=LD_LIBRARY_PATH 16484 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16485 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16486 soname_spec='$libname$release$shared_ext$major' 16487 if test 32 = "$HPUX_IA64_MODE"; then 16488 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16489 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16490 else 16491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16492 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16493 fi 16494 ;; 16495 hppa*64*) 16496 shrext_cmds='.sl' 16497 hardcode_into_libs=yes 16498 dynamic_linker="$host_os dld.sl" 16499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16501 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16502 soname_spec='$libname$release$shared_ext$major' 16503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16505 ;; 16506 *) 16507 shrext_cmds='.sl' 16508 dynamic_linker="$host_os dld.sl" 16509 shlibpath_var=SHLIB_PATH 16510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16511 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16512 soname_spec='$libname$release$shared_ext$major' 16513 ;; 16514 esac 16515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16516 postinstall_cmds='chmod 555 $lib' 16517 # or fails outright, so override atomically: 16518 install_override_mode=555 16519 ;; 16520 16521interix[3-9]*) 16522 version_type=linux # correct to gnu/linux during the next big refactor 16523 need_lib_prefix=no 16524 need_version=no 16525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16526 soname_spec='$libname$release$shared_ext$major' 16527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16528 shlibpath_var=LD_LIBRARY_PATH 16529 shlibpath_overrides_runpath=no 16530 hardcode_into_libs=yes 16531 ;; 16532 16533irix5* | irix6* | nonstopux*) 16534 case $host_os in 16535 nonstopux*) version_type=nonstopux ;; 16536 *) 16537 if test yes = "$lt_cv_prog_gnu_ld"; then 16538 version_type=linux # correct to gnu/linux during the next big refactor 16539 else 16540 version_type=irix 16541 fi ;; 16542 esac 16543 need_lib_prefix=no 16544 need_version=no 16545 soname_spec='$libname$release$shared_ext$major' 16546 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16547 case $host_os in 16548 irix5* | nonstopux*) 16549 libsuff= shlibsuff= 16550 ;; 16551 *) 16552 case $LD in # libtool.m4 will add one of these switches to LD 16553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16554 libsuff= shlibsuff= libmagic=32-bit;; 16555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16556 libsuff=32 shlibsuff=N32 libmagic=N32;; 16557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16558 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16559 *) libsuff= shlibsuff= libmagic=never-match;; 16560 esac 16561 ;; 16562 esac 16563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16564 shlibpath_overrides_runpath=no 16565 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16566 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16567 hardcode_into_libs=yes 16568 ;; 16569 16570# No shared lib support for Linux oldld, aout, or coff. 16571linux*oldld* | linux*aout* | linux*coff*) 16572 dynamic_linker=no 16573 ;; 16574 16575linux*android*) 16576 version_type=none # Android doesn't support versioned libraries. 16577 need_lib_prefix=no 16578 need_version=no 16579 library_names_spec='$libname$release$shared_ext' 16580 soname_spec='$libname$release$shared_ext' 16581 finish_cmds= 16582 shlibpath_var=LD_LIBRARY_PATH 16583 shlibpath_overrides_runpath=yes 16584 16585 # This implies no fast_install, which is unacceptable. 16586 # Some rework will be needed to allow for fast_install 16587 # before this can be enabled. 16588 hardcode_into_libs=yes 16589 16590 dynamic_linker='Android linker' 16591 # Don't embed -rpath directories since the linker doesn't support them. 16592 hardcode_libdir_flag_spec_CXX='-L$libdir' 16593 ;; 16594 16595# This must be glibc/ELF. 16596linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16597 version_type=linux # correct to gnu/linux during the next big refactor 16598 need_lib_prefix=no 16599 need_version=no 16600 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16601 soname_spec='$libname$release$shared_ext$major' 16602 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16603 shlibpath_var=LD_LIBRARY_PATH 16604 shlibpath_overrides_runpath=no 16605 16606 # Some binutils ld are patched to set DT_RUNPATH 16607 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16608 $as_echo_n "(cached) " >&6 16609else 16610 lt_cv_shlibpath_overrides_runpath=no 16611 save_LDFLAGS=$LDFLAGS 16612 save_libdir=$libdir 16613 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16614 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16616/* end confdefs.h. */ 16617 16618int 16619main () 16620{ 16621 16622 ; 16623 return 0; 16624} 16625_ACEOF 16626if ac_fn_cxx_try_link "$LINENO"; then : 16627 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16628 lt_cv_shlibpath_overrides_runpath=yes 16629fi 16630fi 16631rm -f core conftest.err conftest.$ac_objext \ 16632 conftest$ac_exeext conftest.$ac_ext 16633 LDFLAGS=$save_LDFLAGS 16634 libdir=$save_libdir 16635 16636fi 16637 16638 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16639 16640 # This implies no fast_install, which is unacceptable. 16641 # Some rework will be needed to allow for fast_install 16642 # before this can be enabled. 16643 hardcode_into_libs=yes 16644 16645 # Add ABI-specific directories to the system library path. 16646 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16647 16648 # Ideally, we could use ldconfig to report *all* directores which are 16649 # searched for libraries, however this is still not possible. Aside from not 16650 # being certain /sbin/ldconfig is available, command 16651 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16652 # even though it is searched at run-time. Try to do the best guess by 16653 # appending ld.so.conf contents (and includes) to the search path. 16654 if test -f /etc/ld.so.conf; then 16655 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' ' '` 16656 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16657 fi 16658 16659 # We used to test for /lib/ld.so.1 and disable shared libraries on 16660 # powerpc, because MkLinux only supported shared libraries with the 16661 # GNU dynamic linker. Since this was broken with cross compilers, 16662 # most powerpc-linux boxes support dynamic linking these days and 16663 # people can always --disable-shared, the test was removed, and we 16664 # assume the GNU/Linux dynamic linker is in use. 16665 dynamic_linker='GNU/Linux ld.so' 16666 ;; 16667 16668netbsd*) 16669 version_type=sunos 16670 need_lib_prefix=no 16671 need_version=no 16672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16673 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16674 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16675 dynamic_linker='NetBSD (a.out) ld.so' 16676 else 16677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16678 soname_spec='$libname$release$shared_ext$major' 16679 dynamic_linker='NetBSD ld.elf_so' 16680 fi 16681 shlibpath_var=LD_LIBRARY_PATH 16682 shlibpath_overrides_runpath=yes 16683 hardcode_into_libs=yes 16684 ;; 16685 16686newsos6) 16687 version_type=linux # correct to gnu/linux during the next big refactor 16688 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16689 shlibpath_var=LD_LIBRARY_PATH 16690 shlibpath_overrides_runpath=yes 16691 ;; 16692 16693*nto* | *qnx*) 16694 version_type=qnx 16695 need_lib_prefix=no 16696 need_version=no 16697 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16698 soname_spec='$libname$release$shared_ext$major' 16699 shlibpath_var=LD_LIBRARY_PATH 16700 shlibpath_overrides_runpath=no 16701 hardcode_into_libs=yes 16702 dynamic_linker='ldqnx.so' 16703 ;; 16704 16705openbsd* | bitrig*) 16706 version_type=sunos 16707 sys_lib_dlsearch_path_spec=/usr/lib 16708 need_lib_prefix=no 16709 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16710 need_version=no 16711 else 16712 need_version=yes 16713 fi 16714 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16715 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16716 shlibpath_var=LD_LIBRARY_PATH 16717 shlibpath_overrides_runpath=yes 16718 ;; 16719 16720os2*) 16721 libname_spec='$name' 16722 version_type=windows 16723 shrext_cmds=.dll 16724 need_version=no 16725 need_lib_prefix=no 16726 # OS/2 can only load a DLL with a base name of 8 characters or less. 16727 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16728 v=$($ECHO $release$versuffix | tr -d .-); 16729 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16730 $ECHO $n$v`$shared_ext' 16731 library_names_spec='${libname}_dll.$libext' 16732 dynamic_linker='OS/2 ld.exe' 16733 shlibpath_var=BEGINLIBPATH 16734 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16735 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16736 postinstall_cmds='base_file=`basename \$file`~ 16737 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16738 dldir=$destdir/`dirname \$dlpath`~ 16739 test -d \$dldir || mkdir -p \$dldir~ 16740 $install_prog $dir/$dlname \$dldir/$dlname~ 16741 chmod a+x \$dldir/$dlname~ 16742 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16743 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16744 fi' 16745 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16746 dlpath=$dir/\$dldll~ 16747 $RM \$dlpath' 16748 ;; 16749 16750osf3* | osf4* | osf5*) 16751 version_type=osf 16752 need_lib_prefix=no 16753 need_version=no 16754 soname_spec='$libname$release$shared_ext$major' 16755 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16756 shlibpath_var=LD_LIBRARY_PATH 16757 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16758 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16759 ;; 16760 16761rdos*) 16762 dynamic_linker=no 16763 ;; 16764 16765solaris*) 16766 version_type=linux # correct to gnu/linux during the next big refactor 16767 need_lib_prefix=no 16768 need_version=no 16769 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16770 soname_spec='$libname$release$shared_ext$major' 16771 shlibpath_var=LD_LIBRARY_PATH 16772 shlibpath_overrides_runpath=yes 16773 hardcode_into_libs=yes 16774 # ldd complains unless libraries are executable 16775 postinstall_cmds='chmod +x $lib' 16776 ;; 16777 16778sunos4*) 16779 version_type=sunos 16780 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16781 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16782 shlibpath_var=LD_LIBRARY_PATH 16783 shlibpath_overrides_runpath=yes 16784 if test yes = "$with_gnu_ld"; then 16785 need_lib_prefix=no 16786 fi 16787 need_version=yes 16788 ;; 16789 16790sysv4 | sysv4.3*) 16791 version_type=linux # correct to gnu/linux during the next big refactor 16792 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16793 soname_spec='$libname$release$shared_ext$major' 16794 shlibpath_var=LD_LIBRARY_PATH 16795 case $host_vendor in 16796 sni) 16797 shlibpath_overrides_runpath=no 16798 need_lib_prefix=no 16799 runpath_var=LD_RUN_PATH 16800 ;; 16801 siemens) 16802 need_lib_prefix=no 16803 ;; 16804 motorola) 16805 need_lib_prefix=no 16806 need_version=no 16807 shlibpath_overrides_runpath=no 16808 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16809 ;; 16810 esac 16811 ;; 16812 16813sysv4*MP*) 16814 if test -d /usr/nec; then 16815 version_type=linux # correct to gnu/linux during the next big refactor 16816 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16817 soname_spec='$libname$shared_ext.$major' 16818 shlibpath_var=LD_LIBRARY_PATH 16819 fi 16820 ;; 16821 16822sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16823 version_type=sco 16824 need_lib_prefix=no 16825 need_version=no 16826 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16827 soname_spec='$libname$release$shared_ext$major' 16828 shlibpath_var=LD_LIBRARY_PATH 16829 shlibpath_overrides_runpath=yes 16830 hardcode_into_libs=yes 16831 if test yes = "$with_gnu_ld"; then 16832 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16833 else 16834 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16835 case $host_os in 16836 sco3.2v5*) 16837 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16838 ;; 16839 esac 16840 fi 16841 sys_lib_dlsearch_path_spec='/usr/lib' 16842 ;; 16843 16844tpf*) 16845 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16846 version_type=linux # correct to gnu/linux during the next big refactor 16847 need_lib_prefix=no 16848 need_version=no 16849 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16850 shlibpath_var=LD_LIBRARY_PATH 16851 shlibpath_overrides_runpath=no 16852 hardcode_into_libs=yes 16853 ;; 16854 16855uts4*) 16856 version_type=linux # correct to gnu/linux during the next big refactor 16857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16858 soname_spec='$libname$release$shared_ext$major' 16859 shlibpath_var=LD_LIBRARY_PATH 16860 ;; 16861 16862*) 16863 dynamic_linker=no 16864 ;; 16865esac 16866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16867$as_echo "$dynamic_linker" >&6; } 16868test no = "$dynamic_linker" && can_build_shared=no 16869 16870variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16871if test yes = "$GCC"; then 16872 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16873fi 16874 16875if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16876 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16877fi 16878 16879if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16880 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16881fi 16882 16883# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16884configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16885 16886# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16887func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16888 16889# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16890configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16932$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16933hardcode_action_CXX= 16934if test -n "$hardcode_libdir_flag_spec_CXX" || 16935 test -n "$runpath_var_CXX" || 16936 test yes = "$hardcode_automatic_CXX"; then 16937 16938 # We can hardcode non-existent directories. 16939 if test no != "$hardcode_direct_CXX" && 16940 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16941 # have to relink, otherwise we might link with an installed library 16942 # when we should be linking with a yet-to-be-installed one 16943 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16944 test no != "$hardcode_minus_L_CXX"; then 16945 # Linking always hardcodes the temporary library directory. 16946 hardcode_action_CXX=relink 16947 else 16948 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16949 hardcode_action_CXX=immediate 16950 fi 16951else 16952 # We cannot hardcode anything, or else we can only hardcode existing 16953 # directories. 16954 hardcode_action_CXX=unsupported 16955fi 16956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16957$as_echo "$hardcode_action_CXX" >&6; } 16958 16959if test relink = "$hardcode_action_CXX" || 16960 test yes = "$inherit_rpath_CXX"; then 16961 # Fast installation is not supported 16962 enable_fast_install=no 16963elif test yes = "$shlibpath_overrides_runpath" || 16964 test no = "$enable_shared"; then 16965 # Fast installation is not necessary 16966 enable_fast_install=needless 16967fi 16968 16969 16970 16971 16972 16973 16974 16975 fi # test -n "$compiler" 16976 16977 CC=$lt_save_CC 16978 CFLAGS=$lt_save_CFLAGS 16979 LDCXX=$LD 16980 LD=$lt_save_LD 16981 GCC=$lt_save_GCC 16982 with_gnu_ld=$lt_save_with_gnu_ld 16983 lt_cv_path_LDCXX=$lt_cv_path_LD 16984 lt_cv_path_LD=$lt_save_path_LD 16985 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16986 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16987fi # test yes != "$_lt_caught_CXX_error" 16988 16989ac_ext=c 16990ac_cpp='$CPP $CPPFLAGS' 16991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16993ac_compiler_gnu=$ac_cv_c_compiler_gnu 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 ac_config_commands="$ac_config_commands libtool" 17010 17011 17012 17013 17014# Only expand once: 17015 17016 17017 17018 17019# Extract the first word of "pkg-config", so it can be a program name with args. 17020set dummy pkg-config; ac_word=$2 17021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17022$as_echo_n "checking for $ac_word... " >&6; } 17023if ${ac_cv_path_PKGCONFIG+:} false; then : 17024 $as_echo_n "(cached) " >&6 17025else 17026 case $PKGCONFIG in 17027 [\\/]* | ?:[\\/]*) 17028 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 17029 ;; 17030 *) 17031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17032for as_dir in $PATH 17033do 17034 IFS=$as_save_IFS 17035 test -z "$as_dir" && as_dir=. 17036 for ac_exec_ext in '' $ac_executable_extensions; do 17037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17038 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 17039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17040 break 2 17041 fi 17042done 17043 done 17044IFS=$as_save_IFS 17045 17046 ;; 17047esac 17048fi 17049PKGCONFIG=$ac_cv_path_PKGCONFIG 17050if test -n "$PKGCONFIG"; then 17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17052$as_echo "$PKGCONFIG" >&6; } 17053else 17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17055$as_echo "no" >&6; } 17056fi 17057 17058 17059 17060 17061mkdir_p="$MKDIR_P" 17062case $mkdir_p in 17063 [\\/$]* | ?:[\\/]*) ;; 17064 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17065esac 17066 17067 17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17069$as_echo_n "checking whether NLS is requested... " >&6; } 17070 # Check whether --enable-nls was given. 17071if test "${enable_nls+set}" = set; then : 17072 enableval=$enable_nls; USE_NLS=$enableval 17073else 17074 USE_NLS=yes 17075fi 17076 17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17078$as_echo "$USE_NLS" >&6; } 17079 17080 17081 17082 17083 GETTEXT_MACRO_VERSION=0.18 17084 17085 17086 17087 17088# Prepare PATH_SEPARATOR. 17089# The user is always right. 17090if test "${PATH_SEPARATOR+set}" != set; then 17091 echo "#! /bin/sh" >conf$$.sh 17092 echo "exit 0" >>conf$$.sh 17093 chmod +x conf$$.sh 17094 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17095 PATH_SEPARATOR=';' 17096 else 17097 PATH_SEPARATOR=: 17098 fi 17099 rm -f conf$$.sh 17100fi 17101 17102# Find out how to test for executable files. Don't use a zero-byte file, 17103# as systems may use methods other than mode bits to determine executability. 17104cat >conf$$.file <<_ASEOF 17105#! /bin/sh 17106exit 0 17107_ASEOF 17108chmod +x conf$$.file 17109if test -x conf$$.file >/dev/null 2>&1; then 17110 ac_executable_p="test -x" 17111else 17112 ac_executable_p="test -f" 17113fi 17114rm -f conf$$.file 17115 17116# Extract the first word of "msgfmt", so it can be a program name with args. 17117set dummy msgfmt; ac_word=$2 17118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17119$as_echo_n "checking for $ac_word... " >&6; } 17120if ${ac_cv_path_MSGFMT+:} false; then : 17121 $as_echo_n "(cached) " >&6 17122else 17123 case "$MSGFMT" in 17124 [\\/]* | ?:[\\/]*) 17125 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17126 ;; 17127 *) 17128 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17129 for ac_dir in $PATH; do 17130 IFS="$ac_save_IFS" 17131 test -z "$ac_dir" && ac_dir=. 17132 for ac_exec_ext in '' $ac_executable_extensions; do 17133 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17134 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17135 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17136 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17137 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17138 break 2 17139 fi 17140 fi 17141 done 17142 done 17143 IFS="$ac_save_IFS" 17144 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17145 ;; 17146esac 17147fi 17148MSGFMT="$ac_cv_path_MSGFMT" 17149if test "$MSGFMT" != ":"; then 17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17151$as_echo "$MSGFMT" >&6; } 17152else 17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17154$as_echo "no" >&6; } 17155fi 17156 17157 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17158set dummy gmsgfmt; ac_word=$2 17159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17160$as_echo_n "checking for $ac_word... " >&6; } 17161if ${ac_cv_path_GMSGFMT+:} false; then : 17162 $as_echo_n "(cached) " >&6 17163else 17164 case $GMSGFMT in 17165 [\\/]* | ?:[\\/]*) 17166 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17167 ;; 17168 *) 17169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17170for as_dir in $PATH 17171do 17172 IFS=$as_save_IFS 17173 test -z "$as_dir" && as_dir=. 17174 for ac_exec_ext in '' $ac_executable_extensions; do 17175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17176 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17178 break 2 17179 fi 17180done 17181 done 17182IFS=$as_save_IFS 17183 17184 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17185 ;; 17186esac 17187fi 17188GMSGFMT=$ac_cv_path_GMSGFMT 17189if test -n "$GMSGFMT"; then 17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17191$as_echo "$GMSGFMT" >&6; } 17192else 17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17194$as_echo "no" >&6; } 17195fi 17196 17197 17198 17199 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17200 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17201 *) MSGFMT_015=$MSGFMT ;; 17202 esac 17203 17204 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17205 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17206 *) GMSGFMT_015=$GMSGFMT ;; 17207 esac 17208 17209 17210 17211# Prepare PATH_SEPARATOR. 17212# The user is always right. 17213if test "${PATH_SEPARATOR+set}" != set; then 17214 echo "#! /bin/sh" >conf$$.sh 17215 echo "exit 0" >>conf$$.sh 17216 chmod +x conf$$.sh 17217 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17218 PATH_SEPARATOR=';' 17219 else 17220 PATH_SEPARATOR=: 17221 fi 17222 rm -f conf$$.sh 17223fi 17224 17225# Find out how to test for executable files. Don't use a zero-byte file, 17226# as systems may use methods other than mode bits to determine executability. 17227cat >conf$$.file <<_ASEOF 17228#! /bin/sh 17229exit 0 17230_ASEOF 17231chmod +x conf$$.file 17232if test -x conf$$.file >/dev/null 2>&1; then 17233 ac_executable_p="test -x" 17234else 17235 ac_executable_p="test -f" 17236fi 17237rm -f conf$$.file 17238 17239# Extract the first word of "xgettext", so it can be a program name with args. 17240set dummy xgettext; ac_word=$2 17241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17242$as_echo_n "checking for $ac_word... " >&6; } 17243if ${ac_cv_path_XGETTEXT+:} false; then : 17244 $as_echo_n "(cached) " >&6 17245else 17246 case "$XGETTEXT" in 17247 [\\/]* | ?:[\\/]*) 17248 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17249 ;; 17250 *) 17251 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17252 for ac_dir in $PATH; do 17253 IFS="$ac_save_IFS" 17254 test -z "$ac_dir" && ac_dir=. 17255 for ac_exec_ext in '' $ac_executable_extensions; do 17256 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17257 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17258 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17259 (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 17260 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17261 break 2 17262 fi 17263 fi 17264 done 17265 done 17266 IFS="$ac_save_IFS" 17267 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17268 ;; 17269esac 17270fi 17271XGETTEXT="$ac_cv_path_XGETTEXT" 17272if test "$XGETTEXT" != ":"; then 17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17274$as_echo "$XGETTEXT" >&6; } 17275else 17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17277$as_echo "no" >&6; } 17278fi 17279 17280 rm -f messages.po 17281 17282 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17283 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17284 *) XGETTEXT_015=$XGETTEXT ;; 17285 esac 17286 17287 17288 17289# Prepare PATH_SEPARATOR. 17290# The user is always right. 17291if test "${PATH_SEPARATOR+set}" != set; then 17292 echo "#! /bin/sh" >conf$$.sh 17293 echo "exit 0" >>conf$$.sh 17294 chmod +x conf$$.sh 17295 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17296 PATH_SEPARATOR=';' 17297 else 17298 PATH_SEPARATOR=: 17299 fi 17300 rm -f conf$$.sh 17301fi 17302 17303# Find out how to test for executable files. Don't use a zero-byte file, 17304# as systems may use methods other than mode bits to determine executability. 17305cat >conf$$.file <<_ASEOF 17306#! /bin/sh 17307exit 0 17308_ASEOF 17309chmod +x conf$$.file 17310if test -x conf$$.file >/dev/null 2>&1; then 17311 ac_executable_p="test -x" 17312else 17313 ac_executable_p="test -f" 17314fi 17315rm -f conf$$.file 17316 17317# Extract the first word of "msgmerge", so it can be a program name with args. 17318set dummy msgmerge; ac_word=$2 17319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17320$as_echo_n "checking for $ac_word... " >&6; } 17321if ${ac_cv_path_MSGMERGE+:} false; then : 17322 $as_echo_n "(cached) " >&6 17323else 17324 case "$MSGMERGE" in 17325 [\\/]* | ?:[\\/]*) 17326 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17327 ;; 17328 *) 17329 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17330 for ac_dir in $PATH; do 17331 IFS="$ac_save_IFS" 17332 test -z "$ac_dir" && ac_dir=. 17333 for ac_exec_ext in '' $ac_executable_extensions; do 17334 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17335 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17336 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17337 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17338 break 2 17339 fi 17340 fi 17341 done 17342 done 17343 IFS="$ac_save_IFS" 17344 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17345 ;; 17346esac 17347fi 17348MSGMERGE="$ac_cv_path_MSGMERGE" 17349if test "$MSGMERGE" != ":"; then 17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17351$as_echo "$MSGMERGE" >&6; } 17352else 17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17354$as_echo "no" >&6; } 17355fi 17356 17357 17358 test -n "$localedir" || localedir='${datadir}/locale' 17359 17360 17361 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17362 17363 17364 ac_config_commands="$ac_config_commands po-directories" 17365 17366 17367 17368 if test "X$prefix" = "XNONE"; then 17369 acl_final_prefix="$ac_default_prefix" 17370 else 17371 acl_final_prefix="$prefix" 17372 fi 17373 if test "X$exec_prefix" = "XNONE"; then 17374 acl_final_exec_prefix='${prefix}' 17375 else 17376 acl_final_exec_prefix="$exec_prefix" 17377 fi 17378 acl_save_prefix="$prefix" 17379 prefix="$acl_final_prefix" 17380 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17381 prefix="$acl_save_prefix" 17382 17383 17384# Check whether --with-gnu-ld was given. 17385if test "${with_gnu_ld+set}" = set; then : 17386 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17387else 17388 with_gnu_ld=no 17389fi 17390 17391# Prepare PATH_SEPARATOR. 17392# The user is always right. 17393if test "${PATH_SEPARATOR+set}" != set; then 17394 echo "#! /bin/sh" >conf$$.sh 17395 echo "exit 0" >>conf$$.sh 17396 chmod +x conf$$.sh 17397 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17398 PATH_SEPARATOR=';' 17399 else 17400 PATH_SEPARATOR=: 17401 fi 17402 rm -f conf$$.sh 17403fi 17404ac_prog=ld 17405if test "$GCC" = yes; then 17406 # Check if gcc -print-prog-name=ld gives a path. 17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17408$as_echo_n "checking for ld used by GCC... " >&6; } 17409 case $host in 17410 *-*-mingw*) 17411 # gcc leaves a trailing carriage return which upsets mingw 17412 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17413 *) 17414 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17415 esac 17416 case $ac_prog in 17417 # Accept absolute paths. 17418 [\\/]* | [A-Za-z]:[\\/]*) 17419 re_direlt='/[^/][^/]*/\.\./' 17420 # Canonicalize the path of ld 17421 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17422 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17423 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17424 done 17425 test -z "$LD" && LD="$ac_prog" 17426 ;; 17427 "") 17428 # If it fails, then pretend we aren't using GCC. 17429 ac_prog=ld 17430 ;; 17431 *) 17432 # If it is relative, then search for the first ld in PATH. 17433 with_gnu_ld=unknown 17434 ;; 17435 esac 17436elif test "$with_gnu_ld" = yes; then 17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17438$as_echo_n "checking for GNU ld... " >&6; } 17439else 17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17441$as_echo_n "checking for non-GNU ld... " >&6; } 17442fi 17443if ${acl_cv_path_LD+:} false; then : 17444 $as_echo_n "(cached) " >&6 17445else 17446 if test -z "$LD"; then 17447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17448 for ac_dir in $PATH; do 17449 test -z "$ac_dir" && ac_dir=. 17450 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17451 acl_cv_path_LD="$ac_dir/$ac_prog" 17452 # Check to see if the program is GNU ld. I'd rather use --version, 17453 # but apparently some GNU ld's only accept -v. 17454 # Break only if it was the GNU/non-GNU ld that we prefer. 17455 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17456 *GNU* | *'with BFD'*) 17457 test "$with_gnu_ld" != no && break ;; 17458 *) 17459 test "$with_gnu_ld" != yes && break ;; 17460 esac 17461 fi 17462 done 17463 IFS="$ac_save_ifs" 17464else 17465 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17466fi 17467fi 17468 17469LD="$acl_cv_path_LD" 17470if test -n "$LD"; then 17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17472$as_echo "$LD" >&6; } 17473else 17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17475$as_echo "no" >&6; } 17476fi 17477test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17479$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17480if ${acl_cv_prog_gnu_ld+:} false; then : 17481 $as_echo_n "(cached) " >&6 17482else 17483 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17484case `$LD -v 2>&1 </dev/null` in 17485*GNU* | *'with BFD'*) 17486 acl_cv_prog_gnu_ld=yes ;; 17487*) 17488 acl_cv_prog_gnu_ld=no ;; 17489esac 17490fi 17491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17492$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17493with_gnu_ld=$acl_cv_prog_gnu_ld 17494 17495 17496 17497 17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17499$as_echo_n "checking for shared library run path origin... " >&6; } 17500if ${acl_cv_rpath+:} false; then : 17501 $as_echo_n "(cached) " >&6 17502else 17503 17504 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17505 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17506 . ./conftest.sh 17507 rm -f ./conftest.sh 17508 acl_cv_rpath=done 17509 17510fi 17511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17512$as_echo "$acl_cv_rpath" >&6; } 17513 wl="$acl_cv_wl" 17514 acl_libext="$acl_cv_libext" 17515 acl_shlibext="$acl_cv_shlibext" 17516 acl_libname_spec="$acl_cv_libname_spec" 17517 acl_library_names_spec="$acl_cv_library_names_spec" 17518 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17519 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17520 acl_hardcode_direct="$acl_cv_hardcode_direct" 17521 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17522 # Check whether --enable-rpath was given. 17523if test "${enable_rpath+set}" = set; then : 17524 enableval=$enable_rpath; : 17525else 17526 enable_rpath=yes 17527fi 17528 17529 17530 17531 17532 acl_libdirstem=lib 17533 acl_libdirstem2= 17534 case "$host_os" in 17535 solaris*) 17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17537$as_echo_n "checking for 64-bit host... " >&6; } 17538if ${gl_cv_solaris_64bit+:} false; then : 17539 $as_echo_n "(cached) " >&6 17540else 17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17542/* end confdefs.h. */ 17543 17544#ifdef _LP64 17545sixtyfour bits 17546#endif 17547 17548_ACEOF 17549if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17550 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17551 gl_cv_solaris_64bit=yes 17552else 17553 gl_cv_solaris_64bit=no 17554fi 17555rm -f conftest* 17556 17557 17558fi 17559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17560$as_echo "$gl_cv_solaris_64bit" >&6; } 17561 if test $gl_cv_solaris_64bit = yes; then 17562 acl_libdirstem=lib/64 17563 case "$host_cpu" in 17564 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17565 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17566 esac 17567 fi 17568 ;; 17569 *) 17570 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17571 if test -n "$searchpath"; then 17572 acl_save_IFS="${IFS= }"; IFS=":" 17573 for searchdir in $searchpath; do 17574 if test -d "$searchdir"; then 17575 case "$searchdir" in 17576 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17577 */../ | */.. ) 17578 # Better ignore directories of this form. They are misleading. 17579 ;; 17580 *) searchdir=`cd "$searchdir" && pwd` 17581 case "$searchdir" in 17582 */lib64 ) acl_libdirstem=lib64 ;; 17583 esac ;; 17584 esac 17585 fi 17586 done 17587 IFS="$acl_save_IFS" 17588 fi 17589 ;; 17590 esac 17591 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 use_additional=yes 17605 17606 acl_save_prefix="$prefix" 17607 prefix="$acl_final_prefix" 17608 acl_save_exec_prefix="$exec_prefix" 17609 exec_prefix="$acl_final_exec_prefix" 17610 17611 eval additional_includedir=\"$includedir\" 17612 eval additional_libdir=\"$libdir\" 17613 17614 exec_prefix="$acl_save_exec_prefix" 17615 prefix="$acl_save_prefix" 17616 17617 17618# Check whether --with-libiconv-prefix was given. 17619if test "${with_libiconv_prefix+set}" = set; then : 17620 withval=$with_libiconv_prefix; 17621 if test "X$withval" = "Xno"; then 17622 use_additional=no 17623 else 17624 if test "X$withval" = "X"; then 17625 17626 acl_save_prefix="$prefix" 17627 prefix="$acl_final_prefix" 17628 acl_save_exec_prefix="$exec_prefix" 17629 exec_prefix="$acl_final_exec_prefix" 17630 17631 eval additional_includedir=\"$includedir\" 17632 eval additional_libdir=\"$libdir\" 17633 17634 exec_prefix="$acl_save_exec_prefix" 17635 prefix="$acl_save_prefix" 17636 17637 else 17638 additional_includedir="$withval/include" 17639 additional_libdir="$withval/$acl_libdirstem" 17640 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17641 && ! test -d "$withval/$acl_libdirstem"; then 17642 additional_libdir="$withval/$acl_libdirstem2" 17643 fi 17644 fi 17645 fi 17646 17647fi 17648 17649 LIBICONV= 17650 LTLIBICONV= 17651 INCICONV= 17652 LIBICONV_PREFIX= 17653 HAVE_LIBICONV= 17654 rpathdirs= 17655 ltrpathdirs= 17656 names_already_handled= 17657 names_next_round='iconv ' 17658 while test -n "$names_next_round"; do 17659 names_this_round="$names_next_round" 17660 names_next_round= 17661 for name in $names_this_round; do 17662 already_handled= 17663 for n in $names_already_handled; do 17664 if test "$n" = "$name"; then 17665 already_handled=yes 17666 break 17667 fi 17668 done 17669 if test -z "$already_handled"; then 17670 names_already_handled="$names_already_handled $name" 17671 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17672 eval value=\"\$HAVE_LIB$uppername\" 17673 if test -n "$value"; then 17674 if test "$value" = yes; then 17675 eval value=\"\$LIB$uppername\" 17676 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17677 eval value=\"\$LTLIB$uppername\" 17678 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17679 else 17680 : 17681 fi 17682 else 17683 found_dir= 17684 found_la= 17685 found_so= 17686 found_a= 17687 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17688 if test -n "$acl_shlibext"; then 17689 shrext=".$acl_shlibext" # typically: shrext=.so 17690 else 17691 shrext= 17692 fi 17693 if test $use_additional = yes; then 17694 dir="$additional_libdir" 17695 if test -n "$acl_shlibext"; then 17696 if test -f "$dir/$libname$shrext"; then 17697 found_dir="$dir" 17698 found_so="$dir/$libname$shrext" 17699 else 17700 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17701 ver=`(cd "$dir" && \ 17702 for f in "$libname$shrext".*; do echo "$f"; done \ 17703 | sed -e "s,^$libname$shrext\\\\.,," \ 17704 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17705 | sed 1q ) 2>/dev/null` 17706 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17707 found_dir="$dir" 17708 found_so="$dir/$libname$shrext.$ver" 17709 fi 17710 else 17711 eval library_names=\"$acl_library_names_spec\" 17712 for f in $library_names; do 17713 if test -f "$dir/$f"; then 17714 found_dir="$dir" 17715 found_so="$dir/$f" 17716 break 17717 fi 17718 done 17719 fi 17720 fi 17721 fi 17722 if test "X$found_dir" = "X"; then 17723 if test -f "$dir/$libname.$acl_libext"; then 17724 found_dir="$dir" 17725 found_a="$dir/$libname.$acl_libext" 17726 fi 17727 fi 17728 if test "X$found_dir" != "X"; then 17729 if test -f "$dir/$libname.la"; then 17730 found_la="$dir/$libname.la" 17731 fi 17732 fi 17733 fi 17734 if test "X$found_dir" = "X"; then 17735 for x in $LDFLAGS $LTLIBICONV; do 17736 17737 acl_save_prefix="$prefix" 17738 prefix="$acl_final_prefix" 17739 acl_save_exec_prefix="$exec_prefix" 17740 exec_prefix="$acl_final_exec_prefix" 17741 eval x=\"$x\" 17742 exec_prefix="$acl_save_exec_prefix" 17743 prefix="$acl_save_prefix" 17744 17745 case "$x" in 17746 -L*) 17747 dir=`echo "X$x" | sed -e 's/^X-L//'` 17748 if test -n "$acl_shlibext"; then 17749 if test -f "$dir/$libname$shrext"; then 17750 found_dir="$dir" 17751 found_so="$dir/$libname$shrext" 17752 else 17753 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17754 ver=`(cd "$dir" && \ 17755 for f in "$libname$shrext".*; do echo "$f"; done \ 17756 | sed -e "s,^$libname$shrext\\\\.,," \ 17757 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17758 | sed 1q ) 2>/dev/null` 17759 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17760 found_dir="$dir" 17761 found_so="$dir/$libname$shrext.$ver" 17762 fi 17763 else 17764 eval library_names=\"$acl_library_names_spec\" 17765 for f in $library_names; do 17766 if test -f "$dir/$f"; then 17767 found_dir="$dir" 17768 found_so="$dir/$f" 17769 break 17770 fi 17771 done 17772 fi 17773 fi 17774 fi 17775 if test "X$found_dir" = "X"; then 17776 if test -f "$dir/$libname.$acl_libext"; then 17777 found_dir="$dir" 17778 found_a="$dir/$libname.$acl_libext" 17779 fi 17780 fi 17781 if test "X$found_dir" != "X"; then 17782 if test -f "$dir/$libname.la"; then 17783 found_la="$dir/$libname.la" 17784 fi 17785 fi 17786 ;; 17787 esac 17788 if test "X$found_dir" != "X"; then 17789 break 17790 fi 17791 done 17792 fi 17793 if test "X$found_dir" != "X"; then 17794 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17795 if test "X$found_so" != "X"; then 17796 if test "$enable_rpath" = no \ 17797 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17798 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17799 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17800 else 17801 haveit= 17802 for x in $ltrpathdirs; do 17803 if test "X$x" = "X$found_dir"; then 17804 haveit=yes 17805 break 17806 fi 17807 done 17808 if test -z "$haveit"; then 17809 ltrpathdirs="$ltrpathdirs $found_dir" 17810 fi 17811 if test "$acl_hardcode_direct" = yes; then 17812 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17813 else 17814 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17815 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17816 haveit= 17817 for x in $rpathdirs; do 17818 if test "X$x" = "X$found_dir"; then 17819 haveit=yes 17820 break 17821 fi 17822 done 17823 if test -z "$haveit"; then 17824 rpathdirs="$rpathdirs $found_dir" 17825 fi 17826 else 17827 haveit= 17828 for x in $LDFLAGS $LIBICONV; do 17829 17830 acl_save_prefix="$prefix" 17831 prefix="$acl_final_prefix" 17832 acl_save_exec_prefix="$exec_prefix" 17833 exec_prefix="$acl_final_exec_prefix" 17834 eval x=\"$x\" 17835 exec_prefix="$acl_save_exec_prefix" 17836 prefix="$acl_save_prefix" 17837 17838 if test "X$x" = "X-L$found_dir"; then 17839 haveit=yes 17840 break 17841 fi 17842 done 17843 if test -z "$haveit"; then 17844 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17845 fi 17846 if test "$acl_hardcode_minus_L" != no; then 17847 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17848 else 17849 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17850 fi 17851 fi 17852 fi 17853 fi 17854 else 17855 if test "X$found_a" != "X"; then 17856 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17857 else 17858 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17859 fi 17860 fi 17861 additional_includedir= 17862 case "$found_dir" in 17863 */$acl_libdirstem | */$acl_libdirstem/) 17864 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17865 if test "$name" = 'iconv'; then 17866 LIBICONV_PREFIX="$basedir" 17867 fi 17868 additional_includedir="$basedir/include" 17869 ;; 17870 */$acl_libdirstem2 | */$acl_libdirstem2/) 17871 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17872 if test "$name" = 'iconv'; then 17873 LIBICONV_PREFIX="$basedir" 17874 fi 17875 additional_includedir="$basedir/include" 17876 ;; 17877 esac 17878 if test "X$additional_includedir" != "X"; then 17879 if test "X$additional_includedir" != "X/usr/include"; then 17880 haveit= 17881 if test "X$additional_includedir" = "X/usr/local/include"; then 17882 if test -n "$GCC"; then 17883 case $host_os in 17884 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17885 esac 17886 fi 17887 fi 17888 if test -z "$haveit"; then 17889 for x in $CPPFLAGS $INCICONV; do 17890 17891 acl_save_prefix="$prefix" 17892 prefix="$acl_final_prefix" 17893 acl_save_exec_prefix="$exec_prefix" 17894 exec_prefix="$acl_final_exec_prefix" 17895 eval x=\"$x\" 17896 exec_prefix="$acl_save_exec_prefix" 17897 prefix="$acl_save_prefix" 17898 17899 if test "X$x" = "X-I$additional_includedir"; then 17900 haveit=yes 17901 break 17902 fi 17903 done 17904 if test -z "$haveit"; then 17905 if test -d "$additional_includedir"; then 17906 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17907 fi 17908 fi 17909 fi 17910 fi 17911 fi 17912 if test -n "$found_la"; then 17913 save_libdir="$libdir" 17914 case "$found_la" in 17915 */* | *\\*) . "$found_la" ;; 17916 *) . "./$found_la" ;; 17917 esac 17918 libdir="$save_libdir" 17919 for dep in $dependency_libs; do 17920 case "$dep" in 17921 -L*) 17922 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17923 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17924 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17925 haveit= 17926 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17927 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17928 if test -n "$GCC"; then 17929 case $host_os in 17930 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17931 esac 17932 fi 17933 fi 17934 if test -z "$haveit"; then 17935 haveit= 17936 for x in $LDFLAGS $LIBICONV; do 17937 17938 acl_save_prefix="$prefix" 17939 prefix="$acl_final_prefix" 17940 acl_save_exec_prefix="$exec_prefix" 17941 exec_prefix="$acl_final_exec_prefix" 17942 eval x=\"$x\" 17943 exec_prefix="$acl_save_exec_prefix" 17944 prefix="$acl_save_prefix" 17945 17946 if test "X$x" = "X-L$additional_libdir"; then 17947 haveit=yes 17948 break 17949 fi 17950 done 17951 if test -z "$haveit"; then 17952 if test -d "$additional_libdir"; then 17953 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17954 fi 17955 fi 17956 haveit= 17957 for x in $LDFLAGS $LTLIBICONV; do 17958 17959 acl_save_prefix="$prefix" 17960 prefix="$acl_final_prefix" 17961 acl_save_exec_prefix="$exec_prefix" 17962 exec_prefix="$acl_final_exec_prefix" 17963 eval x=\"$x\" 17964 exec_prefix="$acl_save_exec_prefix" 17965 prefix="$acl_save_prefix" 17966 17967 if test "X$x" = "X-L$additional_libdir"; then 17968 haveit=yes 17969 break 17970 fi 17971 done 17972 if test -z "$haveit"; then 17973 if test -d "$additional_libdir"; then 17974 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17975 fi 17976 fi 17977 fi 17978 fi 17979 ;; 17980 -R*) 17981 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17982 if test "$enable_rpath" != no; then 17983 haveit= 17984 for x in $rpathdirs; do 17985 if test "X$x" = "X$dir"; then 17986 haveit=yes 17987 break 17988 fi 17989 done 17990 if test -z "$haveit"; then 17991 rpathdirs="$rpathdirs $dir" 17992 fi 17993 haveit= 17994 for x in $ltrpathdirs; do 17995 if test "X$x" = "X$dir"; then 17996 haveit=yes 17997 break 17998 fi 17999 done 18000 if test -z "$haveit"; then 18001 ltrpathdirs="$ltrpathdirs $dir" 18002 fi 18003 fi 18004 ;; 18005 -l*) 18006 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18007 ;; 18008 *.la) 18009 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18010 ;; 18011 *) 18012 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 18013 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 18014 ;; 18015 esac 18016 done 18017 fi 18018 else 18019 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 18020 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 18021 fi 18022 fi 18023 fi 18024 done 18025 done 18026 if test "X$rpathdirs" != "X"; then 18027 if test -n "$acl_hardcode_libdir_separator"; then 18028 alldirs= 18029 for found_dir in $rpathdirs; do 18030 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18031 done 18032 acl_save_libdir="$libdir" 18033 libdir="$alldirs" 18034 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18035 libdir="$acl_save_libdir" 18036 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18037 else 18038 for found_dir in $rpathdirs; do 18039 acl_save_libdir="$libdir" 18040 libdir="$found_dir" 18041 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18042 libdir="$acl_save_libdir" 18043 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18044 done 18045 fi 18046 fi 18047 if test "X$ltrpathdirs" != "X"; then 18048 for found_dir in $ltrpathdirs; do 18049 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18050 done 18051 fi 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18084$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18085if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18086 $as_echo_n "(cached) " >&6 18087else 18088 gt_save_LIBS="$LIBS" 18089 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18091/* end confdefs.h. */ 18092#include <CoreFoundation/CFPreferences.h> 18093int 18094main () 18095{ 18096CFPreferencesCopyAppValue(NULL, NULL) 18097 ; 18098 return 0; 18099} 18100_ACEOF 18101if ac_fn_c_try_link "$LINENO"; then : 18102 gt_cv_func_CFPreferencesCopyAppValue=yes 18103else 18104 gt_cv_func_CFPreferencesCopyAppValue=no 18105fi 18106rm -f core conftest.err conftest.$ac_objext \ 18107 conftest$ac_exeext conftest.$ac_ext 18108 LIBS="$gt_save_LIBS" 18109fi 18110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18111$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18112 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18113 18114$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18115 18116 fi 18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18118$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18119if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18120 $as_echo_n "(cached) " >&6 18121else 18122 gt_save_LIBS="$LIBS" 18123 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18125/* end confdefs.h. */ 18126#include <CoreFoundation/CFLocale.h> 18127int 18128main () 18129{ 18130CFLocaleCopyCurrent(); 18131 ; 18132 return 0; 18133} 18134_ACEOF 18135if ac_fn_c_try_link "$LINENO"; then : 18136 gt_cv_func_CFLocaleCopyCurrent=yes 18137else 18138 gt_cv_func_CFLocaleCopyCurrent=no 18139fi 18140rm -f core conftest.err conftest.$ac_objext \ 18141 conftest$ac_exeext conftest.$ac_ext 18142 LIBS="$gt_save_LIBS" 18143fi 18144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18145$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18146 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18147 18148$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18149 18150 fi 18151 INTL_MACOSX_LIBS= 18152 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18153 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18154 fi 18155 18156 18157 18158 18159 18160 18161 LIBINTL= 18162 LTLIBINTL= 18163 POSUB= 18164 18165 case " $gt_needs " in 18166 *" need-formatstring-macros "*) gt_api_version=3 ;; 18167 *" need-ngettext "*) gt_api_version=2 ;; 18168 *) gt_api_version=1 ;; 18169 esac 18170 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18171 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18172 18173 if test "$USE_NLS" = "yes"; then 18174 gt_use_preinstalled_gnugettext=no 18175 18176 18177 if test $gt_api_version -ge 3; then 18178 gt_revision_test_code=' 18179#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18180#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18181#endif 18182typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18183' 18184 else 18185 gt_revision_test_code= 18186 fi 18187 if test $gt_api_version -ge 2; then 18188 gt_expression_test_code=' + * ngettext ("", "", 0)' 18189 else 18190 gt_expression_test_code= 18191 fi 18192 18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18194$as_echo_n "checking for GNU gettext in libc... " >&6; } 18195if eval \${$gt_func_gnugettext_libc+:} false; then : 18196 $as_echo_n "(cached) " >&6 18197else 18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18199/* end confdefs.h. */ 18200#include <libintl.h> 18201$gt_revision_test_code 18202extern int _nl_msg_cat_cntr; 18203extern int *_nl_domain_bindings; 18204int 18205main () 18206{ 18207bindtextdomain ("", ""); 18208return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18209 ; 18210 return 0; 18211} 18212_ACEOF 18213if ac_fn_c_try_link "$LINENO"; then : 18214 eval "$gt_func_gnugettext_libc=yes" 18215else 18216 eval "$gt_func_gnugettext_libc=no" 18217fi 18218rm -f core conftest.err conftest.$ac_objext \ 18219 conftest$ac_exeext conftest.$ac_ext 18220fi 18221eval ac_res=\$$gt_func_gnugettext_libc 18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18223$as_echo "$ac_res" >&6; } 18224 18225 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18226 18227 18228 18229 18230 18231 am_save_CPPFLAGS="$CPPFLAGS" 18232 18233 for element in $INCICONV; do 18234 haveit= 18235 for x in $CPPFLAGS; do 18236 18237 acl_save_prefix="$prefix" 18238 prefix="$acl_final_prefix" 18239 acl_save_exec_prefix="$exec_prefix" 18240 exec_prefix="$acl_final_exec_prefix" 18241 eval x=\"$x\" 18242 exec_prefix="$acl_save_exec_prefix" 18243 prefix="$acl_save_prefix" 18244 18245 if test "X$x" = "X$element"; then 18246 haveit=yes 18247 break 18248 fi 18249 done 18250 if test -z "$haveit"; then 18251 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18252 fi 18253 done 18254 18255 18256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18257$as_echo_n "checking for iconv... " >&6; } 18258if ${am_cv_func_iconv+:} false; then : 18259 $as_echo_n "(cached) " >&6 18260else 18261 18262 am_cv_func_iconv="no, consider installing GNU libiconv" 18263 am_cv_lib_iconv=no 18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18265/* end confdefs.h. */ 18266#include <stdlib.h> 18267#include <iconv.h> 18268int 18269main () 18270{ 18271iconv_t cd = iconv_open("",""); 18272 iconv(cd,NULL,NULL,NULL,NULL); 18273 iconv_close(cd); 18274 ; 18275 return 0; 18276} 18277_ACEOF 18278if ac_fn_c_try_link "$LINENO"; then : 18279 am_cv_func_iconv=yes 18280fi 18281rm -f core conftest.err conftest.$ac_objext \ 18282 conftest$ac_exeext conftest.$ac_ext 18283 if test "$am_cv_func_iconv" != yes; then 18284 am_save_LIBS="$LIBS" 18285 LIBS="$LIBS $LIBICONV" 18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18287/* end confdefs.h. */ 18288#include <stdlib.h> 18289#include <iconv.h> 18290int 18291main () 18292{ 18293iconv_t cd = iconv_open("",""); 18294 iconv(cd,NULL,NULL,NULL,NULL); 18295 iconv_close(cd); 18296 ; 18297 return 0; 18298} 18299_ACEOF 18300if ac_fn_c_try_link "$LINENO"; then : 18301 am_cv_lib_iconv=yes 18302 am_cv_func_iconv=yes 18303fi 18304rm -f core conftest.err conftest.$ac_objext \ 18305 conftest$ac_exeext conftest.$ac_ext 18306 LIBS="$am_save_LIBS" 18307 fi 18308 18309fi 18310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18311$as_echo "$am_cv_func_iconv" >&6; } 18312 if test "$am_cv_func_iconv" = yes; then 18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18314$as_echo_n "checking for working iconv... " >&6; } 18315if ${am_cv_func_iconv_works+:} false; then : 18316 $as_echo_n "(cached) " >&6 18317else 18318 18319 am_save_LIBS="$LIBS" 18320 if test $am_cv_lib_iconv = yes; then 18321 LIBS="$LIBS $LIBICONV" 18322 fi 18323 if test "$cross_compiling" = yes; then : 18324 case "$host_os" in 18325 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18326 *) am_cv_func_iconv_works="guessing yes" ;; 18327 esac 18328else 18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18330/* end confdefs.h. */ 18331 18332#include <iconv.h> 18333#include <string.h> 18334int main () 18335{ 18336 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18337 returns. */ 18338 { 18339 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18340 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18341 { 18342 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18343 char buf[10]; 18344 const char *inptr = input; 18345 size_t inbytesleft = strlen (input); 18346 char *outptr = buf; 18347 size_t outbytesleft = sizeof (buf); 18348 size_t res = iconv (cd_utf8_to_88591, 18349 (char **) &inptr, &inbytesleft, 18350 &outptr, &outbytesleft); 18351 if (res == 0) 18352 return 1; 18353 } 18354 } 18355 /* Test against Solaris 10 bug: Failures are not distinguishable from 18356 successful returns. */ 18357 { 18358 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18359 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18360 { 18361 static const char input[] = "\263"; 18362 char buf[10]; 18363 const char *inptr = input; 18364 size_t inbytesleft = strlen (input); 18365 char *outptr = buf; 18366 size_t outbytesleft = sizeof (buf); 18367 size_t res = iconv (cd_ascii_to_88591, 18368 (char **) &inptr, &inbytesleft, 18369 &outptr, &outbytesleft); 18370 if (res == 0) 18371 return 1; 18372 } 18373 } 18374#if 0 /* This bug could be worked around by the caller. */ 18375 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18376 { 18377 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18378 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18379 { 18380 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18381 char buf[50]; 18382 const char *inptr = input; 18383 size_t inbytesleft = strlen (input); 18384 char *outptr = buf; 18385 size_t outbytesleft = sizeof (buf); 18386 size_t res = iconv (cd_88591_to_utf8, 18387 (char **) &inptr, &inbytesleft, 18388 &outptr, &outbytesleft); 18389 if ((int)res > 0) 18390 return 1; 18391 } 18392 } 18393#endif 18394 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18395 provided. */ 18396 if (/* Try standardized names. */ 18397 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18398 /* Try IRIX, OSF/1 names. */ 18399 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18400 /* Try AIX names. */ 18401 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18402 /* Try HP-UX names. */ 18403 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18404 return 1; 18405 return 0; 18406} 18407_ACEOF 18408if ac_fn_c_try_run "$LINENO"; then : 18409 am_cv_func_iconv_works=yes 18410else 18411 am_cv_func_iconv_works=no 18412fi 18413rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18414 conftest.$ac_objext conftest.beam conftest.$ac_ext 18415fi 18416 18417 LIBS="$am_save_LIBS" 18418 18419fi 18420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18421$as_echo "$am_cv_func_iconv_works" >&6; } 18422 case "$am_cv_func_iconv_works" in 18423 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18424 *) am_func_iconv=yes ;; 18425 esac 18426 else 18427 am_func_iconv=no am_cv_lib_iconv=no 18428 fi 18429 if test "$am_func_iconv" = yes; then 18430 18431$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18432 18433 fi 18434 if test "$am_cv_lib_iconv" = yes; then 18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18436$as_echo_n "checking how to link with libiconv... " >&6; } 18437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18438$as_echo "$LIBICONV" >&6; } 18439 else 18440 CPPFLAGS="$am_save_CPPFLAGS" 18441 LIBICONV= 18442 LTLIBICONV= 18443 fi 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 use_additional=yes 18456 18457 acl_save_prefix="$prefix" 18458 prefix="$acl_final_prefix" 18459 acl_save_exec_prefix="$exec_prefix" 18460 exec_prefix="$acl_final_exec_prefix" 18461 18462 eval additional_includedir=\"$includedir\" 18463 eval additional_libdir=\"$libdir\" 18464 18465 exec_prefix="$acl_save_exec_prefix" 18466 prefix="$acl_save_prefix" 18467 18468 18469# Check whether --with-libintl-prefix was given. 18470if test "${with_libintl_prefix+set}" = set; then : 18471 withval=$with_libintl_prefix; 18472 if test "X$withval" = "Xno"; then 18473 use_additional=no 18474 else 18475 if test "X$withval" = "X"; then 18476 18477 acl_save_prefix="$prefix" 18478 prefix="$acl_final_prefix" 18479 acl_save_exec_prefix="$exec_prefix" 18480 exec_prefix="$acl_final_exec_prefix" 18481 18482 eval additional_includedir=\"$includedir\" 18483 eval additional_libdir=\"$libdir\" 18484 18485 exec_prefix="$acl_save_exec_prefix" 18486 prefix="$acl_save_prefix" 18487 18488 else 18489 additional_includedir="$withval/include" 18490 additional_libdir="$withval/$acl_libdirstem" 18491 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18492 && ! test -d "$withval/$acl_libdirstem"; then 18493 additional_libdir="$withval/$acl_libdirstem2" 18494 fi 18495 fi 18496 fi 18497 18498fi 18499 18500 LIBINTL= 18501 LTLIBINTL= 18502 INCINTL= 18503 LIBINTL_PREFIX= 18504 HAVE_LIBINTL= 18505 rpathdirs= 18506 ltrpathdirs= 18507 names_already_handled= 18508 names_next_round='intl ' 18509 while test -n "$names_next_round"; do 18510 names_this_round="$names_next_round" 18511 names_next_round= 18512 for name in $names_this_round; do 18513 already_handled= 18514 for n in $names_already_handled; do 18515 if test "$n" = "$name"; then 18516 already_handled=yes 18517 break 18518 fi 18519 done 18520 if test -z "$already_handled"; then 18521 names_already_handled="$names_already_handled $name" 18522 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18523 eval value=\"\$HAVE_LIB$uppername\" 18524 if test -n "$value"; then 18525 if test "$value" = yes; then 18526 eval value=\"\$LIB$uppername\" 18527 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18528 eval value=\"\$LTLIB$uppername\" 18529 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18530 else 18531 : 18532 fi 18533 else 18534 found_dir= 18535 found_la= 18536 found_so= 18537 found_a= 18538 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18539 if test -n "$acl_shlibext"; then 18540 shrext=".$acl_shlibext" # typically: shrext=.so 18541 else 18542 shrext= 18543 fi 18544 if test $use_additional = yes; then 18545 dir="$additional_libdir" 18546 if test -n "$acl_shlibext"; then 18547 if test -f "$dir/$libname$shrext"; then 18548 found_dir="$dir" 18549 found_so="$dir/$libname$shrext" 18550 else 18551 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18552 ver=`(cd "$dir" && \ 18553 for f in "$libname$shrext".*; do echo "$f"; done \ 18554 | sed -e "s,^$libname$shrext\\\\.,," \ 18555 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18556 | sed 1q ) 2>/dev/null` 18557 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18558 found_dir="$dir" 18559 found_so="$dir/$libname$shrext.$ver" 18560 fi 18561 else 18562 eval library_names=\"$acl_library_names_spec\" 18563 for f in $library_names; do 18564 if test -f "$dir/$f"; then 18565 found_dir="$dir" 18566 found_so="$dir/$f" 18567 break 18568 fi 18569 done 18570 fi 18571 fi 18572 fi 18573 if test "X$found_dir" = "X"; then 18574 if test -f "$dir/$libname.$acl_libext"; then 18575 found_dir="$dir" 18576 found_a="$dir/$libname.$acl_libext" 18577 fi 18578 fi 18579 if test "X$found_dir" != "X"; then 18580 if test -f "$dir/$libname.la"; then 18581 found_la="$dir/$libname.la" 18582 fi 18583 fi 18584 fi 18585 if test "X$found_dir" = "X"; then 18586 for x in $LDFLAGS $LTLIBINTL; do 18587 18588 acl_save_prefix="$prefix" 18589 prefix="$acl_final_prefix" 18590 acl_save_exec_prefix="$exec_prefix" 18591 exec_prefix="$acl_final_exec_prefix" 18592 eval x=\"$x\" 18593 exec_prefix="$acl_save_exec_prefix" 18594 prefix="$acl_save_prefix" 18595 18596 case "$x" in 18597 -L*) 18598 dir=`echo "X$x" | sed -e 's/^X-L//'` 18599 if test -n "$acl_shlibext"; then 18600 if test -f "$dir/$libname$shrext"; then 18601 found_dir="$dir" 18602 found_so="$dir/$libname$shrext" 18603 else 18604 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18605 ver=`(cd "$dir" && \ 18606 for f in "$libname$shrext".*; do echo "$f"; done \ 18607 | sed -e "s,^$libname$shrext\\\\.,," \ 18608 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18609 | sed 1q ) 2>/dev/null` 18610 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18611 found_dir="$dir" 18612 found_so="$dir/$libname$shrext.$ver" 18613 fi 18614 else 18615 eval library_names=\"$acl_library_names_spec\" 18616 for f in $library_names; do 18617 if test -f "$dir/$f"; then 18618 found_dir="$dir" 18619 found_so="$dir/$f" 18620 break 18621 fi 18622 done 18623 fi 18624 fi 18625 fi 18626 if test "X$found_dir" = "X"; then 18627 if test -f "$dir/$libname.$acl_libext"; then 18628 found_dir="$dir" 18629 found_a="$dir/$libname.$acl_libext" 18630 fi 18631 fi 18632 if test "X$found_dir" != "X"; then 18633 if test -f "$dir/$libname.la"; then 18634 found_la="$dir/$libname.la" 18635 fi 18636 fi 18637 ;; 18638 esac 18639 if test "X$found_dir" != "X"; then 18640 break 18641 fi 18642 done 18643 fi 18644 if test "X$found_dir" != "X"; then 18645 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18646 if test "X$found_so" != "X"; then 18647 if test "$enable_rpath" = no \ 18648 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18649 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18650 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18651 else 18652 haveit= 18653 for x in $ltrpathdirs; do 18654 if test "X$x" = "X$found_dir"; then 18655 haveit=yes 18656 break 18657 fi 18658 done 18659 if test -z "$haveit"; then 18660 ltrpathdirs="$ltrpathdirs $found_dir" 18661 fi 18662 if test "$acl_hardcode_direct" = yes; then 18663 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18664 else 18665 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18666 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18667 haveit= 18668 for x in $rpathdirs; do 18669 if test "X$x" = "X$found_dir"; then 18670 haveit=yes 18671 break 18672 fi 18673 done 18674 if test -z "$haveit"; then 18675 rpathdirs="$rpathdirs $found_dir" 18676 fi 18677 else 18678 haveit= 18679 for x in $LDFLAGS $LIBINTL; do 18680 18681 acl_save_prefix="$prefix" 18682 prefix="$acl_final_prefix" 18683 acl_save_exec_prefix="$exec_prefix" 18684 exec_prefix="$acl_final_exec_prefix" 18685 eval x=\"$x\" 18686 exec_prefix="$acl_save_exec_prefix" 18687 prefix="$acl_save_prefix" 18688 18689 if test "X$x" = "X-L$found_dir"; then 18690 haveit=yes 18691 break 18692 fi 18693 done 18694 if test -z "$haveit"; then 18695 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18696 fi 18697 if test "$acl_hardcode_minus_L" != no; then 18698 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18699 else 18700 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18701 fi 18702 fi 18703 fi 18704 fi 18705 else 18706 if test "X$found_a" != "X"; then 18707 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18708 else 18709 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18710 fi 18711 fi 18712 additional_includedir= 18713 case "$found_dir" in 18714 */$acl_libdirstem | */$acl_libdirstem/) 18715 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18716 if test "$name" = 'intl'; then 18717 LIBINTL_PREFIX="$basedir" 18718 fi 18719 additional_includedir="$basedir/include" 18720 ;; 18721 */$acl_libdirstem2 | */$acl_libdirstem2/) 18722 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18723 if test "$name" = 'intl'; then 18724 LIBINTL_PREFIX="$basedir" 18725 fi 18726 additional_includedir="$basedir/include" 18727 ;; 18728 esac 18729 if test "X$additional_includedir" != "X"; then 18730 if test "X$additional_includedir" != "X/usr/include"; then 18731 haveit= 18732 if test "X$additional_includedir" = "X/usr/local/include"; then 18733 if test -n "$GCC"; then 18734 case $host_os in 18735 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18736 esac 18737 fi 18738 fi 18739 if test -z "$haveit"; then 18740 for x in $CPPFLAGS $INCINTL; do 18741 18742 acl_save_prefix="$prefix" 18743 prefix="$acl_final_prefix" 18744 acl_save_exec_prefix="$exec_prefix" 18745 exec_prefix="$acl_final_exec_prefix" 18746 eval x=\"$x\" 18747 exec_prefix="$acl_save_exec_prefix" 18748 prefix="$acl_save_prefix" 18749 18750 if test "X$x" = "X-I$additional_includedir"; then 18751 haveit=yes 18752 break 18753 fi 18754 done 18755 if test -z "$haveit"; then 18756 if test -d "$additional_includedir"; then 18757 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18758 fi 18759 fi 18760 fi 18761 fi 18762 fi 18763 if test -n "$found_la"; then 18764 save_libdir="$libdir" 18765 case "$found_la" in 18766 */* | *\\*) . "$found_la" ;; 18767 *) . "./$found_la" ;; 18768 esac 18769 libdir="$save_libdir" 18770 for dep in $dependency_libs; do 18771 case "$dep" in 18772 -L*) 18773 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18774 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18775 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18776 haveit= 18777 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18778 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18779 if test -n "$GCC"; then 18780 case $host_os in 18781 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18782 esac 18783 fi 18784 fi 18785 if test -z "$haveit"; then 18786 haveit= 18787 for x in $LDFLAGS $LIBINTL; do 18788 18789 acl_save_prefix="$prefix" 18790 prefix="$acl_final_prefix" 18791 acl_save_exec_prefix="$exec_prefix" 18792 exec_prefix="$acl_final_exec_prefix" 18793 eval x=\"$x\" 18794 exec_prefix="$acl_save_exec_prefix" 18795 prefix="$acl_save_prefix" 18796 18797 if test "X$x" = "X-L$additional_libdir"; then 18798 haveit=yes 18799 break 18800 fi 18801 done 18802 if test -z "$haveit"; then 18803 if test -d "$additional_libdir"; then 18804 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18805 fi 18806 fi 18807 haveit= 18808 for x in $LDFLAGS $LTLIBINTL; do 18809 18810 acl_save_prefix="$prefix" 18811 prefix="$acl_final_prefix" 18812 acl_save_exec_prefix="$exec_prefix" 18813 exec_prefix="$acl_final_exec_prefix" 18814 eval x=\"$x\" 18815 exec_prefix="$acl_save_exec_prefix" 18816 prefix="$acl_save_prefix" 18817 18818 if test "X$x" = "X-L$additional_libdir"; then 18819 haveit=yes 18820 break 18821 fi 18822 done 18823 if test -z "$haveit"; then 18824 if test -d "$additional_libdir"; then 18825 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18826 fi 18827 fi 18828 fi 18829 fi 18830 ;; 18831 -R*) 18832 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18833 if test "$enable_rpath" != no; then 18834 haveit= 18835 for x in $rpathdirs; do 18836 if test "X$x" = "X$dir"; then 18837 haveit=yes 18838 break 18839 fi 18840 done 18841 if test -z "$haveit"; then 18842 rpathdirs="$rpathdirs $dir" 18843 fi 18844 haveit= 18845 for x in $ltrpathdirs; do 18846 if test "X$x" = "X$dir"; then 18847 haveit=yes 18848 break 18849 fi 18850 done 18851 if test -z "$haveit"; then 18852 ltrpathdirs="$ltrpathdirs $dir" 18853 fi 18854 fi 18855 ;; 18856 -l*) 18857 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18858 ;; 18859 *.la) 18860 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18861 ;; 18862 *) 18863 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18864 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18865 ;; 18866 esac 18867 done 18868 fi 18869 else 18870 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18871 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18872 fi 18873 fi 18874 fi 18875 done 18876 done 18877 if test "X$rpathdirs" != "X"; then 18878 if test -n "$acl_hardcode_libdir_separator"; then 18879 alldirs= 18880 for found_dir in $rpathdirs; do 18881 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18882 done 18883 acl_save_libdir="$libdir" 18884 libdir="$alldirs" 18885 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18886 libdir="$acl_save_libdir" 18887 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18888 else 18889 for found_dir in $rpathdirs; do 18890 acl_save_libdir="$libdir" 18891 libdir="$found_dir" 18892 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18893 libdir="$acl_save_libdir" 18894 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18895 done 18896 fi 18897 fi 18898 if test "X$ltrpathdirs" != "X"; then 18899 for found_dir in $ltrpathdirs; do 18900 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18901 done 18902 fi 18903 18904 18905 18906 18907 18908 18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18910$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18911if eval \${$gt_func_gnugettext_libintl+:} false; then : 18912 $as_echo_n "(cached) " >&6 18913else 18914 gt_save_CPPFLAGS="$CPPFLAGS" 18915 CPPFLAGS="$CPPFLAGS $INCINTL" 18916 gt_save_LIBS="$LIBS" 18917 LIBS="$LIBS $LIBINTL" 18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18919/* end confdefs.h. */ 18920#include <libintl.h> 18921$gt_revision_test_code 18922extern int _nl_msg_cat_cntr; 18923extern 18924#ifdef __cplusplus 18925"C" 18926#endif 18927const char *_nl_expand_alias (const char *); 18928int 18929main () 18930{ 18931bindtextdomain ("", ""); 18932return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18933 ; 18934 return 0; 18935} 18936_ACEOF 18937if ac_fn_c_try_link "$LINENO"; then : 18938 eval "$gt_func_gnugettext_libintl=yes" 18939else 18940 eval "$gt_func_gnugettext_libintl=no" 18941fi 18942rm -f core conftest.err conftest.$ac_objext \ 18943 conftest$ac_exeext conftest.$ac_ext 18944 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18945 LIBS="$LIBS $LIBICONV" 18946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18947/* end confdefs.h. */ 18948#include <libintl.h> 18949$gt_revision_test_code 18950extern int _nl_msg_cat_cntr; 18951extern 18952#ifdef __cplusplus 18953"C" 18954#endif 18955const char *_nl_expand_alias (const char *); 18956int 18957main () 18958{ 18959bindtextdomain ("", ""); 18960return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18961 ; 18962 return 0; 18963} 18964_ACEOF 18965if ac_fn_c_try_link "$LINENO"; then : 18966 LIBINTL="$LIBINTL $LIBICONV" 18967 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18968 eval "$gt_func_gnugettext_libintl=yes" 18969 18970fi 18971rm -f core conftest.err conftest.$ac_objext \ 18972 conftest$ac_exeext conftest.$ac_ext 18973 fi 18974 CPPFLAGS="$gt_save_CPPFLAGS" 18975 LIBS="$gt_save_LIBS" 18976fi 18977eval ac_res=\$$gt_func_gnugettext_libintl 18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18979$as_echo "$ac_res" >&6; } 18980 fi 18981 18982 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18983 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18984 && test "$PACKAGE" != gettext-runtime \ 18985 && test "$PACKAGE" != gettext-tools; }; then 18986 gt_use_preinstalled_gnugettext=yes 18987 else 18988 LIBINTL= 18989 LTLIBINTL= 18990 INCINTL= 18991 fi 18992 18993 18994 18995 if test -n "$INTL_MACOSX_LIBS"; then 18996 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18997 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18998 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 18999 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 19000 fi 19001 fi 19002 19003 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19004 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19005 19006$as_echo "#define ENABLE_NLS 1" >>confdefs.h 19007 19008 else 19009 USE_NLS=no 19010 fi 19011 fi 19012 19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 19014$as_echo_n "checking whether to use NLS... " >&6; } 19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 19016$as_echo "$USE_NLS" >&6; } 19017 if test "$USE_NLS" = "yes"; then 19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 19019$as_echo_n "checking where the gettext function comes from... " >&6; } 19020 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19021 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19022 gt_source="external libintl" 19023 else 19024 gt_source="libc" 19025 fi 19026 else 19027 gt_source="included intl directory" 19028 fi 19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 19030$as_echo "$gt_source" >&6; } 19031 fi 19032 19033 if test "$USE_NLS" = "yes"; then 19034 19035 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19036 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 19038$as_echo_n "checking how to link with libintl... " >&6; } 19039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 19040$as_echo "$LIBINTL" >&6; } 19041 19042 for element in $INCINTL; do 19043 haveit= 19044 for x in $CPPFLAGS; do 19045 19046 acl_save_prefix="$prefix" 19047 prefix="$acl_final_prefix" 19048 acl_save_exec_prefix="$exec_prefix" 19049 exec_prefix="$acl_final_exec_prefix" 19050 eval x=\"$x\" 19051 exec_prefix="$acl_save_exec_prefix" 19052 prefix="$acl_save_prefix" 19053 19054 if test "X$x" = "X$element"; then 19055 haveit=yes 19056 break 19057 fi 19058 done 19059 if test -z "$haveit"; then 19060 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19061 fi 19062 done 19063 19064 fi 19065 19066 19067$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19068 19069 19070$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19071 19072 fi 19073 19074 POSUB=po 19075 fi 19076 19077 19078 19079 INTLLIBS="$LIBINTL" 19080 19081 19082 19083 19084 19085 19086 19087 19088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19089$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19090if ${ac_cv_c_const+:} false; then : 19091 $as_echo_n "(cached) " >&6 19092else 19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19094/* end confdefs.h. */ 19095 19096int 19097main () 19098{ 19099 19100#ifndef __cplusplus 19101 /* Ultrix mips cc rejects this sort of thing. */ 19102 typedef int charset[2]; 19103 const charset cs = { 0, 0 }; 19104 /* SunOS 4.1.1 cc rejects this. */ 19105 char const *const *pcpcc; 19106 char **ppc; 19107 /* NEC SVR4.0.2 mips cc rejects this. */ 19108 struct point {int x, y;}; 19109 static struct point const zero = {0,0}; 19110 /* AIX XL C 1.02.0.0 rejects this. 19111 It does not let you subtract one const X* pointer from another in 19112 an arm of an if-expression whose if-part is not a constant 19113 expression */ 19114 const char *g = "string"; 19115 pcpcc = &g + (g ? g-g : 0); 19116 /* HPUX 7.0 cc rejects these. */ 19117 ++pcpcc; 19118 ppc = (char**) pcpcc; 19119 pcpcc = (char const *const *) ppc; 19120 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19121 char tx; 19122 char *t = &tx; 19123 char const *s = 0 ? (char *) 0 : (char const *) 0; 19124 19125 *t++ = 0; 19126 if (s) return 0; 19127 } 19128 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19129 int x[] = {25, 17}; 19130 const int *foo = &x[0]; 19131 ++foo; 19132 } 19133 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19134 typedef const int *iptr; 19135 iptr p = 0; 19136 ++p; 19137 } 19138 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19139 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19140 struct s { int j; const int *ap[3]; } bx; 19141 struct s *b = &bx; b->j = 5; 19142 } 19143 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19144 const int foo = 10; 19145 if (!foo) return 0; 19146 } 19147 return !cs[0] && !zero.x; 19148#endif 19149 19150 ; 19151 return 0; 19152} 19153_ACEOF 19154if ac_fn_c_try_compile "$LINENO"; then : 19155 ac_cv_c_const=yes 19156else 19157 ac_cv_c_const=no 19158fi 19159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19160fi 19161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19162$as_echo "$ac_cv_c_const" >&6; } 19163if test $ac_cv_c_const = no; then 19164 19165$as_echo "#define const /**/" >>confdefs.h 19166 19167fi 19168 19169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19170$as_echo_n "checking for working volatile... " >&6; } 19171if ${ac_cv_c_volatile+:} false; then : 19172 $as_echo_n "(cached) " >&6 19173else 19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19175/* end confdefs.h. */ 19176 19177int 19178main () 19179{ 19180 19181volatile int x; 19182int * volatile y = (int *) 0; 19183return !x && !y; 19184 ; 19185 return 0; 19186} 19187_ACEOF 19188if ac_fn_c_try_compile "$LINENO"; then : 19189 ac_cv_c_volatile=yes 19190else 19191 ac_cv_c_volatile=no 19192fi 19193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19194fi 19195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19196$as_echo "$ac_cv_c_volatile" >&6; } 19197if test $ac_cv_c_volatile = no; then 19198 19199$as_echo "#define volatile /**/" >>confdefs.h 19200 19201fi 19202 19203 19204# Check whether --enable-largefile was given. 19205if test "${enable_largefile+set}" = set; then : 19206 enableval=$enable_largefile; 19207fi 19208 19209if test "$enable_largefile" != no; then 19210 19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19212$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19213if ${ac_cv_sys_largefile_CC+:} false; then : 19214 $as_echo_n "(cached) " >&6 19215else 19216 ac_cv_sys_largefile_CC=no 19217 if test "$GCC" != yes; then 19218 ac_save_CC=$CC 19219 while :; do 19220 # IRIX 6.2 and later do not support large files by default, 19221 # so use the C compiler's -n32 option if that helps. 19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19223/* end confdefs.h. */ 19224#include <sys/types.h> 19225 /* Check that off_t can represent 2**63 - 1 correctly. 19226 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19227 since some C++ compilers masquerading as C compilers 19228 incorrectly reject 9223372036854775807. */ 19229#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19230 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19231 && LARGE_OFF_T % 2147483647 == 1) 19232 ? 1 : -1]; 19233int 19234main () 19235{ 19236 19237 ; 19238 return 0; 19239} 19240_ACEOF 19241 if ac_fn_c_try_compile "$LINENO"; then : 19242 break 19243fi 19244rm -f core conftest.err conftest.$ac_objext 19245 CC="$CC -n32" 19246 if ac_fn_c_try_compile "$LINENO"; then : 19247 ac_cv_sys_largefile_CC=' -n32'; break 19248fi 19249rm -f core conftest.err conftest.$ac_objext 19250 break 19251 done 19252 CC=$ac_save_CC 19253 rm -f conftest.$ac_ext 19254 fi 19255fi 19256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19257$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19258 if test "$ac_cv_sys_largefile_CC" != no; then 19259 CC=$CC$ac_cv_sys_largefile_CC 19260 fi 19261 19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19263$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19264if ${ac_cv_sys_file_offset_bits+:} false; then : 19265 $as_echo_n "(cached) " >&6 19266else 19267 while :; do 19268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19269/* end confdefs.h. */ 19270#include <sys/types.h> 19271 /* Check that off_t can represent 2**63 - 1 correctly. 19272 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19273 since some C++ compilers masquerading as C compilers 19274 incorrectly reject 9223372036854775807. */ 19275#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19276 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19277 && LARGE_OFF_T % 2147483647 == 1) 19278 ? 1 : -1]; 19279int 19280main () 19281{ 19282 19283 ; 19284 return 0; 19285} 19286_ACEOF 19287if ac_fn_c_try_compile "$LINENO"; then : 19288 ac_cv_sys_file_offset_bits=no; break 19289fi 19290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19292/* end confdefs.h. */ 19293#define _FILE_OFFSET_BITS 64 19294#include <sys/types.h> 19295 /* Check that off_t can represent 2**63 - 1 correctly. 19296 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19297 since some C++ compilers masquerading as C compilers 19298 incorrectly reject 9223372036854775807. */ 19299#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19300 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19301 && LARGE_OFF_T % 2147483647 == 1) 19302 ? 1 : -1]; 19303int 19304main () 19305{ 19306 19307 ; 19308 return 0; 19309} 19310_ACEOF 19311if ac_fn_c_try_compile "$LINENO"; then : 19312 ac_cv_sys_file_offset_bits=64; break 19313fi 19314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19315 ac_cv_sys_file_offset_bits=unknown 19316 break 19317done 19318fi 19319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19320$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19321case $ac_cv_sys_file_offset_bits in #( 19322 no | unknown) ;; 19323 *) 19324cat >>confdefs.h <<_ACEOF 19325#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19326_ACEOF 19327;; 19328esac 19329rm -rf conftest* 19330 if test $ac_cv_sys_file_offset_bits = unknown; then 19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19332$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19333if ${ac_cv_sys_large_files+:} false; then : 19334 $as_echo_n "(cached) " >&6 19335else 19336 while :; do 19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19338/* end confdefs.h. */ 19339#include <sys/types.h> 19340 /* Check that off_t can represent 2**63 - 1 correctly. 19341 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19342 since some C++ compilers masquerading as C compilers 19343 incorrectly reject 9223372036854775807. */ 19344#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19345 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19346 && LARGE_OFF_T % 2147483647 == 1) 19347 ? 1 : -1]; 19348int 19349main () 19350{ 19351 19352 ; 19353 return 0; 19354} 19355_ACEOF 19356if ac_fn_c_try_compile "$LINENO"; then : 19357 ac_cv_sys_large_files=no; break 19358fi 19359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19361/* end confdefs.h. */ 19362#define _LARGE_FILES 1 19363#include <sys/types.h> 19364 /* Check that off_t can represent 2**63 - 1 correctly. 19365 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19366 since some C++ compilers masquerading as C compilers 19367 incorrectly reject 9223372036854775807. */ 19368#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19369 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19370 && LARGE_OFF_T % 2147483647 == 1) 19371 ? 1 : -1]; 19372int 19373main () 19374{ 19375 19376 ; 19377 return 0; 19378} 19379_ACEOF 19380if ac_fn_c_try_compile "$LINENO"; then : 19381 ac_cv_sys_large_files=1; break 19382fi 19383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19384 ac_cv_sys_large_files=unknown 19385 break 19386done 19387fi 19388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19389$as_echo "$ac_cv_sys_large_files" >&6; } 19390case $ac_cv_sys_large_files in #( 19391 no | unknown) ;; 19392 *) 19393cat >>confdefs.h <<_ACEOF 19394#define _LARGE_FILES $ac_cv_sys_large_files 19395_ACEOF 19396;; 19397esac 19398rm -rf conftest* 19399 fi 19400 19401 19402fi 19403 19404 19405 19406 19407 # Check whether --enable-shared-libs was given. 19408if test "${enable_shared_libs+set}" = set; then : 19409 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19410else 19411 ac_cv_enable_shared_libs="yes" 19412fi 19413 19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19415$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19416if ${ac_cv_enable_shared_libs+:} false; then : 19417 $as_echo_n "(cached) " >&6 19418else 19419 ac_cv_enable_shared_libs="yes" 19420fi 19421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19422$as_echo "$ac_cv_enable_shared_libs" >&6; } 19423 19424 19425 19426 19427 # Check whether --enable-static-executables was given. 19428if test "${enable_static_executables+set}" = set; then : 19429 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19430else 19431 ac_cv_enable_static_executables=no 19432fi 19433 19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19435$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19436if ${ac_cv_enable_static_executables+:} false; then : 19437 $as_echo_n "(cached) " >&6 19438else 19439 ac_cv_enable_static_executables=no 19440fi 19441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19442$as_echo "$ac_cv_enable_static_executables" >&6; } 19443 19444 if test "x$ac_cv_enable_static_executables" != xno; then : 19445 STATIC_LDFLAGS="-all-static"; 19446 19447 19448 19449 ac_cv_enable_static_executables=yes 19450 enable_shared=no 19451fi 19452 19453 19454 19455 19456 # Check whether --enable-winapi was given. 19457if test "${enable_winapi+set}" = set; then : 19458 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19459else 19460 ac_cv_enable_winapi=auto-detect 19461fi 19462 19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19464$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19465if ${ac_cv_enable_winapi+:} false; then : 19466 $as_echo_n "(cached) " >&6 19467else 19468 ac_cv_enable_winapi=auto-detect 19469fi 19470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19471$as_echo "$ac_cv_enable_winapi" >&6; } 19472 19473 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19474 ac_common_check_winapi_target_string="$target" 19475 19476 if test "x$ac_common_check_winapi_target_string" = x; then : 19477 ac_common_check_winapi_target_string="$host" 19478fi 19479 19480 case $ac_common_check_winapi_target_string in #( 19481 *mingw*) : 19482 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19483$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19484 ac_cv_enable_winapi=yes ;; #( 19485 *msys*) : 19486 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19487$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19488 ac_cv_enable_winapi=yes ;; #( 19489 *) : 19490 ac_cv_enable_winapi=no ;; #( 19491 *) : 19492 ;; 19493esac 19494 19495fi 19496 19497 19498 19499 19500 # Check whether --enable-wide-character-type was given. 19501if test "${enable_wide_character_type+set}" = set; then : 19502 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19503else 19504 ac_cv_enable_wide_character_type=no 19505fi 19506 19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19508$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19509if ${ac_cv_enable_wide_character_type+:} false; then : 19510 $as_echo_n "(cached) " >&6 19511else 19512 ac_cv_enable_wide_character_type=no 19513fi 19514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19515$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19516 19517 19518 19519 19520 # Check whether --enable-verbose-output was given. 19521if test "${enable_verbose_output+set}" = set; then : 19522 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19523else 19524 ac_cv_enable_verbose_output=no 19525fi 19526 19527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19528$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19529if ${ac_cv_enable_verbose_output+:} false; then : 19530 $as_echo_n "(cached) " >&6 19531else 19532 ac_cv_enable_verbose_output=no 19533fi 19534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19535$as_echo "$ac_cv_enable_verbose_output" >&6; } 19536 19537 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19538 19539$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19540 19541 19542 ac_cv_enable_verbose_output=yes 19543fi 19544 19545 19546 19547 19548 # Check whether --enable-debug-output was given. 19549if test "${enable_debug_output+set}" = set; then : 19550 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19551else 19552 ac_cv_enable_debug_output=no 19553fi 19554 19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19556$as_echo_n "checking whether to enable enable debug output... " >&6; } 19557if ${ac_cv_enable_debug_output+:} false; then : 19558 $as_echo_n "(cached) " >&6 19559else 19560 ac_cv_enable_debug_output=no 19561fi 19562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19563$as_echo "$ac_cv_enable_debug_output" >&6; } 19564 19565 if test "x$ac_cv_enable_debug_output" != xno ; then : 19566 19567$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19568 19569 19570 ac_cv_enable_debug_output=yes 19571fi 19572 19573 19574if test "x$ac_cv_enable_winapi" = xyes; then : 19575 ac_cv_enable_wide_character_type=yes 19576fi 19577 19578 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19579 19580$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19581 19582 HAVE_WIDE_CHARACTER_TYPE=1 19583 19584else 19585 HAVE_WIDE_CHARACTER_TYPE=0 19586 19587 19588fi 19589 19590 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19591do : 19592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19593ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19594if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19595 cat >>confdefs.h <<_ACEOF 19596#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19597_ACEOF 19598 19599fi 19600 19601done 19602 19603 19604 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19605 HAVE_SYS_TYPES_H=1 19606 19607else 19608 HAVE_SYS_TYPES_H=0 19609 19610 19611fi 19612 19613 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19614 HAVE_INTTYPES_H=1 19615 19616else 19617 HAVE_INTTYPES_H=0 19618 19619 19620fi 19621 19622 if test "x$ac_cv_header_stdint_h" = xyes; then : 19623 HAVE_STDINT_H=1 19624 19625else 19626 HAVE_STDINT_H=0 19627 19628 19629fi 19630 19631 if test "x$ac_cv_header_wchar_h" = xyes; then : 19632 HAVE_WCHAR_H=1 19633 19634else 19635 HAVE_WCHAR_H=0 19636 19637 19638fi 19639 19640 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19641if test "x$ac_cv_type_mode_t" = xyes; then : 19642 19643else 19644 19645cat >>confdefs.h <<_ACEOF 19646#define mode_t int 19647_ACEOF 19648 19649fi 19650 19651 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19652if test "x$ac_cv_type_off_t" = xyes; then : 19653 19654else 19655 19656cat >>confdefs.h <<_ACEOF 19657#define off_t long int 19658_ACEOF 19659 19660fi 19661 19662 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19663if test "x$ac_cv_type_size_t" = xyes; then : 19664 19665else 19666 19667cat >>confdefs.h <<_ACEOF 19668#define size_t unsigned int 19669_ACEOF 19670 19671fi 19672 19673 19674 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19675if test "x$ac_cv_type_size32_t" = xyes; then : 19676 HAVE_SIZE32_T=1 19677 19678else 19679 HAVE_SIZE32_T=0 19680 19681 19682fi 19683 19684 19685 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19686if test "x$ac_cv_type_ssize32_t" = xyes; then : 19687 HAVE_SSIZE32_T=1 19688 19689else 19690 HAVE_SSIZE32_T=0 19691 19692 19693fi 19694 19695 19696 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19697if test "x$ac_cv_type_size64_t" = xyes; then : 19698 HAVE_SIZE64_T=1 19699 19700else 19701 HAVE_SIZE64_T=0 19702 19703 19704fi 19705 19706 19707 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19708if test "x$ac_cv_type_ssize64_t" = xyes; then : 19709 HAVE_SSIZE64_T=1 19710 19711else 19712 HAVE_SSIZE64_T=0 19713 19714 19715fi 19716 19717 19718 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19719if test "x$ac_cv_type_off64_t" = xyes; then : 19720 HAVE_OFF64_T=1 19721 19722else 19723 HAVE_OFF64_T=0 19724 19725 19726fi 19727 19728 19729 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19730if test "x$ac_cv_type_ssize_t" = xyes; then : 19731 19732fi 19733 19734 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19735if test "x$ac_cv_type_u64" = xyes; then : 19736 19737fi 19738 19739 19740 # The cast to long int works around a bug in the HP C Compiler 19741# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19742# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19743# This bug is HP SR number 8606223364. 19744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19745$as_echo_n "checking size of int... " >&6; } 19746if ${ac_cv_sizeof_int+:} false; then : 19747 $as_echo_n "(cached) " >&6 19748else 19749 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19750 19751else 19752 if test "$ac_cv_type_int" = yes; then 19753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19755as_fn_error 77 "cannot compute sizeof (int) 19756See \`config.log' for more details" "$LINENO" 5; } 19757 else 19758 ac_cv_sizeof_int=0 19759 fi 19760fi 19761 19762fi 19763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19764$as_echo "$ac_cv_sizeof_int" >&6; } 19765 19766 19767 19768cat >>confdefs.h <<_ACEOF 19769#define SIZEOF_INT $ac_cv_sizeof_int 19770_ACEOF 19771 19772 19773 # The cast to long int works around a bug in the HP C Compiler 19774# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19775# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19776# This bug is HP SR number 8606223364. 19777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19778$as_echo_n "checking size of long... " >&6; } 19779if ${ac_cv_sizeof_long+:} false; then : 19780 $as_echo_n "(cached) " >&6 19781else 19782 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19783 19784else 19785 if test "$ac_cv_type_long" = yes; then 19786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19787$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19788as_fn_error 77 "cannot compute sizeof (long) 19789See \`config.log' for more details" "$LINENO" 5; } 19790 else 19791 ac_cv_sizeof_long=0 19792 fi 19793fi 19794 19795fi 19796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19797$as_echo "$ac_cv_sizeof_long" >&6; } 19798 19799 19800 19801cat >>confdefs.h <<_ACEOF 19802#define SIZEOF_LONG $ac_cv_sizeof_long 19803_ACEOF 19804 19805 19806 # The cast to long int works around a bug in the HP C Compiler 19807# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19808# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19809# This bug is HP SR number 8606223364. 19810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19811$as_echo_n "checking size of off_t... " >&6; } 19812if ${ac_cv_sizeof_off_t+:} false; then : 19813 $as_echo_n "(cached) " >&6 19814else 19815 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19816 19817else 19818 if test "$ac_cv_type_off_t" = yes; then 19819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19820$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19821as_fn_error 77 "cannot compute sizeof (off_t) 19822See \`config.log' for more details" "$LINENO" 5; } 19823 else 19824 ac_cv_sizeof_off_t=0 19825 fi 19826fi 19827 19828fi 19829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19830$as_echo "$ac_cv_sizeof_off_t" >&6; } 19831 19832 19833 19834cat >>confdefs.h <<_ACEOF 19835#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19836_ACEOF 19837 19838 19839 # The cast to long int works around a bug in the HP C Compiler 19840# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19841# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19842# This bug is HP SR number 8606223364. 19843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19844$as_echo_n "checking size of size_t... " >&6; } 19845if ${ac_cv_sizeof_size_t+:} false; then : 19846 $as_echo_n "(cached) " >&6 19847else 19848 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19849 19850else 19851 if test "$ac_cv_type_size_t" = yes; then 19852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19854as_fn_error 77 "cannot compute sizeof (size_t) 19855See \`config.log' for more details" "$LINENO" 5; } 19856 else 19857 ac_cv_sizeof_size_t=0 19858 fi 19859fi 19860 19861fi 19862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19863$as_echo "$ac_cv_sizeof_size_t" >&6; } 19864 19865 19866 19867cat >>confdefs.h <<_ACEOF 19868#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19869_ACEOF 19870 19871 19872 19873 if test "x$ac_cv_header_wchar_h" = xyes; then : 19874 # The cast to long int works around a bug in the HP C Compiler 19875# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19876# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19877# This bug is HP SR number 8606223364. 19878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19879$as_echo_n "checking size of wchar_t... " >&6; } 19880if ${ac_cv_sizeof_wchar_t+:} false; then : 19881 $as_echo_n "(cached) " >&6 19882else 19883 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19884 19885else 19886 if test "$ac_cv_type_wchar_t" = yes; then 19887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19888$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19889as_fn_error 77 "cannot compute sizeof (wchar_t) 19890See \`config.log' for more details" "$LINENO" 5; } 19891 else 19892 ac_cv_sizeof_wchar_t=0 19893 fi 19894fi 19895 19896fi 19897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19898$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19899 19900 19901 19902cat >>confdefs.h <<_ACEOF 19903#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19904_ACEOF 19905 19906 19907fi 19908 19909 19910 19911 if test "x$ac_cv_enable_winapi" = xyes; then : 19912 for ac_header in windows.h 19913do : 19914 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19915if test "x$ac_cv_header_windows_h" = xyes; then : 19916 cat >>confdefs.h <<_ACEOF 19917#define HAVE_WINDOWS_H 1 19918_ACEOF 19919 19920fi 19921 19922done 19923 19924 19925 if test "x$ac_cv_header_windows_h" = xno; then : 19926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19927$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19928as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19929See \`config.log' for more details" "$LINENO" 5; } 19930 19931fi 19932 19933fi 19934 19935 if test "x$ac_cv_enable_winapi" = xno; then : 19936 for ac_header in libintl.h 19937do : 19938 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19939if test "x$ac_cv_header_libintl_h" = xyes; then : 19940 cat >>confdefs.h <<_ACEOF 19941#define HAVE_LIBINTL_H 1 19942_ACEOF 19943 19944fi 19945 19946done 19947 19948 19949fi 19950 19951 for ac_header in limits.h 19952do : 19953 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19954if test "x$ac_cv_header_limits_h" = xyes; then : 19955 cat >>confdefs.h <<_ACEOF 19956#define HAVE_LIMITS_H 1 19957_ACEOF 19958 19959fi 19960 19961done 19962 19963 19964 for ac_header in stdlib.h string.h 19965do : 19966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19967ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19968if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19969 cat >>confdefs.h <<_ACEOF 19970#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19971_ACEOF 19972 19973fi 19974 19975done 19976 19977 19978 for ac_header in wchar.h wctype.h 19979do : 19980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19981ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19982if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19983 cat >>confdefs.h <<_ACEOF 19984#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19985_ACEOF 19986 19987fi 19988 19989done 19990 19991 19992 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 19993do : 19994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19995ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19996if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 19997 cat >>confdefs.h <<_ACEOF 19998#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19999_ACEOF 20000 20001fi 20002done 20003 20004 20005 if test "x$ac_cv_func_fclose" != xyes; then : 20006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20008as_fn_error 1 "Missing function: fclose 20009See \`config.log' for more details" "$LINENO" 5; } 20010 20011fi 20012 20013 if test "x$ac_cv_func_feof" != xyes; then : 20014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20015$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20016as_fn_error 1 "Missing function: feof 20017See \`config.log' for more details" "$LINENO" 5; } 20018 20019fi 20020 20021 if test "x$ac_cv_func_fgets" != xyes; then : 20022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20024as_fn_error 1 "Missing function: fgets 20025See \`config.log' for more details" "$LINENO" 5; } 20026 20027fi 20028 20029 if test "x$ac_cv_func_fopen" != xyes; then : 20030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20032as_fn_error 1 "Missing function: fopen 20033See \`config.log' for more details" "$LINENO" 5; } 20034 20035fi 20036 20037 if test "x$ac_cv_func_fread" != xyes; then : 20038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20039$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20040as_fn_error 1 "Missing function: fread 20041See \`config.log' for more details" "$LINENO" 5; } 20042 20043fi 20044 20045 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20048as_fn_error 1 "Missing function: fseeko and fseeko64 20049See \`config.log' for more details" "$LINENO" 5; } 20050 20051fi 20052 20053 if test "x$ac_cv_func_fwrite" != xyes; then : 20054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20056as_fn_error 1 "Missing function: fwrite 20057See \`config.log' for more details" "$LINENO" 5; } 20058 20059fi 20060 20061 if test "x$ac_cv_func_vfprintf" != xyes; then : 20062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20064as_fn_error 1 "Missing function: vfprintf 20065See \`config.log' for more details" "$LINENO" 5; } 20066 20067fi 20068 20069 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20070 for ac_func in fgetws 20071do : 20072 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20073if test "x$ac_cv_func_fgetws" = xyes; then : 20074 cat >>confdefs.h <<_ACEOF 20075#define HAVE_FGETWS 1 20076_ACEOF 20077 20078fi 20079done 20080 20081 20082 if test "x$ac_cv_func_fgetws" != xyes; then : 20083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20085as_fn_error 1 "Missing function: fgetws 20086See \`config.log' for more details" "$LINENO" 5; } 20087 20088fi 20089 20090fi 20091 20092 for ac_func in free malloc memcmp memcpy memset realloc 20093do : 20094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20095ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20096if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20097 cat >>confdefs.h <<_ACEOF 20098#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20099_ACEOF 20100 20101fi 20102done 20103 20104 20105 if test "x$ac_cv_func_free" != xyes; then : 20106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20108as_fn_error 1 "Missing function: free 20109See \`config.log' for more details" "$LINENO" 5; } 20110 20111fi 20112 20113 if test "x$ac_cv_func_malloc" != xyes; then : 20114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20116as_fn_error 1 "Missing function: malloc 20117See \`config.log' for more details" "$LINENO" 5; } 20118 20119fi 20120 20121 if test "x$ac_cv_func_memcmp" != xyes; then : 20122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20124as_fn_error 1 "Missing function: memcmp 20125See \`config.log' for more details" "$LINENO" 5; } 20126 20127fi 20128 20129 if test "x$ac_cv_func_memcpy" != xyes; then : 20130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20131$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20132as_fn_error 1 "Missing function: memcpy 20133See \`config.log' for more details" "$LINENO" 5; } 20134 20135fi 20136 20137 if test "x$ac_cv_func_memset" != xyes; then : 20138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20140as_fn_error 1 "Missing function: memset 20141See \`config.log' for more details" "$LINENO" 5; } 20142 20143fi 20144 20145 if test "x$ac_cv_func_realloc" != xyes; then : 20146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20147$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20148as_fn_error 1 "Missing function: realloc 20149See \`config.log' for more details" "$LINENO" 5; } 20150 20151fi 20152 20153 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20154do : 20155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20156ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20157if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20158 cat >>confdefs.h <<_ACEOF 20159#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20160_ACEOF 20161 20162fi 20163done 20164 20165 20166 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != 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: memchr and strchr 20170See \`config.log' for more details" "$LINENO" 5; } 20171 20172fi 20173 20174 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20177as_fn_error 1 "Missing functions: memcmp and strncmp 20178See \`config.log' for more details" "$LINENO" 5; } 20179 20180fi 20181 20182 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20185as_fn_error 1 "Missing functions: memcpy and strncpy 20186See \`config.log' for more details" "$LINENO" 5; } 20187 20188fi 20189 20190 if test "x$ac_cv_func_memrchr" = xyes; then : 20191 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20192if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20193 ac_have_decl=1 20194else 20195 ac_have_decl=0 20196fi 20197 20198cat >>confdefs.h <<_ACEOF 20199#define HAVE_DECL_MEMRCHR $ac_have_decl 20200_ACEOF 20201 20202 20203 if test "x$ac_cv_decl_memrchr" != xyes; then : 20204 ac_cv_func_memrchr=no 20205fi 20206 20207fi 20208 20209 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20212as_fn_error 1 "Missing functions: strrchr and memrchr 20213See \`config.log' for more details" "$LINENO" 5; } 20214 20215fi 20216 20217 if test "x$ac_cv_func_snprintf" != xyes; then : 20218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20220as_fn_error 1 "Missing function: snprintf 20221See \`config.log' for more details" "$LINENO" 5; } 20222 20223fi 20224 20225 if test "x$ac_cv_func_sscanf" != xyes; then : 20226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20228as_fn_error 1 "Missing function: sscanf 20229See \`config.log' for more details" "$LINENO" 5; } 20230 20231fi 20232 20233 if test "x$ac_cv_func_strlen" != xyes; then : 20234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20236as_fn_error 1 "Missing function: strlen 20237See \`config.log' for more details" "$LINENO" 5; } 20238 20239fi 20240 20241 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20243$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20244as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20245See \`config.log' for more details" "$LINENO" 5; } 20246 20247fi 20248 20249 if test "x$ac_cv_func_strstr" != xyes; then : 20250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20252as_fn_error 1 "Missing function: strstr 20253See \`config.log' for more details" "$LINENO" 5; } 20254 20255fi 20256 20257 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20259$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20260as_fn_error 1 "Missing function: vsnprintf 20261See \`config.log' for more details" "$LINENO" 5; } 20262 20263fi 20264 20265 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20266 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20267do : 20268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20269ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20270if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20271 cat >>confdefs.h <<_ACEOF 20272#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20273_ACEOF 20274 20275fi 20276done 20277 20278 20279 if test "x$ac_cv_func_swprintf" != xyes; then : 20280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20282as_fn_error 1 "Missing function: swprintf 20283See \`config.log' for more details" "$LINENO" 5; } 20284 20285fi 20286 20287 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20289$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20290as_fn_error 1 "Missing functions: wmemchr and wcschr 20291See \`config.log' for more details" "$LINENO" 5; } 20292 20293fi 20294 20295 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20297$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20298as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20299See \`config.log' for more details" "$LINENO" 5; } 20300 20301fi 20302 20303 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20306as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20307See \`config.log' for more details" "$LINENO" 5; } 20308 20309fi 20310 20311 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20314as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20315See \`config.log' for more details" "$LINENO" 5; } 20316 20317fi 20318 20319 if test "x$ac_cv_func_wcslen" != xyes; then : 20320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20322as_fn_error 1 "Missing function: wcslen 20323See \`config.log' for more details" "$LINENO" 5; } 20324 20325fi 20326 20327 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 : 20328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20330as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20331See \`config.log' for more details" "$LINENO" 5; } 20332 20333fi 20334 20335 if test "x$ac_cv_func_wcsstr" != xyes; then : 20336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20338as_fn_error 1 "Missing function: wcsstr 20339See \`config.log' for more details" "$LINENO" 5; } 20340 20341fi 20342 20343fi 20344 20345 20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20347$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20348 20349 SAVE_CFLAGS="$CFLAGS" 20350 CFLAGS="$CFLAGS -Wall -Werror" 20351 ac_ext=c 20352ac_cpp='$CPP $CPPFLAGS' 20353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20355ac_compiler_gnu=$ac_cv_c_compiler_gnu 20356 20357 20358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20359/* end confdefs.h. */ 20360#include <stdio.h> 20361int 20362main () 20363{ 20364printf( "%jd" ); 20365 ; 20366 return 0; 20367} 20368_ACEOF 20369if ac_fn_c_try_link "$LINENO"; then : 20370 ac_cv_cv_have_printf_jd=no 20371else 20372 ac_cv_cv_have_printf_jd=yes 20373fi 20374rm -f core conftest.err conftest.$ac_objext \ 20375 conftest$ac_exeext conftest.$ac_ext 20376 20377 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20379/* end confdefs.h. */ 20380#include <sys/types.h> 20381#include <stdio.h> 20382int 20383main () 20384{ 20385printf( "%jd", (off_t) 10 ); 20386 ; 20387 return 0; 20388} 20389_ACEOF 20390if ac_fn_c_try_link "$LINENO"; then : 20391 ac_cv_cv_have_printf_jd=yes 20392else 20393 ac_cv_cv_have_printf_jd=no 20394fi 20395rm -f core conftest.err conftest.$ac_objext \ 20396 conftest$ac_exeext conftest.$ac_ext 20397 20398fi 20399 20400 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20401 if test "$cross_compiling" = yes; then : 20402 ac_cv_cv_have_printf_jd=undetermined 20403else 20404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20405/* end confdefs.h. */ 20406#include <sys/types.h> 20407#include <stdio.h> 20408int 20409main () 20410{ 20411char string[ 3 ]; 20412if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20413if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20414 ; 20415 return 0; 20416} 20417_ACEOF 20418if ac_fn_c_try_run "$LINENO"; then : 20419 ac_cv_cv_have_printf_jd=yes 20420else 20421 ac_cv_cv_have_printf_jd=no 20422fi 20423rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20424 conftest.$ac_objext conftest.beam conftest.$ac_ext 20425fi 20426 20427 20428fi 20429 20430 ac_ext=c 20431ac_cpp='$CPP $CPPFLAGS' 20432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20434ac_compiler_gnu=$ac_cv_c_compiler_gnu 20435 20436 CFLAGS="$SAVE_CFLAGS" 20437 20438 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20440$as_echo "yes" >&6; } 20441 20442$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20443 20444else 20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20446$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20447 20448fi 20449 20450 20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20452$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20453 20454 SAVE_CFLAGS="$CFLAGS" 20455 CFLAGS="$CFLAGS -Wall -Werror" 20456 ac_ext=c 20457ac_cpp='$CPP $CPPFLAGS' 20458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20460ac_compiler_gnu=$ac_cv_c_compiler_gnu 20461 20462 20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20464/* end confdefs.h. */ 20465#include <stdio.h> 20466int 20467main () 20468{ 20469printf( "%zd" ); 20470 ; 20471 return 0; 20472} 20473_ACEOF 20474if ac_fn_c_try_link "$LINENO"; then : 20475 ac_cv_cv_have_printf_zd=no 20476else 20477 ac_cv_cv_have_printf_zd=yes 20478fi 20479rm -f core conftest.err conftest.$ac_objext \ 20480 conftest$ac_exeext conftest.$ac_ext 20481 20482 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20484/* end confdefs.h. */ 20485#include <sys/types.h> 20486#include <stdio.h> 20487int 20488main () 20489{ 20490printf( "%zd", (size_t) 10 ); 20491 ; 20492 return 0; 20493} 20494_ACEOF 20495if ac_fn_c_try_link "$LINENO"; then : 20496 ac_cv_cv_have_printf_zd=yes 20497else 20498 ac_cv_cv_have_printf_zd=no 20499fi 20500rm -f core conftest.err conftest.$ac_objext \ 20501 conftest$ac_exeext conftest.$ac_ext 20502 20503fi 20504 20505 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20506 if test "$cross_compiling" = yes; then : 20507 ac_cv_cv_have_printf_zd=undetermined 20508else 20509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20510/* end confdefs.h. */ 20511#include <sys/types.h> 20512#include <stdio.h> 20513int 20514main () 20515{ 20516char string[ 3 ]; 20517if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20518if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20519 ; 20520 return 0; 20521} 20522_ACEOF 20523if ac_fn_c_try_run "$LINENO"; then : 20524 ac_cv_cv_have_printf_zd=yes 20525else 20526 ac_cv_cv_have_printf_zd=no 20527fi 20528rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20529 conftest.$ac_objext conftest.beam conftest.$ac_ext 20530fi 20531 20532 20533fi 20534 20535 ac_ext=c 20536ac_cpp='$CPP $CPPFLAGS' 20537ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20538ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20539ac_compiler_gnu=$ac_cv_c_compiler_gnu 20540 20541 CFLAGS="$SAVE_CFLAGS" 20542 20543 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20545$as_echo "yes" >&6; } 20546 20547$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20548 20549else 20550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20551$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20552 20553fi 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20565 if test -n "$ac_tool_prefix"; then 20566 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20567set dummy ${ac_tool_prefix}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_PKG_CONFIG+:} false; then : 20571 $as_echo_n "(cached) " >&6 20572else 20573 case $PKG_CONFIG in 20574 [\\/]* | ?:[\\/]*) 20575 ac_cv_path_PKG_CONFIG="$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_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 20596PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20597if test -n "$PKG_CONFIG"; then 20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20599$as_echo "$PKG_CONFIG" >&6; } 20600else 20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20602$as_echo "no" >&6; } 20603fi 20604 20605 20606fi 20607if test -z "$ac_cv_path_PKG_CONFIG"; then 20608 ac_pt_PKG_CONFIG=$PKG_CONFIG 20609 # Extract the first word of "pkg-config", so it can be a program name with args. 20610set dummy pkg-config; ac_word=$2 20611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20612$as_echo_n "checking for $ac_word... " >&6; } 20613if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20614 $as_echo_n "(cached) " >&6 20615else 20616 case $ac_pt_PKG_CONFIG in 20617 [\\/]* | ?:[\\/]*) 20618 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20619 ;; 20620 *) 20621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20622for as_dir in $PATH 20623do 20624 IFS=$as_save_IFS 20625 test -z "$as_dir" && as_dir=. 20626 for ac_exec_ext in '' $ac_executable_extensions; do 20627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20628 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20630 break 2 20631 fi 20632done 20633 done 20634IFS=$as_save_IFS 20635 20636 ;; 20637esac 20638fi 20639ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20640if test -n "$ac_pt_PKG_CONFIG"; then 20641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20642$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20643else 20644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20645$as_echo "no" >&6; } 20646fi 20647 20648 if test "x$ac_pt_PKG_CONFIG" = x; then 20649 PKG_CONFIG="" 20650 else 20651 case $cross_compiling:$ac_tool_warned in 20652yes:) 20653{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20654$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20655ac_tool_warned=yes ;; 20656esac 20657 PKG_CONFIG=$ac_pt_PKG_CONFIG 20658 fi 20659else 20660 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20661fi 20662 20663fi 20664if test -n "$PKG_CONFIG"; then 20665 _pkg_min_version=0.9.0 20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20667$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20668 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20670$as_echo "yes" >&6; } 20671 else 20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20673$as_echo "no" >&6; } 20674 PKG_CONFIG="" 20675 fi 20676fi 20677 20678 20679# Check whether --with-libcerror was given. 20680if test "${with_libcerror+set}" = set; then : 20681 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20682else 20683 ac_cv_with_libcerror=auto-detect 20684fi 20685 20686 { $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 20687$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; } 20688if ${ac_cv_with_libcerror+:} false; then : 20689 $as_echo_n "(cached) " >&6 20690else 20691 ac_cv_with_libcerror=auto-detect 20692fi 20693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20694$as_echo "$ac_cv_with_libcerror" >&6; } 20695 20696 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20697 ac_cv_libcerror=no 20698else 20699 ac_cv_libcerror=check 20700 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20701 if test -d "$ac_cv_with_libcerror"; then : 20702 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20703 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20704else 20705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20706$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20707as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20708See \`config.log' for more details" "$LINENO" 5; } 20709 20710fi 20711 20712else 20713 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20714 20715pkg_failed=no 20716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20717$as_echo_n "checking for libcerror... " >&6; } 20718 20719if test -n "$libcerror_CFLAGS"; then 20720 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20721 elif test -n "$PKG_CONFIG"; then 20722 if test -n "$PKG_CONFIG" && \ 20723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20724 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20725 ac_status=$? 20726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20727 test $ac_status = 0; }; then 20728 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20729 test "x$?" != "x0" && pkg_failed=yes 20730else 20731 pkg_failed=yes 20732fi 20733 else 20734 pkg_failed=untried 20735fi 20736if test -n "$libcerror_LIBS"; then 20737 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20738 elif test -n "$PKG_CONFIG"; then 20739 if test -n "$PKG_CONFIG" && \ 20740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20741 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20742 ac_status=$? 20743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20744 test $ac_status = 0; }; then 20745 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20746 test "x$?" != "x0" && pkg_failed=yes 20747else 20748 pkg_failed=yes 20749fi 20750 else 20751 pkg_failed=untried 20752fi 20753 20754 20755 20756if test $pkg_failed = yes; then 20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20758$as_echo "no" >&6; } 20759 20760if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20761 _pkg_short_errors_supported=yes 20762else 20763 _pkg_short_errors_supported=no 20764fi 20765 if test $_pkg_short_errors_supported = yes; then 20766 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20767 else 20768 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20769 fi 20770 # Put the nasty error message in config.log where it belongs 20771 echo "$libcerror_PKG_ERRORS" >&5 20772 20773 ac_cv_libcerror=check 20774elif test $pkg_failed = untried; then 20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20776$as_echo "no" >&6; } 20777 ac_cv_libcerror=check 20778else 20779 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20780 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20782$as_echo "yes" >&6; } 20783 ac_cv_libcerror=yes 20784fi 20785 20786fi 20787 if test "x$ac_cv_libcerror" = xyes; then : 20788 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20789 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20790fi 20791 20792fi 20793 20794 if test "x$ac_cv_libcerror" = xcheck; then : 20795 for ac_header in libcerror.h 20796do : 20797 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20798if test "x$ac_cv_header_libcerror_h" = xyes; then : 20799 cat >>confdefs.h <<_ACEOF 20800#define HAVE_LIBCERROR_H 1 20801_ACEOF 20802 20803fi 20804 20805done 20806 20807 20808 if test "x$ac_cv_header_libcerror_h" = xno; then : 20809 ac_cv_libcerror=no 20810else 20811 ac_cv_libcerror=yes 20812 20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20814$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20815if ${ac_cv_lib_cerror_libcerror_get_version+:} 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_get_version (); 20830int 20831main () 20832{ 20833return libcerror_get_version (); 20834 ; 20835 return 0; 20836} 20837_ACEOF 20838if ac_fn_c_try_link "$LINENO"; then : 20839 ac_cv_lib_cerror_libcerror_get_version=yes 20840else 20841 ac_cv_lib_cerror_libcerror_get_version=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_get_version" >&5 20848$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20849if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20850 ac_cv_libcerror_dummy=yes 20851else 20852 ac_cv_libcerror=no 20853fi 20854 20855 20856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20857$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20858if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20859 $as_echo_n "(cached) " >&6 20860else 20861 ac_check_lib_save_LIBS=$LIBS 20862LIBS="-lcerror $LIBS" 20863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20864/* end confdefs.h. */ 20865 20866/* Override any GCC internal prototype to avoid an error. 20867 Use char because int might match the return type of a GCC 20868 builtin and then its argument prototype would still apply. */ 20869#ifdef __cplusplus 20870extern "C" 20871#endif 20872char libcerror_error_free (); 20873int 20874main () 20875{ 20876return libcerror_error_free (); 20877 ; 20878 return 0; 20879} 20880_ACEOF 20881if ac_fn_c_try_link "$LINENO"; then : 20882 ac_cv_lib_cerror_libcerror_error_free=yes 20883else 20884 ac_cv_lib_cerror_libcerror_error_free=no 20885fi 20886rm -f core conftest.err conftest.$ac_objext \ 20887 conftest$ac_exeext conftest.$ac_ext 20888LIBS=$ac_check_lib_save_LIBS 20889fi 20890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20891$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20892if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20893 ac_cv_libcerror_dummy=yes 20894else 20895 ac_cv_libcerror=no 20896fi 20897 20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20899$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20900if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20901 $as_echo_n "(cached) " >&6 20902else 20903 ac_check_lib_save_LIBS=$LIBS 20904LIBS="-lcerror $LIBS" 20905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20906/* end confdefs.h. */ 20907 20908/* Override any GCC internal prototype to avoid an error. 20909 Use char because int might match the return type of a GCC 20910 builtin and then its argument prototype would still apply. */ 20911#ifdef __cplusplus 20912extern "C" 20913#endif 20914char libcerror_error_set (); 20915int 20916main () 20917{ 20918return libcerror_error_set (); 20919 ; 20920 return 0; 20921} 20922_ACEOF 20923if ac_fn_c_try_link "$LINENO"; then : 20924 ac_cv_lib_cerror_libcerror_error_set=yes 20925else 20926 ac_cv_lib_cerror_libcerror_error_set=no 20927fi 20928rm -f core conftest.err conftest.$ac_objext \ 20929 conftest$ac_exeext conftest.$ac_ext 20930LIBS=$ac_check_lib_save_LIBS 20931fi 20932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20933$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20934if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20935 ac_cv_libcerror_dummy=yes 20936else 20937 ac_cv_libcerror=no 20938fi 20939 20940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20941$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20942if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20943 $as_echo_n "(cached) " >&6 20944else 20945 ac_check_lib_save_LIBS=$LIBS 20946LIBS="-lcerror $LIBS" 20947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20948/* end confdefs.h. */ 20949 20950/* Override any GCC internal prototype to avoid an error. 20951 Use char because int might match the return type of a GCC 20952 builtin and then its argument prototype would still apply. */ 20953#ifdef __cplusplus 20954extern "C" 20955#endif 20956char libcerror_error_matches (); 20957int 20958main () 20959{ 20960return libcerror_error_matches (); 20961 ; 20962 return 0; 20963} 20964_ACEOF 20965if ac_fn_c_try_link "$LINENO"; then : 20966 ac_cv_lib_cerror_libcerror_error_matches=yes 20967else 20968 ac_cv_lib_cerror_libcerror_error_matches=no 20969fi 20970rm -f core conftest.err conftest.$ac_objext \ 20971 conftest$ac_exeext conftest.$ac_ext 20972LIBS=$ac_check_lib_save_LIBS 20973fi 20974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20975$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20976if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20977 ac_cv_libcerror_dummy=yes 20978else 20979 ac_cv_libcerror=no 20980fi 20981 20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 20983$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 20984if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 20985 $as_echo_n "(cached) " >&6 20986else 20987 ac_check_lib_save_LIBS=$LIBS 20988LIBS="-lcerror $LIBS" 20989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20990/* end confdefs.h. */ 20991 20992/* Override any GCC internal prototype to avoid an error. 20993 Use char because int might match the return type of a GCC 20994 builtin and then its argument prototype would still apply. */ 20995#ifdef __cplusplus 20996extern "C" 20997#endif 20998char libcerror_error_fprint (); 20999int 21000main () 21001{ 21002return libcerror_error_fprint (); 21003 ; 21004 return 0; 21005} 21006_ACEOF 21007if ac_fn_c_try_link "$LINENO"; then : 21008 ac_cv_lib_cerror_libcerror_error_fprint=yes 21009else 21010 ac_cv_lib_cerror_libcerror_error_fprint=no 21011fi 21012rm -f core conftest.err conftest.$ac_objext \ 21013 conftest$ac_exeext conftest.$ac_ext 21014LIBS=$ac_check_lib_save_LIBS 21015fi 21016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 21017$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 21018if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 21019 ac_cv_libcerror_dummy=yes 21020else 21021 ac_cv_libcerror=no 21022fi 21023 21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 21025$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 21026if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 21027 $as_echo_n "(cached) " >&6 21028else 21029 ac_check_lib_save_LIBS=$LIBS 21030LIBS="-lcerror $LIBS" 21031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21032/* end confdefs.h. */ 21033 21034/* Override any GCC internal prototype to avoid an error. 21035 Use char because int might match the return type of a GCC 21036 builtin and then its argument prototype would still apply. */ 21037#ifdef __cplusplus 21038extern "C" 21039#endif 21040char libcerror_error_sprint (); 21041int 21042main () 21043{ 21044return libcerror_error_sprint (); 21045 ; 21046 return 0; 21047} 21048_ACEOF 21049if ac_fn_c_try_link "$LINENO"; then : 21050 ac_cv_lib_cerror_libcerror_error_sprint=yes 21051else 21052 ac_cv_lib_cerror_libcerror_error_sprint=no 21053fi 21054rm -f core conftest.err conftest.$ac_objext \ 21055 conftest$ac_exeext conftest.$ac_ext 21056LIBS=$ac_check_lib_save_LIBS 21057fi 21058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21059$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21060if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21061 ac_cv_libcerror_dummy=yes 21062else 21063 ac_cv_libcerror=no 21064fi 21065 21066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21067$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21068if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21069 $as_echo_n "(cached) " >&6 21070else 21071 ac_check_lib_save_LIBS=$LIBS 21072LIBS="-lcerror $LIBS" 21073cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21074/* end confdefs.h. */ 21075 21076/* Override any GCC internal prototype to avoid an error. 21077 Use char because int might match the return type of a GCC 21078 builtin and then its argument prototype would still apply. */ 21079#ifdef __cplusplus 21080extern "C" 21081#endif 21082char libcerror_error_backtrace_fprint (); 21083int 21084main () 21085{ 21086return libcerror_error_backtrace_fprint (); 21087 ; 21088 return 0; 21089} 21090_ACEOF 21091if ac_fn_c_try_link "$LINENO"; then : 21092 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21093else 21094 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21095fi 21096rm -f core conftest.err conftest.$ac_objext \ 21097 conftest$ac_exeext conftest.$ac_ext 21098LIBS=$ac_check_lib_save_LIBS 21099fi 21100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21101$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21102if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21103 ac_cv_libcerror_dummy=yes 21104else 21105 ac_cv_libcerror=no 21106fi 21107 21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21109$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21110if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} 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_error_backtrace_sprint (); 21125int 21126main () 21127{ 21128return libcerror_error_backtrace_sprint (); 21129 ; 21130 return 0; 21131} 21132_ACEOF 21133if ac_fn_c_try_link "$LINENO"; then : 21134 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21135else 21136 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=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_error_backtrace_sprint" >&5 21143$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21144if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21145 ac_cv_libcerror_dummy=yes 21146else 21147 ac_cv_libcerror=no 21148fi 21149 21150 21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21152$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21153if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21154 $as_echo_n "(cached) " >&6 21155else 21156 ac_check_lib_save_LIBS=$LIBS 21157LIBS="-lcerror $LIBS" 21158cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21159/* end confdefs.h. */ 21160 21161/* Override any GCC internal prototype to avoid an error. 21162 Use char because int might match the return type of a GCC 21163 builtin and then its argument prototype would still apply. */ 21164#ifdef __cplusplus 21165extern "C" 21166#endif 21167char libcerror_system_set_error (); 21168int 21169main () 21170{ 21171return libcerror_system_set_error (); 21172 ; 21173 return 0; 21174} 21175_ACEOF 21176if ac_fn_c_try_link "$LINENO"; then : 21177 ac_cv_lib_cerror_libcerror_system_set_error=yes 21178else 21179 ac_cv_lib_cerror_libcerror_system_set_error=no 21180fi 21181rm -f core conftest.err conftest.$ac_objext \ 21182 conftest$ac_exeext conftest.$ac_ext 21183LIBS=$ac_check_lib_save_LIBS 21184fi 21185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21186$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21187if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21188 ac_cv_libcerror_dummy=yes 21189else 21190 ac_cv_libcerror=no 21191fi 21192 21193 21194 ac_cv_libcerror_LIBADD="-lcerror" 21195fi 21196 21197fi 21198 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21201as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21202See \`config.log' for more details" "$LINENO" 5; } 21203 21204fi 21205 21206fi 21207 21208 if test "x$ac_cv_libcerror" = xyes; then : 21209 21210$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21211 21212 21213fi 21214 21215 if test "x$ac_cv_libcerror" = xyes; then : 21216 HAVE_LIBCERROR=1 21217 21218else 21219 HAVE_LIBCERROR=0 21220 21221 21222fi 21223 21224 21225 if test "x$ac_cv_libcerror" != xyes; then : 21226 for ac_header in stdarg.h varargs.h 21227do : 21228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21229ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21230if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21231 cat >>confdefs.h <<_ACEOF 21232#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21233_ACEOF 21234 21235fi 21236 21237done 21238 21239 21240 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21242$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21243as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21244See \`config.log' for more details" "$LINENO" 5; } 21245 21246fi 21247 21248 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21249 for ac_func in wcstombs 21250do : 21251 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21252if test "x$ac_cv_func_wcstombs" = xyes; then : 21253 cat >>confdefs.h <<_ACEOF 21254#define HAVE_WCSTOMBS 1 21255_ACEOF 21256 21257fi 21258done 21259 21260 21261 if test "x$ac_cv_func_wcstombs" != xyes; then : 21262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21264as_fn_error 1 "Missing function: wcstombs 21265See \`config.log' for more details" "$LINENO" 5; } 21266 21267fi 21268 21269fi 21270 21271 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21272if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21273 ac_have_decl=1 21274else 21275 ac_have_decl=0 21276fi 21277 21278cat >>confdefs.h <<_ACEOF 21279#define HAVE_DECL_STRERROR_R $ac_have_decl 21280_ACEOF 21281 21282for ac_func in strerror_r 21283do : 21284 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21285if test "x$ac_cv_func_strerror_r" = xyes; then : 21286 cat >>confdefs.h <<_ACEOF 21287#define HAVE_STRERROR_R 1 21288_ACEOF 21289 21290fi 21291done 21292 21293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21294$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21295if ${ac_cv_func_strerror_r_char_p+:} false; then : 21296 $as_echo_n "(cached) " >&6 21297else 21298 21299 ac_cv_func_strerror_r_char_p=no 21300 if test $ac_cv_have_decl_strerror_r = yes; then 21301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21302/* end confdefs.h. */ 21303$ac_includes_default 21304int 21305main () 21306{ 21307 21308 char buf[100]; 21309 char x = *strerror_r (0, buf, sizeof buf); 21310 char *p = strerror_r (0, buf, sizeof buf); 21311 return !p || x; 21312 21313 ; 21314 return 0; 21315} 21316_ACEOF 21317if ac_fn_c_try_compile "$LINENO"; then : 21318 ac_cv_func_strerror_r_char_p=yes 21319fi 21320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21321 else 21322 # strerror_r is not declared. Choose between 21323 # systems that have relatively inaccessible declarations for the 21324 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21325 # former has a strerror_r that returns char*, while the latter 21326 # has a strerror_r that returns `int'. 21327 # This test should segfault on the DEC system. 21328 if test "$cross_compiling" = yes; then : 21329 : 21330else 21331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21332/* end confdefs.h. */ 21333$ac_includes_default 21334 extern char *strerror_r (); 21335int 21336main () 21337{ 21338char buf[100]; 21339 char x = *strerror_r (0, buf, sizeof buf); 21340 return ! isalpha (x); 21341 ; 21342 return 0; 21343} 21344_ACEOF 21345if ac_fn_c_try_run "$LINENO"; then : 21346 ac_cv_func_strerror_r_char_p=yes 21347fi 21348rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21349 conftest.$ac_objext conftest.beam conftest.$ac_ext 21350fi 21351 21352 fi 21353 21354fi 21355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21356$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21357if test $ac_cv_func_strerror_r_char_p = yes; then 21358 21359$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21360 21361fi 21362 21363 21364 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21365 for ac_func in strerror 21366do : 21367 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21368if test "x$ac_cv_func_strerror" = xyes; then : 21369 cat >>confdefs.h <<_ACEOF 21370#define HAVE_STRERROR 1 21371_ACEOF 21372 21373fi 21374done 21375 21376 21377 if test "x$ac_cv_func_strerror" != xyes; then : 21378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21379$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21380as_fn_error 1 "Missing functions: strerror_r and strerror 21381See \`config.log' for more details" "$LINENO" 5; } 21382 21383fi 21384 21385fi 21386 21387 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21388 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21389 21390 ac_cv_libcerror=local 21391 21392 21393 21394$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21395 21396 HAVE_LOCAL_LIBCERROR=1 21397 21398 21399fi 21400 21401 if test "x$ac_cv_libcerror" = xlocal; then 21402 HAVE_LOCAL_LIBCERROR_TRUE= 21403 HAVE_LOCAL_LIBCERROR_FALSE='#' 21404else 21405 HAVE_LOCAL_LIBCERROR_TRUE='#' 21406 HAVE_LOCAL_LIBCERROR_FALSE= 21407fi 21408 21409 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21410 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21411 21412 21413fi 21414 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21415 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21416 21417 21418fi 21419 21420 if test "x$ac_cv_libcerror" = xyes; then : 21421 ax_libcerror_pc_libs_private=-lcerror 21422 21423 21424fi 21425 21426 if test "x$ac_cv_libcerror" = xyes; then : 21427 ax_libcerror_spec_requires=libcerror 21428 21429 ax_libcerror_spec_build_requires=libcerror-devel 21430 21431 21432fi 21433 21434 21435 21436 # Check whether --enable-multi-threading-support was given. 21437if test "${enable_multi_threading_support+set}" = set; then : 21438 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21439else 21440 ac_cv_enable_multi_threading_support=yes 21441fi 21442 21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21444$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21445if ${ac_cv_enable_multi_threading_support+:} false; then : 21446 $as_echo_n "(cached) " >&6 21447else 21448 ac_cv_enable_multi_threading_support=yes 21449fi 21450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21451$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21452 21453 21454# Check whether --with-libcthreads was given. 21455if test "${with_libcthreads+set}" = set; then : 21456 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21457else 21458 ac_cv_with_libcthreads=auto-detect 21459fi 21460 21461 { $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 21462$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; } 21463if ${ac_cv_with_libcthreads+:} false; then : 21464 $as_echo_n "(cached) " >&6 21465else 21466 ac_cv_with_libcthreads=auto-detect 21467fi 21468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21469$as_echo "$ac_cv_with_libcthreads" >&6; } 21470 21471 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21472 ac_cv_libcthreads="no" 21473 ac_cv_libcthreads_multi_threading="no" 21474else 21475 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21476 ac_cv_libcthreads=no 21477else 21478 ac_cv_libcthreads=check 21479 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21480 if test -d "$ac_cv_with_libcthreads"; then : 21481 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21482 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21483else 21484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21486as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21487See \`config.log' for more details" "$LINENO" 5; } 21488 21489fi 21490 21491else 21492 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21493 21494pkg_failed=no 21495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21496$as_echo_n "checking for libcthreads... " >&6; } 21497 21498if test -n "$libcthreads_CFLAGS"; then 21499 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21500 elif test -n "$PKG_CONFIG"; then 21501 if test -n "$PKG_CONFIG" && \ 21502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21503 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21504 ac_status=$? 21505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21506 test $ac_status = 0; }; then 21507 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21508 test "x$?" != "x0" && pkg_failed=yes 21509else 21510 pkg_failed=yes 21511fi 21512 else 21513 pkg_failed=untried 21514fi 21515if test -n "$libcthreads_LIBS"; then 21516 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21517 elif test -n "$PKG_CONFIG"; then 21518 if test -n "$PKG_CONFIG" && \ 21519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21520 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21521 ac_status=$? 21522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21523 test $ac_status = 0; }; then 21524 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21525 test "x$?" != "x0" && pkg_failed=yes 21526else 21527 pkg_failed=yes 21528fi 21529 else 21530 pkg_failed=untried 21531fi 21532 21533 21534 21535if test $pkg_failed = yes; then 21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21537$as_echo "no" >&6; } 21538 21539if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21540 _pkg_short_errors_supported=yes 21541else 21542 _pkg_short_errors_supported=no 21543fi 21544 if test $_pkg_short_errors_supported = yes; then 21545 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21546 else 21547 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21548 fi 21549 # Put the nasty error message in config.log where it belongs 21550 echo "$libcthreads_PKG_ERRORS" >&5 21551 21552 ac_cv_libcthreads=check 21553elif test $pkg_failed = untried; then 21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21555$as_echo "no" >&6; } 21556 ac_cv_libcthreads=check 21557else 21558 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21559 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21561$as_echo "yes" >&6; } 21562 ac_cv_libcthreads=yes 21563fi 21564 21565fi 21566 if test "x$ac_cv_libcthreads" = xyes; then : 21567 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21568 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21569fi 21570 21571fi 21572 21573 if test "x$ac_cv_libcthreads" = xcheck; then : 21574 for ac_header in libcthreads.h 21575do : 21576 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21577if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21578 cat >>confdefs.h <<_ACEOF 21579#define HAVE_LIBCTHREADS_H 1 21580_ACEOF 21581 21582fi 21583 21584done 21585 21586 21587 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21588 ac_cv_libcthreads=no 21589else 21590 ac_cv_libcthreads=yes 21591 21592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21593$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21594if ${ac_cv_lib_cthreads_libcthreads_get_version+:} 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_get_version (); 21609int 21610main () 21611{ 21612return libcthreads_get_version (); 21613 ; 21614 return 0; 21615} 21616_ACEOF 21617if ac_fn_c_try_link "$LINENO"; then : 21618 ac_cv_lib_cthreads_libcthreads_get_version=yes 21619else 21620 ac_cv_lib_cthreads_libcthreads_get_version=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_get_version" >&5 21627$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21628if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21629 ac_cv_libcthreads_dummy=yes 21630else 21631 ac_cv_libcthreads=no 21632fi 21633 21634 21635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21636$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21637if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21638 $as_echo_n "(cached) " >&6 21639else 21640 ac_check_lib_save_LIBS=$LIBS 21641LIBS="-lcthreads $LIBS" 21642cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21643/* end confdefs.h. */ 21644 21645/* Override any GCC internal prototype to avoid an error. 21646 Use char because int might match the return type of a GCC 21647 builtin and then its argument prototype would still apply. */ 21648#ifdef __cplusplus 21649extern "C" 21650#endif 21651char libcthreads_thread_create (); 21652int 21653main () 21654{ 21655return libcthreads_thread_create (); 21656 ; 21657 return 0; 21658} 21659_ACEOF 21660if ac_fn_c_try_link "$LINENO"; then : 21661 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21662else 21663 ac_cv_lib_cthreads_libcthreads_thread_create=no 21664fi 21665rm -f core conftest.err conftest.$ac_objext \ 21666 conftest$ac_exeext conftest.$ac_ext 21667LIBS=$ac_check_lib_save_LIBS 21668fi 21669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21670$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21671if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21672 ac_cv_libcthreads_dummy=yes 21673else 21674 ac_cv_libcthreads=no 21675fi 21676 21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21678$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21679if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} 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_join (); 21694int 21695main () 21696{ 21697return libcthreads_thread_join (); 21698 ; 21699 return 0; 21700} 21701_ACEOF 21702if ac_fn_c_try_link "$LINENO"; then : 21703 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21704else 21705 ac_cv_lib_cthreads_libcthreads_thread_join=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_join" >&5 21712$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21713if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21714 ac_cv_libcthreads_dummy=yes 21715else 21716 ac_cv_libcthreads=no 21717fi 21718 21719 21720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21721$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21722if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21723 $as_echo_n "(cached) " >&6 21724else 21725 ac_check_lib_save_LIBS=$LIBS 21726LIBS="-lcthreads $LIBS" 21727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21728/* end confdefs.h. */ 21729 21730/* Override any GCC internal prototype to avoid an error. 21731 Use char because int might match the return type of a GCC 21732 builtin and then its argument prototype would still apply. */ 21733#ifdef __cplusplus 21734extern "C" 21735#endif 21736char libcthreads_thread_attributes_initialize (); 21737int 21738main () 21739{ 21740return libcthreads_thread_attributes_initialize (); 21741 ; 21742 return 0; 21743} 21744_ACEOF 21745if ac_fn_c_try_link "$LINENO"; then : 21746 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21747else 21748 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21749fi 21750rm -f core conftest.err conftest.$ac_objext \ 21751 conftest$ac_exeext conftest.$ac_ext 21752LIBS=$ac_check_lib_save_LIBS 21753fi 21754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21755$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21756if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21757 ac_cv_libcthreads_dummy=yes 21758else 21759 ac_cv_libcthreads=no 21760fi 21761 21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21763$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21764if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} 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_thread_attributes_free (); 21779int 21780main () 21781{ 21782return libcthreads_thread_attributes_free (); 21783 ; 21784 return 0; 21785} 21786_ACEOF 21787if ac_fn_c_try_link "$LINENO"; then : 21788 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21789else 21790 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=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_thread_attributes_free" >&5 21797$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21798if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21799 ac_cv_libcthreads_dummy=yes 21800else 21801 ac_cv_libcthreads=no 21802fi 21803 21804 21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21806$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21807if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21808 $as_echo_n "(cached) " >&6 21809else 21810 ac_check_lib_save_LIBS=$LIBS 21811LIBS="-lcthreads $LIBS" 21812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21813/* end confdefs.h. */ 21814 21815/* Override any GCC internal prototype to avoid an error. 21816 Use char because int might match the return type of a GCC 21817 builtin and then its argument prototype would still apply. */ 21818#ifdef __cplusplus 21819extern "C" 21820#endif 21821char libcthreads_condition_initialize (); 21822int 21823main () 21824{ 21825return libcthreads_condition_initialize (); 21826 ; 21827 return 0; 21828} 21829_ACEOF 21830if ac_fn_c_try_link "$LINENO"; then : 21831 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21832else 21833 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21834fi 21835rm -f core conftest.err conftest.$ac_objext \ 21836 conftest$ac_exeext conftest.$ac_ext 21837LIBS=$ac_check_lib_save_LIBS 21838fi 21839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21840$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21841if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21842 ac_cv_libcthreads_dummy=yes 21843else 21844 ac_cv_libcthreads=no 21845fi 21846 21847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21848$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21849if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21850 $as_echo_n "(cached) " >&6 21851else 21852 ac_check_lib_save_LIBS=$LIBS 21853LIBS="-lcthreads $LIBS" 21854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21855/* end confdefs.h. */ 21856 21857/* Override any GCC internal prototype to avoid an error. 21858 Use char because int might match the return type of a GCC 21859 builtin and then its argument prototype would still apply. */ 21860#ifdef __cplusplus 21861extern "C" 21862#endif 21863char libcthreads_condition_free (); 21864int 21865main () 21866{ 21867return libcthreads_condition_free (); 21868 ; 21869 return 0; 21870} 21871_ACEOF 21872if ac_fn_c_try_link "$LINENO"; then : 21873 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21874else 21875 ac_cv_lib_cthreads_libcthreads_condition_free=no 21876fi 21877rm -f core conftest.err conftest.$ac_objext \ 21878 conftest$ac_exeext conftest.$ac_ext 21879LIBS=$ac_check_lib_save_LIBS 21880fi 21881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21882$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21883if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21884 ac_cv_libcthreads_dummy=yes 21885else 21886 ac_cv_libcthreads=no 21887fi 21888 21889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21890$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21891if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21892 $as_echo_n "(cached) " >&6 21893else 21894 ac_check_lib_save_LIBS=$LIBS 21895LIBS="-lcthreads $LIBS" 21896cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21897/* end confdefs.h. */ 21898 21899/* Override any GCC internal prototype to avoid an error. 21900 Use char because int might match the return type of a GCC 21901 builtin and then its argument prototype would still apply. */ 21902#ifdef __cplusplus 21903extern "C" 21904#endif 21905char libcthreads_condition_broadcast (); 21906int 21907main () 21908{ 21909return libcthreads_condition_broadcast (); 21910 ; 21911 return 0; 21912} 21913_ACEOF 21914if ac_fn_c_try_link "$LINENO"; then : 21915 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21916else 21917 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21918fi 21919rm -f core conftest.err conftest.$ac_objext \ 21920 conftest$ac_exeext conftest.$ac_ext 21921LIBS=$ac_check_lib_save_LIBS 21922fi 21923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21924$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21925if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21926 ac_cv_libcthreads_dummy=yes 21927else 21928 ac_cv_libcthreads=no 21929fi 21930 21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21932$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21933if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21934 $as_echo_n "(cached) " >&6 21935else 21936 ac_check_lib_save_LIBS=$LIBS 21937LIBS="-lcthreads $LIBS" 21938cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21939/* end confdefs.h. */ 21940 21941/* Override any GCC internal prototype to avoid an error. 21942 Use char because int might match the return type of a GCC 21943 builtin and then its argument prototype would still apply. */ 21944#ifdef __cplusplus 21945extern "C" 21946#endif 21947char libcthreads_condition_signal (); 21948int 21949main () 21950{ 21951return libcthreads_condition_signal (); 21952 ; 21953 return 0; 21954} 21955_ACEOF 21956if ac_fn_c_try_link "$LINENO"; then : 21957 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21958else 21959 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21960fi 21961rm -f core conftest.err conftest.$ac_objext \ 21962 conftest$ac_exeext conftest.$ac_ext 21963LIBS=$ac_check_lib_save_LIBS 21964fi 21965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21966$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21967if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21968 ac_cv_libcthreads_dummy=yes 21969else 21970 ac_cv_libcthreads=no 21971fi 21972 21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21974$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21975if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} 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_condition_wait (); 21990int 21991main () 21992{ 21993return libcthreads_condition_wait (); 21994 ; 21995 return 0; 21996} 21997_ACEOF 21998if ac_fn_c_try_link "$LINENO"; then : 21999 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 22000else 22001 ac_cv_lib_cthreads_libcthreads_condition_wait=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_condition_wait" >&5 22008$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 22009if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 22010 ac_cv_libcthreads_dummy=yes 22011else 22012 ac_cv_libcthreads=no 22013fi 22014 22015 22016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 22017$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 22018if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 22019 $as_echo_n "(cached) " >&6 22020else 22021 ac_check_lib_save_LIBS=$LIBS 22022LIBS="-lcthreads $LIBS" 22023cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22024/* end confdefs.h. */ 22025 22026/* Override any GCC internal prototype to avoid an error. 22027 Use char because int might match the return type of a GCC 22028 builtin and then its argument prototype would still apply. */ 22029#ifdef __cplusplus 22030extern "C" 22031#endif 22032char libcthreads_lock_initialize (); 22033int 22034main () 22035{ 22036return libcthreads_lock_initialize (); 22037 ; 22038 return 0; 22039} 22040_ACEOF 22041if ac_fn_c_try_link "$LINENO"; then : 22042 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22043else 22044 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22045fi 22046rm -f core conftest.err conftest.$ac_objext \ 22047 conftest$ac_exeext conftest.$ac_ext 22048LIBS=$ac_check_lib_save_LIBS 22049fi 22050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22051$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22052if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22053 ac_cv_libcthreads_dummy=yes 22054else 22055 ac_cv_libcthreads=no 22056fi 22057 22058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22059$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22060if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22061 $as_echo_n "(cached) " >&6 22062else 22063 ac_check_lib_save_LIBS=$LIBS 22064LIBS="-lcthreads $LIBS" 22065cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22066/* end confdefs.h. */ 22067 22068/* Override any GCC internal prototype to avoid an error. 22069 Use char because int might match the return type of a GCC 22070 builtin and then its argument prototype would still apply. */ 22071#ifdef __cplusplus 22072extern "C" 22073#endif 22074char libcthreads_lock_free (); 22075int 22076main () 22077{ 22078return libcthreads_lock_free (); 22079 ; 22080 return 0; 22081} 22082_ACEOF 22083if ac_fn_c_try_link "$LINENO"; then : 22084 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22085else 22086 ac_cv_lib_cthreads_libcthreads_lock_free=no 22087fi 22088rm -f core conftest.err conftest.$ac_objext \ 22089 conftest$ac_exeext conftest.$ac_ext 22090LIBS=$ac_check_lib_save_LIBS 22091fi 22092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22093$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22094if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22095 ac_cv_libcthreads_dummy=yes 22096else 22097 ac_cv_libcthreads=no 22098fi 22099 22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22101$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22102if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22103 $as_echo_n "(cached) " >&6 22104else 22105 ac_check_lib_save_LIBS=$LIBS 22106LIBS="-lcthreads $LIBS" 22107cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22108/* end confdefs.h. */ 22109 22110/* Override any GCC internal prototype to avoid an error. 22111 Use char because int might match the return type of a GCC 22112 builtin and then its argument prototype would still apply. */ 22113#ifdef __cplusplus 22114extern "C" 22115#endif 22116char libcthreads_lock_grab (); 22117int 22118main () 22119{ 22120return libcthreads_lock_grab (); 22121 ; 22122 return 0; 22123} 22124_ACEOF 22125if ac_fn_c_try_link "$LINENO"; then : 22126 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22127else 22128 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22129fi 22130rm -f core conftest.err conftest.$ac_objext \ 22131 conftest$ac_exeext conftest.$ac_ext 22132LIBS=$ac_check_lib_save_LIBS 22133fi 22134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22135$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22136if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22137 ac_cv_libcthreads_dummy=yes 22138else 22139 ac_cv_libcthreads=no 22140fi 22141 22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22143$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22144if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} 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_lock_release (); 22159int 22160main () 22161{ 22162return libcthreads_lock_release (); 22163 ; 22164 return 0; 22165} 22166_ACEOF 22167if ac_fn_c_try_link "$LINENO"; then : 22168 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22169else 22170 ac_cv_lib_cthreads_libcthreads_lock_release=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_lock_release" >&5 22177$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22178if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22179 ac_cv_libcthreads_dummy=yes 22180else 22181 ac_cv_libcthreads=no 22182fi 22183 22184 22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22186$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22187if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22188 $as_echo_n "(cached) " >&6 22189else 22190 ac_check_lib_save_LIBS=$LIBS 22191LIBS="-lcthreads $LIBS" 22192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22193/* end confdefs.h. */ 22194 22195/* Override any GCC internal prototype to avoid an error. 22196 Use char because int might match the return type of a GCC 22197 builtin and then its argument prototype would still apply. */ 22198#ifdef __cplusplus 22199extern "C" 22200#endif 22201char libcthreads_mutex_initialize (); 22202int 22203main () 22204{ 22205return libcthreads_mutex_initialize (); 22206 ; 22207 return 0; 22208} 22209_ACEOF 22210if ac_fn_c_try_link "$LINENO"; then : 22211 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22212else 22213 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22214fi 22215rm -f core conftest.err conftest.$ac_objext \ 22216 conftest$ac_exeext conftest.$ac_ext 22217LIBS=$ac_check_lib_save_LIBS 22218fi 22219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22220$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22221if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22222 ac_cv_libcthreads_dummy=yes 22223else 22224 ac_cv_libcthreads=no 22225fi 22226 22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22228$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22229if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22230 $as_echo_n "(cached) " >&6 22231else 22232 ac_check_lib_save_LIBS=$LIBS 22233LIBS="-lcthreads $LIBS" 22234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22235/* end confdefs.h. */ 22236 22237/* Override any GCC internal prototype to avoid an error. 22238 Use char because int might match the return type of a GCC 22239 builtin and then its argument prototype would still apply. */ 22240#ifdef __cplusplus 22241extern "C" 22242#endif 22243char libcthreads_mutex_free (); 22244int 22245main () 22246{ 22247return libcthreads_mutex_free (); 22248 ; 22249 return 0; 22250} 22251_ACEOF 22252if ac_fn_c_try_link "$LINENO"; then : 22253 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22254else 22255 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22256fi 22257rm -f core conftest.err conftest.$ac_objext \ 22258 conftest$ac_exeext conftest.$ac_ext 22259LIBS=$ac_check_lib_save_LIBS 22260fi 22261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22262$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22263if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22264 ac_cv_libcthreads_dummy=yes 22265else 22266 ac_cv_libcthreads=no 22267fi 22268 22269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22270$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22271if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22272 $as_echo_n "(cached) " >&6 22273else 22274 ac_check_lib_save_LIBS=$LIBS 22275LIBS="-lcthreads $LIBS" 22276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22277/* end confdefs.h. */ 22278 22279/* Override any GCC internal prototype to avoid an error. 22280 Use char because int might match the return type of a GCC 22281 builtin and then its argument prototype would still apply. */ 22282#ifdef __cplusplus 22283extern "C" 22284#endif 22285char libcthreads_mutex_grab (); 22286int 22287main () 22288{ 22289return libcthreads_mutex_grab (); 22290 ; 22291 return 0; 22292} 22293_ACEOF 22294if ac_fn_c_try_link "$LINENO"; then : 22295 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22296else 22297 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22298fi 22299rm -f core conftest.err conftest.$ac_objext \ 22300 conftest$ac_exeext conftest.$ac_ext 22301LIBS=$ac_check_lib_save_LIBS 22302fi 22303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22304$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22305if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22306 ac_cv_libcthreads_dummy=yes 22307else 22308 ac_cv_libcthreads=no 22309fi 22310 22311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22312$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22313if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22314 $as_echo_n "(cached) " >&6 22315else 22316 ac_check_lib_save_LIBS=$LIBS 22317LIBS="-lcthreads $LIBS" 22318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22319/* end confdefs.h. */ 22320 22321/* Override any GCC internal prototype to avoid an error. 22322 Use char because int might match the return type of a GCC 22323 builtin and then its argument prototype would still apply. */ 22324#ifdef __cplusplus 22325extern "C" 22326#endif 22327char libcthreads_mutex_try_grab (); 22328int 22329main () 22330{ 22331return libcthreads_mutex_try_grab (); 22332 ; 22333 return 0; 22334} 22335_ACEOF 22336if ac_fn_c_try_link "$LINENO"; then : 22337 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22338else 22339 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22340fi 22341rm -f core conftest.err conftest.$ac_objext \ 22342 conftest$ac_exeext conftest.$ac_ext 22343LIBS=$ac_check_lib_save_LIBS 22344fi 22345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22346$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22347if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22348 ac_cv_libcthreads_dummy=yes 22349else 22350 ac_cv_libcthreads=no 22351fi 22352 22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22354$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22355if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} 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_mutex_release (); 22370int 22371main () 22372{ 22373return libcthreads_mutex_release (); 22374 ; 22375 return 0; 22376} 22377_ACEOF 22378if ac_fn_c_try_link "$LINENO"; then : 22379 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22380else 22381 ac_cv_lib_cthreads_libcthreads_mutex_release=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_mutex_release" >&5 22388$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22389if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22390 ac_cv_libcthreads_dummy=yes 22391else 22392 ac_cv_libcthreads=no 22393fi 22394 22395 22396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22397$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22398if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22399 $as_echo_n "(cached) " >&6 22400else 22401 ac_check_lib_save_LIBS=$LIBS 22402LIBS="-lcthreads $LIBS" 22403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22404/* end confdefs.h. */ 22405 22406/* Override any GCC internal prototype to avoid an error. 22407 Use char because int might match the return type of a GCC 22408 builtin and then its argument prototype would still apply. */ 22409#ifdef __cplusplus 22410extern "C" 22411#endif 22412char libcthreads_read_write_lock_initialize (); 22413int 22414main () 22415{ 22416return libcthreads_read_write_lock_initialize (); 22417 ; 22418 return 0; 22419} 22420_ACEOF 22421if ac_fn_c_try_link "$LINENO"; then : 22422 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22423else 22424 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22425fi 22426rm -f core conftest.err conftest.$ac_objext \ 22427 conftest$ac_exeext conftest.$ac_ext 22428LIBS=$ac_check_lib_save_LIBS 22429fi 22430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22431$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22432if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22433 ac_cv_libcthreads_dummy=yes 22434else 22435 ac_cv_libcthreads=no 22436fi 22437 22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22439$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22440if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22441 $as_echo_n "(cached) " >&6 22442else 22443 ac_check_lib_save_LIBS=$LIBS 22444LIBS="-lcthreads $LIBS" 22445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22446/* end confdefs.h. */ 22447 22448/* Override any GCC internal prototype to avoid an error. 22449 Use char because int might match the return type of a GCC 22450 builtin and then its argument prototype would still apply. */ 22451#ifdef __cplusplus 22452extern "C" 22453#endif 22454char libcthreads_read_write_lock_free (); 22455int 22456main () 22457{ 22458return libcthreads_read_write_lock_free (); 22459 ; 22460 return 0; 22461} 22462_ACEOF 22463if ac_fn_c_try_link "$LINENO"; then : 22464 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22465else 22466 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22467fi 22468rm -f core conftest.err conftest.$ac_objext \ 22469 conftest$ac_exeext conftest.$ac_ext 22470LIBS=$ac_check_lib_save_LIBS 22471fi 22472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22473$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22474if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22475 ac_cv_libcthreads_dummy=yes 22476else 22477 ac_cv_libcthreads=no 22478fi 22479 22480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22481$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22482if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22483 $as_echo_n "(cached) " >&6 22484else 22485 ac_check_lib_save_LIBS=$LIBS 22486LIBS="-lcthreads $LIBS" 22487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22488/* end confdefs.h. */ 22489 22490/* Override any GCC internal prototype to avoid an error. 22491 Use char because int might match the return type of a GCC 22492 builtin and then its argument prototype would still apply. */ 22493#ifdef __cplusplus 22494extern "C" 22495#endif 22496char libcthreads_read_write_lock_grab_for_read (); 22497int 22498main () 22499{ 22500return libcthreads_read_write_lock_grab_for_read (); 22501 ; 22502 return 0; 22503} 22504_ACEOF 22505if ac_fn_c_try_link "$LINENO"; then : 22506 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22507else 22508 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22509fi 22510rm -f core conftest.err conftest.$ac_objext \ 22511 conftest$ac_exeext conftest.$ac_ext 22512LIBS=$ac_check_lib_save_LIBS 22513fi 22514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22515$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22516if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22517 ac_cv_libcthreads_dummy=yes 22518else 22519 ac_cv_libcthreads=no 22520fi 22521 22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22523$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22524if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22525 $as_echo_n "(cached) " >&6 22526else 22527 ac_check_lib_save_LIBS=$LIBS 22528LIBS="-lcthreads $LIBS" 22529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22530/* end confdefs.h. */ 22531 22532/* Override any GCC internal prototype to avoid an error. 22533 Use char because int might match the return type of a GCC 22534 builtin and then its argument prototype would still apply. */ 22535#ifdef __cplusplus 22536extern "C" 22537#endif 22538char libcthreads_read_write_lock_grab_for_write (); 22539int 22540main () 22541{ 22542return libcthreads_read_write_lock_grab_for_write (); 22543 ; 22544 return 0; 22545} 22546_ACEOF 22547if ac_fn_c_try_link "$LINENO"; then : 22548 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22549else 22550 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22551fi 22552rm -f core conftest.err conftest.$ac_objext \ 22553 conftest$ac_exeext conftest.$ac_ext 22554LIBS=$ac_check_lib_save_LIBS 22555fi 22556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22557$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22558if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22559 ac_cv_libcthreads_dummy=yes 22560else 22561 ac_cv_libcthreads=no 22562fi 22563 22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22565$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22566if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22567 $as_echo_n "(cached) " >&6 22568else 22569 ac_check_lib_save_LIBS=$LIBS 22570LIBS="-lcthreads $LIBS" 22571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22572/* end confdefs.h. */ 22573 22574/* Override any GCC internal prototype to avoid an error. 22575 Use char because int might match the return type of a GCC 22576 builtin and then its argument prototype would still apply. */ 22577#ifdef __cplusplus 22578extern "C" 22579#endif 22580char libcthreads_read_write_lock_release_for_read (); 22581int 22582main () 22583{ 22584return libcthreads_read_write_lock_release_for_read (); 22585 ; 22586 return 0; 22587} 22588_ACEOF 22589if ac_fn_c_try_link "$LINENO"; then : 22590 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22591else 22592 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22593fi 22594rm -f core conftest.err conftest.$ac_objext \ 22595 conftest$ac_exeext conftest.$ac_ext 22596LIBS=$ac_check_lib_save_LIBS 22597fi 22598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22599$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22600if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22601 ac_cv_libcthreads_dummy=yes 22602else 22603 ac_cv_libcthreads=no 22604fi 22605 22606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22607$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22608if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} 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_read_write_lock_release_for_write (); 22623int 22624main () 22625{ 22626return libcthreads_read_write_lock_release_for_write (); 22627 ; 22628 return 0; 22629} 22630_ACEOF 22631if ac_fn_c_try_link "$LINENO"; then : 22632 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22633else 22634 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=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_read_write_lock_release_for_write" >&5 22641$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22642if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22643 ac_cv_libcthreads_dummy=yes 22644else 22645 ac_cv_libcthreads=no 22646fi 22647 22648 22649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22650$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22651if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22652 $as_echo_n "(cached) " >&6 22653else 22654 ac_check_lib_save_LIBS=$LIBS 22655LIBS="-lcthreads $LIBS" 22656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22657/* end confdefs.h. */ 22658 22659/* Override any GCC internal prototype to avoid an error. 22660 Use char because int might match the return type of a GCC 22661 builtin and then its argument prototype would still apply. */ 22662#ifdef __cplusplus 22663extern "C" 22664#endif 22665char libcthreads_queue_initialize (); 22666int 22667main () 22668{ 22669return libcthreads_queue_initialize (); 22670 ; 22671 return 0; 22672} 22673_ACEOF 22674if ac_fn_c_try_link "$LINENO"; then : 22675 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22676else 22677 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22678fi 22679rm -f core conftest.err conftest.$ac_objext \ 22680 conftest$ac_exeext conftest.$ac_ext 22681LIBS=$ac_check_lib_save_LIBS 22682fi 22683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22684$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22685if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22686 ac_cv_libcthreads_dummy=yes 22687else 22688 ac_cv_libcthreads=no 22689fi 22690 22691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22692$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22693if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22694 $as_echo_n "(cached) " >&6 22695else 22696 ac_check_lib_save_LIBS=$LIBS 22697LIBS="-lcthreads $LIBS" 22698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22699/* end confdefs.h. */ 22700 22701/* Override any GCC internal prototype to avoid an error. 22702 Use char because int might match the return type of a GCC 22703 builtin and then its argument prototype would still apply. */ 22704#ifdef __cplusplus 22705extern "C" 22706#endif 22707char libcthreads_queue_free (); 22708int 22709main () 22710{ 22711return libcthreads_queue_free (); 22712 ; 22713 return 0; 22714} 22715_ACEOF 22716if ac_fn_c_try_link "$LINENO"; then : 22717 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22718else 22719 ac_cv_lib_cthreads_libcthreads_queue_free=no 22720fi 22721rm -f core conftest.err conftest.$ac_objext \ 22722 conftest$ac_exeext conftest.$ac_ext 22723LIBS=$ac_check_lib_save_LIBS 22724fi 22725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22726$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22727if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22728 ac_cv_libcthreads_dummy=yes 22729else 22730 ac_cv_libcthreads=no 22731fi 22732 22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22734$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22735if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22736 $as_echo_n "(cached) " >&6 22737else 22738 ac_check_lib_save_LIBS=$LIBS 22739LIBS="-lcthreads $LIBS" 22740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22741/* end confdefs.h. */ 22742 22743/* Override any GCC internal prototype to avoid an error. 22744 Use char because int might match the return type of a GCC 22745 builtin and then its argument prototype would still apply. */ 22746#ifdef __cplusplus 22747extern "C" 22748#endif 22749char libcthreads_queue_type_pop (); 22750int 22751main () 22752{ 22753return libcthreads_queue_type_pop (); 22754 ; 22755 return 0; 22756} 22757_ACEOF 22758if ac_fn_c_try_link "$LINENO"; then : 22759 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22760else 22761 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22762fi 22763rm -f core conftest.err conftest.$ac_objext \ 22764 conftest$ac_exeext conftest.$ac_ext 22765LIBS=$ac_check_lib_save_LIBS 22766fi 22767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22768$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22769if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22770 ac_cv_libcthreads_dummy=yes 22771else 22772 ac_cv_libcthreads=no 22773fi 22774 22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22776$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22777if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22778 $as_echo_n "(cached) " >&6 22779else 22780 ac_check_lib_save_LIBS=$LIBS 22781LIBS="-lcthreads $LIBS" 22782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22783/* end confdefs.h. */ 22784 22785/* Override any GCC internal prototype to avoid an error. 22786 Use char because int might match the return type of a GCC 22787 builtin and then its argument prototype would still apply. */ 22788#ifdef __cplusplus 22789extern "C" 22790#endif 22791char libcthreads_queue_pop (); 22792int 22793main () 22794{ 22795return libcthreads_queue_pop (); 22796 ; 22797 return 0; 22798} 22799_ACEOF 22800if ac_fn_c_try_link "$LINENO"; then : 22801 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22802else 22803 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22804fi 22805rm -f core conftest.err conftest.$ac_objext \ 22806 conftest$ac_exeext conftest.$ac_ext 22807LIBS=$ac_check_lib_save_LIBS 22808fi 22809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22810$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22811if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22812 ac_cv_libcthreads_dummy=yes 22813else 22814 ac_cv_libcthreads=no 22815fi 22816 22817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22818$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22819if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22820 $as_echo_n "(cached) " >&6 22821else 22822 ac_check_lib_save_LIBS=$LIBS 22823LIBS="-lcthreads $LIBS" 22824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22825/* end confdefs.h. */ 22826 22827/* Override any GCC internal prototype to avoid an error. 22828 Use char because int might match the return type of a GCC 22829 builtin and then its argument prototype would still apply. */ 22830#ifdef __cplusplus 22831extern "C" 22832#endif 22833char libcthreads_queue_try_push (); 22834int 22835main () 22836{ 22837return libcthreads_queue_try_push (); 22838 ; 22839 return 0; 22840} 22841_ACEOF 22842if ac_fn_c_try_link "$LINENO"; then : 22843 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22844else 22845 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22846fi 22847rm -f core conftest.err conftest.$ac_objext \ 22848 conftest$ac_exeext conftest.$ac_ext 22849LIBS=$ac_check_lib_save_LIBS 22850fi 22851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22852$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22853if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22854 ac_cv_libcthreads_dummy=yes 22855else 22856 ac_cv_libcthreads=no 22857fi 22858 22859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22860$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22861if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22862 $as_echo_n "(cached) " >&6 22863else 22864 ac_check_lib_save_LIBS=$LIBS 22865LIBS="-lcthreads $LIBS" 22866cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22867/* end confdefs.h. */ 22868 22869/* Override any GCC internal prototype to avoid an error. 22870 Use char because int might match the return type of a GCC 22871 builtin and then its argument prototype would still apply. */ 22872#ifdef __cplusplus 22873extern "C" 22874#endif 22875char libcthreads_queue_push (); 22876int 22877main () 22878{ 22879return libcthreads_queue_push (); 22880 ; 22881 return 0; 22882} 22883_ACEOF 22884if ac_fn_c_try_link "$LINENO"; then : 22885 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22886else 22887 ac_cv_lib_cthreads_libcthreads_queue_push=no 22888fi 22889rm -f core conftest.err conftest.$ac_objext \ 22890 conftest$ac_exeext conftest.$ac_ext 22891LIBS=$ac_check_lib_save_LIBS 22892fi 22893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22894$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22895if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22896 ac_cv_libcthreads_dummy=yes 22897else 22898 ac_cv_libcthreads=no 22899fi 22900 22901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22902$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22903if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} 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_queue_push_sorted (); 22918int 22919main () 22920{ 22921return libcthreads_queue_push_sorted (); 22922 ; 22923 return 0; 22924} 22925_ACEOF 22926if ac_fn_c_try_link "$LINENO"; then : 22927 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22928else 22929 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=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_queue_push_sorted" >&5 22936$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22937if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22938 ac_cv_libcthreads_dummy=yes 22939else 22940 ac_cv_libcthreads=no 22941fi 22942 22943 22944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22945$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22946if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22947 $as_echo_n "(cached) " >&6 22948else 22949 ac_check_lib_save_LIBS=$LIBS 22950LIBS="-lcthreads $LIBS" 22951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22952/* end confdefs.h. */ 22953 22954/* Override any GCC internal prototype to avoid an error. 22955 Use char because int might match the return type of a GCC 22956 builtin and then its argument prototype would still apply. */ 22957#ifdef __cplusplus 22958extern "C" 22959#endif 22960char libcthreads_thread_pool_create (); 22961int 22962main () 22963{ 22964return libcthreads_thread_pool_create (); 22965 ; 22966 return 0; 22967} 22968_ACEOF 22969if ac_fn_c_try_link "$LINENO"; then : 22970 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22971else 22972 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22973fi 22974rm -f core conftest.err conftest.$ac_objext \ 22975 conftest$ac_exeext conftest.$ac_ext 22976LIBS=$ac_check_lib_save_LIBS 22977fi 22978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22979$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22980if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22981 ac_cv_libcthreads_dummy=yes 22982else 22983 ac_cv_libcthreads=no 22984fi 22985 22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 22987$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 22988if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 22989 $as_echo_n "(cached) " >&6 22990else 22991 ac_check_lib_save_LIBS=$LIBS 22992LIBS="-lcthreads $LIBS" 22993cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22994/* end confdefs.h. */ 22995 22996/* Override any GCC internal prototype to avoid an error. 22997 Use char because int might match the return type of a GCC 22998 builtin and then its argument prototype would still apply. */ 22999#ifdef __cplusplus 23000extern "C" 23001#endif 23002char libcthreads_thread_pool_push (); 23003int 23004main () 23005{ 23006return libcthreads_thread_pool_push (); 23007 ; 23008 return 0; 23009} 23010_ACEOF 23011if ac_fn_c_try_link "$LINENO"; then : 23012 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 23013else 23014 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 23015fi 23016rm -f core conftest.err conftest.$ac_objext \ 23017 conftest$ac_exeext conftest.$ac_ext 23018LIBS=$ac_check_lib_save_LIBS 23019fi 23020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 23021$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 23022if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 23023 ac_cv_libcthreads_dummy=yes 23024else 23025 ac_cv_libcthreads=no 23026fi 23027 23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 23029$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 23030if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 23031 $as_echo_n "(cached) " >&6 23032else 23033 ac_check_lib_save_LIBS=$LIBS 23034LIBS="-lcthreads $LIBS" 23035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23036/* end confdefs.h. */ 23037 23038/* Override any GCC internal prototype to avoid an error. 23039 Use char because int might match the return type of a GCC 23040 builtin and then its argument prototype would still apply. */ 23041#ifdef __cplusplus 23042extern "C" 23043#endif 23044char libcthreads_thread_pool_push_sorted (); 23045int 23046main () 23047{ 23048return libcthreads_thread_pool_push_sorted (); 23049 ; 23050 return 0; 23051} 23052_ACEOF 23053if ac_fn_c_try_link "$LINENO"; then : 23054 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23055else 23056 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23057fi 23058rm -f core conftest.err conftest.$ac_objext \ 23059 conftest$ac_exeext conftest.$ac_ext 23060LIBS=$ac_check_lib_save_LIBS 23061fi 23062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23063$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23064if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23065 ac_cv_libcthreads_dummy=yes 23066else 23067 ac_cv_libcthreads=no 23068fi 23069 23070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23071$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23072if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23073 $as_echo_n "(cached) " >&6 23074else 23075 ac_check_lib_save_LIBS=$LIBS 23076LIBS="-lcthreads $LIBS" 23077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23078/* end confdefs.h. */ 23079 23080/* Override any GCC internal prototype to avoid an error. 23081 Use char because int might match the return type of a GCC 23082 builtin and then its argument prototype would still apply. */ 23083#ifdef __cplusplus 23084extern "C" 23085#endif 23086char libcthreads_thread_pool_join (); 23087int 23088main () 23089{ 23090return libcthreads_thread_pool_join (); 23091 ; 23092 return 0; 23093} 23094_ACEOF 23095if ac_fn_c_try_link "$LINENO"; then : 23096 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23097else 23098 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23099fi 23100rm -f core conftest.err conftest.$ac_objext \ 23101 conftest$ac_exeext conftest.$ac_ext 23102LIBS=$ac_check_lib_save_LIBS 23103fi 23104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23105$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23106if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23107 ac_cv_libcthreads_dummy=yes 23108else 23109 ac_cv_libcthreads=no 23110fi 23111 23112 23113 ac_cv_libcthreads_LIBADD="-lcthreads" 23114fi 23115 23116fi 23117 23118 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23121as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23122See \`config.log' for more details" "$LINENO" 5; } 23123 23124fi 23125 23126fi 23127 23128 if test "x$ac_cv_libcthreads" = xyes; then : 23129 23130$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23131 23132 23133fi 23134 23135 if test "x$ac_cv_libcthreads" = xyes; then : 23136 ac_cv_libcthreads_multi_threading=libcthreads 23137else 23138 ac_cv_libcthreads_multi_threading=no 23139fi 23140 23141 if test "x$ac_cv_libcthreads" = xyes; then : 23142 HAVE_LIBCTHREADS=1 23143 23144else 23145 HAVE_LIBCTHREADS=0 23146 23147 23148fi 23149 23150 23151 if test "x$ac_cv_libcthreads" != xyes; then : 23152 if test "x$ac_cv_enable_winapi" = xno; then : 23153 23154 23155# Check whether --with-pthread was given. 23156if test "${with_pthread+set}" = set; then : 23157 withval=$with_pthread; ac_cv_with_pthread=$withval 23158else 23159 ac_cv_with_pthread=auto-detect 23160fi 23161 23162 { $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 23163$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; } 23164if ${ac_cv_with_pthread+:} false; then : 23165 $as_echo_n "(cached) " >&6 23166else 23167 ac_cv_with_pthread=auto-detect 23168fi 23169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23170$as_echo "$ac_cv_with_pthread" >&6; } 23171 23172 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23173 if test -d "$ac_cv_with_pthread"; then : 23174 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23175 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23176else 23177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23178$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23179 23180fi 23181 23182fi 23183 23184 if test "x$ac_cv_with_pthread" = xno; then : 23185 ac_cv_pthread=no 23186else 23187 for ac_header in pthread.h 23188do : 23189 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23190if test "x$ac_cv_header_pthread_h" = xyes; then : 23191 cat >>confdefs.h <<_ACEOF 23192#define HAVE_PTHREAD_H 1 23193_ACEOF 23194 23195fi 23196 23197done 23198 23199 23200 if test "x$ac_cv_header_pthread_h" = xno; then : 23201 ac_cv_pthread=no 23202else 23203 ac_cv_pthread=pthread 23204 23205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23206$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23207if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23208 $as_echo_n "(cached) " >&6 23209else 23210 ac_check_lib_save_LIBS=$LIBS 23211LIBS="-lpthread $LIBS" 23212cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23213/* end confdefs.h. */ 23214 23215/* Override any GCC internal prototype to avoid an error. 23216 Use char because int might match the return type of a GCC 23217 builtin and then its argument prototype would still apply. */ 23218#ifdef __cplusplus 23219extern "C" 23220#endif 23221char pthread_create (); 23222int 23223main () 23224{ 23225return pthread_create (); 23226 ; 23227 return 0; 23228} 23229_ACEOF 23230if ac_fn_c_try_link "$LINENO"; then : 23231 ac_cv_lib_pthread_pthread_create=yes 23232else 23233 ac_cv_lib_pthread_pthread_create=no 23234fi 23235rm -f core conftest.err conftest.$ac_objext \ 23236 conftest$ac_exeext conftest.$ac_ext 23237LIBS=$ac_check_lib_save_LIBS 23238fi 23239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23240$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23241if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23242 ac_pthread_dummy=yes 23243else 23244 ac_cv_pthread=no 23245fi 23246 23247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23248$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23249if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23250 $as_echo_n "(cached) " >&6 23251else 23252 ac_check_lib_save_LIBS=$LIBS 23253LIBS="-lpthread $LIBS" 23254cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23255/* end confdefs.h. */ 23256 23257/* Override any GCC internal prototype to avoid an error. 23258 Use char because int might match the return type of a GCC 23259 builtin and then its argument prototype would still apply. */ 23260#ifdef __cplusplus 23261extern "C" 23262#endif 23263char pthread_exit (); 23264int 23265main () 23266{ 23267return pthread_exit (); 23268 ; 23269 return 0; 23270} 23271_ACEOF 23272if ac_fn_c_try_link "$LINENO"; then : 23273 ac_cv_lib_pthread_pthread_exit=yes 23274else 23275 ac_cv_lib_pthread_pthread_exit=no 23276fi 23277rm -f core conftest.err conftest.$ac_objext \ 23278 conftest$ac_exeext conftest.$ac_ext 23279LIBS=$ac_check_lib_save_LIBS 23280fi 23281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23282$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23283if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23284 ac_pthread_dummy=yes 23285else 23286 ac_cv_pthread=no 23287fi 23288 23289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23290$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23291if ${ac_cv_lib_pthread_pthread_join+:} 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_join (); 23306int 23307main () 23308{ 23309return pthread_join (); 23310 ; 23311 return 0; 23312} 23313_ACEOF 23314if ac_fn_c_try_link "$LINENO"; then : 23315 ac_cv_lib_pthread_pthread_join=yes 23316else 23317 ac_cv_lib_pthread_pthread_join=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_join" >&5 23324$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23325if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23326 ac_pthread_dummy=yes 23327else 23328 ac_cv_pthread=no 23329fi 23330 23331 23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23333$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23334if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23335 $as_echo_n "(cached) " >&6 23336else 23337 ac_check_lib_save_LIBS=$LIBS 23338LIBS="-lpthread $LIBS" 23339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23340/* end confdefs.h. */ 23341 23342/* Override any GCC internal prototype to avoid an error. 23343 Use char because int might match the return type of a GCC 23344 builtin and then its argument prototype would still apply. */ 23345#ifdef __cplusplus 23346extern "C" 23347#endif 23348char pthread_cond_init (); 23349int 23350main () 23351{ 23352return pthread_cond_init (); 23353 ; 23354 return 0; 23355} 23356_ACEOF 23357if ac_fn_c_try_link "$LINENO"; then : 23358 ac_cv_lib_pthread_pthread_cond_init=yes 23359else 23360 ac_cv_lib_pthread_pthread_cond_init=no 23361fi 23362rm -f core conftest.err conftest.$ac_objext \ 23363 conftest$ac_exeext conftest.$ac_ext 23364LIBS=$ac_check_lib_save_LIBS 23365fi 23366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23367$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23368if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23369 ac_pthread_dummy=yes 23370else 23371 ac_cv_pthread=no 23372fi 23373 23374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23375$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23376if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23377 $as_echo_n "(cached) " >&6 23378else 23379 ac_check_lib_save_LIBS=$LIBS 23380LIBS="-lpthread $LIBS" 23381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23382/* end confdefs.h. */ 23383 23384/* Override any GCC internal prototype to avoid an error. 23385 Use char because int might match the return type of a GCC 23386 builtin and then its argument prototype would still apply. */ 23387#ifdef __cplusplus 23388extern "C" 23389#endif 23390char pthread_cond_destroy (); 23391int 23392main () 23393{ 23394return pthread_cond_destroy (); 23395 ; 23396 return 0; 23397} 23398_ACEOF 23399if ac_fn_c_try_link "$LINENO"; then : 23400 ac_cv_lib_pthread_pthread_cond_destroy=yes 23401else 23402 ac_cv_lib_pthread_pthread_cond_destroy=no 23403fi 23404rm -f core conftest.err conftest.$ac_objext \ 23405 conftest$ac_exeext conftest.$ac_ext 23406LIBS=$ac_check_lib_save_LIBS 23407fi 23408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23409$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23410if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23411 ac_pthread_dummy=yes 23412else 23413 ac_cv_pthread=no 23414fi 23415 23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23417$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23418if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23419 $as_echo_n "(cached) " >&6 23420else 23421 ac_check_lib_save_LIBS=$LIBS 23422LIBS="-lpthread $LIBS" 23423cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23424/* end confdefs.h. */ 23425 23426/* Override any GCC internal prototype to avoid an error. 23427 Use char because int might match the return type of a GCC 23428 builtin and then its argument prototype would still apply. */ 23429#ifdef __cplusplus 23430extern "C" 23431#endif 23432char pthread_cond_broadcast (); 23433int 23434main () 23435{ 23436return pthread_cond_broadcast (); 23437 ; 23438 return 0; 23439} 23440_ACEOF 23441if ac_fn_c_try_link "$LINENO"; then : 23442 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23443else 23444 ac_cv_lib_pthread_pthread_cond_broadcast=no 23445fi 23446rm -f core conftest.err conftest.$ac_objext \ 23447 conftest$ac_exeext conftest.$ac_ext 23448LIBS=$ac_check_lib_save_LIBS 23449fi 23450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23451$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23452if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23453 ac_pthread_dummy=yes 23454else 23455 ac_cv_pthread=no 23456fi 23457 23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23459$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23460if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23461 $as_echo_n "(cached) " >&6 23462else 23463 ac_check_lib_save_LIBS=$LIBS 23464LIBS="-lpthread $LIBS" 23465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23466/* end confdefs.h. */ 23467 23468/* Override any GCC internal prototype to avoid an error. 23469 Use char because int might match the return type of a GCC 23470 builtin and then its argument prototype would still apply. */ 23471#ifdef __cplusplus 23472extern "C" 23473#endif 23474char pthread_cond_signal (); 23475int 23476main () 23477{ 23478return pthread_cond_signal (); 23479 ; 23480 return 0; 23481} 23482_ACEOF 23483if ac_fn_c_try_link "$LINENO"; then : 23484 ac_cv_lib_pthread_pthread_cond_signal=yes 23485else 23486 ac_cv_lib_pthread_pthread_cond_signal=no 23487fi 23488rm -f core conftest.err conftest.$ac_objext \ 23489 conftest$ac_exeext conftest.$ac_ext 23490LIBS=$ac_check_lib_save_LIBS 23491fi 23492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23493$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23494if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23495 ac_pthread_dummy=yes 23496else 23497 ac_cv_pthread=no 23498fi 23499 23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23501$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23502if ${ac_cv_lib_pthread_pthread_cond_wait+:} 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_cond_wait (); 23517int 23518main () 23519{ 23520return pthread_cond_wait (); 23521 ; 23522 return 0; 23523} 23524_ACEOF 23525if ac_fn_c_try_link "$LINENO"; then : 23526 ac_cv_lib_pthread_pthread_cond_wait=yes 23527else 23528 ac_cv_lib_pthread_pthread_cond_wait=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_cond_wait" >&5 23535$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23536if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23537 ac_pthread_dummy=yes 23538else 23539 ac_cv_pthread=no 23540fi 23541 23542 23543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23544$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23545if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23546 $as_echo_n "(cached) " >&6 23547else 23548 ac_check_lib_save_LIBS=$LIBS 23549LIBS="-lpthread $LIBS" 23550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23551/* end confdefs.h. */ 23552 23553/* Override any GCC internal prototype to avoid an error. 23554 Use char because int might match the return type of a GCC 23555 builtin and then its argument prototype would still apply. */ 23556#ifdef __cplusplus 23557extern "C" 23558#endif 23559char pthread_mutex_init (); 23560int 23561main () 23562{ 23563return pthread_mutex_init (); 23564 ; 23565 return 0; 23566} 23567_ACEOF 23568if ac_fn_c_try_link "$LINENO"; then : 23569 ac_cv_lib_pthread_pthread_mutex_init=yes 23570else 23571 ac_cv_lib_pthread_pthread_mutex_init=no 23572fi 23573rm -f core conftest.err conftest.$ac_objext \ 23574 conftest$ac_exeext conftest.$ac_ext 23575LIBS=$ac_check_lib_save_LIBS 23576fi 23577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23578$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23579if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23580 ac_pthread_dummy=yes 23581else 23582 ac_cv_pthread=no 23583fi 23584 23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23586$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23587if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23588 $as_echo_n "(cached) " >&6 23589else 23590 ac_check_lib_save_LIBS=$LIBS 23591LIBS="-lpthread $LIBS" 23592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23593/* end confdefs.h. */ 23594 23595/* Override any GCC internal prototype to avoid an error. 23596 Use char because int might match the return type of a GCC 23597 builtin and then its argument prototype would still apply. */ 23598#ifdef __cplusplus 23599extern "C" 23600#endif 23601char pthread_mutex_destroy (); 23602int 23603main () 23604{ 23605return pthread_mutex_destroy (); 23606 ; 23607 return 0; 23608} 23609_ACEOF 23610if ac_fn_c_try_link "$LINENO"; then : 23611 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23612else 23613 ac_cv_lib_pthread_pthread_mutex_destroy=no 23614fi 23615rm -f core conftest.err conftest.$ac_objext \ 23616 conftest$ac_exeext conftest.$ac_ext 23617LIBS=$ac_check_lib_save_LIBS 23618fi 23619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23620$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23621if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23622 ac_pthread_dummy=yes 23623else 23624 ac_cv_pthread=no 23625fi 23626 23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23628$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23629if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23630 $as_echo_n "(cached) " >&6 23631else 23632 ac_check_lib_save_LIBS=$LIBS 23633LIBS="-lpthread $LIBS" 23634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23635/* end confdefs.h. */ 23636 23637/* Override any GCC internal prototype to avoid an error. 23638 Use char because int might match the return type of a GCC 23639 builtin and then its argument prototype would still apply. */ 23640#ifdef __cplusplus 23641extern "C" 23642#endif 23643char pthread_mutex_lock (); 23644int 23645main () 23646{ 23647return pthread_mutex_lock (); 23648 ; 23649 return 0; 23650} 23651_ACEOF 23652if ac_fn_c_try_link "$LINENO"; then : 23653 ac_cv_lib_pthread_pthread_mutex_lock=yes 23654else 23655 ac_cv_lib_pthread_pthread_mutex_lock=no 23656fi 23657rm -f core conftest.err conftest.$ac_objext \ 23658 conftest$ac_exeext conftest.$ac_ext 23659LIBS=$ac_check_lib_save_LIBS 23660fi 23661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23662$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23663if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23664 ac_pthread_dummy=yes 23665else 23666 ac_cv_pthread=no 23667fi 23668 23669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23670$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23671if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23672 $as_echo_n "(cached) " >&6 23673else 23674 ac_check_lib_save_LIBS=$LIBS 23675LIBS="-lpthread $LIBS" 23676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23677/* end confdefs.h. */ 23678 23679/* Override any GCC internal prototype to avoid an error. 23680 Use char because int might match the return type of a GCC 23681 builtin and then its argument prototype would still apply. */ 23682#ifdef __cplusplus 23683extern "C" 23684#endif 23685char pthread_mutex_trylock (); 23686int 23687main () 23688{ 23689return pthread_mutex_trylock (); 23690 ; 23691 return 0; 23692} 23693_ACEOF 23694if ac_fn_c_try_link "$LINENO"; then : 23695 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23696else 23697 ac_cv_lib_pthread_pthread_mutex_trylock=no 23698fi 23699rm -f core conftest.err conftest.$ac_objext \ 23700 conftest$ac_exeext conftest.$ac_ext 23701LIBS=$ac_check_lib_save_LIBS 23702fi 23703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23704$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23705if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23706 ac_pthread_dummy=yes 23707else 23708 ac_cv_pthread=no 23709fi 23710 23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23712$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23713if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} 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_mutex_unlock (); 23728int 23729main () 23730{ 23731return pthread_mutex_unlock (); 23732 ; 23733 return 0; 23734} 23735_ACEOF 23736if ac_fn_c_try_link "$LINENO"; then : 23737 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23738else 23739 ac_cv_lib_pthread_pthread_mutex_unlock=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_mutex_unlock" >&5 23746$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23747if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23748 ac_pthread_dummy=yes 23749else 23750 ac_cv_pthread=no 23751fi 23752 23753 23754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23755$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23756if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23757 $as_echo_n "(cached) " >&6 23758else 23759 ac_check_lib_save_LIBS=$LIBS 23760LIBS="-lpthread $LIBS" 23761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23762/* end confdefs.h. */ 23763 23764/* Override any GCC internal prototype to avoid an error. 23765 Use char because int might match the return type of a GCC 23766 builtin and then its argument prototype would still apply. */ 23767#ifdef __cplusplus 23768extern "C" 23769#endif 23770char pthread_rwlock_init (); 23771int 23772main () 23773{ 23774return pthread_rwlock_init (); 23775 ; 23776 return 0; 23777} 23778_ACEOF 23779if ac_fn_c_try_link "$LINENO"; then : 23780 ac_cv_lib_pthread_pthread_rwlock_init=yes 23781else 23782 ac_cv_lib_pthread_pthread_rwlock_init=no 23783fi 23784rm -f core conftest.err conftest.$ac_objext \ 23785 conftest$ac_exeext conftest.$ac_ext 23786LIBS=$ac_check_lib_save_LIBS 23787fi 23788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23789$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23790if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23791 ac_pthread_dummy=yes 23792else 23793 ac_cv_pthread=no 23794fi 23795 23796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23797$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23798if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23799 $as_echo_n "(cached) " >&6 23800else 23801 ac_check_lib_save_LIBS=$LIBS 23802LIBS="-lpthread $LIBS" 23803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23804/* end confdefs.h. */ 23805 23806/* Override any GCC internal prototype to avoid an error. 23807 Use char because int might match the return type of a GCC 23808 builtin and then its argument prototype would still apply. */ 23809#ifdef __cplusplus 23810extern "C" 23811#endif 23812char pthread_rwlock_destroy (); 23813int 23814main () 23815{ 23816return pthread_rwlock_destroy (); 23817 ; 23818 return 0; 23819} 23820_ACEOF 23821if ac_fn_c_try_link "$LINENO"; then : 23822 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23823else 23824 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23825fi 23826rm -f core conftest.err conftest.$ac_objext \ 23827 conftest$ac_exeext conftest.$ac_ext 23828LIBS=$ac_check_lib_save_LIBS 23829fi 23830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23831$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23832if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23833 ac_pthread_dummy=yes 23834else 23835 ac_cv_pthread=no 23836fi 23837 23838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23839$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23840if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23841 $as_echo_n "(cached) " >&6 23842else 23843 ac_check_lib_save_LIBS=$LIBS 23844LIBS="-lpthread $LIBS" 23845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23846/* end confdefs.h. */ 23847 23848/* Override any GCC internal prototype to avoid an error. 23849 Use char because int might match the return type of a GCC 23850 builtin and then its argument prototype would still apply. */ 23851#ifdef __cplusplus 23852extern "C" 23853#endif 23854char pthread_rwlock_rdlock (); 23855int 23856main () 23857{ 23858return pthread_rwlock_rdlock (); 23859 ; 23860 return 0; 23861} 23862_ACEOF 23863if ac_fn_c_try_link "$LINENO"; then : 23864 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23865else 23866 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23867fi 23868rm -f core conftest.err conftest.$ac_objext \ 23869 conftest$ac_exeext conftest.$ac_ext 23870LIBS=$ac_check_lib_save_LIBS 23871fi 23872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23873$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23874if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23875 ac_pthread_dummy=yes 23876else 23877 ac_cv_pthread=no 23878fi 23879 23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23881$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23882if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23883 $as_echo_n "(cached) " >&6 23884else 23885 ac_check_lib_save_LIBS=$LIBS 23886LIBS="-lpthread $LIBS" 23887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23888/* end confdefs.h. */ 23889 23890/* Override any GCC internal prototype to avoid an error. 23891 Use char because int might match the return type of a GCC 23892 builtin and then its argument prototype would still apply. */ 23893#ifdef __cplusplus 23894extern "C" 23895#endif 23896char pthread_rwlock_wrlock (); 23897int 23898main () 23899{ 23900return pthread_rwlock_wrlock (); 23901 ; 23902 return 0; 23903} 23904_ACEOF 23905if ac_fn_c_try_link "$LINENO"; then : 23906 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23907else 23908 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23909fi 23910rm -f core conftest.err conftest.$ac_objext \ 23911 conftest$ac_exeext conftest.$ac_ext 23912LIBS=$ac_check_lib_save_LIBS 23913fi 23914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23915$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23916if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23917 ac_pthread_dummy=yes 23918else 23919 ac_cv_pthread=no 23920fi 23921 23922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23923$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23924if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23925 $as_echo_n "(cached) " >&6 23926else 23927 ac_check_lib_save_LIBS=$LIBS 23928LIBS="-lpthread $LIBS" 23929cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23930/* end confdefs.h. */ 23931 23932/* Override any GCC internal prototype to avoid an error. 23933 Use char because int might match the return type of a GCC 23934 builtin and then its argument prototype would still apply. */ 23935#ifdef __cplusplus 23936extern "C" 23937#endif 23938char pthread_rwlock_unlock (); 23939int 23940main () 23941{ 23942return pthread_rwlock_unlock (); 23943 ; 23944 return 0; 23945} 23946_ACEOF 23947if ac_fn_c_try_link "$LINENO"; then : 23948 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23949else 23950 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23951fi 23952rm -f core conftest.err conftest.$ac_objext \ 23953 conftest$ac_exeext conftest.$ac_ext 23954LIBS=$ac_check_lib_save_LIBS 23955fi 23956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23957$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23958if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23959 ac_pthread_dummy=yes 23960else 23961 ac_cv_pthread=no 23962fi 23963 23964 23965 ac_cv_pthread_LIBADD="-lpthread"; 23966 23967fi 23968 23969fi 23970 23971 if test "x$ac_cv_pthread" = xpthread; then : 23972 23973$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23974 23975 23976fi 23977 23978 if test "x$ac_cv_pthread" != xno; then : 23979 HAVE_PTHREAD=1 23980 23981else 23982 HAVE_PTHREAD=0 23983 23984 23985fi 23986 23987 23988 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 23989 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 23990 23991 23992fi 23993 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 23994 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 23995 23996 23997fi 23998 23999 if test "x$ac_cv_pthread" = xpthread; then : 24000 ax_pthread_pc_libs_private=-lpthread 24001 24002 24003fi 24004 24005 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 24006else 24007 ac_cv_libcthreads_multi_threading="winapi" 24008fi 24009 24010 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 24011 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 24012 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 24013 24014 ac_cv_libcthreads=local 24015else 24016 ac_cv_libcthreads=no 24017fi 24018 24019 24020 24021$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 24022 24023 HAVE_LOCAL_LIBCTHREADS=1 24024 24025 24026fi 24027 24028fi 24029 24030 if test "x$ac_cv_libcthreads" = xlocal; then 24031 HAVE_LOCAL_LIBCTHREADS_TRUE= 24032 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 24033else 24034 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 24035 HAVE_LOCAL_LIBCTHREADS_FALSE= 24036fi 24037 24038 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 24039 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 24040 24041 24042fi 24043 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24044 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24045 24046 24047fi 24048 24049 if test "x$ac_cv_libcthreads" != xno; then : 24050 24051$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24052 24053 HAVE_MULTI_THREAD_SUPPORT=1 24054 24055else 24056 HAVE_MULTI_THREAD_SUPPORT=0 24057 24058 24059fi 24060 24061 if test "x$ac_cv_libcthreads" = xyes; then : 24062 ax_libcthreads_pc_libs_private=-lcthreads 24063 24064 24065fi 24066 24067 if test "x$ac_cv_libcthreads" = xyes; then : 24068 ax_libcthreads_spec_requires=libcthreads 24069 24070 ax_libcthreads_spec_build_requires=libcthreads-devel 24071 24072 24073fi 24074 24075 24076 24077 24078# Check whether --with-libcdata was given. 24079if test "${with_libcdata+set}" = set; then : 24080 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24081else 24082 ac_cv_with_libcdata=auto-detect 24083fi 24084 24085 { $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 24086$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; } 24087if ${ac_cv_with_libcdata+:} false; then : 24088 $as_echo_n "(cached) " >&6 24089else 24090 ac_cv_with_libcdata=auto-detect 24091fi 24092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24093$as_echo "$ac_cv_with_libcdata" >&6; } 24094 24095 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24096 ac_cv_libcdata=no 24097else 24098 ac_cv_libcdata=check 24099 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24100 if test -d "$ac_cv_with_libcdata"; then : 24101 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24102 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24103else 24104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24105$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24106as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24107See \`config.log' for more details" "$LINENO" 5; } 24108 24109fi 24110 24111else 24112 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24113 24114pkg_failed=no 24115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24116$as_echo_n "checking for libcdata... " >&6; } 24117 24118if test -n "$libcdata_CFLAGS"; then 24119 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24120 elif test -n "$PKG_CONFIG"; then 24121 if test -n "$PKG_CONFIG" && \ 24122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24123 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24124 ac_status=$? 24125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24126 test $ac_status = 0; }; then 24127 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24128 test "x$?" != "x0" && pkg_failed=yes 24129else 24130 pkg_failed=yes 24131fi 24132 else 24133 pkg_failed=untried 24134fi 24135if test -n "$libcdata_LIBS"; then 24136 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24137 elif test -n "$PKG_CONFIG"; then 24138 if test -n "$PKG_CONFIG" && \ 24139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24140 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24141 ac_status=$? 24142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24143 test $ac_status = 0; }; then 24144 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24145 test "x$?" != "x0" && pkg_failed=yes 24146else 24147 pkg_failed=yes 24148fi 24149 else 24150 pkg_failed=untried 24151fi 24152 24153 24154 24155if test $pkg_failed = yes; then 24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24157$as_echo "no" >&6; } 24158 24159if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24160 _pkg_short_errors_supported=yes 24161else 24162 _pkg_short_errors_supported=no 24163fi 24164 if test $_pkg_short_errors_supported = yes; then 24165 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24166 else 24167 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24168 fi 24169 # Put the nasty error message in config.log where it belongs 24170 echo "$libcdata_PKG_ERRORS" >&5 24171 24172 ac_cv_libcdata=check 24173elif test $pkg_failed = untried; then 24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24175$as_echo "no" >&6; } 24176 ac_cv_libcdata=check 24177else 24178 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24179 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24181$as_echo "yes" >&6; } 24182 ac_cv_libcdata=yes 24183fi 24184 24185fi 24186 if test "x$ac_cv_libcdata" = xyes; then : 24187 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24188 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24189fi 24190 24191fi 24192 24193 if test "x$ac_cv_libcdata" = xcheck; then : 24194 for ac_header in libcdata.h 24195do : 24196 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24197if test "x$ac_cv_header_libcdata_h" = xyes; then : 24198 cat >>confdefs.h <<_ACEOF 24199#define HAVE_LIBCDATA_H 1 24200_ACEOF 24201 24202fi 24203 24204done 24205 24206 24207 if test "x$ac_cv_header_libcdata_h" = xno; then : 24208 ac_cv_libcdata=no 24209else 24210 ac_cv_libcdata=yes 24211 24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24213$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24214if ${ac_cv_lib_cdata_libcdata_get_version+:} 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_get_version (); 24229int 24230main () 24231{ 24232return libcdata_get_version (); 24233 ; 24234 return 0; 24235} 24236_ACEOF 24237if ac_fn_c_try_link "$LINENO"; then : 24238 ac_cv_lib_cdata_libcdata_get_version=yes 24239else 24240 ac_cv_lib_cdata_libcdata_get_version=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_get_version" >&5 24247$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24248if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24249 ac_cv_libcdata_dummy=yes 24250else 24251 ac_cv_libcdata=no 24252fi 24253 24254 24255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24256$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24257if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24258 $as_echo_n "(cached) " >&6 24259else 24260 ac_check_lib_save_LIBS=$LIBS 24261LIBS="-lcdata $LIBS" 24262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24263/* end confdefs.h. */ 24264 24265/* Override any GCC internal prototype to avoid an error. 24266 Use char because int might match the return type of a GCC 24267 builtin and then its argument prototype would still apply. */ 24268#ifdef __cplusplus 24269extern "C" 24270#endif 24271char libcdata_array_initialize (); 24272int 24273main () 24274{ 24275return libcdata_array_initialize (); 24276 ; 24277 return 0; 24278} 24279_ACEOF 24280if ac_fn_c_try_link "$LINENO"; then : 24281 ac_cv_lib_cdata_libcdata_array_initialize=yes 24282else 24283 ac_cv_lib_cdata_libcdata_array_initialize=no 24284fi 24285rm -f core conftest.err conftest.$ac_objext \ 24286 conftest$ac_exeext conftest.$ac_ext 24287LIBS=$ac_check_lib_save_LIBS 24288fi 24289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24290$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24291if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24292 ac_cv_libcdata_dummy=yes 24293else 24294 ac_cv_libcdata=no 24295fi 24296 24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24298$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24299if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24300 $as_echo_n "(cached) " >&6 24301else 24302 ac_check_lib_save_LIBS=$LIBS 24303LIBS="-lcdata $LIBS" 24304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24305/* end confdefs.h. */ 24306 24307/* Override any GCC internal prototype to avoid an error. 24308 Use char because int might match the return type of a GCC 24309 builtin and then its argument prototype would still apply. */ 24310#ifdef __cplusplus 24311extern "C" 24312#endif 24313char libcdata_array_free (); 24314int 24315main () 24316{ 24317return libcdata_array_free (); 24318 ; 24319 return 0; 24320} 24321_ACEOF 24322if ac_fn_c_try_link "$LINENO"; then : 24323 ac_cv_lib_cdata_libcdata_array_free=yes 24324else 24325 ac_cv_lib_cdata_libcdata_array_free=no 24326fi 24327rm -f core conftest.err conftest.$ac_objext \ 24328 conftest$ac_exeext conftest.$ac_ext 24329LIBS=$ac_check_lib_save_LIBS 24330fi 24331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24332$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24333if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24334 ac_cv_libcdata_dummy=yes 24335else 24336 ac_cv_libcdata=no 24337fi 24338 24339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24340$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24341if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24342 $as_echo_n "(cached) " >&6 24343else 24344 ac_check_lib_save_LIBS=$LIBS 24345LIBS="-lcdata $LIBS" 24346cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24347/* end confdefs.h. */ 24348 24349/* Override any GCC internal prototype to avoid an error. 24350 Use char because int might match the return type of a GCC 24351 builtin and then its argument prototype would still apply. */ 24352#ifdef __cplusplus 24353extern "C" 24354#endif 24355char libcdata_array_empty (); 24356int 24357main () 24358{ 24359return libcdata_array_empty (); 24360 ; 24361 return 0; 24362} 24363_ACEOF 24364if ac_fn_c_try_link "$LINENO"; then : 24365 ac_cv_lib_cdata_libcdata_array_empty=yes 24366else 24367 ac_cv_lib_cdata_libcdata_array_empty=no 24368fi 24369rm -f core conftest.err conftest.$ac_objext \ 24370 conftest$ac_exeext conftest.$ac_ext 24371LIBS=$ac_check_lib_save_LIBS 24372fi 24373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24374$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24375if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24376 ac_cv_libcdata_dummy=yes 24377else 24378 ac_cv_libcdata=no 24379fi 24380 24381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24382$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24383if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24384 $as_echo_n "(cached) " >&6 24385else 24386 ac_check_lib_save_LIBS=$LIBS 24387LIBS="-lcdata $LIBS" 24388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24389/* end confdefs.h. */ 24390 24391/* Override any GCC internal prototype to avoid an error. 24392 Use char because int might match the return type of a GCC 24393 builtin and then its argument prototype would still apply. */ 24394#ifdef __cplusplus 24395extern "C" 24396#endif 24397char libcdata_array_clone (); 24398int 24399main () 24400{ 24401return libcdata_array_clone (); 24402 ; 24403 return 0; 24404} 24405_ACEOF 24406if ac_fn_c_try_link "$LINENO"; then : 24407 ac_cv_lib_cdata_libcdata_array_clone=yes 24408else 24409 ac_cv_lib_cdata_libcdata_array_clone=no 24410fi 24411rm -f core conftest.err conftest.$ac_objext \ 24412 conftest$ac_exeext conftest.$ac_ext 24413LIBS=$ac_check_lib_save_LIBS 24414fi 24415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24416$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24417if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24418 ac_cv_libcdata_dummy=yes 24419else 24420 ac_cv_libcdata=no 24421fi 24422 24423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24424$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24425if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24426 $as_echo_n "(cached) " >&6 24427else 24428 ac_check_lib_save_LIBS=$LIBS 24429LIBS="-lcdata $LIBS" 24430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24431/* end confdefs.h. */ 24432 24433/* Override any GCC internal prototype to avoid an error. 24434 Use char because int might match the return type of a GCC 24435 builtin and then its argument prototype would still apply. */ 24436#ifdef __cplusplus 24437extern "C" 24438#endif 24439char libcdata_array_resize (); 24440int 24441main () 24442{ 24443return libcdata_array_resize (); 24444 ; 24445 return 0; 24446} 24447_ACEOF 24448if ac_fn_c_try_link "$LINENO"; then : 24449 ac_cv_lib_cdata_libcdata_array_resize=yes 24450else 24451 ac_cv_lib_cdata_libcdata_array_resize=no 24452fi 24453rm -f core conftest.err conftest.$ac_objext \ 24454 conftest$ac_exeext conftest.$ac_ext 24455LIBS=$ac_check_lib_save_LIBS 24456fi 24457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24458$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24459if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24460 ac_cv_libcdata_dummy=yes 24461else 24462 ac_cv_libcdata=no 24463fi 24464 24465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24466$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24467if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24468 $as_echo_n "(cached) " >&6 24469else 24470 ac_check_lib_save_LIBS=$LIBS 24471LIBS="-lcdata $LIBS" 24472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24473/* end confdefs.h. */ 24474 24475/* Override any GCC internal prototype to avoid an error. 24476 Use char because int might match the return type of a GCC 24477 builtin and then its argument prototype would still apply. */ 24478#ifdef __cplusplus 24479extern "C" 24480#endif 24481char libcdata_array_reverse (); 24482int 24483main () 24484{ 24485return libcdata_array_reverse (); 24486 ; 24487 return 0; 24488} 24489_ACEOF 24490if ac_fn_c_try_link "$LINENO"; then : 24491 ac_cv_lib_cdata_libcdata_array_reverse=yes 24492else 24493 ac_cv_lib_cdata_libcdata_array_reverse=no 24494fi 24495rm -f core conftest.err conftest.$ac_objext \ 24496 conftest$ac_exeext conftest.$ac_ext 24497LIBS=$ac_check_lib_save_LIBS 24498fi 24499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24500$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24501if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24502 ac_cv_libcdata_dummy=yes 24503else 24504 ac_cv_libcdata=no 24505fi 24506 24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24508$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24509if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24510 $as_echo_n "(cached) " >&6 24511else 24512 ac_check_lib_save_LIBS=$LIBS 24513LIBS="-lcdata $LIBS" 24514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24515/* end confdefs.h. */ 24516 24517/* Override any GCC internal prototype to avoid an error. 24518 Use char because int might match the return type of a GCC 24519 builtin and then its argument prototype would still apply. */ 24520#ifdef __cplusplus 24521extern "C" 24522#endif 24523char libcdata_array_get_number_of_entries (); 24524int 24525main () 24526{ 24527return libcdata_array_get_number_of_entries (); 24528 ; 24529 return 0; 24530} 24531_ACEOF 24532if ac_fn_c_try_link "$LINENO"; then : 24533 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24534else 24535 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24536fi 24537rm -f core conftest.err conftest.$ac_objext \ 24538 conftest$ac_exeext conftest.$ac_ext 24539LIBS=$ac_check_lib_save_LIBS 24540fi 24541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24542$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24543if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24544 ac_cv_libcdata_dummy=yes 24545else 24546 ac_cv_libcdata=no 24547fi 24548 24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24550$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24551if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24552 $as_echo_n "(cached) " >&6 24553else 24554 ac_check_lib_save_LIBS=$LIBS 24555LIBS="-lcdata $LIBS" 24556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24557/* end confdefs.h. */ 24558 24559/* Override any GCC internal prototype to avoid an error. 24560 Use char because int might match the return type of a GCC 24561 builtin and then its argument prototype would still apply. */ 24562#ifdef __cplusplus 24563extern "C" 24564#endif 24565char libcdata_array_get_entry_by_index (); 24566int 24567main () 24568{ 24569return libcdata_array_get_entry_by_index (); 24570 ; 24571 return 0; 24572} 24573_ACEOF 24574if ac_fn_c_try_link "$LINENO"; then : 24575 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24576else 24577 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24578fi 24579rm -f core conftest.err conftest.$ac_objext \ 24580 conftest$ac_exeext conftest.$ac_ext 24581LIBS=$ac_check_lib_save_LIBS 24582fi 24583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24584$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24585if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24586 ac_cv_libcdata_dummy=yes 24587else 24588 ac_cv_libcdata=no 24589fi 24590 24591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24592$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24593if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24594 $as_echo_n "(cached) " >&6 24595else 24596 ac_check_lib_save_LIBS=$LIBS 24597LIBS="-lcdata $LIBS" 24598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24599/* end confdefs.h. */ 24600 24601/* Override any GCC internal prototype to avoid an error. 24602 Use char because int might match the return type of a GCC 24603 builtin and then its argument prototype would still apply. */ 24604#ifdef __cplusplus 24605extern "C" 24606#endif 24607char libcdata_array_get_entry_by_value (); 24608int 24609main () 24610{ 24611return libcdata_array_get_entry_by_value (); 24612 ; 24613 return 0; 24614} 24615_ACEOF 24616if ac_fn_c_try_link "$LINENO"; then : 24617 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24618else 24619 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24620fi 24621rm -f core conftest.err conftest.$ac_objext \ 24622 conftest$ac_exeext conftest.$ac_ext 24623LIBS=$ac_check_lib_save_LIBS 24624fi 24625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24626$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24627if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24628 ac_cv_libcdata_dummy=yes 24629else 24630 ac_cv_libcdata=no 24631fi 24632 24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24634$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24635if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24636 $as_echo_n "(cached) " >&6 24637else 24638 ac_check_lib_save_LIBS=$LIBS 24639LIBS="-lcdata $LIBS" 24640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24641/* end confdefs.h. */ 24642 24643/* Override any GCC internal prototype to avoid an error. 24644 Use char because int might match the return type of a GCC 24645 builtin and then its argument prototype would still apply. */ 24646#ifdef __cplusplus 24647extern "C" 24648#endif 24649char libcdata_array_set_entry_by_index (); 24650int 24651main () 24652{ 24653return libcdata_array_set_entry_by_index (); 24654 ; 24655 return 0; 24656} 24657_ACEOF 24658if ac_fn_c_try_link "$LINENO"; then : 24659 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24660else 24661 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24662fi 24663rm -f core conftest.err conftest.$ac_objext \ 24664 conftest$ac_exeext conftest.$ac_ext 24665LIBS=$ac_check_lib_save_LIBS 24666fi 24667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24668$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24669if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24670 ac_cv_libcdata_dummy=yes 24671else 24672 ac_cv_libcdata=no 24673fi 24674 24675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24676$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24677if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24678 $as_echo_n "(cached) " >&6 24679else 24680 ac_check_lib_save_LIBS=$LIBS 24681LIBS="-lcdata $LIBS" 24682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24683/* end confdefs.h. */ 24684 24685/* Override any GCC internal prototype to avoid an error. 24686 Use char because int might match the return type of a GCC 24687 builtin and then its argument prototype would still apply. */ 24688#ifdef __cplusplus 24689extern "C" 24690#endif 24691char libcdata_array_prepend_entry (); 24692int 24693main () 24694{ 24695return libcdata_array_prepend_entry (); 24696 ; 24697 return 0; 24698} 24699_ACEOF 24700if ac_fn_c_try_link "$LINENO"; then : 24701 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24702else 24703 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24704fi 24705rm -f core conftest.err conftest.$ac_objext \ 24706 conftest$ac_exeext conftest.$ac_ext 24707LIBS=$ac_check_lib_save_LIBS 24708fi 24709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24710$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24711if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24712 ac_cv_libcdata_dummy=yes 24713else 24714 ac_cv_libcdata=no 24715fi 24716 24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24718$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24719if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24720 $as_echo_n "(cached) " >&6 24721else 24722 ac_check_lib_save_LIBS=$LIBS 24723LIBS="-lcdata $LIBS" 24724cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24725/* end confdefs.h. */ 24726 24727/* Override any GCC internal prototype to avoid an error. 24728 Use char because int might match the return type of a GCC 24729 builtin and then its argument prototype would still apply. */ 24730#ifdef __cplusplus 24731extern "C" 24732#endif 24733char libcdata_array_append_entry (); 24734int 24735main () 24736{ 24737return libcdata_array_append_entry (); 24738 ; 24739 return 0; 24740} 24741_ACEOF 24742if ac_fn_c_try_link "$LINENO"; then : 24743 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24744else 24745 ac_cv_lib_cdata_libcdata_array_append_entry=no 24746fi 24747rm -f core conftest.err conftest.$ac_objext \ 24748 conftest$ac_exeext conftest.$ac_ext 24749LIBS=$ac_check_lib_save_LIBS 24750fi 24751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24752$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24753if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24754 ac_cv_libcdata_dummy=yes 24755else 24756 ac_cv_libcdata=no 24757fi 24758 24759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24760$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24761if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24762 $as_echo_n "(cached) " >&6 24763else 24764 ac_check_lib_save_LIBS=$LIBS 24765LIBS="-lcdata $LIBS" 24766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24767/* end confdefs.h. */ 24768 24769/* Override any GCC internal prototype to avoid an error. 24770 Use char because int might match the return type of a GCC 24771 builtin and then its argument prototype would still apply. */ 24772#ifdef __cplusplus 24773extern "C" 24774#endif 24775char libcdata_array_insert_entry (); 24776int 24777main () 24778{ 24779return libcdata_array_insert_entry (); 24780 ; 24781 return 0; 24782} 24783_ACEOF 24784if ac_fn_c_try_link "$LINENO"; then : 24785 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24786else 24787 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24788fi 24789rm -f core conftest.err conftest.$ac_objext \ 24790 conftest$ac_exeext conftest.$ac_ext 24791LIBS=$ac_check_lib_save_LIBS 24792fi 24793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24794$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24795if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24796 ac_cv_libcdata_dummy=yes 24797else 24798 ac_cv_libcdata=no 24799fi 24800 24801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24802$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24803if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} 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 libcdata_array_remove_entry (); 24818int 24819main () 24820{ 24821return libcdata_array_remove_entry (); 24822 ; 24823 return 0; 24824} 24825_ACEOF 24826if ac_fn_c_try_link "$LINENO"; then : 24827 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24828else 24829 ac_cv_lib_cdata_libcdata_array_remove_entry=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_libcdata_array_remove_entry" >&5 24836$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24837if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24838 ac_cv_libcdata_dummy=yes 24839else 24840 ac_cv_libcdata=no 24841fi 24842 24843 24844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24845$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24846if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24847 $as_echo_n "(cached) " >&6 24848else 24849 ac_check_lib_save_LIBS=$LIBS 24850LIBS="-lcdata $LIBS" 24851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24852/* end confdefs.h. */ 24853 24854/* Override any GCC internal prototype to avoid an error. 24855 Use char because int might match the return type of a GCC 24856 builtin and then its argument prototype would still apply. */ 24857#ifdef __cplusplus 24858extern "C" 24859#endif 24860char libfdata_btree_initialize (); 24861int 24862main () 24863{ 24864return libfdata_btree_initialize (); 24865 ; 24866 return 0; 24867} 24868_ACEOF 24869if ac_fn_c_try_link "$LINENO"; then : 24870 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24871else 24872 ac_cv_lib_cdata_libfdata_btree_initialize=no 24873fi 24874rm -f core conftest.err conftest.$ac_objext \ 24875 conftest$ac_exeext conftest.$ac_ext 24876LIBS=$ac_check_lib_save_LIBS 24877fi 24878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24879$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24880if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24881 ac_cv_libcdata_dummy=yes 24882else 24883 ac_cv_libcdata=no 24884fi 24885 24886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24887$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24888if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24889 $as_echo_n "(cached) " >&6 24890else 24891 ac_check_lib_save_LIBS=$LIBS 24892LIBS="-lcdata $LIBS" 24893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24894/* end confdefs.h. */ 24895 24896/* Override any GCC internal prototype to avoid an error. 24897 Use char because int might match the return type of a GCC 24898 builtin and then its argument prototype would still apply. */ 24899#ifdef __cplusplus 24900extern "C" 24901#endif 24902char libcdata_btree_free (); 24903int 24904main () 24905{ 24906return libcdata_btree_free (); 24907 ; 24908 return 0; 24909} 24910_ACEOF 24911if ac_fn_c_try_link "$LINENO"; then : 24912 ac_cv_lib_cdata_libcdata_btree_free=yes 24913else 24914 ac_cv_lib_cdata_libcdata_btree_free=no 24915fi 24916rm -f core conftest.err conftest.$ac_objext \ 24917 conftest$ac_exeext conftest.$ac_ext 24918LIBS=$ac_check_lib_save_LIBS 24919fi 24920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24921$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24922if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24923 ac_cv_libcdata_dummy=yes 24924else 24925 ac_cv_libcdata=no 24926fi 24927 24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24929$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24930if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24931 $as_echo_n "(cached) " >&6 24932else 24933 ac_check_lib_save_LIBS=$LIBS 24934LIBS="-lcdata $LIBS" 24935cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24936/* end confdefs.h. */ 24937 24938/* Override any GCC internal prototype to avoid an error. 24939 Use char because int might match the return type of a GCC 24940 builtin and then its argument prototype would still apply. */ 24941#ifdef __cplusplus 24942extern "C" 24943#endif 24944char libcdata_btree_get_number_of_values (); 24945int 24946main () 24947{ 24948return libcdata_btree_get_number_of_values (); 24949 ; 24950 return 0; 24951} 24952_ACEOF 24953if ac_fn_c_try_link "$LINENO"; then : 24954 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24955else 24956 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24957fi 24958rm -f core conftest.err conftest.$ac_objext \ 24959 conftest$ac_exeext conftest.$ac_ext 24960LIBS=$ac_check_lib_save_LIBS 24961fi 24962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24963$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24964if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24965 ac_cv_libcdata_dummy=yes 24966else 24967 ac_cv_libcdata=no 24968fi 24969 24970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24971$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24972if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24973 $as_echo_n "(cached) " >&6 24974else 24975 ac_check_lib_save_LIBS=$LIBS 24976LIBS="-lcdata $LIBS" 24977cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24978/* end confdefs.h. */ 24979 24980/* Override any GCC internal prototype to avoid an error. 24981 Use char because int might match the return type of a GCC 24982 builtin and then its argument prototype would still apply. */ 24983#ifdef __cplusplus 24984extern "C" 24985#endif 24986char libcdata_btree_get_value_by_index (); 24987int 24988main () 24989{ 24990return libcdata_btree_get_value_by_index (); 24991 ; 24992 return 0; 24993} 24994_ACEOF 24995if ac_fn_c_try_link "$LINENO"; then : 24996 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 24997else 24998 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 24999fi 25000rm -f core conftest.err conftest.$ac_objext \ 25001 conftest$ac_exeext conftest.$ac_ext 25002LIBS=$ac_check_lib_save_LIBS 25003fi 25004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 25005$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 25006if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 25007 ac_cv_libcdata_dummy=yes 25008else 25009 ac_cv_libcdata=no 25010fi 25011 25012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 25013$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 25014if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 25015 $as_echo_n "(cached) " >&6 25016else 25017 ac_check_lib_save_LIBS=$LIBS 25018LIBS="-lcdata $LIBS" 25019cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25020/* end confdefs.h. */ 25021 25022/* Override any GCC internal prototype to avoid an error. 25023 Use char because int might match the return type of a GCC 25024 builtin and then its argument prototype would still apply. */ 25025#ifdef __cplusplus 25026extern "C" 25027#endif 25028char libcdata_btree_get_value_by_value (); 25029int 25030main () 25031{ 25032return libcdata_btree_get_value_by_value (); 25033 ; 25034 return 0; 25035} 25036_ACEOF 25037if ac_fn_c_try_link "$LINENO"; then : 25038 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 25039else 25040 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 25041fi 25042rm -f core conftest.err conftest.$ac_objext \ 25043 conftest$ac_exeext conftest.$ac_ext 25044LIBS=$ac_check_lib_save_LIBS 25045fi 25046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25047$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25048if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25049 ac_cv_libcdata_dummy=yes 25050else 25051 ac_cv_libcdata=no 25052fi 25053 25054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25055$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25056if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25057 $as_echo_n "(cached) " >&6 25058else 25059 ac_check_lib_save_LIBS=$LIBS 25060LIBS="-lcdata $LIBS" 25061cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25062/* end confdefs.h. */ 25063 25064/* Override any GCC internal prototype to avoid an error. 25065 Use char because int might match the return type of a GCC 25066 builtin and then its argument prototype would still apply. */ 25067#ifdef __cplusplus 25068extern "C" 25069#endif 25070char libcdata_btree_insert_value (); 25071int 25072main () 25073{ 25074return libcdata_btree_insert_value (); 25075 ; 25076 return 0; 25077} 25078_ACEOF 25079if ac_fn_c_try_link "$LINENO"; then : 25080 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25081else 25082 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25083fi 25084rm -f core conftest.err conftest.$ac_objext \ 25085 conftest$ac_exeext conftest.$ac_ext 25086LIBS=$ac_check_lib_save_LIBS 25087fi 25088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25089$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25090if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25091 ac_cv_libcdata_dummy=yes 25092else 25093 ac_cv_libcdata=no 25094fi 25095 25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25097$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25098if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25099 $as_echo_n "(cached) " >&6 25100else 25101 ac_check_lib_save_LIBS=$LIBS 25102LIBS="-lcdata $LIBS" 25103cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25104/* end confdefs.h. */ 25105 25106/* Override any GCC internal prototype to avoid an error. 25107 Use char because int might match the return type of a GCC 25108 builtin and then its argument prototype would still apply. */ 25109#ifdef __cplusplus 25110extern "C" 25111#endif 25112char libcdata_btree_replace_value (); 25113int 25114main () 25115{ 25116return libcdata_btree_replace_value (); 25117 ; 25118 return 0; 25119} 25120_ACEOF 25121if ac_fn_c_try_link "$LINENO"; then : 25122 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25123else 25124 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25125fi 25126rm -f core conftest.err conftest.$ac_objext \ 25127 conftest$ac_exeext conftest.$ac_ext 25128LIBS=$ac_check_lib_save_LIBS 25129fi 25130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25131$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25132if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25133 ac_cv_libcdata_dummy=yes 25134else 25135 ac_cv_libcdata=no 25136fi 25137 25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25139$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25140if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} 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_btree_remove_value (); 25155int 25156main () 25157{ 25158return libcdata_btree_remove_value (); 25159 ; 25160 return 0; 25161} 25162_ACEOF 25163if ac_fn_c_try_link "$LINENO"; then : 25164 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25165else 25166 ac_cv_lib_cdata_libcdata_btree_remove_value=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_btree_remove_value" >&5 25173$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25174if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25175 ac_cv_libcdata_dummy=yes 25176else 25177 ac_cv_libcdata=no 25178fi 25179 25180 25181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25182$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25183if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25184 $as_echo_n "(cached) " >&6 25185else 25186 ac_check_lib_save_LIBS=$LIBS 25187LIBS="-lcdata $LIBS" 25188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25189/* end confdefs.h. */ 25190 25191/* Override any GCC internal prototype to avoid an error. 25192 Use char because int might match the return type of a GCC 25193 builtin and then its argument prototype would still apply. */ 25194#ifdef __cplusplus 25195extern "C" 25196#endif 25197char libcdata_list_initialize (); 25198int 25199main () 25200{ 25201return libcdata_list_initialize (); 25202 ; 25203 return 0; 25204} 25205_ACEOF 25206if ac_fn_c_try_link "$LINENO"; then : 25207 ac_cv_lib_cdata_libcdata_list_initialize=yes 25208else 25209 ac_cv_lib_cdata_libcdata_list_initialize=no 25210fi 25211rm -f core conftest.err conftest.$ac_objext \ 25212 conftest$ac_exeext conftest.$ac_ext 25213LIBS=$ac_check_lib_save_LIBS 25214fi 25215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25216$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25217if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25218 ac_cv_libcdata_dummy=yes 25219else 25220 ac_cv_libcdata=no 25221fi 25222 25223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25224$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25225if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25226 $as_echo_n "(cached) " >&6 25227else 25228 ac_check_lib_save_LIBS=$LIBS 25229LIBS="-lcdata $LIBS" 25230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25231/* end confdefs.h. */ 25232 25233/* Override any GCC internal prototype to avoid an error. 25234 Use char because int might match the return type of a GCC 25235 builtin and then its argument prototype would still apply. */ 25236#ifdef __cplusplus 25237extern "C" 25238#endif 25239char libcdata_list_free (); 25240int 25241main () 25242{ 25243return libcdata_list_free (); 25244 ; 25245 return 0; 25246} 25247_ACEOF 25248if ac_fn_c_try_link "$LINENO"; then : 25249 ac_cv_lib_cdata_libcdata_list_free=yes 25250else 25251 ac_cv_lib_cdata_libcdata_list_free=no 25252fi 25253rm -f core conftest.err conftest.$ac_objext \ 25254 conftest$ac_exeext conftest.$ac_ext 25255LIBS=$ac_check_lib_save_LIBS 25256fi 25257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25258$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25259if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25260 ac_cv_libcdata_dummy=yes 25261else 25262 ac_cv_libcdata=no 25263fi 25264 25265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25266$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25267if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25268 $as_echo_n "(cached) " >&6 25269else 25270 ac_check_lib_save_LIBS=$LIBS 25271LIBS="-lcdata $LIBS" 25272cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25273/* end confdefs.h. */ 25274 25275/* Override any GCC internal prototype to avoid an error. 25276 Use char because int might match the return type of a GCC 25277 builtin and then its argument prototype would still apply. */ 25278#ifdef __cplusplus 25279extern "C" 25280#endif 25281char libcdata_list_empty (); 25282int 25283main () 25284{ 25285return libcdata_list_empty (); 25286 ; 25287 return 0; 25288} 25289_ACEOF 25290if ac_fn_c_try_link "$LINENO"; then : 25291 ac_cv_lib_cdata_libcdata_list_empty=yes 25292else 25293 ac_cv_lib_cdata_libcdata_list_empty=no 25294fi 25295rm -f core conftest.err conftest.$ac_objext \ 25296 conftest$ac_exeext conftest.$ac_ext 25297LIBS=$ac_check_lib_save_LIBS 25298fi 25299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25300$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25301if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25302 ac_cv_libcdata_dummy=yes 25303else 25304 ac_cv_libcdata=no 25305fi 25306 25307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25308$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25309if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25310 $as_echo_n "(cached) " >&6 25311else 25312 ac_check_lib_save_LIBS=$LIBS 25313LIBS="-lcdata $LIBS" 25314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25315/* end confdefs.h. */ 25316 25317/* Override any GCC internal prototype to avoid an error. 25318 Use char because int might match the return type of a GCC 25319 builtin and then its argument prototype would still apply. */ 25320#ifdef __cplusplus 25321extern "C" 25322#endif 25323char libcdata_list_clone (); 25324int 25325main () 25326{ 25327return libcdata_list_clone (); 25328 ; 25329 return 0; 25330} 25331_ACEOF 25332if ac_fn_c_try_link "$LINENO"; then : 25333 ac_cv_lib_cdata_libcdata_list_clone=yes 25334else 25335 ac_cv_lib_cdata_libcdata_list_clone=no 25336fi 25337rm -f core conftest.err conftest.$ac_objext \ 25338 conftest$ac_exeext conftest.$ac_ext 25339LIBS=$ac_check_lib_save_LIBS 25340fi 25341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25342$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25343if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25344 ac_cv_libcdata_dummy=yes 25345else 25346 ac_cv_libcdata=no 25347fi 25348 25349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25350$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25351if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25352 $as_echo_n "(cached) " >&6 25353else 25354 ac_check_lib_save_LIBS=$LIBS 25355LIBS="-lcdata $LIBS" 25356cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25357/* end confdefs.h. */ 25358 25359/* Override any GCC internal prototype to avoid an error. 25360 Use char because int might match the return type of a GCC 25361 builtin and then its argument prototype would still apply. */ 25362#ifdef __cplusplus 25363extern "C" 25364#endif 25365char libcdata_list_get_number_of_elements (); 25366int 25367main () 25368{ 25369return libcdata_list_get_number_of_elements (); 25370 ; 25371 return 0; 25372} 25373_ACEOF 25374if ac_fn_c_try_link "$LINENO"; then : 25375 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25376else 25377 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25378fi 25379rm -f core conftest.err conftest.$ac_objext \ 25380 conftest$ac_exeext conftest.$ac_ext 25381LIBS=$ac_check_lib_save_LIBS 25382fi 25383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25384$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25385if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25386 ac_cv_libcdata_dummy=yes 25387else 25388 ac_cv_libcdata=no 25389fi 25390 25391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25392$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25393if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25394 $as_echo_n "(cached) " >&6 25395else 25396 ac_check_lib_save_LIBS=$LIBS 25397LIBS="-lcdata $LIBS" 25398cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25399/* end confdefs.h. */ 25400 25401/* Override any GCC internal prototype to avoid an error. 25402 Use char because int might match the return type of a GCC 25403 builtin and then its argument prototype would still apply. */ 25404#ifdef __cplusplus 25405extern "C" 25406#endif 25407char libcdata_list_get_first_element (); 25408int 25409main () 25410{ 25411return libcdata_list_get_first_element (); 25412 ; 25413 return 0; 25414} 25415_ACEOF 25416if ac_fn_c_try_link "$LINENO"; then : 25417 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25418else 25419 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25420fi 25421rm -f core conftest.err conftest.$ac_objext \ 25422 conftest$ac_exeext conftest.$ac_ext 25423LIBS=$ac_check_lib_save_LIBS 25424fi 25425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25426$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25427if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25428 ac_cv_libcdata_dummy=yes 25429else 25430 ac_cv_libcdata=no 25431fi 25432 25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25434$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25435if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25436 $as_echo_n "(cached) " >&6 25437else 25438 ac_check_lib_save_LIBS=$LIBS 25439LIBS="-lcdata $LIBS" 25440cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25441/* end confdefs.h. */ 25442 25443/* Override any GCC internal prototype to avoid an error. 25444 Use char because int might match the return type of a GCC 25445 builtin and then its argument prototype would still apply. */ 25446#ifdef __cplusplus 25447extern "C" 25448#endif 25449char libcdata_list_get_last_element (); 25450int 25451main () 25452{ 25453return libcdata_list_get_last_element (); 25454 ; 25455 return 0; 25456} 25457_ACEOF 25458if ac_fn_c_try_link "$LINENO"; then : 25459 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25460else 25461 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25462fi 25463rm -f core conftest.err conftest.$ac_objext \ 25464 conftest$ac_exeext conftest.$ac_ext 25465LIBS=$ac_check_lib_save_LIBS 25466fi 25467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25468$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25469if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25470 ac_cv_libcdata_dummy=yes 25471else 25472 ac_cv_libcdata=no 25473fi 25474 25475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25476$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25477if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25478 $as_echo_n "(cached) " >&6 25479else 25480 ac_check_lib_save_LIBS=$LIBS 25481LIBS="-lcdata $LIBS" 25482cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25483/* end confdefs.h. */ 25484 25485/* Override any GCC internal prototype to avoid an error. 25486 Use char because int might match the return type of a GCC 25487 builtin and then its argument prototype would still apply. */ 25488#ifdef __cplusplus 25489extern "C" 25490#endif 25491char libcdata_list_get_element_by_index (); 25492int 25493main () 25494{ 25495return libcdata_list_get_element_by_index (); 25496 ; 25497 return 0; 25498} 25499_ACEOF 25500if ac_fn_c_try_link "$LINENO"; then : 25501 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25502else 25503 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25504fi 25505rm -f core conftest.err conftest.$ac_objext \ 25506 conftest$ac_exeext conftest.$ac_ext 25507LIBS=$ac_check_lib_save_LIBS 25508fi 25509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25510$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25511if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25512 ac_cv_libcdata_dummy=yes 25513else 25514 ac_cv_libcdata=no 25515fi 25516 25517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25518$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25519if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25520 $as_echo_n "(cached) " >&6 25521else 25522 ac_check_lib_save_LIBS=$LIBS 25523LIBS="-lcdata $LIBS" 25524cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25525/* end confdefs.h. */ 25526 25527/* Override any GCC internal prototype to avoid an error. 25528 Use char because int might match the return type of a GCC 25529 builtin and then its argument prototype would still apply. */ 25530#ifdef __cplusplus 25531extern "C" 25532#endif 25533char libcdata_list_get_value_by_index (); 25534int 25535main () 25536{ 25537return libcdata_list_get_value_by_index (); 25538 ; 25539 return 0; 25540} 25541_ACEOF 25542if ac_fn_c_try_link "$LINENO"; then : 25543 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25544else 25545 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25546fi 25547rm -f core conftest.err conftest.$ac_objext \ 25548 conftest$ac_exeext conftest.$ac_ext 25549LIBS=$ac_check_lib_save_LIBS 25550fi 25551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25552$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25553if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25554 ac_cv_libcdata_dummy=yes 25555else 25556 ac_cv_libcdata=no 25557fi 25558 25559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25560$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25561if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25562 $as_echo_n "(cached) " >&6 25563else 25564 ac_check_lib_save_LIBS=$LIBS 25565LIBS="-lcdata $LIBS" 25566cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25567/* end confdefs.h. */ 25568 25569/* Override any GCC internal prototype to avoid an error. 25570 Use char because int might match the return type of a GCC 25571 builtin and then its argument prototype would still apply. */ 25572#ifdef __cplusplus 25573extern "C" 25574#endif 25575char libcdata_list_prepend_element (); 25576int 25577main () 25578{ 25579return libcdata_list_prepend_element (); 25580 ; 25581 return 0; 25582} 25583_ACEOF 25584if ac_fn_c_try_link "$LINENO"; then : 25585 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25586else 25587 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25588fi 25589rm -f core conftest.err conftest.$ac_objext \ 25590 conftest$ac_exeext conftest.$ac_ext 25591LIBS=$ac_check_lib_save_LIBS 25592fi 25593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25594$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25595if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25596 ac_cv_libcdata_dummy=yes 25597else 25598 ac_cv_libcdata=no 25599fi 25600 25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25602$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25603if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25604 $as_echo_n "(cached) " >&6 25605else 25606 ac_check_lib_save_LIBS=$LIBS 25607LIBS="-lcdata $LIBS" 25608cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25609/* end confdefs.h. */ 25610 25611/* Override any GCC internal prototype to avoid an error. 25612 Use char because int might match the return type of a GCC 25613 builtin and then its argument prototype would still apply. */ 25614#ifdef __cplusplus 25615extern "C" 25616#endif 25617char libcdata_list_prepend_value (); 25618int 25619main () 25620{ 25621return libcdata_list_prepend_value (); 25622 ; 25623 return 0; 25624} 25625_ACEOF 25626if ac_fn_c_try_link "$LINENO"; then : 25627 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25628else 25629 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25630fi 25631rm -f core conftest.err conftest.$ac_objext \ 25632 conftest$ac_exeext conftest.$ac_ext 25633LIBS=$ac_check_lib_save_LIBS 25634fi 25635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25636$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25637if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25638 ac_cv_libcdata_dummy=yes 25639else 25640 ac_cv_libcdata=no 25641fi 25642 25643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25644$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25645if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25646 $as_echo_n "(cached) " >&6 25647else 25648 ac_check_lib_save_LIBS=$LIBS 25649LIBS="-lcdata $LIBS" 25650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25651/* end confdefs.h. */ 25652 25653/* Override any GCC internal prototype to avoid an error. 25654 Use char because int might match the return type of a GCC 25655 builtin and then its argument prototype would still apply. */ 25656#ifdef __cplusplus 25657extern "C" 25658#endif 25659char libcdata_list_append_element (); 25660int 25661main () 25662{ 25663return libcdata_list_append_element (); 25664 ; 25665 return 0; 25666} 25667_ACEOF 25668if ac_fn_c_try_link "$LINENO"; then : 25669 ac_cv_lib_cdata_libcdata_list_append_element=yes 25670else 25671 ac_cv_lib_cdata_libcdata_list_append_element=no 25672fi 25673rm -f core conftest.err conftest.$ac_objext \ 25674 conftest$ac_exeext conftest.$ac_ext 25675LIBS=$ac_check_lib_save_LIBS 25676fi 25677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25678$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25679if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25680 ac_cv_libcdata_dummy=yes 25681else 25682 ac_cv_libcdata=no 25683fi 25684 25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25686$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25687if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25688 $as_echo_n "(cached) " >&6 25689else 25690 ac_check_lib_save_LIBS=$LIBS 25691LIBS="-lcdata $LIBS" 25692cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25693/* end confdefs.h. */ 25694 25695/* Override any GCC internal prototype to avoid an error. 25696 Use char because int might match the return type of a GCC 25697 builtin and then its argument prototype would still apply. */ 25698#ifdef __cplusplus 25699extern "C" 25700#endif 25701char libcdata_list_append_value (); 25702int 25703main () 25704{ 25705return libcdata_list_append_value (); 25706 ; 25707 return 0; 25708} 25709_ACEOF 25710if ac_fn_c_try_link "$LINENO"; then : 25711 ac_cv_lib_cdata_libcdata_list_append_value=yes 25712else 25713 ac_cv_lib_cdata_libcdata_list_append_value=no 25714fi 25715rm -f core conftest.err conftest.$ac_objext \ 25716 conftest$ac_exeext conftest.$ac_ext 25717LIBS=$ac_check_lib_save_LIBS 25718fi 25719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25720$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25721if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25722 ac_cv_libcdata_dummy=yes 25723else 25724 ac_cv_libcdata=no 25725fi 25726 25727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25728$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25729if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25730 $as_echo_n "(cached) " >&6 25731else 25732 ac_check_lib_save_LIBS=$LIBS 25733LIBS="-lcdata $LIBS" 25734cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25735/* end confdefs.h. */ 25736 25737/* Override any GCC internal prototype to avoid an error. 25738 Use char because int might match the return type of a GCC 25739 builtin and then its argument prototype would still apply. */ 25740#ifdef __cplusplus 25741extern "C" 25742#endif 25743char libcdata_list_insert_element (); 25744int 25745main () 25746{ 25747return libcdata_list_insert_element (); 25748 ; 25749 return 0; 25750} 25751_ACEOF 25752if ac_fn_c_try_link "$LINENO"; then : 25753 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25754else 25755 ac_cv_lib_cdata_libcdata_list_insert_element=no 25756fi 25757rm -f core conftest.err conftest.$ac_objext \ 25758 conftest$ac_exeext conftest.$ac_ext 25759LIBS=$ac_check_lib_save_LIBS 25760fi 25761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25762$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25763if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25764 ac_cv_libcdata_dummy=yes 25765else 25766 ac_cv_libcdata=no 25767fi 25768 25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25770$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25771if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25772 $as_echo_n "(cached) " >&6 25773else 25774 ac_check_lib_save_LIBS=$LIBS 25775LIBS="-lcdata $LIBS" 25776cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25777/* end confdefs.h. */ 25778 25779/* Override any GCC internal prototype to avoid an error. 25780 Use char because int might match the return type of a GCC 25781 builtin and then its argument prototype would still apply. */ 25782#ifdef __cplusplus 25783extern "C" 25784#endif 25785char libcdata_list_insert_value (); 25786int 25787main () 25788{ 25789return libcdata_list_insert_value (); 25790 ; 25791 return 0; 25792} 25793_ACEOF 25794if ac_fn_c_try_link "$LINENO"; then : 25795 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25796else 25797 ac_cv_lib_cdata_libcdata_list_insert_value=no 25798fi 25799rm -f core conftest.err conftest.$ac_objext \ 25800 conftest$ac_exeext conftest.$ac_ext 25801LIBS=$ac_check_lib_save_LIBS 25802fi 25803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25804$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25805if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25806 ac_cv_libcdata_dummy=yes 25807else 25808 ac_cv_libcdata=no 25809fi 25810 25811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25812$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25813if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} 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_remove_element (); 25828int 25829main () 25830{ 25831return libcdata_list_remove_element (); 25832 ; 25833 return 0; 25834} 25835_ACEOF 25836if ac_fn_c_try_link "$LINENO"; then : 25837 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25838else 25839 ac_cv_lib_cdata_libcdata_list_remove_element=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_remove_element" >&5 25846$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25847if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25848 ac_cv_libcdata_dummy=yes 25849else 25850 ac_cv_libcdata=no 25851fi 25852 25853 25854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25855$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25856if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25857 $as_echo_n "(cached) " >&6 25858else 25859 ac_check_lib_save_LIBS=$LIBS 25860LIBS="-lcdata $LIBS" 25861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25862/* end confdefs.h. */ 25863 25864/* Override any GCC internal prototype to avoid an error. 25865 Use char because int might match the return type of a GCC 25866 builtin and then its argument prototype would still apply. */ 25867#ifdef __cplusplus 25868extern "C" 25869#endif 25870char libcdata_list_element_initialize (); 25871int 25872main () 25873{ 25874return libcdata_list_element_initialize (); 25875 ; 25876 return 0; 25877} 25878_ACEOF 25879if ac_fn_c_try_link "$LINENO"; then : 25880 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25881else 25882 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25883fi 25884rm -f core conftest.err conftest.$ac_objext \ 25885 conftest$ac_exeext conftest.$ac_ext 25886LIBS=$ac_check_lib_save_LIBS 25887fi 25888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25889$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25890if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25891 ac_cv_libcdata_dummy=yes 25892else 25893 ac_cv_libcdata=no 25894fi 25895 25896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25897$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25898if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25899 $as_echo_n "(cached) " >&6 25900else 25901 ac_check_lib_save_LIBS=$LIBS 25902LIBS="-lcdata $LIBS" 25903cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25904/* end confdefs.h. */ 25905 25906/* Override any GCC internal prototype to avoid an error. 25907 Use char because int might match the return type of a GCC 25908 builtin and then its argument prototype would still apply. */ 25909#ifdef __cplusplus 25910extern "C" 25911#endif 25912char libcdata_list_element_free (); 25913int 25914main () 25915{ 25916return libcdata_list_element_free (); 25917 ; 25918 return 0; 25919} 25920_ACEOF 25921if ac_fn_c_try_link "$LINENO"; then : 25922 ac_cv_lib_cdata_libcdata_list_element_free=yes 25923else 25924 ac_cv_lib_cdata_libcdata_list_element_free=no 25925fi 25926rm -f core conftest.err conftest.$ac_objext \ 25927 conftest$ac_exeext conftest.$ac_ext 25928LIBS=$ac_check_lib_save_LIBS 25929fi 25930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25931$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25932if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25933 ac_cv_libcdata_dummy=yes 25934else 25935 ac_cv_libcdata=no 25936fi 25937 25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25939$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25940if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25941 $as_echo_n "(cached) " >&6 25942else 25943 ac_check_lib_save_LIBS=$LIBS 25944LIBS="-lcdata $LIBS" 25945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25946/* end confdefs.h. */ 25947 25948/* Override any GCC internal prototype to avoid an error. 25949 Use char because int might match the return type of a GCC 25950 builtin and then its argument prototype would still apply. */ 25951#ifdef __cplusplus 25952extern "C" 25953#endif 25954char libcdata_list_element_get_value (); 25955int 25956main () 25957{ 25958return libcdata_list_element_get_value (); 25959 ; 25960 return 0; 25961} 25962_ACEOF 25963if ac_fn_c_try_link "$LINENO"; then : 25964 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25965else 25966 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25967fi 25968rm -f core conftest.err conftest.$ac_objext \ 25969 conftest$ac_exeext conftest.$ac_ext 25970LIBS=$ac_check_lib_save_LIBS 25971fi 25972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25973$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25974if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25975 ac_cv_libcdata_dummy=yes 25976else 25977 ac_cv_libcdata=no 25978fi 25979 25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25981$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 25982if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 25983 $as_echo_n "(cached) " >&6 25984else 25985 ac_check_lib_save_LIBS=$LIBS 25986LIBS="-lcdata $LIBS" 25987cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25988/* end confdefs.h. */ 25989 25990/* Override any GCC internal prototype to avoid an error. 25991 Use char because int might match the return type of a GCC 25992 builtin and then its argument prototype would still apply. */ 25993#ifdef __cplusplus 25994extern "C" 25995#endif 25996char libcdata_list_element_set_value (); 25997int 25998main () 25999{ 26000return libcdata_list_element_set_value (); 26001 ; 26002 return 0; 26003} 26004_ACEOF 26005if ac_fn_c_try_link "$LINENO"; then : 26006 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 26007else 26008 ac_cv_lib_cdata_libcdata_list_element_set_value=no 26009fi 26010rm -f core conftest.err conftest.$ac_objext \ 26011 conftest$ac_exeext conftest.$ac_ext 26012LIBS=$ac_check_lib_save_LIBS 26013fi 26014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 26015$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 26016if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 26017 ac_cv_libcdata_dummy=yes 26018else 26019 ac_cv_libcdata=no 26020fi 26021 26022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 26023$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 26024if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 26025 $as_echo_n "(cached) " >&6 26026else 26027 ac_check_lib_save_LIBS=$LIBS 26028LIBS="-lcdata $LIBS" 26029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26030/* end confdefs.h. */ 26031 26032/* Override any GCC internal prototype to avoid an error. 26033 Use char because int might match the return type of a GCC 26034 builtin and then its argument prototype would still apply. */ 26035#ifdef __cplusplus 26036extern "C" 26037#endif 26038char libcdata_list_element_get_previous_element (); 26039int 26040main () 26041{ 26042return libcdata_list_element_get_previous_element (); 26043 ; 26044 return 0; 26045} 26046_ACEOF 26047if ac_fn_c_try_link "$LINENO"; then : 26048 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26049else 26050 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26051fi 26052rm -f core conftest.err conftest.$ac_objext \ 26053 conftest$ac_exeext conftest.$ac_ext 26054LIBS=$ac_check_lib_save_LIBS 26055fi 26056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26057$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26058if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26059 ac_cv_libcdata_dummy=yes 26060else 26061 ac_cv_libcdata=no 26062fi 26063 26064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26065$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26066if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26067 $as_echo_n "(cached) " >&6 26068else 26069 ac_check_lib_save_LIBS=$LIBS 26070LIBS="-lcdata $LIBS" 26071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26072/* end confdefs.h. */ 26073 26074/* Override any GCC internal prototype to avoid an error. 26075 Use char because int might match the return type of a GCC 26076 builtin and then its argument prototype would still apply. */ 26077#ifdef __cplusplus 26078extern "C" 26079#endif 26080char libcdata_list_element_set_previous_element (); 26081int 26082main () 26083{ 26084return libcdata_list_element_set_previous_element (); 26085 ; 26086 return 0; 26087} 26088_ACEOF 26089if ac_fn_c_try_link "$LINENO"; then : 26090 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26091else 26092 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26093fi 26094rm -f core conftest.err conftest.$ac_objext \ 26095 conftest$ac_exeext conftest.$ac_ext 26096LIBS=$ac_check_lib_save_LIBS 26097fi 26098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26099$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26100if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26101 ac_cv_libcdata_dummy=yes 26102else 26103 ac_cv_libcdata=no 26104fi 26105 26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26107$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26108if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26109 $as_echo_n "(cached) " >&6 26110else 26111 ac_check_lib_save_LIBS=$LIBS 26112LIBS="-lcdata $LIBS" 26113cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26114/* end confdefs.h. */ 26115 26116/* Override any GCC internal prototype to avoid an error. 26117 Use char because int might match the return type of a GCC 26118 builtin and then its argument prototype would still apply. */ 26119#ifdef __cplusplus 26120extern "C" 26121#endif 26122char libcdata_list_element_get_next_element (); 26123int 26124main () 26125{ 26126return libcdata_list_element_get_next_element (); 26127 ; 26128 return 0; 26129} 26130_ACEOF 26131if ac_fn_c_try_link "$LINENO"; then : 26132 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26133else 26134 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26135fi 26136rm -f core conftest.err conftest.$ac_objext \ 26137 conftest$ac_exeext conftest.$ac_ext 26138LIBS=$ac_check_lib_save_LIBS 26139fi 26140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26141$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26142if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26143 ac_cv_libcdata_dummy=yes 26144else 26145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26146$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26147if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26148 $as_echo_n "(cached) " >&6 26149else 26150 ac_check_lib_save_LIBS=$LIBS 26151LIBS="-lcdata $LIBS" 26152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26153/* end confdefs.h. */ 26154 26155/* Override any GCC internal prototype to avoid an error. 26156 Use char because int might match the return type of a GCC 26157 builtin and then its argument prototype would still apply. */ 26158#ifdef __cplusplus 26159extern "C" 26160#endif 26161char libcdata_list_element_set_next_element (); 26162int 26163main () 26164{ 26165return libcdata_list_element_set_next_element (); 26166 ; 26167 return 0; 26168} 26169_ACEOF 26170if ac_fn_c_try_link "$LINENO"; then : 26171 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26172else 26173 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26174fi 26175rm -f core conftest.err conftest.$ac_objext \ 26176 conftest$ac_exeext conftest.$ac_ext 26177LIBS=$ac_check_lib_save_LIBS 26178fi 26179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26180$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26181if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26182 ac_cv_libcdata_dummy=yes 26183else 26184 ac_cv_libcdata=no 26185fi 26186 26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26188$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26189if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26190 $as_echo_n "(cached) " >&6 26191else 26192 ac_check_lib_save_LIBS=$LIBS 26193LIBS="-lcdata $LIBS" 26194cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26195/* end confdefs.h. */ 26196 26197/* Override any GCC internal prototype to avoid an error. 26198 Use char because int might match the return type of a GCC 26199 builtin and then its argument prototype would still apply. */ 26200#ifdef __cplusplus 26201extern "C" 26202#endif 26203char libcdata_list_element_get_elements (); 26204int 26205main () 26206{ 26207return libcdata_list_element_get_elements (); 26208 ; 26209 return 0; 26210} 26211_ACEOF 26212if ac_fn_c_try_link "$LINENO"; then : 26213 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26214else 26215 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26216fi 26217rm -f core conftest.err conftest.$ac_objext \ 26218 conftest$ac_exeext conftest.$ac_ext 26219LIBS=$ac_check_lib_save_LIBS 26220fi 26221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26222$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26223if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26224 ac_cv_libcdata_dummy=yes 26225else 26226 ac_cv_libcdata=no 26227fi 26228 26229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26230$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26231if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26232 $as_echo_n "(cached) " >&6 26233else 26234 ac_check_lib_save_LIBS=$LIBS 26235LIBS="-lcdata $LIBS" 26236cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26237/* end confdefs.h. */ 26238 26239/* Override any GCC internal prototype to avoid an error. 26240 Use char because int might match the return type of a GCC 26241 builtin and then its argument prototype would still apply. */ 26242#ifdef __cplusplus 26243extern "C" 26244#endif 26245char libcdata_list_element_set_elements (); 26246int 26247main () 26248{ 26249return libcdata_list_element_set_elements (); 26250 ; 26251 return 0; 26252} 26253_ACEOF 26254if ac_fn_c_try_link "$LINENO"; then : 26255 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26256else 26257 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26258fi 26259rm -f core conftest.err conftest.$ac_objext \ 26260 conftest$ac_exeext conftest.$ac_ext 26261LIBS=$ac_check_lib_save_LIBS 26262fi 26263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26264$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26265if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26266 ac_cv_libcdata_dummy=yes 26267else 26268 ac_cv_libcdata=no 26269fi 26270 26271 ac_cv_libcdata=no 26272fi 26273 26274 26275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26276$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26277if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26278 $as_echo_n "(cached) " >&6 26279else 26280 ac_check_lib_save_LIBS=$LIBS 26281LIBS="-lcdata $LIBS" 26282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26283/* end confdefs.h. */ 26284 26285/* Override any GCC internal prototype to avoid an error. 26286 Use char because int might match the return type of a GCC 26287 builtin and then its argument prototype would still apply. */ 26288#ifdef __cplusplus 26289extern "C" 26290#endif 26291char libcdata_range_list_initialize (); 26292int 26293main () 26294{ 26295return libcdata_range_list_initialize (); 26296 ; 26297 return 0; 26298} 26299_ACEOF 26300if ac_fn_c_try_link "$LINENO"; then : 26301 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26302else 26303 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26304fi 26305rm -f core conftest.err conftest.$ac_objext \ 26306 conftest$ac_exeext conftest.$ac_ext 26307LIBS=$ac_check_lib_save_LIBS 26308fi 26309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26310$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26311if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26312 ac_cv_libcdata_dummy=yes 26313else 26314 ac_cv_libcdata=no 26315fi 26316 26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26318$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26319if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26320 $as_echo_n "(cached) " >&6 26321else 26322 ac_check_lib_save_LIBS=$LIBS 26323LIBS="-lcdata $LIBS" 26324cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26325/* end confdefs.h. */ 26326 26327/* Override any GCC internal prototype to avoid an error. 26328 Use char because int might match the return type of a GCC 26329 builtin and then its argument prototype would still apply. */ 26330#ifdef __cplusplus 26331extern "C" 26332#endif 26333char libcdata_range_list_free (); 26334int 26335main () 26336{ 26337return libcdata_range_list_free (); 26338 ; 26339 return 0; 26340} 26341_ACEOF 26342if ac_fn_c_try_link "$LINENO"; then : 26343 ac_cv_lib_cdata_libcdata_range_list_free=yes 26344else 26345 ac_cv_lib_cdata_libcdata_range_list_free=no 26346fi 26347rm -f core conftest.err conftest.$ac_objext \ 26348 conftest$ac_exeext conftest.$ac_ext 26349LIBS=$ac_check_lib_save_LIBS 26350fi 26351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26352$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26353if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26354 ac_cv_libcdata_dummy=yes 26355else 26356 ac_cv_libcdata=no 26357fi 26358 26359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26360$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26361if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26362 $as_echo_n "(cached) " >&6 26363else 26364 ac_check_lib_save_LIBS=$LIBS 26365LIBS="-lcdata $LIBS" 26366cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26367/* end confdefs.h. */ 26368 26369/* Override any GCC internal prototype to avoid an error. 26370 Use char because int might match the return type of a GCC 26371 builtin and then its argument prototype would still apply. */ 26372#ifdef __cplusplus 26373extern "C" 26374#endif 26375char libcdata_range_list_empty (); 26376int 26377main () 26378{ 26379return libcdata_range_list_empty (); 26380 ; 26381 return 0; 26382} 26383_ACEOF 26384if ac_fn_c_try_link "$LINENO"; then : 26385 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26386else 26387 ac_cv_lib_cdata_libcdata_range_list_empty=no 26388fi 26389rm -f core conftest.err conftest.$ac_objext \ 26390 conftest$ac_exeext conftest.$ac_ext 26391LIBS=$ac_check_lib_save_LIBS 26392fi 26393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26394$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26395if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26396 ac_cv_libcdata_dummy=yes 26397else 26398 ac_cv_libcdata=no 26399fi 26400 26401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26402$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26403if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26404 $as_echo_n "(cached) " >&6 26405else 26406 ac_check_lib_save_LIBS=$LIBS 26407LIBS="-lcdata $LIBS" 26408cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26409/* end confdefs.h. */ 26410 26411/* Override any GCC internal prototype to avoid an error. 26412 Use char because int might match the return type of a GCC 26413 builtin and then its argument prototype would still apply. */ 26414#ifdef __cplusplus 26415extern "C" 26416#endif 26417char libcdata_range_list_clone (); 26418int 26419main () 26420{ 26421return libcdata_range_list_clone (); 26422 ; 26423 return 0; 26424} 26425_ACEOF 26426if ac_fn_c_try_link "$LINENO"; then : 26427 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26428else 26429 ac_cv_lib_cdata_libcdata_range_list_clone=no 26430fi 26431rm -f core conftest.err conftest.$ac_objext \ 26432 conftest$ac_exeext conftest.$ac_ext 26433LIBS=$ac_check_lib_save_LIBS 26434fi 26435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26436$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26437if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26438 ac_cv_libcdata_dummy=yes 26439else 26440 ac_cv_libcdata=no 26441fi 26442 26443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26444$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26445if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26446 $as_echo_n "(cached) " >&6 26447else 26448 ac_check_lib_save_LIBS=$LIBS 26449LIBS="-lcdata $LIBS" 26450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26451/* end confdefs.h. */ 26452 26453/* Override any GCC internal prototype to avoid an error. 26454 Use char because int might match the return type of a GCC 26455 builtin and then its argument prototype would still apply. */ 26456#ifdef __cplusplus 26457extern "C" 26458#endif 26459char libcdata_range_list_get_number_of_elements (); 26460int 26461main () 26462{ 26463return libcdata_range_list_get_number_of_elements (); 26464 ; 26465 return 0; 26466} 26467_ACEOF 26468if ac_fn_c_try_link "$LINENO"; then : 26469 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26470else 26471 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26472fi 26473rm -f core conftest.err conftest.$ac_objext \ 26474 conftest$ac_exeext conftest.$ac_ext 26475LIBS=$ac_check_lib_save_LIBS 26476fi 26477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26478$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26479if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26480 ac_cv_libcdata_dummy=yes 26481else 26482 ac_cv_libcdata=no 26483fi 26484 26485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26486$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26487if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26488 $as_echo_n "(cached) " >&6 26489else 26490 ac_check_lib_save_LIBS=$LIBS 26491LIBS="-lcdata $LIBS" 26492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26493/* end confdefs.h. */ 26494 26495/* Override any GCC internal prototype to avoid an error. 26496 Use char because int might match the return type of a GCC 26497 builtin and then its argument prototype would still apply. */ 26498#ifdef __cplusplus 26499extern "C" 26500#endif 26501char libcdata_range_list_insert_range (); 26502int 26503main () 26504{ 26505return libcdata_range_list_insert_range (); 26506 ; 26507 return 0; 26508} 26509_ACEOF 26510if ac_fn_c_try_link "$LINENO"; then : 26511 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26512else 26513 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26514fi 26515rm -f core conftest.err conftest.$ac_objext \ 26516 conftest$ac_exeext conftest.$ac_ext 26517LIBS=$ac_check_lib_save_LIBS 26518fi 26519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26520$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26521if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26522 ac_cv_libcdata_dummy=yes 26523else 26524 ac_cv_libcdata=no 26525fi 26526 26527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26528$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26529if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26530 $as_echo_n "(cached) " >&6 26531else 26532 ac_check_lib_save_LIBS=$LIBS 26533LIBS="-lcdata $LIBS" 26534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26535/* end confdefs.h. */ 26536 26537/* Override any GCC internal prototype to avoid an error. 26538 Use char because int might match the return type of a GCC 26539 builtin and then its argument prototype would still apply. */ 26540#ifdef __cplusplus 26541extern "C" 26542#endif 26543char libcdata_range_list_insert_range_list (); 26544int 26545main () 26546{ 26547return libcdata_range_list_insert_range_list (); 26548 ; 26549 return 0; 26550} 26551_ACEOF 26552if ac_fn_c_try_link "$LINENO"; then : 26553 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26554else 26555 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26556fi 26557rm -f core conftest.err conftest.$ac_objext \ 26558 conftest$ac_exeext conftest.$ac_ext 26559LIBS=$ac_check_lib_save_LIBS 26560fi 26561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26562$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26563if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26564 ac_cv_libcdata_dummy=yes 26565else 26566 ac_cv_libcdata=no 26567fi 26568 26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26570$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26571if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26572 $as_echo_n "(cached) " >&6 26573else 26574 ac_check_lib_save_LIBS=$LIBS 26575LIBS="-lcdata $LIBS" 26576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26577/* end confdefs.h. */ 26578 26579/* Override any GCC internal prototype to avoid an error. 26580 Use char because int might match the return type of a GCC 26581 builtin and then its argument prototype would still apply. */ 26582#ifdef __cplusplus 26583extern "C" 26584#endif 26585char libcdata_range_list_remove_range (); 26586int 26587main () 26588{ 26589return libcdata_range_list_remove_range (); 26590 ; 26591 return 0; 26592} 26593_ACEOF 26594if ac_fn_c_try_link "$LINENO"; then : 26595 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26596else 26597 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26598fi 26599rm -f core conftest.err conftest.$ac_objext \ 26600 conftest$ac_exeext conftest.$ac_ext 26601LIBS=$ac_check_lib_save_LIBS 26602fi 26603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26604$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26605if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26606 ac_cv_libcdata_dummy=yes 26607else 26608 ac_cv_libcdata=no 26609fi 26610 26611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26612$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26613if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26614 $as_echo_n "(cached) " >&6 26615else 26616 ac_check_lib_save_LIBS=$LIBS 26617LIBS="-lcdata $LIBS" 26618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26619/* end confdefs.h. */ 26620 26621/* Override any GCC internal prototype to avoid an error. 26622 Use char because int might match the return type of a GCC 26623 builtin and then its argument prototype would still apply. */ 26624#ifdef __cplusplus 26625extern "C" 26626#endif 26627char libcdata_range_list_get_range_by_index (); 26628int 26629main () 26630{ 26631return libcdata_range_list_get_range_by_index (); 26632 ; 26633 return 0; 26634} 26635_ACEOF 26636if ac_fn_c_try_link "$LINENO"; then : 26637 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26638else 26639 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26640fi 26641rm -f core conftest.err conftest.$ac_objext \ 26642 conftest$ac_exeext conftest.$ac_ext 26643LIBS=$ac_check_lib_save_LIBS 26644fi 26645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26646$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26647if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26648 ac_cv_libcdata_dummy=yes 26649else 26650 ac_cv_libcdata=no 26651fi 26652 26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26654$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26655if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26656 $as_echo_n "(cached) " >&6 26657else 26658 ac_check_lib_save_LIBS=$LIBS 26659LIBS="-lcdata $LIBS" 26660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26661/* end confdefs.h. */ 26662 26663/* Override any GCC internal prototype to avoid an error. 26664 Use char because int might match the return type of a GCC 26665 builtin and then its argument prototype would still apply. */ 26666#ifdef __cplusplus 26667extern "C" 26668#endif 26669char libcdata_range_list_get_range_at_offset (); 26670int 26671main () 26672{ 26673return libcdata_range_list_get_range_at_offset (); 26674 ; 26675 return 0; 26676} 26677_ACEOF 26678if ac_fn_c_try_link "$LINENO"; then : 26679 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26680else 26681 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26682fi 26683rm -f core conftest.err conftest.$ac_objext \ 26684 conftest$ac_exeext conftest.$ac_ext 26685LIBS=$ac_check_lib_save_LIBS 26686fi 26687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26688$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26689if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26690 ac_cv_libcdata_dummy=yes 26691else 26692 ac_cv_libcdata=no 26693fi 26694 26695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26696$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26697if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26698 $as_echo_n "(cached) " >&6 26699else 26700 ac_check_lib_save_LIBS=$LIBS 26701LIBS="-lcdata $LIBS" 26702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26703/* end confdefs.h. */ 26704 26705/* Override any GCC internal prototype to avoid an error. 26706 Use char because int might match the return type of a GCC 26707 builtin and then its argument prototype would still apply. */ 26708#ifdef __cplusplus 26709extern "C" 26710#endif 26711char libcdata_range_list_range_is_present (); 26712int 26713main () 26714{ 26715return libcdata_range_list_range_is_present (); 26716 ; 26717 return 0; 26718} 26719_ACEOF 26720if ac_fn_c_try_link "$LINENO"; then : 26721 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26722else 26723 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26724fi 26725rm -f core conftest.err conftest.$ac_objext \ 26726 conftest$ac_exeext conftest.$ac_ext 26727LIBS=$ac_check_lib_save_LIBS 26728fi 26729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26730$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26731if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26732 ac_cv_libcdata_dummy=yes 26733else 26734 ac_cv_libcdata=no 26735fi 26736 26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26738$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26739if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} 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_range_list_get_spanning_range (); 26754int 26755main () 26756{ 26757return libcdata_range_list_get_spanning_range (); 26758 ; 26759 return 0; 26760} 26761_ACEOF 26762if ac_fn_c_try_link "$LINENO"; then : 26763 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26764else 26765 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=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_range_list_get_spanning_range" >&5 26772$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26773if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26774 ac_cv_libcdata_dummy=yes 26775else 26776 ac_cv_libcdata=no 26777fi 26778 26779 26780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26781$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26782if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26783 $as_echo_n "(cached) " >&6 26784else 26785 ac_check_lib_save_LIBS=$LIBS 26786LIBS="-lcdata $LIBS" 26787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26788/* end confdefs.h. */ 26789 26790/* Override any GCC internal prototype to avoid an error. 26791 Use char because int might match the return type of a GCC 26792 builtin and then its argument prototype would still apply. */ 26793#ifdef __cplusplus 26794extern "C" 26795#endif 26796char libcdata_tree_node_initialize (); 26797int 26798main () 26799{ 26800return libcdata_tree_node_initialize (); 26801 ; 26802 return 0; 26803} 26804_ACEOF 26805if ac_fn_c_try_link "$LINENO"; then : 26806 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26807else 26808 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26809fi 26810rm -f core conftest.err conftest.$ac_objext \ 26811 conftest$ac_exeext conftest.$ac_ext 26812LIBS=$ac_check_lib_save_LIBS 26813fi 26814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26815$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26816if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26817 ac_cv_libcdata_dummy=yes 26818else 26819 ac_cv_libcdata=no 26820fi 26821 26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26823$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26824if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26825 $as_echo_n "(cached) " >&6 26826else 26827 ac_check_lib_save_LIBS=$LIBS 26828LIBS="-lcdata $LIBS" 26829cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26830/* end confdefs.h. */ 26831 26832/* Override any GCC internal prototype to avoid an error. 26833 Use char because int might match the return type of a GCC 26834 builtin and then its argument prototype would still apply. */ 26835#ifdef __cplusplus 26836extern "C" 26837#endif 26838char libcdata_tree_node_free (); 26839int 26840main () 26841{ 26842return libcdata_tree_node_free (); 26843 ; 26844 return 0; 26845} 26846_ACEOF 26847if ac_fn_c_try_link "$LINENO"; then : 26848 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26849else 26850 ac_cv_lib_cdata_libcdata_tree_node_free=no 26851fi 26852rm -f core conftest.err conftest.$ac_objext \ 26853 conftest$ac_exeext conftest.$ac_ext 26854LIBS=$ac_check_lib_save_LIBS 26855fi 26856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26857$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26858if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26859 ac_cv_libcdata_dummy=yes 26860else 26861 ac_cv_libcdata=no 26862fi 26863 26864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26865$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26866if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26867 $as_echo_n "(cached) " >&6 26868else 26869 ac_check_lib_save_LIBS=$LIBS 26870LIBS="-lcdata $LIBS" 26871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26872/* end confdefs.h. */ 26873 26874/* Override any GCC internal prototype to avoid an error. 26875 Use char because int might match the return type of a GCC 26876 builtin and then its argument prototype would still apply. */ 26877#ifdef __cplusplus 26878extern "C" 26879#endif 26880char libcdata_tree_node_empty (); 26881int 26882main () 26883{ 26884return libcdata_tree_node_empty (); 26885 ; 26886 return 0; 26887} 26888_ACEOF 26889if ac_fn_c_try_link "$LINENO"; then : 26890 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26891else 26892 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26893fi 26894rm -f core conftest.err conftest.$ac_objext \ 26895 conftest$ac_exeext conftest.$ac_ext 26896LIBS=$ac_check_lib_save_LIBS 26897fi 26898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26899$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26900if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26901 ac_cv_libcdata_dummy=yes 26902else 26903 ac_cv_libcdata=no 26904fi 26905 26906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26907$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26908if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26909 $as_echo_n "(cached) " >&6 26910else 26911 ac_check_lib_save_LIBS=$LIBS 26912LIBS="-lcdata $LIBS" 26913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26914/* end confdefs.h. */ 26915 26916/* Override any GCC internal prototype to avoid an error. 26917 Use char because int might match the return type of a GCC 26918 builtin and then its argument prototype would still apply. */ 26919#ifdef __cplusplus 26920extern "C" 26921#endif 26922char libcdata_tree_node_clone (); 26923int 26924main () 26925{ 26926return libcdata_tree_node_clone (); 26927 ; 26928 return 0; 26929} 26930_ACEOF 26931if ac_fn_c_try_link "$LINENO"; then : 26932 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26933else 26934 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26935fi 26936rm -f core conftest.err conftest.$ac_objext \ 26937 conftest$ac_exeext conftest.$ac_ext 26938LIBS=$ac_check_lib_save_LIBS 26939fi 26940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26941$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26942if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26943 ac_cv_libcdata_dummy=yes 26944else 26945 ac_cv_libcdata=no 26946fi 26947 26948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26949$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26950if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26951 $as_echo_n "(cached) " >&6 26952else 26953 ac_check_lib_save_LIBS=$LIBS 26954LIBS="-lcdata $LIBS" 26955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26956/* end confdefs.h. */ 26957 26958/* Override any GCC internal prototype to avoid an error. 26959 Use char because int might match the return type of a GCC 26960 builtin and then its argument prototype would still apply. */ 26961#ifdef __cplusplus 26962extern "C" 26963#endif 26964char libcdata_tree_node_get_value (); 26965int 26966main () 26967{ 26968return libcdata_tree_node_get_value (); 26969 ; 26970 return 0; 26971} 26972_ACEOF 26973if ac_fn_c_try_link "$LINENO"; then : 26974 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 26975else 26976 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 26977fi 26978rm -f core conftest.err conftest.$ac_objext \ 26979 conftest$ac_exeext conftest.$ac_ext 26980LIBS=$ac_check_lib_save_LIBS 26981fi 26982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 26983$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 26984if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 26985 ac_cv_libcdata_dummy=yes 26986else 26987 ac_cv_libcdata=no 26988fi 26989 26990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 26991$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 26992if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 26993 $as_echo_n "(cached) " >&6 26994else 26995 ac_check_lib_save_LIBS=$LIBS 26996LIBS="-lcdata $LIBS" 26997cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26998/* end confdefs.h. */ 26999 27000/* Override any GCC internal prototype to avoid an error. 27001 Use char because int might match the return type of a GCC 27002 builtin and then its argument prototype would still apply. */ 27003#ifdef __cplusplus 27004extern "C" 27005#endif 27006char libcdata_tree_node_set_value (); 27007int 27008main () 27009{ 27010return libcdata_tree_node_set_value (); 27011 ; 27012 return 0; 27013} 27014_ACEOF 27015if ac_fn_c_try_link "$LINENO"; then : 27016 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 27017else 27018 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 27019fi 27020rm -f core conftest.err conftest.$ac_objext \ 27021 conftest$ac_exeext conftest.$ac_ext 27022LIBS=$ac_check_lib_save_LIBS 27023fi 27024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 27025$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 27026if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 27027 ac_cv_libcdata_dummy=yes 27028else 27029 ac_cv_libcdata=no 27030fi 27031 27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 27033$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 27034if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 27035 $as_echo_n "(cached) " >&6 27036else 27037 ac_check_lib_save_LIBS=$LIBS 27038LIBS="-lcdata $LIBS" 27039cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27040/* end confdefs.h. */ 27041 27042/* Override any GCC internal prototype to avoid an error. 27043 Use char because int might match the return type of a GCC 27044 builtin and then its argument prototype would still apply. */ 27045#ifdef __cplusplus 27046extern "C" 27047#endif 27048char libcdata_tree_node_get_parent_node (); 27049int 27050main () 27051{ 27052return libcdata_tree_node_get_parent_node (); 27053 ; 27054 return 0; 27055} 27056_ACEOF 27057if ac_fn_c_try_link "$LINENO"; then : 27058 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27059else 27060 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27061fi 27062rm -f core conftest.err conftest.$ac_objext \ 27063 conftest$ac_exeext conftest.$ac_ext 27064LIBS=$ac_check_lib_save_LIBS 27065fi 27066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27067$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27068if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27069 ac_cv_libcdata_dummy=yes 27070else 27071 ac_cv_libcdata=no 27072fi 27073 27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27075$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27076if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27077 $as_echo_n "(cached) " >&6 27078else 27079 ac_check_lib_save_LIBS=$LIBS 27080LIBS="-lcdata $LIBS" 27081cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27082/* end confdefs.h. */ 27083 27084/* Override any GCC internal prototype to avoid an error. 27085 Use char because int might match the return type of a GCC 27086 builtin and then its argument prototype would still apply. */ 27087#ifdef __cplusplus 27088extern "C" 27089#endif 27090char libcdata_tree_node_set_parent_node (); 27091int 27092main () 27093{ 27094return libcdata_tree_node_set_parent_node (); 27095 ; 27096 return 0; 27097} 27098_ACEOF 27099if ac_fn_c_try_link "$LINENO"; then : 27100 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27101else 27102 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27103fi 27104rm -f core conftest.err conftest.$ac_objext \ 27105 conftest$ac_exeext conftest.$ac_ext 27106LIBS=$ac_check_lib_save_LIBS 27107fi 27108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27109$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27110if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27111 ac_cv_libcdata_dummy=yes 27112else 27113 ac_cv_libcdata=no 27114fi 27115 27116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27117$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27118if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27119 $as_echo_n "(cached) " >&6 27120else 27121 ac_check_lib_save_LIBS=$LIBS 27122LIBS="-lcdata $LIBS" 27123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27124/* end confdefs.h. */ 27125 27126/* Override any GCC internal prototype to avoid an error. 27127 Use char because int might match the return type of a GCC 27128 builtin and then its argument prototype would still apply. */ 27129#ifdef __cplusplus 27130extern "C" 27131#endif 27132char libcdata_tree_node_get_previous_node (); 27133int 27134main () 27135{ 27136return libcdata_tree_node_get_previous_node (); 27137 ; 27138 return 0; 27139} 27140_ACEOF 27141if ac_fn_c_try_link "$LINENO"; then : 27142 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27143else 27144 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27145fi 27146rm -f core conftest.err conftest.$ac_objext \ 27147 conftest$ac_exeext conftest.$ac_ext 27148LIBS=$ac_check_lib_save_LIBS 27149fi 27150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27151$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27152if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27153 ac_cv_libcdata_dummy=yes 27154else 27155 ac_cv_libcdata=no 27156fi 27157 27158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27159$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27160if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27161 $as_echo_n "(cached) " >&6 27162else 27163 ac_check_lib_save_LIBS=$LIBS 27164LIBS="-lcdata $LIBS" 27165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27166/* end confdefs.h. */ 27167 27168/* Override any GCC internal prototype to avoid an error. 27169 Use char because int might match the return type of a GCC 27170 builtin and then its argument prototype would still apply. */ 27171#ifdef __cplusplus 27172extern "C" 27173#endif 27174char libcdata_tree_node_set_previous_node (); 27175int 27176main () 27177{ 27178return libcdata_tree_node_set_previous_node (); 27179 ; 27180 return 0; 27181} 27182_ACEOF 27183if ac_fn_c_try_link "$LINENO"; then : 27184 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27185else 27186 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27187fi 27188rm -f core conftest.err conftest.$ac_objext \ 27189 conftest$ac_exeext conftest.$ac_ext 27190LIBS=$ac_check_lib_save_LIBS 27191fi 27192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27193$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27194if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27195 ac_cv_libcdata_dummy=yes 27196else 27197 ac_cv_libcdata=no 27198fi 27199 27200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27201$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27202if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27203 $as_echo_n "(cached) " >&6 27204else 27205 ac_check_lib_save_LIBS=$LIBS 27206LIBS="-lcdata $LIBS" 27207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27208/* end confdefs.h. */ 27209 27210/* Override any GCC internal prototype to avoid an error. 27211 Use char because int might match the return type of a GCC 27212 builtin and then its argument prototype would still apply. */ 27213#ifdef __cplusplus 27214extern "C" 27215#endif 27216char libcdata_tree_node_get_next_node (); 27217int 27218main () 27219{ 27220return libcdata_tree_node_get_next_node (); 27221 ; 27222 return 0; 27223} 27224_ACEOF 27225if ac_fn_c_try_link "$LINENO"; then : 27226 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27227else 27228 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27229fi 27230rm -f core conftest.err conftest.$ac_objext \ 27231 conftest$ac_exeext conftest.$ac_ext 27232LIBS=$ac_check_lib_save_LIBS 27233fi 27234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27235$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27236if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27237 ac_cv_libcdata_dummy=yes 27238else 27239 ac_cv_libcdata=no 27240fi 27241 27242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27243$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27244if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27245 $as_echo_n "(cached) " >&6 27246else 27247 ac_check_lib_save_LIBS=$LIBS 27248LIBS="-lcdata $LIBS" 27249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27250/* end confdefs.h. */ 27251 27252/* Override any GCC internal prototype to avoid an error. 27253 Use char because int might match the return type of a GCC 27254 builtin and then its argument prototype would still apply. */ 27255#ifdef __cplusplus 27256extern "C" 27257#endif 27258char libcdata_tree_node_set_next_node (); 27259int 27260main () 27261{ 27262return libcdata_tree_node_set_next_node (); 27263 ; 27264 return 0; 27265} 27266_ACEOF 27267if ac_fn_c_try_link "$LINENO"; then : 27268 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27269else 27270 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27271fi 27272rm -f core conftest.err conftest.$ac_objext \ 27273 conftest$ac_exeext conftest.$ac_ext 27274LIBS=$ac_check_lib_save_LIBS 27275fi 27276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27277$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27278if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27279 ac_cv_libcdata_dummy=yes 27280else 27281 ac_cv_libcdata=no 27282fi 27283 27284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27285$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27286if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27287 $as_echo_n "(cached) " >&6 27288else 27289 ac_check_lib_save_LIBS=$LIBS 27290LIBS="-lcdata $LIBS" 27291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27292/* end confdefs.h. */ 27293 27294/* Override any GCC internal prototype to avoid an error. 27295 Use char because int might match the return type of a GCC 27296 builtin and then its argument prototype would still apply. */ 27297#ifdef __cplusplus 27298extern "C" 27299#endif 27300char libcdata_tree_node_get_nodes (); 27301int 27302main () 27303{ 27304return libcdata_tree_node_get_nodes (); 27305 ; 27306 return 0; 27307} 27308_ACEOF 27309if ac_fn_c_try_link "$LINENO"; then : 27310 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27311else 27312 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27313fi 27314rm -f core conftest.err conftest.$ac_objext \ 27315 conftest$ac_exeext conftest.$ac_ext 27316LIBS=$ac_check_lib_save_LIBS 27317fi 27318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27319$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27320if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27321 ac_cv_libcdata_dummy=yes 27322else 27323 ac_cv_libcdata=no 27324fi 27325 27326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27327$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27328if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27329 $as_echo_n "(cached) " >&6 27330else 27331 ac_check_lib_save_LIBS=$LIBS 27332LIBS="-lcdata $LIBS" 27333cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27334/* end confdefs.h. */ 27335 27336/* Override any GCC internal prototype to avoid an error. 27337 Use char because int might match the return type of a GCC 27338 builtin and then its argument prototype would still apply. */ 27339#ifdef __cplusplus 27340extern "C" 27341#endif 27342char libcdata_tree_node_set_nodes (); 27343int 27344main () 27345{ 27346return libcdata_tree_node_set_nodes (); 27347 ; 27348 return 0; 27349} 27350_ACEOF 27351if ac_fn_c_try_link "$LINENO"; then : 27352 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27353else 27354 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27355fi 27356rm -f core conftest.err conftest.$ac_objext \ 27357 conftest$ac_exeext conftest.$ac_ext 27358LIBS=$ac_check_lib_save_LIBS 27359fi 27360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27361$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27362if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27363 ac_cv_libcdata_dummy=yes 27364else 27365 ac_cv_libcdata=no 27366fi 27367 27368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27369$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27370if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27371 $as_echo_n "(cached) " >&6 27372else 27373 ac_check_lib_save_LIBS=$LIBS 27374LIBS="-lcdata $LIBS" 27375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27376/* end confdefs.h. */ 27377 27378/* Override any GCC internal prototype to avoid an error. 27379 Use char because int might match the return type of a GCC 27380 builtin and then its argument prototype would still apply. */ 27381#ifdef __cplusplus 27382extern "C" 27383#endif 27384char libcdata_tree_node_append_node (); 27385int 27386main () 27387{ 27388return libcdata_tree_node_append_node (); 27389 ; 27390 return 0; 27391} 27392_ACEOF 27393if ac_fn_c_try_link "$LINENO"; then : 27394 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27395else 27396 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27397fi 27398rm -f core conftest.err conftest.$ac_objext \ 27399 conftest$ac_exeext conftest.$ac_ext 27400LIBS=$ac_check_lib_save_LIBS 27401fi 27402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27403$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27404if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27405 ac_cv_libcdata_dummy=yes 27406else 27407 ac_cv_libcdata=no 27408fi 27409 27410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27411$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27412if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27413 $as_echo_n "(cached) " >&6 27414else 27415 ac_check_lib_save_LIBS=$LIBS 27416LIBS="-lcdata $LIBS" 27417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27418/* end confdefs.h. */ 27419 27420/* Override any GCC internal prototype to avoid an error. 27421 Use char because int might match the return type of a GCC 27422 builtin and then its argument prototype would still apply. */ 27423#ifdef __cplusplus 27424extern "C" 27425#endif 27426char libcdata_tree_node_append_value (); 27427int 27428main () 27429{ 27430return libcdata_tree_node_append_value (); 27431 ; 27432 return 0; 27433} 27434_ACEOF 27435if ac_fn_c_try_link "$LINENO"; then : 27436 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27437else 27438 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27439fi 27440rm -f core conftest.err conftest.$ac_objext \ 27441 conftest$ac_exeext conftest.$ac_ext 27442LIBS=$ac_check_lib_save_LIBS 27443fi 27444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27445$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27446if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27447 ac_cv_libcdata_dummy=yes 27448else 27449 ac_cv_libcdata=no 27450fi 27451 27452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27453$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27454if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27455 $as_echo_n "(cached) " >&6 27456else 27457 ac_check_lib_save_LIBS=$LIBS 27458LIBS="-lcdata $LIBS" 27459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27460/* end confdefs.h. */ 27461 27462/* Override any GCC internal prototype to avoid an error. 27463 Use char because int might match the return type of a GCC 27464 builtin and then its argument prototype would still apply. */ 27465#ifdef __cplusplus 27466extern "C" 27467#endif 27468char libcdata_tree_node_insert_node (); 27469int 27470main () 27471{ 27472return libcdata_tree_node_insert_node (); 27473 ; 27474 return 0; 27475} 27476_ACEOF 27477if ac_fn_c_try_link "$LINENO"; then : 27478 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27479else 27480 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27481fi 27482rm -f core conftest.err conftest.$ac_objext \ 27483 conftest$ac_exeext conftest.$ac_ext 27484LIBS=$ac_check_lib_save_LIBS 27485fi 27486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27487$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27488if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27489 ac_cv_libcdata_dummy=yes 27490else 27491 ac_cv_libcdata=no 27492fi 27493 27494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27495$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27496if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27497 $as_echo_n "(cached) " >&6 27498else 27499 ac_check_lib_save_LIBS=$LIBS 27500LIBS="-lcdata $LIBS" 27501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27502/* end confdefs.h. */ 27503 27504/* Override any GCC internal prototype to avoid an error. 27505 Use char because int might match the return type of a GCC 27506 builtin and then its argument prototype would still apply. */ 27507#ifdef __cplusplus 27508extern "C" 27509#endif 27510char libcdata_tree_node_insert_value (); 27511int 27512main () 27513{ 27514return libcdata_tree_node_insert_value (); 27515 ; 27516 return 0; 27517} 27518_ACEOF 27519if ac_fn_c_try_link "$LINENO"; then : 27520 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27521else 27522 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27523fi 27524rm -f core conftest.err conftest.$ac_objext \ 27525 conftest$ac_exeext conftest.$ac_ext 27526LIBS=$ac_check_lib_save_LIBS 27527fi 27528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27529$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27530if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27531 ac_cv_libcdata_dummy=yes 27532else 27533 ac_cv_libcdata=no 27534fi 27535 27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27537$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27538if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27539 $as_echo_n "(cached) " >&6 27540else 27541 ac_check_lib_save_LIBS=$LIBS 27542LIBS="-lcdata $LIBS" 27543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27544/* end confdefs.h. */ 27545 27546/* Override any GCC internal prototype to avoid an error. 27547 Use char because int might match the return type of a GCC 27548 builtin and then its argument prototype would still apply. */ 27549#ifdef __cplusplus 27550extern "C" 27551#endif 27552char libcdata_tree_node_replace_node (); 27553int 27554main () 27555{ 27556return libcdata_tree_node_replace_node (); 27557 ; 27558 return 0; 27559} 27560_ACEOF 27561if ac_fn_c_try_link "$LINENO"; then : 27562 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27563else 27564 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27565fi 27566rm -f core conftest.err conftest.$ac_objext \ 27567 conftest$ac_exeext conftest.$ac_ext 27568LIBS=$ac_check_lib_save_LIBS 27569fi 27570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27571$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27572if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27573 ac_cv_libcdata_dummy=yes 27574else 27575 ac_cv_libcdata=no 27576fi 27577 27578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27579$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27580if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27581 $as_echo_n "(cached) " >&6 27582else 27583 ac_check_lib_save_LIBS=$LIBS 27584LIBS="-lcdata $LIBS" 27585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27586/* end confdefs.h. */ 27587 27588/* Override any GCC internal prototype to avoid an error. 27589 Use char because int might match the return type of a GCC 27590 builtin and then its argument prototype would still apply. */ 27591#ifdef __cplusplus 27592extern "C" 27593#endif 27594char libcdata_tree_node_remove_node (); 27595int 27596main () 27597{ 27598return libcdata_tree_node_remove_node (); 27599 ; 27600 return 0; 27601} 27602_ACEOF 27603if ac_fn_c_try_link "$LINENO"; then : 27604 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27605else 27606 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27607fi 27608rm -f core conftest.err conftest.$ac_objext \ 27609 conftest$ac_exeext conftest.$ac_ext 27610LIBS=$ac_check_lib_save_LIBS 27611fi 27612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27613$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27614if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27615 ac_cv_libcdata_dummy=yes 27616else 27617 ac_cv_libcdata=no 27618fi 27619 27620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27621$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27622if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27623 $as_echo_n "(cached) " >&6 27624else 27625 ac_check_lib_save_LIBS=$LIBS 27626LIBS="-lcdata $LIBS" 27627cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27628/* end confdefs.h. */ 27629 27630/* Override any GCC internal prototype to avoid an error. 27631 Use char because int might match the return type of a GCC 27632 builtin and then its argument prototype would still apply. */ 27633#ifdef __cplusplus 27634extern "C" 27635#endif 27636char libcdata_tree_node_get_number_of_sub_nodes (); 27637int 27638main () 27639{ 27640return libcdata_tree_node_get_number_of_sub_nodes (); 27641 ; 27642 return 0; 27643} 27644_ACEOF 27645if ac_fn_c_try_link "$LINENO"; then : 27646 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27647else 27648 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27649fi 27650rm -f core conftest.err conftest.$ac_objext \ 27651 conftest$ac_exeext conftest.$ac_ext 27652LIBS=$ac_check_lib_save_LIBS 27653fi 27654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27655$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27656if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27657 ac_cv_libcdata_dummy=yes 27658else 27659 ac_cv_libcdata=no 27660fi 27661 27662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27663$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27664if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27665 $as_echo_n "(cached) " >&6 27666else 27667 ac_check_lib_save_LIBS=$LIBS 27668LIBS="-lcdata $LIBS" 27669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27670/* end confdefs.h. */ 27671 27672/* Override any GCC internal prototype to avoid an error. 27673 Use char because int might match the return type of a GCC 27674 builtin and then its argument prototype would still apply. */ 27675#ifdef __cplusplus 27676extern "C" 27677#endif 27678char libcdata_tree_node_get_sub_node_by_index (); 27679int 27680main () 27681{ 27682return libcdata_tree_node_get_sub_node_by_index (); 27683 ; 27684 return 0; 27685} 27686_ACEOF 27687if ac_fn_c_try_link "$LINENO"; then : 27688 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27689else 27690 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27691fi 27692rm -f core conftest.err conftest.$ac_objext \ 27693 conftest$ac_exeext conftest.$ac_ext 27694LIBS=$ac_check_lib_save_LIBS 27695fi 27696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27697$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27698if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27699 ac_cv_libcdata_dummy=yes 27700else 27701 ac_cv_libcdata=no 27702fi 27703 27704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27705$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27706if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27707 $as_echo_n "(cached) " >&6 27708else 27709 ac_check_lib_save_LIBS=$LIBS 27710LIBS="-lcdata $LIBS" 27711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27712/* end confdefs.h. */ 27713 27714/* Override any GCC internal prototype to avoid an error. 27715 Use char because int might match the return type of a GCC 27716 builtin and then its argument prototype would still apply. */ 27717#ifdef __cplusplus 27718extern "C" 27719#endif 27720char libcdata_tree_node_get_leaf_node_list (); 27721int 27722main () 27723{ 27724return libcdata_tree_node_get_leaf_node_list (); 27725 ; 27726 return 0; 27727} 27728_ACEOF 27729if ac_fn_c_try_link "$LINENO"; then : 27730 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27731else 27732 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27733fi 27734rm -f core conftest.err conftest.$ac_objext \ 27735 conftest$ac_exeext conftest.$ac_ext 27736LIBS=$ac_check_lib_save_LIBS 27737fi 27738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27739$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27740if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27741 ac_cv_libcdata_dummy=yes 27742else 27743 ac_cv_libcdata=no 27744fi 27745 27746 27747 ac_cv_libcdata_LIBADD="-lcdata" 27748fi 27749 27750fi 27751 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27753$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27754as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27755See \`config.log' for more details" "$LINENO" 5; } 27756 27757fi 27758 27759fi 27760 27761 if test "x$ac_cv_libcdata" = xyes; then : 27762 27763$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27764 27765 27766fi 27767 27768 if test "x$ac_cv_libcdata" = xyes; then : 27769 HAVE_LIBCDATA=1 27770 27771else 27772 HAVE_LIBCDATA=0 27773 27774 27775fi 27776 27777 27778 if test "x$ac_cv_libcdata" != xyes; then : 27779 27780 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27781 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27782 27783 ac_cv_libcdata=local 27784 27785 27786 27787$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27788 27789 HAVE_LOCAL_LIBCDATA=1 27790 27791 27792fi 27793 27794 if test "x$ac_cv_libcdata" = xlocal; then 27795 HAVE_LOCAL_LIBCDATA_TRUE= 27796 HAVE_LOCAL_LIBCDATA_FALSE='#' 27797else 27798 HAVE_LOCAL_LIBCDATA_TRUE='#' 27799 HAVE_LOCAL_LIBCDATA_FALSE= 27800fi 27801 27802 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27803 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27804 27805 27806fi 27807 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27808 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27809 27810 27811fi 27812 27813 if test "x$ac_cv_libcdata" = xyes; then : 27814 ax_libcdata_pc_libs_private=-lcdata 27815 27816 27817fi 27818 27819 if test "x$ac_cv_libcdata" = xyes; then : 27820 ax_libcdata_spec_requires=libcdata 27821 27822 ax_libcdata_spec_build_requires=libcdata-devel 27823 27824 27825fi 27826 27827 27828 27829 27830# Check whether --with-libclocale was given. 27831if test "${with_libclocale+set}" = set; then : 27832 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27833else 27834 ac_cv_with_libclocale=auto-detect 27835fi 27836 27837 { $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 27838$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; } 27839if ${ac_cv_with_libclocale+:} false; then : 27840 $as_echo_n "(cached) " >&6 27841else 27842 ac_cv_with_libclocale=auto-detect 27843fi 27844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27845$as_echo "$ac_cv_with_libclocale" >&6; } 27846 27847 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27848 ac_cv_libclocale=no 27849else 27850 ac_cv_libclocale=check 27851 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27852 if test -d "$ac_cv_with_libclocale"; then : 27853 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27854 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27855else 27856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27858as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27859See \`config.log' for more details" "$LINENO" 5; } 27860 27861fi 27862 27863else 27864 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27865 27866pkg_failed=no 27867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27868$as_echo_n "checking for libclocale... " >&6; } 27869 27870if test -n "$libclocale_CFLAGS"; then 27871 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27872 elif test -n "$PKG_CONFIG"; then 27873 if test -n "$PKG_CONFIG" && \ 27874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27875 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27876 ac_status=$? 27877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27878 test $ac_status = 0; }; then 27879 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27880 test "x$?" != "x0" && pkg_failed=yes 27881else 27882 pkg_failed=yes 27883fi 27884 else 27885 pkg_failed=untried 27886fi 27887if test -n "$libclocale_LIBS"; then 27888 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27889 elif test -n "$PKG_CONFIG"; then 27890 if test -n "$PKG_CONFIG" && \ 27891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27892 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27893 ac_status=$? 27894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27895 test $ac_status = 0; }; then 27896 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27897 test "x$?" != "x0" && pkg_failed=yes 27898else 27899 pkg_failed=yes 27900fi 27901 else 27902 pkg_failed=untried 27903fi 27904 27905 27906 27907if test $pkg_failed = yes; then 27908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27909$as_echo "no" >&6; } 27910 27911if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27912 _pkg_short_errors_supported=yes 27913else 27914 _pkg_short_errors_supported=no 27915fi 27916 if test $_pkg_short_errors_supported = yes; then 27917 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27918 else 27919 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27920 fi 27921 # Put the nasty error message in config.log where it belongs 27922 echo "$libclocale_PKG_ERRORS" >&5 27923 27924 ac_cv_libclocale=check 27925elif test $pkg_failed = untried; then 27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27927$as_echo "no" >&6; } 27928 ac_cv_libclocale=check 27929else 27930 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27931 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27933$as_echo "yes" >&6; } 27934 ac_cv_libclocale=yes 27935fi 27936 27937fi 27938 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27940$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27941if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27942 $as_echo_n "(cached) " >&6 27943else 27944 ac_ext=c 27945ac_cpp='$CPP $CPPFLAGS' 27946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27948ac_compiler_gnu=$ac_cv_c_compiler_gnu 27949 27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27951/* end confdefs.h. */ 27952#include <libclocale/features.h> 27953int 27954main () 27955{ 27956#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27957#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27958#endif 27959 ; 27960 return 0; 27961} 27962_ACEOF 27963if ac_fn_c_try_compile "$LINENO"; then : 27964 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27965else 27966 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27967fi 27968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27969 ac_ext=c 27970ac_cpp='$CPP $CPPFLAGS' 27971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27973ac_compiler_gnu=$ac_cv_c_compiler_gnu 27974 27975fi 27976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 27977$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 27978 27979 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 27980 ac_cv_libclocale=no 27981fi 27982 27983fi 27984 if test "x$ac_cv_libclocale" = xyes; then : 27985 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 27986 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 27987fi 27988 27989fi 27990 27991 if test "x$ac_cv_libclocale" = xcheck; then : 27992 for ac_header in libclocale.h 27993do : 27994 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 27995if test "x$ac_cv_header_libclocale_h" = xyes; then : 27996 cat >>confdefs.h <<_ACEOF 27997#define HAVE_LIBCLOCALE_H 1 27998_ACEOF 27999 28000fi 28001 28002done 28003 28004 28005 if test "x$ac_cv_header_libclocale_h" = xno; then : 28006 ac_cv_libclocale=no 28007else 28008 ac_cv_libclocale=yes 28009 28010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 28011$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 28012if ${ac_cv_lib_clocale_libclocale_get_version+:} 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_get_version (); 28027int 28028main () 28029{ 28030return libclocale_get_version (); 28031 ; 28032 return 0; 28033} 28034_ACEOF 28035if ac_fn_c_try_link "$LINENO"; then : 28036 ac_cv_lib_clocale_libclocale_get_version=yes 28037else 28038 ac_cv_lib_clocale_libclocale_get_version=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_get_version" >&5 28045$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28046if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28047 ac_cv_libclocale_dummy=yes 28048else 28049 ac_cv_libclocale=no 28050fi 28051 28052 28053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28054$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28055if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28056 $as_echo_n "(cached) " >&6 28057else 28058 ac_check_lib_save_LIBS=$LIBS 28059LIBS="-lclocale $LIBS" 28060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28061/* end confdefs.h. */ 28062 28063/* Override any GCC internal prototype to avoid an error. 28064 Use char because int might match the return type of a GCC 28065 builtin and then its argument prototype would still apply. */ 28066#ifdef __cplusplus 28067extern "C" 28068#endif 28069char libclocale_codepage (); 28070int 28071main () 28072{ 28073return libclocale_codepage (); 28074 ; 28075 return 0; 28076} 28077_ACEOF 28078if ac_fn_c_try_link "$LINENO"; then : 28079 ac_cv_lib_clocale_libclocale_codepage=yes 28080else 28081 ac_cv_lib_clocale_libclocale_codepage=no 28082fi 28083rm -f core conftest.err conftest.$ac_objext \ 28084 conftest$ac_exeext conftest.$ac_ext 28085LIBS=$ac_check_lib_save_LIBS 28086fi 28087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28088$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28089if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28090 ac_cv_libclocale_dummy=yes 28091else 28092 ac_cv_libclocale=no 28093fi 28094 28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28096$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28097if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28098 $as_echo_n "(cached) " >&6 28099else 28100 ac_check_lib_save_LIBS=$LIBS 28101LIBS="-lclocale $LIBS" 28102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28103/* end confdefs.h. */ 28104 28105/* Override any GCC internal prototype to avoid an error. 28106 Use char because int might match the return type of a GCC 28107 builtin and then its argument prototype would still apply. */ 28108#ifdef __cplusplus 28109extern "C" 28110#endif 28111char libclocale_codepage_get (); 28112int 28113main () 28114{ 28115return libclocale_codepage_get (); 28116 ; 28117 return 0; 28118} 28119_ACEOF 28120if ac_fn_c_try_link "$LINENO"; then : 28121 ac_cv_lib_clocale_libclocale_codepage_get=yes 28122else 28123 ac_cv_lib_clocale_libclocale_codepage_get=no 28124fi 28125rm -f core conftest.err conftest.$ac_objext \ 28126 conftest$ac_exeext conftest.$ac_ext 28127LIBS=$ac_check_lib_save_LIBS 28128fi 28129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28130$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28131if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28132 ac_cv_libclocale_dummy=yes 28133else 28134 ac_cv_libclocale=no 28135fi 28136 28137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28138$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28139if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28140 $as_echo_n "(cached) " >&6 28141else 28142 ac_check_lib_save_LIBS=$LIBS 28143LIBS="-lclocale $LIBS" 28144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28145/* end confdefs.h. */ 28146 28147/* Override any GCC internal prototype to avoid an error. 28148 Use char because int might match the return type of a GCC 28149 builtin and then its argument prototype would still apply. */ 28150#ifdef __cplusplus 28151extern "C" 28152#endif 28153char libclocale_codepage_set (); 28154int 28155main () 28156{ 28157return libclocale_codepage_set (); 28158 ; 28159 return 0; 28160} 28161_ACEOF 28162if ac_fn_c_try_link "$LINENO"; then : 28163 ac_cv_lib_clocale_libclocale_codepage_set=yes 28164else 28165 ac_cv_lib_clocale_libclocale_codepage_set=no 28166fi 28167rm -f core conftest.err conftest.$ac_objext \ 28168 conftest$ac_exeext conftest.$ac_ext 28169LIBS=$ac_check_lib_save_LIBS 28170fi 28171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28172$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28173if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28174 ac_cv_libclocale_dummy=yes 28175else 28176 ac_cv_libclocale=no 28177fi 28178 28179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28180$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28181if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28182 $as_echo_n "(cached) " >&6 28183else 28184 ac_check_lib_save_LIBS=$LIBS 28185LIBS="-lclocale $LIBS" 28186cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28187/* end confdefs.h. */ 28188 28189/* Override any GCC internal prototype to avoid an error. 28190 Use char because int might match the return type of a GCC 28191 builtin and then its argument prototype would still apply. */ 28192#ifdef __cplusplus 28193extern "C" 28194#endif 28195char libclocale_codepage_copy_from_string (); 28196int 28197main () 28198{ 28199return libclocale_codepage_copy_from_string (); 28200 ; 28201 return 0; 28202} 28203_ACEOF 28204if ac_fn_c_try_link "$LINENO"; then : 28205 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28206else 28207 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28208fi 28209rm -f core conftest.err conftest.$ac_objext \ 28210 conftest$ac_exeext conftest.$ac_ext 28211LIBS=$ac_check_lib_save_LIBS 28212fi 28213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28214$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28215if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28216 ac_cv_libclocale_dummy=yes 28217else 28218 ac_cv_libclocale=no 28219fi 28220 28221 28222 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28224$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28225if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28226 $as_echo_n "(cached) " >&6 28227else 28228 ac_check_lib_save_LIBS=$LIBS 28229LIBS="-lclocale $LIBS" 28230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28231/* end confdefs.h. */ 28232 28233/* Override any GCC internal prototype to avoid an error. 28234 Use char because int might match the return type of a GCC 28235 builtin and then its argument prototype would still apply. */ 28236#ifdef __cplusplus 28237extern "C" 28238#endif 28239char libclocale_codepage_copy_from_string_wide (); 28240int 28241main () 28242{ 28243return libclocale_codepage_copy_from_string_wide (); 28244 ; 28245 return 0; 28246} 28247_ACEOF 28248if ac_fn_c_try_link "$LINENO"; then : 28249 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28250else 28251 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28252fi 28253rm -f core conftest.err conftest.$ac_objext \ 28254 conftest$ac_exeext conftest.$ac_ext 28255LIBS=$ac_check_lib_save_LIBS 28256fi 28257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28258$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28259if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28260 ac_cv_libclocale_dummy=yes 28261else 28262 ac_cv_libclocale=no 28263fi 28264 28265 28266fi 28267 28268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28269$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28270if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28271 $as_echo_n "(cached) " >&6 28272else 28273 ac_check_lib_save_LIBS=$LIBS 28274LIBS="-lclocale $LIBS" 28275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28276/* end confdefs.h. */ 28277 28278/* Override any GCC internal prototype to avoid an error. 28279 Use char because int might match the return type of a GCC 28280 builtin and then its argument prototype would still apply. */ 28281#ifdef __cplusplus 28282extern "C" 28283#endif 28284char libclocale_locale_get_codepage (); 28285int 28286main () 28287{ 28288return libclocale_locale_get_codepage (); 28289 ; 28290 return 0; 28291} 28292_ACEOF 28293if ac_fn_c_try_link "$LINENO"; then : 28294 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28295else 28296 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28297fi 28298rm -f core conftest.err conftest.$ac_objext \ 28299 conftest$ac_exeext conftest.$ac_ext 28300LIBS=$ac_check_lib_save_LIBS 28301fi 28302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28303$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28304if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28305 ac_cv_libclocale_dummy=yes 28306else 28307 ac_cv_libclocale=no 28308fi 28309 28310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28311$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28312if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} 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_locale_get_decimal_point (); 28327int 28328main () 28329{ 28330return libclocale_locale_get_decimal_point (); 28331 ; 28332 return 0; 28333} 28334_ACEOF 28335if ac_fn_c_try_link "$LINENO"; then : 28336 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28337else 28338 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=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_locale_get_decimal_point" >&5 28345$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28346if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28347 ac_cv_libclocale_dummy=yes 28348else 28349 ac_cv_libclocale=no 28350fi 28351 28352 28353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28354$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28355if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28356 $as_echo_n "(cached) " >&6 28357else 28358 ac_check_lib_save_LIBS=$LIBS 28359LIBS="-lclocale $LIBS" 28360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28361/* end confdefs.h. */ 28362 28363/* Override any GCC internal prototype to avoid an error. 28364 Use char because int might match the return type of a GCC 28365 builtin and then its argument prototype would still apply. */ 28366#ifdef __cplusplus 28367extern "C" 28368#endif 28369char libclocale_initialize (); 28370int 28371main () 28372{ 28373return libclocale_initialize (); 28374 ; 28375 return 0; 28376} 28377_ACEOF 28378if ac_fn_c_try_link "$LINENO"; then : 28379 ac_cv_lib_clocale_libclocale_initialize=yes 28380else 28381 ac_cv_lib_clocale_libclocale_initialize=no 28382fi 28383rm -f core conftest.err conftest.$ac_objext \ 28384 conftest$ac_exeext conftest.$ac_ext 28385LIBS=$ac_check_lib_save_LIBS 28386fi 28387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28388$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28389if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28390 ac_cv_libclocale_dummy=yes 28391else 28392 ac_cv_libclocale=no 28393fi 28394 28395 28396 ac_cv_libclocale_LIBADD="-lclocale" 28397fi 28398 28399fi 28400 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28403as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28404See \`config.log' for more details" "$LINENO" 5; } 28405 28406fi 28407 28408fi 28409 28410 if test "x$ac_cv_libclocale" = xyes; then : 28411 28412$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28413 28414 28415fi 28416 28417 if test "x$ac_cv_libclocale" = xyes; then : 28418 HAVE_LIBCLOCALE=1 28419 28420else 28421 HAVE_LIBCLOCALE=0 28422 28423 28424fi 28425 28426 28427 if test "x$ac_cv_libclocale" != xyes; then : 28428 for ac_header in langinfo.h locale.h 28429do : 28430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28431ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28432if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28433 cat >>confdefs.h <<_ACEOF 28434#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28435_ACEOF 28436 28437fi 28438 28439done 28440 28441 28442 for ac_func in getenv 28443do : 28444 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28445if test "x$ac_cv_func_getenv" = xyes; then : 28446 cat >>confdefs.h <<_ACEOF 28447#define HAVE_GETENV 1 28448_ACEOF 28449 28450fi 28451done 28452 28453 28454 if test "x$ac_cv_func_getenv" != 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: getenv 28458See \`config.log' for more details" "$LINENO" 5; } 28459 28460fi 28461 28462 if test "x$ac_cv_enable_winapi" = xno; then : 28463 for ac_func in localeconv 28464do : 28465 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28466if test "x$ac_cv_func_localeconv" = xyes; then : 28467 cat >>confdefs.h <<_ACEOF 28468#define HAVE_LOCALECONV 1 28469_ACEOF 28470 28471fi 28472done 28473 28474 28475 if test "x$ac_cv_func_localeconv" != xyes; then : 28476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28478as_fn_error 1 "Missing function: localeconv 28479See \`config.log' for more details" "$LINENO" 5; } 28480 28481fi 28482 28483fi 28484 28485 for ac_func in setlocale 28486do : 28487 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28488if test "x$ac_cv_func_setlocale" = xyes; then : 28489 cat >>confdefs.h <<_ACEOF 28490#define HAVE_SETLOCALE 1 28491_ACEOF 28492 28493fi 28494done 28495 28496 28497 if test "x$ac_cv_func_setlocale" != xyes; then : 28498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28500as_fn_error 1 "Missing function: setlocale 28501See \`config.log' for more details" "$LINENO" 5; } 28502 28503fi 28504 28505 for ac_func in nl_langinfo 28506do : 28507 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28508if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28509 cat >>confdefs.h <<_ACEOF 28510#define HAVE_NL_LANGINFO 1 28511_ACEOF 28512 28513fi 28514done 28515 28516 28517 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28519$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28520if ${ac_cv_cv_langinfo_codeset+:} false; then : 28521 $as_echo_n "(cached) " >&6 28522else 28523 ac_ext=c 28524ac_cpp='$CPP $CPPFLAGS' 28525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28527ac_compiler_gnu=$ac_cv_c_compiler_gnu 28528 28529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28530/* end confdefs.h. */ 28531#include <langinfo.h> 28532int 28533main () 28534{ 28535char* charset = nl_langinfo( CODESET ); 28536 ; 28537 return 0; 28538} 28539_ACEOF 28540if ac_fn_c_try_link "$LINENO"; then : 28541 ac_cv_cv_langinfo_codeset=yes 28542else 28543 ac_cv_cv_langinfo_codeset=no 28544fi 28545rm -f core conftest.err conftest.$ac_objext \ 28546 conftest$ac_exeext conftest.$ac_ext 28547 ac_ext=c 28548ac_cpp='$CPP $CPPFLAGS' 28549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28551ac_compiler_gnu=$ac_cv_c_compiler_gnu 28552 28553fi 28554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28555$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28556else 28557 ac_cv_cv_langinfo_codeset=no 28558fi 28559 28560 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28561 28562$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28563 28564 28565fi 28566 28567 28568 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28569 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28570 28571 ac_cv_libclocale=local 28572 28573 28574 28575$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28576 28577 HAVE_LOCAL_LIBCLOCALE=1 28578 28579 28580fi 28581 28582 if test "x$ac_cv_libclocale" = xlocal; then 28583 HAVE_LOCAL_LIBCLOCALE_TRUE= 28584 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28585else 28586 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28587 HAVE_LOCAL_LIBCLOCALE_FALSE= 28588fi 28589 28590 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28591 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28592 28593 28594fi 28595 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28596 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28597 28598 28599fi 28600 28601 if test "x$ac_cv_libclocale" = xyes; then : 28602 ax_libclocale_pc_libs_private=-lclocale 28603 28604 28605fi 28606 28607 if test "x$ac_cv_libclocale" = xyes; then : 28608 ax_libclocale_spec_requires=libclocale 28609 28610 ax_libclocale_spec_build_requires=libclocale-devel 28611 28612 28613fi 28614 28615 28616 28617 28618# Check whether --with-libcnotify was given. 28619if test "${with_libcnotify+set}" = set; then : 28620 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28621else 28622 ac_cv_with_libcnotify=auto-detect 28623fi 28624 28625 { $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 28626$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; } 28627if ${ac_cv_with_libcnotify+:} false; then : 28628 $as_echo_n "(cached) " >&6 28629else 28630 ac_cv_with_libcnotify=auto-detect 28631fi 28632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28633$as_echo "$ac_cv_with_libcnotify" >&6; } 28634 28635 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28636 ac_cv_libcnotify=no 28637else 28638 ac_cv_libcnotify=check 28639 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28640 if test -d "$ac_cv_with_libcnotify"; then : 28641 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28642 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28643else 28644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28645$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28646as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28647See \`config.log' for more details" "$LINENO" 5; } 28648 28649fi 28650 28651else 28652 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28653 28654pkg_failed=no 28655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28656$as_echo_n "checking for libcnotify... " >&6; } 28657 28658if test -n "$libcnotify_CFLAGS"; then 28659 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28660 elif test -n "$PKG_CONFIG"; then 28661 if test -n "$PKG_CONFIG" && \ 28662 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28663 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28664 ac_status=$? 28665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28666 test $ac_status = 0; }; then 28667 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28668 test "x$?" != "x0" && pkg_failed=yes 28669else 28670 pkg_failed=yes 28671fi 28672 else 28673 pkg_failed=untried 28674fi 28675if test -n "$libcnotify_LIBS"; then 28676 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28677 elif test -n "$PKG_CONFIG"; then 28678 if test -n "$PKG_CONFIG" && \ 28679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28680 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28681 ac_status=$? 28682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28683 test $ac_status = 0; }; then 28684 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28685 test "x$?" != "x0" && pkg_failed=yes 28686else 28687 pkg_failed=yes 28688fi 28689 else 28690 pkg_failed=untried 28691fi 28692 28693 28694 28695if test $pkg_failed = yes; then 28696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28697$as_echo "no" >&6; } 28698 28699if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28700 _pkg_short_errors_supported=yes 28701else 28702 _pkg_short_errors_supported=no 28703fi 28704 if test $_pkg_short_errors_supported = yes; then 28705 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28706 else 28707 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28708 fi 28709 # Put the nasty error message in config.log where it belongs 28710 echo "$libcnotify_PKG_ERRORS" >&5 28711 28712 ac_cv_libcnotify=check 28713elif test $pkg_failed = untried; then 28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28715$as_echo "no" >&6; } 28716 ac_cv_libcnotify=check 28717else 28718 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28719 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28721$as_echo "yes" >&6; } 28722 ac_cv_libcnotify=yes 28723fi 28724 28725fi 28726 if test "x$ac_cv_libcnotify" = xyes; then : 28727 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28728 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28729fi 28730 28731fi 28732 28733 if test "x$ac_cv_libcnotify" = xcheck; then : 28734 for ac_header in libcnotify.h 28735do : 28736 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28737if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28738 cat >>confdefs.h <<_ACEOF 28739#define HAVE_LIBCNOTIFY_H 1 28740_ACEOF 28741 28742fi 28743 28744done 28745 28746 28747 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28748 ac_cv_libcnotify=no 28749else 28750 ac_cv_libcnotify=yes 28751 28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28753$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28754if ${ac_cv_lib_cnotify_libcnotify_get_version+:} 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_get_version (); 28769int 28770main () 28771{ 28772return libcnotify_get_version (); 28773 ; 28774 return 0; 28775} 28776_ACEOF 28777if ac_fn_c_try_link "$LINENO"; then : 28778 ac_cv_lib_cnotify_libcnotify_get_version=yes 28779else 28780 ac_cv_lib_cnotify_libcnotify_get_version=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_get_version" >&5 28787$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28788if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28789 ac_cv_libcnotify_dummy=yes 28790else 28791 ac_cv_libcnotify=no 28792fi 28793 28794 28795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28796$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28797if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28798 $as_echo_n "(cached) " >&6 28799else 28800 ac_check_lib_save_LIBS=$LIBS 28801LIBS="-lcnotify $LIBS" 28802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28803/* end confdefs.h. */ 28804 28805/* Override any GCC internal prototype to avoid an error. 28806 Use char because int might match the return type of a GCC 28807 builtin and then its argument prototype would still apply. */ 28808#ifdef __cplusplus 28809extern "C" 28810#endif 28811char libcnotify_printf (); 28812int 28813main () 28814{ 28815return libcnotify_printf (); 28816 ; 28817 return 0; 28818} 28819_ACEOF 28820if ac_fn_c_try_link "$LINENO"; then : 28821 ac_cv_lib_cnotify_libcnotify_printf=yes 28822else 28823 ac_cv_lib_cnotify_libcnotify_printf=no 28824fi 28825rm -f core conftest.err conftest.$ac_objext \ 28826 conftest$ac_exeext conftest.$ac_ext 28827LIBS=$ac_check_lib_save_LIBS 28828fi 28829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28830$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28831if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28832 ac_cv_libcnotify_dummy=yes 28833else 28834 ac_cv_libcnotify=no 28835fi 28836 28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28838$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28839if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28840 $as_echo_n "(cached) " >&6 28841else 28842 ac_check_lib_save_LIBS=$LIBS 28843LIBS="-lcnotify $LIBS" 28844cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28845/* end confdefs.h. */ 28846 28847/* Override any GCC internal prototype to avoid an error. 28848 Use char because int might match the return type of a GCC 28849 builtin and then its argument prototype would still apply. */ 28850#ifdef __cplusplus 28851extern "C" 28852#endif 28853char libcnotify_print_data (); 28854int 28855main () 28856{ 28857return libcnotify_print_data (); 28858 ; 28859 return 0; 28860} 28861_ACEOF 28862if ac_fn_c_try_link "$LINENO"; then : 28863 ac_cv_lib_cnotify_libcnotify_print_data=yes 28864else 28865 ac_cv_lib_cnotify_libcnotify_print_data=no 28866fi 28867rm -f core conftest.err conftest.$ac_objext \ 28868 conftest$ac_exeext conftest.$ac_ext 28869LIBS=$ac_check_lib_save_LIBS 28870fi 28871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28872$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28873if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28874 ac_cv_libcnotify_dummy=yes 28875else 28876 ac_cv_libcnotify=no 28877fi 28878 28879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28880$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28881if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} 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_print_error_backtrace (); 28896int 28897main () 28898{ 28899return libcnotify_print_error_backtrace (); 28900 ; 28901 return 0; 28902} 28903_ACEOF 28904if ac_fn_c_try_link "$LINENO"; then : 28905 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28906else 28907 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=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_print_error_backtrace" >&5 28914$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28915if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28916 ac_cv_libcnotify_dummy=yes 28917else 28918 ac_cv_libcnotify=no 28919fi 28920 28921 28922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28923$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28924if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28925 $as_echo_n "(cached) " >&6 28926else 28927 ac_check_lib_save_LIBS=$LIBS 28928LIBS="-lcnotify $LIBS" 28929cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28930/* end confdefs.h. */ 28931 28932/* Override any GCC internal prototype to avoid an error. 28933 Use char because int might match the return type of a GCC 28934 builtin and then its argument prototype would still apply. */ 28935#ifdef __cplusplus 28936extern "C" 28937#endif 28938char libcnotify_stream_set (); 28939int 28940main () 28941{ 28942return libcnotify_stream_set (); 28943 ; 28944 return 0; 28945} 28946_ACEOF 28947if ac_fn_c_try_link "$LINENO"; then : 28948 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28949else 28950 ac_cv_lib_cnotify_libcnotify_stream_set=no 28951fi 28952rm -f core conftest.err conftest.$ac_objext \ 28953 conftest$ac_exeext conftest.$ac_ext 28954LIBS=$ac_check_lib_save_LIBS 28955fi 28956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28957$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28958if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28959 ac_cv_libcnotify_dummy=yes 28960else 28961 ac_cv_libcnotify=no 28962fi 28963 28964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28965$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28966if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28967 $as_echo_n "(cached) " >&6 28968else 28969 ac_check_lib_save_LIBS=$LIBS 28970LIBS="-lcnotify $LIBS" 28971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28972/* end confdefs.h. */ 28973 28974/* Override any GCC internal prototype to avoid an error. 28975 Use char because int might match the return type of a GCC 28976 builtin and then its argument prototype would still apply. */ 28977#ifdef __cplusplus 28978extern "C" 28979#endif 28980char libcnotify_stream_open (); 28981int 28982main () 28983{ 28984return libcnotify_stream_open (); 28985 ; 28986 return 0; 28987} 28988_ACEOF 28989if ac_fn_c_try_link "$LINENO"; then : 28990 ac_cv_lib_cnotify_libcnotify_stream_open=yes 28991else 28992 ac_cv_lib_cnotify_libcnotify_stream_open=no 28993fi 28994rm -f core conftest.err conftest.$ac_objext \ 28995 conftest$ac_exeext conftest.$ac_ext 28996LIBS=$ac_check_lib_save_LIBS 28997fi 28998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 28999$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 29000if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 29001 ac_cv_libcnotify_dummy=yes 29002else 29003 ac_cv_libcnotify=no 29004fi 29005 29006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 29007$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 29008if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} 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_stream_close (); 29023int 29024main () 29025{ 29026return libcnotify_stream_close (); 29027 ; 29028 return 0; 29029} 29030_ACEOF 29031if ac_fn_c_try_link "$LINENO"; then : 29032 ac_cv_lib_cnotify_libcnotify_stream_close=yes 29033else 29034 ac_cv_lib_cnotify_libcnotify_stream_close=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_stream_close" >&5 29041$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 29042if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29043 ac_cv_libcnotify_dummy=yes 29044else 29045 ac_cv_libcnotify=no 29046fi 29047 29048 29049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29050$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29051if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29052 $as_echo_n "(cached) " >&6 29053else 29054 ac_check_lib_save_LIBS=$LIBS 29055LIBS="-lcnotify $LIBS" 29056cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29057/* end confdefs.h. */ 29058 29059/* Override any GCC internal prototype to avoid an error. 29060 Use char because int might match the return type of a GCC 29061 builtin and then its argument prototype would still apply. */ 29062#ifdef __cplusplus 29063extern "C" 29064#endif 29065char libcnotify_verbose_set (); 29066int 29067main () 29068{ 29069return libcnotify_verbose_set (); 29070 ; 29071 return 0; 29072} 29073_ACEOF 29074if ac_fn_c_try_link "$LINENO"; then : 29075 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29076else 29077 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29078fi 29079rm -f core conftest.err conftest.$ac_objext \ 29080 conftest$ac_exeext conftest.$ac_ext 29081LIBS=$ac_check_lib_save_LIBS 29082fi 29083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29084$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29085if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29086 ac_cv_libcnotify_dummy=yes 29087else 29088 ac_cv_libcnotify=no 29089fi 29090 29091 29092 ac_cv_libcnotify_LIBADD="-lcnotify" 29093fi 29094 29095fi 29096 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29099as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29100See \`config.log' for more details" "$LINENO" 5; } 29101 29102fi 29103 29104fi 29105 29106 if test "x$ac_cv_libcnotify" = xyes; then : 29107 29108$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29109 29110 29111fi 29112 29113 if test "x$ac_cv_libcnotify" = xyes; then : 29114 HAVE_LIBCNOTIFY=1 29115 29116else 29117 HAVE_LIBCNOTIFY=0 29118 29119 29120fi 29121 29122 29123 if test "x$ac_cv_libcnotify" != xyes; then : 29124 for ac_header in stdarg.h varargs.h 29125do : 29126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29127ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29128if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29129 cat >>confdefs.h <<_ACEOF 29130#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29131_ACEOF 29132 29133fi 29134 29135done 29136 29137 29138 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29140$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29141as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29142See \`config.log' for more details" "$LINENO" 5; } 29143 29144fi 29145 29146 for ac_header in errno.h 29147do : 29148 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29149if test "x$ac_cv_header_errno_h" = xyes; then : 29150 cat >>confdefs.h <<_ACEOF 29151#define HAVE_ERRNO_H 1 29152_ACEOF 29153 29154fi 29155 29156done 29157 29158 29159 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29160 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29161 29162 ac_cv_libcnotify=local 29163 29164 29165 29166$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29167 29168 HAVE_LOCAL_LIBCNOTIFY=1 29169 29170 29171fi 29172 29173 if test "x$ac_cv_libcnotify" = xlocal; then 29174 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29175 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29176else 29177 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29178 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29179fi 29180 29181 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29182 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29183 29184 29185fi 29186 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29187 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29188 29189 29190fi 29191 29192 if test "x$ac_cv_libcnotify" = xyes; then : 29193 ax_libcnotify_pc_libs_private=-lcnotify 29194 29195 29196fi 29197 29198 if test "x$ac_cv_libcnotify" = xyes; then : 29199 ax_libcnotify_spec_requires=libcnotify 29200 29201 ax_libcnotify_spec_build_requires=libcnotify-devel 29202 29203 29204fi 29205 29206 29207 29208 29209# Check whether --with-libcsplit was given. 29210if test "${with_libcsplit+set}" = set; then : 29211 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29212else 29213 ac_cv_with_libcsplit=auto-detect 29214fi 29215 29216 { $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 29217$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; } 29218if ${ac_cv_with_libcsplit+:} false; then : 29219 $as_echo_n "(cached) " >&6 29220else 29221 ac_cv_with_libcsplit=auto-detect 29222fi 29223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29224$as_echo "$ac_cv_with_libcsplit" >&6; } 29225 29226 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29227 ac_cv_libcsplit=no 29228else 29229 ac_cv_libcsplit=check 29230 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29231 if test -d "$ac_cv_with_libcsplit"; then : 29232 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29233 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29234else 29235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29237as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29238See \`config.log' for more details" "$LINENO" 5; } 29239 29240fi 29241 29242else 29243 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29244 29245pkg_failed=no 29246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29247$as_echo_n "checking for libcsplit... " >&6; } 29248 29249if test -n "$libcsplit_CFLAGS"; then 29250 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29251 elif test -n "$PKG_CONFIG"; then 29252 if test -n "$PKG_CONFIG" && \ 29253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29254 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29255 ac_status=$? 29256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29257 test $ac_status = 0; }; then 29258 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29259 test "x$?" != "x0" && pkg_failed=yes 29260else 29261 pkg_failed=yes 29262fi 29263 else 29264 pkg_failed=untried 29265fi 29266if test -n "$libcsplit_LIBS"; then 29267 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29268 elif test -n "$PKG_CONFIG"; then 29269 if test -n "$PKG_CONFIG" && \ 29270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29271 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29272 ac_status=$? 29273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29274 test $ac_status = 0; }; then 29275 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29276 test "x$?" != "x0" && pkg_failed=yes 29277else 29278 pkg_failed=yes 29279fi 29280 else 29281 pkg_failed=untried 29282fi 29283 29284 29285 29286if test $pkg_failed = yes; then 29287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29288$as_echo "no" >&6; } 29289 29290if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29291 _pkg_short_errors_supported=yes 29292else 29293 _pkg_short_errors_supported=no 29294fi 29295 if test $_pkg_short_errors_supported = yes; then 29296 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29297 else 29298 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29299 fi 29300 # Put the nasty error message in config.log where it belongs 29301 echo "$libcsplit_PKG_ERRORS" >&5 29302 29303 ac_cv_libcsplit=check 29304elif test $pkg_failed = untried; then 29305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29306$as_echo "no" >&6; } 29307 ac_cv_libcsplit=check 29308else 29309 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29310 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29312$as_echo "yes" >&6; } 29313 ac_cv_libcsplit=yes 29314fi 29315 29316fi 29317 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29319$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29320if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29321 $as_echo_n "(cached) " >&6 29322else 29323 ac_ext=c 29324ac_cpp='$CPP $CPPFLAGS' 29325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29327ac_compiler_gnu=$ac_cv_c_compiler_gnu 29328 29329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29330/* end confdefs.h. */ 29331#include <libcsplit/features.h> 29332int 29333main () 29334{ 29335#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29336#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29337#endif 29338 ; 29339 return 0; 29340} 29341_ACEOF 29342if ac_fn_c_try_compile "$LINENO"; then : 29343 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29344else 29345 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29346fi 29347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29348 ac_ext=c 29349ac_cpp='$CPP $CPPFLAGS' 29350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29352ac_compiler_gnu=$ac_cv_c_compiler_gnu 29353 29354fi 29355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29356$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29357 29358 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29359 ac_cv_libcsplit=no 29360fi 29361 29362fi 29363 if test "x$ac_cv_libcsplit" = xyes; then : 29364 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29365 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29366fi 29367 29368fi 29369 29370 if test "x$ac_cv_libcsplit" = xcheck; then : 29371 for ac_header in libcsplit.h 29372do : 29373 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29374if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29375 cat >>confdefs.h <<_ACEOF 29376#define HAVE_LIBCSPLIT_H 1 29377_ACEOF 29378 29379fi 29380 29381done 29382 29383 29384 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29385 ac_cv_libcsplit=no 29386else 29387 ac_cv_libcsplit=yes 29388 29389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29390$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29391if ${ac_cv_lib_csplit_libcsplit_get_version+:} 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_get_version (); 29406int 29407main () 29408{ 29409return libcsplit_get_version (); 29410 ; 29411 return 0; 29412} 29413_ACEOF 29414if ac_fn_c_try_link "$LINENO"; then : 29415 ac_cv_lib_csplit_libcsplit_get_version=yes 29416else 29417 ac_cv_lib_csplit_libcsplit_get_version=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_get_version" >&5 29424$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29425if test "x$ac_cv_lib_csplit_libcsplit_get_version" = 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_string_split in -lcsplit" >&5 29433$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29434if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} 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_string_split (); 29449int 29450main () 29451{ 29452return libcsplit_narrow_string_split (); 29453 ; 29454 return 0; 29455} 29456_ACEOF 29457if ac_fn_c_try_link "$LINENO"; then : 29458 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29459else 29460 ac_cv_lib_csplit_libcsplit_narrow_string_split=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_string_split" >&5 29467$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29468if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29469 ac_cv_libcsplit_dummy=yes 29470else 29471 ac_cv_libcsplit=no 29472fi 29473 29474 29475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29476$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29477if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29478 $as_echo_n "(cached) " >&6 29479else 29480 ac_check_lib_save_LIBS=$LIBS 29481LIBS="-lcsplit $LIBS" 29482cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29483/* end confdefs.h. */ 29484 29485/* Override any GCC internal prototype to avoid an error. 29486 Use char because int might match the return type of a GCC 29487 builtin and then its argument prototype would still apply. */ 29488#ifdef __cplusplus 29489extern "C" 29490#endif 29491char libcsplit_narrow_split_string_free (); 29492int 29493main () 29494{ 29495return libcsplit_narrow_split_string_free (); 29496 ; 29497 return 0; 29498} 29499_ACEOF 29500if ac_fn_c_try_link "$LINENO"; then : 29501 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29502else 29503 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29504fi 29505rm -f core conftest.err conftest.$ac_objext \ 29506 conftest$ac_exeext conftest.$ac_ext 29507LIBS=$ac_check_lib_save_LIBS 29508fi 29509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29510$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29511if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29512 ac_cv_libcsplit_dummy=yes 29513else 29514 ac_cv_libcsplit=no 29515fi 29516 29517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29518$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29519if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29520 $as_echo_n "(cached) " >&6 29521else 29522 ac_check_lib_save_LIBS=$LIBS 29523LIBS="-lcsplit $LIBS" 29524cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29525/* end confdefs.h. */ 29526 29527/* Override any GCC internal prototype to avoid an error. 29528 Use char because int might match the return type of a GCC 29529 builtin and then its argument prototype would still apply. */ 29530#ifdef __cplusplus 29531extern "C" 29532#endif 29533char libcsplit_narrow_split_string_get_string (); 29534int 29535main () 29536{ 29537return libcsplit_narrow_split_string_get_string (); 29538 ; 29539 return 0; 29540} 29541_ACEOF 29542if ac_fn_c_try_link "$LINENO"; then : 29543 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29544else 29545 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29546fi 29547rm -f core conftest.err conftest.$ac_objext \ 29548 conftest$ac_exeext conftest.$ac_ext 29549LIBS=$ac_check_lib_save_LIBS 29550fi 29551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29552$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29553if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29554 ac_cv_libcsplit_dummy=yes 29555else 29556 ac_cv_libcsplit=no 29557fi 29558 29559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29560$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29561if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29562 $as_echo_n "(cached) " >&6 29563else 29564 ac_check_lib_save_LIBS=$LIBS 29565LIBS="-lcsplit $LIBS" 29566cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29567/* end confdefs.h. */ 29568 29569/* Override any GCC internal prototype to avoid an error. 29570 Use char because int might match the return type of a GCC 29571 builtin and then its argument prototype would still apply. */ 29572#ifdef __cplusplus 29573extern "C" 29574#endif 29575char libcsplit_narrow_split_string_get_number_of_segments (); 29576int 29577main () 29578{ 29579return libcsplit_narrow_split_string_get_number_of_segments (); 29580 ; 29581 return 0; 29582} 29583_ACEOF 29584if ac_fn_c_try_link "$LINENO"; then : 29585 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29586else 29587 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29588fi 29589rm -f core conftest.err conftest.$ac_objext \ 29590 conftest$ac_exeext conftest.$ac_ext 29591LIBS=$ac_check_lib_save_LIBS 29592fi 29593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29594$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29595if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29596 ac_cv_libcsplit_dummy=yes 29597else 29598 ac_cv_libcsplit=no 29599fi 29600 29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29602$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29603if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29604 $as_echo_n "(cached) " >&6 29605else 29606 ac_check_lib_save_LIBS=$LIBS 29607LIBS="-lcsplit $LIBS" 29608cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29609/* end confdefs.h. */ 29610 29611/* Override any GCC internal prototype to avoid an error. 29612 Use char because int might match the return type of a GCC 29613 builtin and then its argument prototype would still apply. */ 29614#ifdef __cplusplus 29615extern "C" 29616#endif 29617char libcsplit_narrow_split_string_get_segment_by_index (); 29618int 29619main () 29620{ 29621return libcsplit_narrow_split_string_get_segment_by_index (); 29622 ; 29623 return 0; 29624} 29625_ACEOF 29626if ac_fn_c_try_link "$LINENO"; then : 29627 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29628else 29629 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29630fi 29631rm -f core conftest.err conftest.$ac_objext \ 29632 conftest$ac_exeext conftest.$ac_ext 29633LIBS=$ac_check_lib_save_LIBS 29634fi 29635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29636$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29637if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29638 ac_cv_libcsplit_dummy=yes 29639else 29640 ac_cv_libcsplit=no 29641fi 29642 29643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29644$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29645if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29646 $as_echo_n "(cached) " >&6 29647else 29648 ac_check_lib_save_LIBS=$LIBS 29649LIBS="-lcsplit $LIBS" 29650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29651/* end confdefs.h. */ 29652 29653/* Override any GCC internal prototype to avoid an error. 29654 Use char because int might match the return type of a GCC 29655 builtin and then its argument prototype would still apply. */ 29656#ifdef __cplusplus 29657extern "C" 29658#endif 29659char libcsplit_narrow_split_string_set_segment_by_index (); 29660int 29661main () 29662{ 29663return libcsplit_narrow_split_string_set_segment_by_index (); 29664 ; 29665 return 0; 29666} 29667_ACEOF 29668if ac_fn_c_try_link "$LINENO"; then : 29669 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29670else 29671 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29672fi 29673rm -f core conftest.err conftest.$ac_objext \ 29674 conftest$ac_exeext conftest.$ac_ext 29675LIBS=$ac_check_lib_save_LIBS 29676fi 29677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29678$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29679if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29680 ac_cv_libcsplit_dummy=yes 29681else 29682 ac_cv_libcsplit=no 29683fi 29684 29685 29686 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29688$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29689if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} 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_string_split (); 29704int 29705main () 29706{ 29707return libcsplit_wide_string_split (); 29708 ; 29709 return 0; 29710} 29711_ACEOF 29712if ac_fn_c_try_link "$LINENO"; then : 29713 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29714else 29715 ac_cv_lib_csplit_libcsplit_wide_string_split=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_string_split" >&5 29722$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29723if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29724 ac_cv_libcsplit_dummy=yes 29725else 29726 ac_cv_libcsplit=no 29727fi 29728 29729 29730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29731$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29732if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29733 $as_echo_n "(cached) " >&6 29734else 29735 ac_check_lib_save_LIBS=$LIBS 29736LIBS="-lcsplit $LIBS" 29737cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29738/* end confdefs.h. */ 29739 29740/* Override any GCC internal prototype to avoid an error. 29741 Use char because int might match the return type of a GCC 29742 builtin and then its argument prototype would still apply. */ 29743#ifdef __cplusplus 29744extern "C" 29745#endif 29746char libcsplit_wide_split_string_free (); 29747int 29748main () 29749{ 29750return libcsplit_wide_split_string_free (); 29751 ; 29752 return 0; 29753} 29754_ACEOF 29755if ac_fn_c_try_link "$LINENO"; then : 29756 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29757else 29758 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29759fi 29760rm -f core conftest.err conftest.$ac_objext \ 29761 conftest$ac_exeext conftest.$ac_ext 29762LIBS=$ac_check_lib_save_LIBS 29763fi 29764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29765$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29766if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29767 ac_cv_libcsplit_dummy=yes 29768else 29769 ac_cv_libcsplit=no 29770fi 29771 29772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29773$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29774if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29775 $as_echo_n "(cached) " >&6 29776else 29777 ac_check_lib_save_LIBS=$LIBS 29778LIBS="-lcsplit $LIBS" 29779cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29780/* end confdefs.h. */ 29781 29782/* Override any GCC internal prototype to avoid an error. 29783 Use char because int might match the return type of a GCC 29784 builtin and then its argument prototype would still apply. */ 29785#ifdef __cplusplus 29786extern "C" 29787#endif 29788char libcsplit_wide_split_string_get_string (); 29789int 29790main () 29791{ 29792return libcsplit_wide_split_string_get_string (); 29793 ; 29794 return 0; 29795} 29796_ACEOF 29797if ac_fn_c_try_link "$LINENO"; then : 29798 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29799else 29800 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29801fi 29802rm -f core conftest.err conftest.$ac_objext \ 29803 conftest$ac_exeext conftest.$ac_ext 29804LIBS=$ac_check_lib_save_LIBS 29805fi 29806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29807$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29808if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29809 ac_cv_libcsplit_dummy=yes 29810else 29811 ac_cv_libcsplit=no 29812fi 29813 29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29815$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29816if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29817 $as_echo_n "(cached) " >&6 29818else 29819 ac_check_lib_save_LIBS=$LIBS 29820LIBS="-lcsplit $LIBS" 29821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29822/* end confdefs.h. */ 29823 29824/* Override any GCC internal prototype to avoid an error. 29825 Use char because int might match the return type of a GCC 29826 builtin and then its argument prototype would still apply. */ 29827#ifdef __cplusplus 29828extern "C" 29829#endif 29830char libcsplit_wide_split_string_get_number_of_segments (); 29831int 29832main () 29833{ 29834return libcsplit_wide_split_string_get_number_of_segments (); 29835 ; 29836 return 0; 29837} 29838_ACEOF 29839if ac_fn_c_try_link "$LINENO"; then : 29840 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29841else 29842 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29843fi 29844rm -f core conftest.err conftest.$ac_objext \ 29845 conftest$ac_exeext conftest.$ac_ext 29846LIBS=$ac_check_lib_save_LIBS 29847fi 29848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29849$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29850if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29851 ac_cv_libcsplit_dummy=yes 29852else 29853 ac_cv_libcsplit=no 29854fi 29855 29856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29857$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29858if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29859 $as_echo_n "(cached) " >&6 29860else 29861 ac_check_lib_save_LIBS=$LIBS 29862LIBS="-lcsplit $LIBS" 29863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29864/* end confdefs.h. */ 29865 29866/* Override any GCC internal prototype to avoid an error. 29867 Use char because int might match the return type of a GCC 29868 builtin and then its argument prototype would still apply. */ 29869#ifdef __cplusplus 29870extern "C" 29871#endif 29872char libcsplit_wide_split_string_get_segment_by_index (); 29873int 29874main () 29875{ 29876return libcsplit_wide_split_string_get_segment_by_index (); 29877 ; 29878 return 0; 29879} 29880_ACEOF 29881if ac_fn_c_try_link "$LINENO"; then : 29882 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29883else 29884 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29885fi 29886rm -f core conftest.err conftest.$ac_objext \ 29887 conftest$ac_exeext conftest.$ac_ext 29888LIBS=$ac_check_lib_save_LIBS 29889fi 29890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29891$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29892if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29893 ac_cv_libcsplit_dummy=yes 29894else 29895 ac_cv_libcsplit=no 29896fi 29897 29898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29899$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29900if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29901 $as_echo_n "(cached) " >&6 29902else 29903 ac_check_lib_save_LIBS=$LIBS 29904LIBS="-lcsplit $LIBS" 29905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29906/* end confdefs.h. */ 29907 29908/* Override any GCC internal prototype to avoid an error. 29909 Use char because int might match the return type of a GCC 29910 builtin and then its argument prototype would still apply. */ 29911#ifdef __cplusplus 29912extern "C" 29913#endif 29914char libcsplit_wide_split_string_set_segment_by_index (); 29915int 29916main () 29917{ 29918return libcsplit_wide_split_string_set_segment_by_index (); 29919 ; 29920 return 0; 29921} 29922_ACEOF 29923if ac_fn_c_try_link "$LINENO"; then : 29924 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29925else 29926 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29927fi 29928rm -f core conftest.err conftest.$ac_objext \ 29929 conftest$ac_exeext conftest.$ac_ext 29930LIBS=$ac_check_lib_save_LIBS 29931fi 29932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29933$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29934if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29935 ac_cv_libcsplit_dummy=yes 29936else 29937 ac_cv_libcsplit=no 29938fi 29939 29940 29941fi 29942 29943 ac_cv_libcsplit_LIBADD="-lcsplit" 29944fi 29945 29946fi 29947 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29950as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29951See \`config.log' for more details" "$LINENO" 5; } 29952 29953fi 29954 29955fi 29956 29957 if test "x$ac_cv_libcsplit" = xyes; then : 29958 29959$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29960 29961 29962fi 29963 29964 if test "x$ac_cv_libcsplit" = xyes; then : 29965 HAVE_LIBCSPLIT=1 29966 29967else 29968 HAVE_LIBCSPLIT=0 29969 29970 29971fi 29972 29973 29974 if test "x$ac_cv_libcsplit" != xyes; then : 29975 29976 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 29977 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 29978 29979 ac_cv_libcsplit=local 29980 29981 29982 29983$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 29984 29985 HAVE_LOCAL_LIBCSPLIT=1 29986 29987 29988fi 29989 29990 if test "x$ac_cv_libcsplit" = xlocal; then 29991 HAVE_LOCAL_LIBCSPLIT_TRUE= 29992 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 29993else 29994 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 29995 HAVE_LOCAL_LIBCSPLIT_FALSE= 29996fi 29997 29998 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 29999 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 30000 30001 30002fi 30003 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 30004 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 30005 30006 30007fi 30008 30009 if test "x$ac_cv_libcsplit" = xyes; then : 30010 ax_libcsplit_pc_libs_private=-lcsplit 30011 30012 30013fi 30014 30015 if test "x$ac_cv_libcsplit" = xyes; then : 30016 ax_libcsplit_spec_requires=libcsplit 30017 30018 ax_libcsplit_spec_build_requires=libcsplit-devel 30019 30020 30021fi 30022 30023 30024 30025 30026# Check whether --with-libuna was given. 30027if test "${with_libuna+set}" = set; then : 30028 withval=$with_libuna; ac_cv_with_libuna=$withval 30029else 30030 ac_cv_with_libuna=auto-detect 30031fi 30032 30033 { $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 30034$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; } 30035if ${ac_cv_with_libuna+:} false; then : 30036 $as_echo_n "(cached) " >&6 30037else 30038 ac_cv_with_libuna=auto-detect 30039fi 30040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 30041$as_echo "$ac_cv_with_libuna" >&6; } 30042 30043 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30044 ac_cv_libuna=no 30045else 30046 ac_cv_libuna=check 30047 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30048 if test -d "$ac_cv_with_libuna"; then : 30049 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30050 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30051else 30052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30053$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30054as_fn_error 1 "no such directory: $ac_cv_with_libuna 30055See \`config.log' for more details" "$LINENO" 5; } 30056 30057fi 30058 30059else 30060 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30061 30062pkg_failed=no 30063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30064$as_echo_n "checking for libuna... " >&6; } 30065 30066if test -n "$libuna_CFLAGS"; then 30067 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30068 elif test -n "$PKG_CONFIG"; then 30069 if test -n "$PKG_CONFIG" && \ 30070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30071 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30072 ac_status=$? 30073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30074 test $ac_status = 0; }; then 30075 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30076 test "x$?" != "x0" && pkg_failed=yes 30077else 30078 pkg_failed=yes 30079fi 30080 else 30081 pkg_failed=untried 30082fi 30083if test -n "$libuna_LIBS"; then 30084 pkg_cv_libuna_LIBS="$libuna_LIBS" 30085 elif test -n "$PKG_CONFIG"; then 30086 if test -n "$PKG_CONFIG" && \ 30087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30088 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30089 ac_status=$? 30090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30091 test $ac_status = 0; }; then 30092 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30093 test "x$?" != "x0" && pkg_failed=yes 30094else 30095 pkg_failed=yes 30096fi 30097 else 30098 pkg_failed=untried 30099fi 30100 30101 30102 30103if test $pkg_failed = yes; then 30104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30105$as_echo "no" >&6; } 30106 30107if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30108 _pkg_short_errors_supported=yes 30109else 30110 _pkg_short_errors_supported=no 30111fi 30112 if test $_pkg_short_errors_supported = yes; then 30113 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30114 else 30115 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30116 fi 30117 # Put the nasty error message in config.log where it belongs 30118 echo "$libuna_PKG_ERRORS" >&5 30119 30120 ac_cv_libuna=check 30121elif test $pkg_failed = untried; then 30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30123$as_echo "no" >&6; } 30124 ac_cv_libuna=check 30125else 30126 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30127 libuna_LIBS=$pkg_cv_libuna_LIBS 30128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30129$as_echo "yes" >&6; } 30130 ac_cv_libuna=yes 30131fi 30132 30133fi 30134 if test "x$ac_cv_libuna" = xyes; then : 30135 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30136 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30137fi 30138 30139fi 30140 30141 if test "x$ac_cv_libuna" = xcheck; then : 30142 for ac_header in libuna.h 30143do : 30144 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30145if test "x$ac_cv_header_libuna_h" = xyes; then : 30146 cat >>confdefs.h <<_ACEOF 30147#define HAVE_LIBUNA_H 1 30148_ACEOF 30149 30150fi 30151 30152done 30153 30154 30155 if test "x$ac_cv_header_libuna_h" = xno; then : 30156 ac_cv_libuna=no 30157else 30158 ac_cv_libuna=yes 30159 30160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30161$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30162if ${ac_cv_lib_una_libuna_get_version+:} 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_get_version (); 30177int 30178main () 30179{ 30180return libuna_get_version (); 30181 ; 30182 return 0; 30183} 30184_ACEOF 30185if ac_fn_c_try_link "$LINENO"; then : 30186 ac_cv_lib_una_libuna_get_version=yes 30187else 30188 ac_cv_lib_una_libuna_get_version=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_get_version" >&5 30195$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30196if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30197 ac_cv_libuna_dummy=yes 30198else 30199 ac_cv_libuna=no 30200fi 30201 30202 30203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30204$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30205if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30206 $as_echo_n "(cached) " >&6 30207else 30208 ac_check_lib_save_LIBS=$LIBS 30209LIBS="-luna $LIBS" 30210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30211/* end confdefs.h. */ 30212 30213/* Override any GCC internal prototype to avoid an error. 30214 Use char because int might match the return type of a GCC 30215 builtin and then its argument prototype would still apply. */ 30216#ifdef __cplusplus 30217extern "C" 30218#endif 30219char libuna_base16_stream_size_to_byte_stream (); 30220int 30221main () 30222{ 30223return libuna_base16_stream_size_to_byte_stream (); 30224 ; 30225 return 0; 30226} 30227_ACEOF 30228if ac_fn_c_try_link "$LINENO"; then : 30229 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30230else 30231 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30232fi 30233rm -f core conftest.err conftest.$ac_objext \ 30234 conftest$ac_exeext conftest.$ac_ext 30235LIBS=$ac_check_lib_save_LIBS 30236fi 30237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30238$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30239if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30240 ac_cv_libuna_dummy=yes 30241else 30242 ac_cv_libuna=no 30243fi 30244 30245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30246$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30247if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30248 $as_echo_n "(cached) " >&6 30249else 30250 ac_check_lib_save_LIBS=$LIBS 30251LIBS="-luna $LIBS" 30252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30253/* end confdefs.h. */ 30254 30255/* Override any GCC internal prototype to avoid an error. 30256 Use char because int might match the return type of a GCC 30257 builtin and then its argument prototype would still apply. */ 30258#ifdef __cplusplus 30259extern "C" 30260#endif 30261char libuna_base16_stream_copy_to_byte_stream (); 30262int 30263main () 30264{ 30265return libuna_base16_stream_copy_to_byte_stream (); 30266 ; 30267 return 0; 30268} 30269_ACEOF 30270if ac_fn_c_try_link "$LINENO"; then : 30271 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30272else 30273 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30274fi 30275rm -f core conftest.err conftest.$ac_objext \ 30276 conftest$ac_exeext conftest.$ac_ext 30277LIBS=$ac_check_lib_save_LIBS 30278fi 30279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30280$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30281if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30282 ac_cv_libuna_dummy=yes 30283else 30284 ac_cv_libuna=no 30285fi 30286 30287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30288$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30289if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30290 $as_echo_n "(cached) " >&6 30291else 30292 ac_check_lib_save_LIBS=$LIBS 30293LIBS="-luna $LIBS" 30294cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30295/* end confdefs.h. */ 30296 30297/* Override any GCC internal prototype to avoid an error. 30298 Use char because int might match the return type of a GCC 30299 builtin and then its argument prototype would still apply. */ 30300#ifdef __cplusplus 30301extern "C" 30302#endif 30303char libuna_base16_stream_size_from_byte_stream (); 30304int 30305main () 30306{ 30307return libuna_base16_stream_size_from_byte_stream (); 30308 ; 30309 return 0; 30310} 30311_ACEOF 30312if ac_fn_c_try_link "$LINENO"; then : 30313 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30314else 30315 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30316fi 30317rm -f core conftest.err conftest.$ac_objext \ 30318 conftest$ac_exeext conftest.$ac_ext 30319LIBS=$ac_check_lib_save_LIBS 30320fi 30321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30322$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30323if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30324 ac_cv_libuna_dummy=yes 30325else 30326 ac_cv_libuna=no 30327fi 30328 30329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30330$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30331if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30332 $as_echo_n "(cached) " >&6 30333else 30334 ac_check_lib_save_LIBS=$LIBS 30335LIBS="-luna $LIBS" 30336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30337/* end confdefs.h. */ 30338 30339/* Override any GCC internal prototype to avoid an error. 30340 Use char because int might match the return type of a GCC 30341 builtin and then its argument prototype would still apply. */ 30342#ifdef __cplusplus 30343extern "C" 30344#endif 30345char libuna_base16_stream_copy_from_byte_stream (); 30346int 30347main () 30348{ 30349return libuna_base16_stream_copy_from_byte_stream (); 30350 ; 30351 return 0; 30352} 30353_ACEOF 30354if ac_fn_c_try_link "$LINENO"; then : 30355 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30356else 30357 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30358fi 30359rm -f core conftest.err conftest.$ac_objext \ 30360 conftest$ac_exeext conftest.$ac_ext 30361LIBS=$ac_check_lib_save_LIBS 30362fi 30363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30364$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30365if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30366 ac_cv_libuna_dummy=yes 30367else 30368 ac_cv_libuna=no 30369fi 30370 30371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30372$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30373if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_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_base16_stream_with_index_copy_from_byte_stream (); 30388int 30389main () 30390{ 30391return libuna_base16_stream_with_index_copy_from_byte_stream (); 30392 ; 30393 return 0; 30394} 30395_ACEOF 30396if ac_fn_c_try_link "$LINENO"; then : 30397 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30398else 30399 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_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_base16_stream_with_index_copy_from_byte_stream" >&5 30406$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30407if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30408 ac_cv_libuna_dummy=yes 30409else 30410 ac_cv_libuna=no 30411fi 30412 30413 30414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30415$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30416if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30417 $as_echo_n "(cached) " >&6 30418else 30419 ac_check_lib_save_LIBS=$LIBS 30420LIBS="-luna $LIBS" 30421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30422/* end confdefs.h. */ 30423 30424/* Override any GCC internal prototype to avoid an error. 30425 Use char because int might match the return type of a GCC 30426 builtin and then its argument prototype would still apply. */ 30427#ifdef __cplusplus 30428extern "C" 30429#endif 30430char libuna_base32_quintuplet_copy_from_base32_stream (); 30431int 30432main () 30433{ 30434return libuna_base32_quintuplet_copy_from_base32_stream (); 30435 ; 30436 return 0; 30437} 30438_ACEOF 30439if ac_fn_c_try_link "$LINENO"; then : 30440 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30441else 30442 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30443fi 30444rm -f core conftest.err conftest.$ac_objext \ 30445 conftest$ac_exeext conftest.$ac_ext 30446LIBS=$ac_check_lib_save_LIBS 30447fi 30448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30449$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30450if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30451 ac_cv_libuna_dummy=yes 30452else 30453 ac_cv_libuna=no 30454fi 30455 30456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30457$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30458if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30459 $as_echo_n "(cached) " >&6 30460else 30461 ac_check_lib_save_LIBS=$LIBS 30462LIBS="-luna $LIBS" 30463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30464/* end confdefs.h. */ 30465 30466/* Override any GCC internal prototype to avoid an error. 30467 Use char because int might match the return type of a GCC 30468 builtin and then its argument prototype would still apply. */ 30469#ifdef __cplusplus 30470extern "C" 30471#endif 30472char libuna_base32_quintuplet_copy_to_base32_stream (); 30473int 30474main () 30475{ 30476return libuna_base32_quintuplet_copy_to_base32_stream (); 30477 ; 30478 return 0; 30479} 30480_ACEOF 30481if ac_fn_c_try_link "$LINENO"; then : 30482 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30483else 30484 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30485fi 30486rm -f core conftest.err conftest.$ac_objext \ 30487 conftest$ac_exeext conftest.$ac_ext 30488LIBS=$ac_check_lib_save_LIBS 30489fi 30490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30491$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30492if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30493 ac_cv_libuna_dummy=yes 30494else 30495 ac_cv_libuna=no 30496fi 30497 30498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30499$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30500if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30501 $as_echo_n "(cached) " >&6 30502else 30503 ac_check_lib_save_LIBS=$LIBS 30504LIBS="-luna $LIBS" 30505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30506/* end confdefs.h. */ 30507 30508/* Override any GCC internal prototype to avoid an error. 30509 Use char because int might match the return type of a GCC 30510 builtin and then its argument prototype would still apply. */ 30511#ifdef __cplusplus 30512extern "C" 30513#endif 30514char libuna_base32_quintuplet_copy_from_byte_stream (); 30515int 30516main () 30517{ 30518return libuna_base32_quintuplet_copy_from_byte_stream (); 30519 ; 30520 return 0; 30521} 30522_ACEOF 30523if ac_fn_c_try_link "$LINENO"; then : 30524 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30525else 30526 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30527fi 30528rm -f core conftest.err conftest.$ac_objext \ 30529 conftest$ac_exeext conftest.$ac_ext 30530LIBS=$ac_check_lib_save_LIBS 30531fi 30532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30533$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30534if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30535 ac_cv_libuna_dummy=yes 30536else 30537 ac_cv_libuna=no 30538fi 30539 30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30541$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30542if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_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_quintuplet_copy_to_byte_stream (); 30557int 30558main () 30559{ 30560return libuna_base32_quintuplet_copy_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_quintuplet_copy_to_byte_stream=yes 30567else 30568 ac_cv_lib_una_libuna_base32_quintuplet_copy_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_quintuplet_copy_to_byte_stream" >&5 30575$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30576if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30577 ac_cv_libuna_dummy=yes 30578else 30579 ac_cv_libuna=no 30580fi 30581 30582 30583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30584$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30585if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30586 $as_echo_n "(cached) " >&6 30587else 30588 ac_check_lib_save_LIBS=$LIBS 30589LIBS="-luna $LIBS" 30590cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30591/* end confdefs.h. */ 30592 30593/* Override any GCC internal prototype to avoid an error. 30594 Use char because int might match the return type of a GCC 30595 builtin and then its argument prototype would still apply. */ 30596#ifdef __cplusplus 30597extern "C" 30598#endif 30599char libuna_base32_stream_size_to_byte_stream (); 30600int 30601main () 30602{ 30603return libuna_base32_stream_size_to_byte_stream (); 30604 ; 30605 return 0; 30606} 30607_ACEOF 30608if ac_fn_c_try_link "$LINENO"; then : 30609 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30610else 30611 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30612fi 30613rm -f core conftest.err conftest.$ac_objext \ 30614 conftest$ac_exeext conftest.$ac_ext 30615LIBS=$ac_check_lib_save_LIBS 30616fi 30617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30618$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30619if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30620 ac_cv_libuna_dummy=yes 30621else 30622 ac_cv_libuna=no 30623fi 30624 30625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30626$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30627if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30628 $as_echo_n "(cached) " >&6 30629else 30630 ac_check_lib_save_LIBS=$LIBS 30631LIBS="-luna $LIBS" 30632cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30633/* end confdefs.h. */ 30634 30635/* Override any GCC internal prototype to avoid an error. 30636 Use char because int might match the return type of a GCC 30637 builtin and then its argument prototype would still apply. */ 30638#ifdef __cplusplus 30639extern "C" 30640#endif 30641char libuna_base32_stream_copy_to_byte_stream (); 30642int 30643main () 30644{ 30645return libuna_base32_stream_copy_to_byte_stream (); 30646 ; 30647 return 0; 30648} 30649_ACEOF 30650if ac_fn_c_try_link "$LINENO"; then : 30651 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30652else 30653 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30654fi 30655rm -f core conftest.err conftest.$ac_objext \ 30656 conftest$ac_exeext conftest.$ac_ext 30657LIBS=$ac_check_lib_save_LIBS 30658fi 30659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30660$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30661if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30662 ac_cv_libuna_dummy=yes 30663else 30664 ac_cv_libuna=no 30665fi 30666 30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30668$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30669if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30670 $as_echo_n "(cached) " >&6 30671else 30672 ac_check_lib_save_LIBS=$LIBS 30673LIBS="-luna $LIBS" 30674cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30675/* end confdefs.h. */ 30676 30677/* Override any GCC internal prototype to avoid an error. 30678 Use char because int might match the return type of a GCC 30679 builtin and then its argument prototype would still apply. */ 30680#ifdef __cplusplus 30681extern "C" 30682#endif 30683char libuna_base32_stream_size_from_byte_stream (); 30684int 30685main () 30686{ 30687return libuna_base32_stream_size_from_byte_stream (); 30688 ; 30689 return 0; 30690} 30691_ACEOF 30692if ac_fn_c_try_link "$LINENO"; then : 30693 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30694else 30695 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30696fi 30697rm -f core conftest.err conftest.$ac_objext \ 30698 conftest$ac_exeext conftest.$ac_ext 30699LIBS=$ac_check_lib_save_LIBS 30700fi 30701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30702$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30703if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30704 ac_cv_libuna_dummy=yes 30705else 30706 ac_cv_libuna=no 30707fi 30708 30709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30710$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30711if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30712 $as_echo_n "(cached) " >&6 30713else 30714 ac_check_lib_save_LIBS=$LIBS 30715LIBS="-luna $LIBS" 30716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30717/* end confdefs.h. */ 30718 30719/* Override any GCC internal prototype to avoid an error. 30720 Use char because int might match the return type of a GCC 30721 builtin and then its argument prototype would still apply. */ 30722#ifdef __cplusplus 30723extern "C" 30724#endif 30725char libuna_base32_stream_copy_from_byte_stream (); 30726int 30727main () 30728{ 30729return libuna_base32_stream_copy_from_byte_stream (); 30730 ; 30731 return 0; 30732} 30733_ACEOF 30734if ac_fn_c_try_link "$LINENO"; then : 30735 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30736else 30737 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30738fi 30739rm -f core conftest.err conftest.$ac_objext \ 30740 conftest$ac_exeext conftest.$ac_ext 30741LIBS=$ac_check_lib_save_LIBS 30742fi 30743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30744$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30745if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30746 ac_cv_libuna_dummy=yes 30747else 30748 ac_cv_libuna=no 30749fi 30750 30751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30752$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30753if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_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_base32_stream_with_index_copy_from_byte_stream (); 30768int 30769main () 30770{ 30771return libuna_base32_stream_with_index_copy_from_byte_stream (); 30772 ; 30773 return 0; 30774} 30775_ACEOF 30776if ac_fn_c_try_link "$LINENO"; then : 30777 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30778else 30779 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_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_base32_stream_with_index_copy_from_byte_stream" >&5 30786$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30787if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30788 ac_cv_libuna_dummy=yes 30789else 30790 ac_cv_libuna=no 30791fi 30792 30793 30794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30795$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30796if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30797 $as_echo_n "(cached) " >&6 30798else 30799 ac_check_lib_save_LIBS=$LIBS 30800LIBS="-luna $LIBS" 30801cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30802/* end confdefs.h. */ 30803 30804/* Override any GCC internal prototype to avoid an error. 30805 Use char because int might match the return type of a GCC 30806 builtin and then its argument prototype would still apply. */ 30807#ifdef __cplusplus 30808extern "C" 30809#endif 30810char libuna_base64_triplet_copy_from_base64_stream (); 30811int 30812main () 30813{ 30814return libuna_base64_triplet_copy_from_base64_stream (); 30815 ; 30816 return 0; 30817} 30818_ACEOF 30819if ac_fn_c_try_link "$LINENO"; then : 30820 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30821else 30822 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30823fi 30824rm -f core conftest.err conftest.$ac_objext \ 30825 conftest$ac_exeext conftest.$ac_ext 30826LIBS=$ac_check_lib_save_LIBS 30827fi 30828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30829$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30830if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30831 ac_cv_libuna_dummy=yes 30832else 30833 ac_cv_libuna=no 30834fi 30835 30836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30837$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30838if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30839 $as_echo_n "(cached) " >&6 30840else 30841 ac_check_lib_save_LIBS=$LIBS 30842LIBS="-luna $LIBS" 30843cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30844/* end confdefs.h. */ 30845 30846/* Override any GCC internal prototype to avoid an error. 30847 Use char because int might match the return type of a GCC 30848 builtin and then its argument prototype would still apply. */ 30849#ifdef __cplusplus 30850extern "C" 30851#endif 30852char libuna_base64_triplet_copy_to_base64_stream (); 30853int 30854main () 30855{ 30856return libuna_base64_triplet_copy_to_base64_stream (); 30857 ; 30858 return 0; 30859} 30860_ACEOF 30861if ac_fn_c_try_link "$LINENO"; then : 30862 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30863else 30864 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30865fi 30866rm -f core conftest.err conftest.$ac_objext \ 30867 conftest$ac_exeext conftest.$ac_ext 30868LIBS=$ac_check_lib_save_LIBS 30869fi 30870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30871$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30872if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30873 ac_cv_libuna_dummy=yes 30874else 30875 ac_cv_libuna=no 30876fi 30877 30878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30879$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30880if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30881 $as_echo_n "(cached) " >&6 30882else 30883 ac_check_lib_save_LIBS=$LIBS 30884LIBS="-luna $LIBS" 30885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30886/* end confdefs.h. */ 30887 30888/* Override any GCC internal prototype to avoid an error. 30889 Use char because int might match the return type of a GCC 30890 builtin and then its argument prototype would still apply. */ 30891#ifdef __cplusplus 30892extern "C" 30893#endif 30894char libuna_base64_triplet_copy_from_byte_stream (); 30895int 30896main () 30897{ 30898return libuna_base64_triplet_copy_from_byte_stream (); 30899 ; 30900 return 0; 30901} 30902_ACEOF 30903if ac_fn_c_try_link "$LINENO"; then : 30904 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30905else 30906 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30907fi 30908rm -f core conftest.err conftest.$ac_objext \ 30909 conftest$ac_exeext conftest.$ac_ext 30910LIBS=$ac_check_lib_save_LIBS 30911fi 30912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30913$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30914if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30915 ac_cv_libuna_dummy=yes 30916else 30917 ac_cv_libuna=no 30918fi 30919 30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30921$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30922if ${ac_cv_lib_una_libuna_base64_triplet_copy_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_triplet_copy_to_byte_stream (); 30937int 30938main () 30939{ 30940return libuna_base64_triplet_copy_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_triplet_copy_to_byte_stream=yes 30947else 30948 ac_cv_lib_una_libuna_base64_triplet_copy_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_triplet_copy_to_byte_stream" >&5 30955$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30956if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30957 ac_cv_libuna_dummy=yes 30958else 30959 ac_cv_libuna=no 30960fi 30961 30962 30963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30964$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30965if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30966 $as_echo_n "(cached) " >&6 30967else 30968 ac_check_lib_save_LIBS=$LIBS 30969LIBS="-luna $LIBS" 30970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30971/* end confdefs.h. */ 30972 30973/* Override any GCC internal prototype to avoid an error. 30974 Use char because int might match the return type of a GCC 30975 builtin and then its argument prototype would still apply. */ 30976#ifdef __cplusplus 30977extern "C" 30978#endif 30979char libuna_base64_stream_size_to_byte_stream (); 30980int 30981main () 30982{ 30983return libuna_base64_stream_size_to_byte_stream (); 30984 ; 30985 return 0; 30986} 30987_ACEOF 30988if ac_fn_c_try_link "$LINENO"; then : 30989 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 30990else 30991 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 30992fi 30993rm -f core conftest.err conftest.$ac_objext \ 30994 conftest$ac_exeext conftest.$ac_ext 30995LIBS=$ac_check_lib_save_LIBS 30996fi 30997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 30998$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 30999if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 31000 ac_cv_libuna_dummy=yes 31001else 31002 ac_cv_libuna=no 31003fi 31004 31005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 31006$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 31007if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 31008 $as_echo_n "(cached) " >&6 31009else 31010 ac_check_lib_save_LIBS=$LIBS 31011LIBS="-luna $LIBS" 31012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31013/* end confdefs.h. */ 31014 31015/* Override any GCC internal prototype to avoid an error. 31016 Use char because int might match the return type of a GCC 31017 builtin and then its argument prototype would still apply. */ 31018#ifdef __cplusplus 31019extern "C" 31020#endif 31021char libuna_base64_stream_copy_to_byte_stream (); 31022int 31023main () 31024{ 31025return libuna_base64_stream_copy_to_byte_stream (); 31026 ; 31027 return 0; 31028} 31029_ACEOF 31030if ac_fn_c_try_link "$LINENO"; then : 31031 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 31032else 31033 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 31034fi 31035rm -f core conftest.err conftest.$ac_objext \ 31036 conftest$ac_exeext conftest.$ac_ext 31037LIBS=$ac_check_lib_save_LIBS 31038fi 31039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 31040$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 31041if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 31042 ac_cv_libuna_dummy=yes 31043else 31044 ac_cv_libuna=no 31045fi 31046 31047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31048$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31049if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31050 $as_echo_n "(cached) " >&6 31051else 31052 ac_check_lib_save_LIBS=$LIBS 31053LIBS="-luna $LIBS" 31054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31055/* end confdefs.h. */ 31056 31057/* Override any GCC internal prototype to avoid an error. 31058 Use char because int might match the return type of a GCC 31059 builtin and then its argument prototype would still apply. */ 31060#ifdef __cplusplus 31061extern "C" 31062#endif 31063char libuna_base64_stream_size_from_byte_stream (); 31064int 31065main () 31066{ 31067return libuna_base64_stream_size_from_byte_stream (); 31068 ; 31069 return 0; 31070} 31071_ACEOF 31072if ac_fn_c_try_link "$LINENO"; then : 31073 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31074else 31075 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31076fi 31077rm -f core conftest.err conftest.$ac_objext \ 31078 conftest$ac_exeext conftest.$ac_ext 31079LIBS=$ac_check_lib_save_LIBS 31080fi 31081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31082$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31083if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31084 ac_cv_libuna_dummy=yes 31085else 31086 ac_cv_libuna=no 31087fi 31088 31089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31090$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31091if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31092 $as_echo_n "(cached) " >&6 31093else 31094 ac_check_lib_save_LIBS=$LIBS 31095LIBS="-luna $LIBS" 31096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31097/* end confdefs.h. */ 31098 31099/* Override any GCC internal prototype to avoid an error. 31100 Use char because int might match the return type of a GCC 31101 builtin and then its argument prototype would still apply. */ 31102#ifdef __cplusplus 31103extern "C" 31104#endif 31105char libuna_base64_stream_copy_from_byte_stream (); 31106int 31107main () 31108{ 31109return libuna_base64_stream_copy_from_byte_stream (); 31110 ; 31111 return 0; 31112} 31113_ACEOF 31114if ac_fn_c_try_link "$LINENO"; then : 31115 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31116else 31117 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31118fi 31119rm -f core conftest.err conftest.$ac_objext \ 31120 conftest$ac_exeext conftest.$ac_ext 31121LIBS=$ac_check_lib_save_LIBS 31122fi 31123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31124$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31125if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31126 ac_cv_libuna_dummy=yes 31127else 31128 ac_cv_libuna=no 31129fi 31130 31131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31132$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31133if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} 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_base64_stream_with_index_copy_from_byte_stream (); 31148int 31149main () 31150{ 31151return libuna_base64_stream_with_index_copy_from_byte_stream (); 31152 ; 31153 return 0; 31154} 31155_ACEOF 31156if ac_fn_c_try_link "$LINENO"; then : 31157 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31158else 31159 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=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_base64_stream_with_index_copy_from_byte_stream" >&5 31166$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31167if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31168 ac_cv_libuna_dummy=yes 31169else 31170 ac_cv_libuna=no 31171fi 31172 31173 31174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31175$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31176if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31177 $as_echo_n "(cached) " >&6 31178else 31179 ac_check_lib_save_LIBS=$LIBS 31180LIBS="-luna $LIBS" 31181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31182/* end confdefs.h. */ 31183 31184/* Override any GCC internal prototype to avoid an error. 31185 Use char because int might match the return type of a GCC 31186 builtin and then its argument prototype would still apply. */ 31187#ifdef __cplusplus 31188extern "C" 31189#endif 31190char libuna_byte_stream_size_from_utf8 (); 31191int 31192main () 31193{ 31194return libuna_byte_stream_size_from_utf8 (); 31195 ; 31196 return 0; 31197} 31198_ACEOF 31199if ac_fn_c_try_link "$LINENO"; then : 31200 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31201else 31202 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31203fi 31204rm -f core conftest.err conftest.$ac_objext \ 31205 conftest$ac_exeext conftest.$ac_ext 31206LIBS=$ac_check_lib_save_LIBS 31207fi 31208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31209$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31210if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31211 ac_cv_libuna_dummy=yes 31212else 31213 ac_cv_libuna=no 31214fi 31215 31216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31217$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31218if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31219 $as_echo_n "(cached) " >&6 31220else 31221 ac_check_lib_save_LIBS=$LIBS 31222LIBS="-luna $LIBS" 31223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31224/* end confdefs.h. */ 31225 31226/* Override any GCC internal prototype to avoid an error. 31227 Use char because int might match the return type of a GCC 31228 builtin and then its argument prototype would still apply. */ 31229#ifdef __cplusplus 31230extern "C" 31231#endif 31232char libuna_byte_stream_copy_from_utf8 (); 31233int 31234main () 31235{ 31236return libuna_byte_stream_copy_from_utf8 (); 31237 ; 31238 return 0; 31239} 31240_ACEOF 31241if ac_fn_c_try_link "$LINENO"; then : 31242 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31243else 31244 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31245fi 31246rm -f core conftest.err conftest.$ac_objext \ 31247 conftest$ac_exeext conftest.$ac_ext 31248LIBS=$ac_check_lib_save_LIBS 31249fi 31250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31251$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31252if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31253 ac_cv_libuna_dummy=yes 31254else 31255 ac_cv_libuna=no 31256fi 31257 31258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31259$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31260if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31261 $as_echo_n "(cached) " >&6 31262else 31263 ac_check_lib_save_LIBS=$LIBS 31264LIBS="-luna $LIBS" 31265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31266/* end confdefs.h. */ 31267 31268/* Override any GCC internal prototype to avoid an error. 31269 Use char because int might match the return type of a GCC 31270 builtin and then its argument prototype would still apply. */ 31271#ifdef __cplusplus 31272extern "C" 31273#endif 31274char libuna_byte_stream_size_from_utf16 (); 31275int 31276main () 31277{ 31278return libuna_byte_stream_size_from_utf16 (); 31279 ; 31280 return 0; 31281} 31282_ACEOF 31283if ac_fn_c_try_link "$LINENO"; then : 31284 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31285else 31286 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31287fi 31288rm -f core conftest.err conftest.$ac_objext \ 31289 conftest$ac_exeext conftest.$ac_ext 31290LIBS=$ac_check_lib_save_LIBS 31291fi 31292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31293$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31294if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31295 ac_cv_libuna_dummy=yes 31296else 31297 ac_cv_libuna=no 31298fi 31299 31300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31301$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31302if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31303 $as_echo_n "(cached) " >&6 31304else 31305 ac_check_lib_save_LIBS=$LIBS 31306LIBS="-luna $LIBS" 31307cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31308/* end confdefs.h. */ 31309 31310/* Override any GCC internal prototype to avoid an error. 31311 Use char because int might match the return type of a GCC 31312 builtin and then its argument prototype would still apply. */ 31313#ifdef __cplusplus 31314extern "C" 31315#endif 31316char libuna_byte_stream_copy_from_utf16 (); 31317int 31318main () 31319{ 31320return libuna_byte_stream_copy_from_utf16 (); 31321 ; 31322 return 0; 31323} 31324_ACEOF 31325if ac_fn_c_try_link "$LINENO"; then : 31326 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31327else 31328 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31329fi 31330rm -f core conftest.err conftest.$ac_objext \ 31331 conftest$ac_exeext conftest.$ac_ext 31332LIBS=$ac_check_lib_save_LIBS 31333fi 31334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31335$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31336if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31337 ac_cv_libuna_dummy=yes 31338else 31339 ac_cv_libuna=no 31340fi 31341 31342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31343$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31344if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31345 $as_echo_n "(cached) " >&6 31346else 31347 ac_check_lib_save_LIBS=$LIBS 31348LIBS="-luna $LIBS" 31349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31350/* end confdefs.h. */ 31351 31352/* Override any GCC internal prototype to avoid an error. 31353 Use char because int might match the return type of a GCC 31354 builtin and then its argument prototype would still apply. */ 31355#ifdef __cplusplus 31356extern "C" 31357#endif 31358char libuna_byte_stream_size_from_utf32 (); 31359int 31360main () 31361{ 31362return libuna_byte_stream_size_from_utf32 (); 31363 ; 31364 return 0; 31365} 31366_ACEOF 31367if ac_fn_c_try_link "$LINENO"; then : 31368 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31369else 31370 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31371fi 31372rm -f core conftest.err conftest.$ac_objext \ 31373 conftest$ac_exeext conftest.$ac_ext 31374LIBS=$ac_check_lib_save_LIBS 31375fi 31376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31377$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31378if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31379 ac_cv_libuna_dummy=yes 31380else 31381 ac_cv_libuna=no 31382fi 31383 31384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31385$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31386if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} 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_byte_stream_copy_from_utf32 (); 31401int 31402main () 31403{ 31404return libuna_byte_stream_copy_from_utf32 (); 31405 ; 31406 return 0; 31407} 31408_ACEOF 31409if ac_fn_c_try_link "$LINENO"; then : 31410 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31411else 31412 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=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_byte_stream_copy_from_utf32" >&5 31419$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31420if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31421 ac_cv_libuna_dummy=yes 31422else 31423 ac_cv_libuna=no 31424fi 31425 31426 31427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31428$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31429if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31430 $as_echo_n "(cached) " >&6 31431else 31432 ac_check_lib_save_LIBS=$LIBS 31433LIBS="-luna $LIBS" 31434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31435/* end confdefs.h. */ 31436 31437/* Override any GCC internal prototype to avoid an error. 31438 Use char because int might match the return type of a GCC 31439 builtin and then its argument prototype would still apply. */ 31440#ifdef __cplusplus 31441extern "C" 31442#endif 31443char libuna_utf8_stream_size_from_utf8 (); 31444int 31445main () 31446{ 31447return libuna_utf8_stream_size_from_utf8 (); 31448 ; 31449 return 0; 31450} 31451_ACEOF 31452if ac_fn_c_try_link "$LINENO"; then : 31453 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31454else 31455 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31456fi 31457rm -f core conftest.err conftest.$ac_objext \ 31458 conftest$ac_exeext conftest.$ac_ext 31459LIBS=$ac_check_lib_save_LIBS 31460fi 31461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31462$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31463if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31464 ac_cv_libuna_dummy=yes 31465else 31466 ac_cv_libuna=no 31467fi 31468 31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31470$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31471if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31472 $as_echo_n "(cached) " >&6 31473else 31474 ac_check_lib_save_LIBS=$LIBS 31475LIBS="-luna $LIBS" 31476cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31477/* end confdefs.h. */ 31478 31479/* Override any GCC internal prototype to avoid an error. 31480 Use char because int might match the return type of a GCC 31481 builtin and then its argument prototype would still apply. */ 31482#ifdef __cplusplus 31483extern "C" 31484#endif 31485char libuna_utf8_stream_copy_from_utf8 (); 31486int 31487main () 31488{ 31489return libuna_utf8_stream_copy_from_utf8 (); 31490 ; 31491 return 0; 31492} 31493_ACEOF 31494if ac_fn_c_try_link "$LINENO"; then : 31495 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31496else 31497 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31498fi 31499rm -f core conftest.err conftest.$ac_objext \ 31500 conftest$ac_exeext conftest.$ac_ext 31501LIBS=$ac_check_lib_save_LIBS 31502fi 31503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31504$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31505if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31506 ac_cv_libuna_dummy=yes 31507else 31508 ac_cv_libuna=no 31509fi 31510 31511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31512$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31513if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31514 $as_echo_n "(cached) " >&6 31515else 31516 ac_check_lib_save_LIBS=$LIBS 31517LIBS="-luna $LIBS" 31518cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31519/* end confdefs.h. */ 31520 31521/* Override any GCC internal prototype to avoid an error. 31522 Use char because int might match the return type of a GCC 31523 builtin and then its argument prototype would still apply. */ 31524#ifdef __cplusplus 31525extern "C" 31526#endif 31527char libuna_utf8_stream_size_from_utf16 (); 31528int 31529main () 31530{ 31531return libuna_utf8_stream_size_from_utf16 (); 31532 ; 31533 return 0; 31534} 31535_ACEOF 31536if ac_fn_c_try_link "$LINENO"; then : 31537 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31538else 31539 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31540fi 31541rm -f core conftest.err conftest.$ac_objext \ 31542 conftest$ac_exeext conftest.$ac_ext 31543LIBS=$ac_check_lib_save_LIBS 31544fi 31545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31546$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31547if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31548 ac_cv_libuna_dummy=yes 31549else 31550 ac_cv_libuna=no 31551fi 31552 31553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31554$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31555if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31556 $as_echo_n "(cached) " >&6 31557else 31558 ac_check_lib_save_LIBS=$LIBS 31559LIBS="-luna $LIBS" 31560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31561/* end confdefs.h. */ 31562 31563/* Override any GCC internal prototype to avoid an error. 31564 Use char because int might match the return type of a GCC 31565 builtin and then its argument prototype would still apply. */ 31566#ifdef __cplusplus 31567extern "C" 31568#endif 31569char libuna_utf8_stream_copy_from_utf16 (); 31570int 31571main () 31572{ 31573return libuna_utf8_stream_copy_from_utf16 (); 31574 ; 31575 return 0; 31576} 31577_ACEOF 31578if ac_fn_c_try_link "$LINENO"; then : 31579 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31580else 31581 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31582fi 31583rm -f core conftest.err conftest.$ac_objext \ 31584 conftest$ac_exeext conftest.$ac_ext 31585LIBS=$ac_check_lib_save_LIBS 31586fi 31587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31588$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31589if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31590 ac_cv_libuna_dummy=yes 31591else 31592 ac_cv_libuna=no 31593fi 31594 31595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31596$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31597if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31598 $as_echo_n "(cached) " >&6 31599else 31600 ac_check_lib_save_LIBS=$LIBS 31601LIBS="-luna $LIBS" 31602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31603/* end confdefs.h. */ 31604 31605/* Override any GCC internal prototype to avoid an error. 31606 Use char because int might match the return type of a GCC 31607 builtin and then its argument prototype would still apply. */ 31608#ifdef __cplusplus 31609extern "C" 31610#endif 31611char libuna_utf8_stream_size_from_utf32 (); 31612int 31613main () 31614{ 31615return libuna_utf8_stream_size_from_utf32 (); 31616 ; 31617 return 0; 31618} 31619_ACEOF 31620if ac_fn_c_try_link "$LINENO"; then : 31621 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31622else 31623 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31624fi 31625rm -f core conftest.err conftest.$ac_objext \ 31626 conftest$ac_exeext conftest.$ac_ext 31627LIBS=$ac_check_lib_save_LIBS 31628fi 31629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31630$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31631if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31632 ac_cv_libuna_dummy=yes 31633else 31634 ac_cv_libuna=no 31635fi 31636 31637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31638$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31639if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} 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_utf8_stream_copy_from_utf32 (); 31654int 31655main () 31656{ 31657return libuna_utf8_stream_copy_from_utf32 (); 31658 ; 31659 return 0; 31660} 31661_ACEOF 31662if ac_fn_c_try_link "$LINENO"; then : 31663 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31664else 31665 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=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_utf8_stream_copy_from_utf32" >&5 31672$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31673if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31674 ac_cv_libuna_dummy=yes 31675else 31676 ac_cv_libuna=no 31677fi 31678 31679 31680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31681$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31682if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31683 $as_echo_n "(cached) " >&6 31684else 31685 ac_check_lib_save_LIBS=$LIBS 31686LIBS="-luna $LIBS" 31687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31688/* end confdefs.h. */ 31689 31690/* Override any GCC internal prototype to avoid an error. 31691 Use char because int might match the return type of a GCC 31692 builtin and then its argument prototype would still apply. */ 31693#ifdef __cplusplus 31694extern "C" 31695#endif 31696char libuna_utf16_stream_size_from_utf8 (); 31697int 31698main () 31699{ 31700return libuna_utf16_stream_size_from_utf8 (); 31701 ; 31702 return 0; 31703} 31704_ACEOF 31705if ac_fn_c_try_link "$LINENO"; then : 31706 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31707else 31708 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31709fi 31710rm -f core conftest.err conftest.$ac_objext \ 31711 conftest$ac_exeext conftest.$ac_ext 31712LIBS=$ac_check_lib_save_LIBS 31713fi 31714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31715$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31716if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31717 ac_cv_libuna_dummy=yes 31718else 31719 ac_cv_libuna=no 31720fi 31721 31722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31723$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31724if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31725 $as_echo_n "(cached) " >&6 31726else 31727 ac_check_lib_save_LIBS=$LIBS 31728LIBS="-luna $LIBS" 31729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31730/* end confdefs.h. */ 31731 31732/* Override any GCC internal prototype to avoid an error. 31733 Use char because int might match the return type of a GCC 31734 builtin and then its argument prototype would still apply. */ 31735#ifdef __cplusplus 31736extern "C" 31737#endif 31738char libuna_utf16_stream_copy_from_utf8 (); 31739int 31740main () 31741{ 31742return libuna_utf16_stream_copy_from_utf8 (); 31743 ; 31744 return 0; 31745} 31746_ACEOF 31747if ac_fn_c_try_link "$LINENO"; then : 31748 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31749else 31750 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31751fi 31752rm -f core conftest.err conftest.$ac_objext \ 31753 conftest$ac_exeext conftest.$ac_ext 31754LIBS=$ac_check_lib_save_LIBS 31755fi 31756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31757$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31758if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31759 ac_cv_libuna_dummy=yes 31760else 31761 ac_cv_libuna=no 31762fi 31763 31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31765$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31766if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31767 $as_echo_n "(cached) " >&6 31768else 31769 ac_check_lib_save_LIBS=$LIBS 31770LIBS="-luna $LIBS" 31771cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31772/* end confdefs.h. */ 31773 31774/* Override any GCC internal prototype to avoid an error. 31775 Use char because int might match the return type of a GCC 31776 builtin and then its argument prototype would still apply. */ 31777#ifdef __cplusplus 31778extern "C" 31779#endif 31780char libuna_utf16_stream_size_from_utf16 (); 31781int 31782main () 31783{ 31784return libuna_utf16_stream_size_from_utf16 (); 31785 ; 31786 return 0; 31787} 31788_ACEOF 31789if ac_fn_c_try_link "$LINENO"; then : 31790 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31791else 31792 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31793fi 31794rm -f core conftest.err conftest.$ac_objext \ 31795 conftest$ac_exeext conftest.$ac_ext 31796LIBS=$ac_check_lib_save_LIBS 31797fi 31798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31799$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31800if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31801 ac_cv_libuna_dummy=yes 31802else 31803 ac_cv_libuna=no 31804fi 31805 31806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31807$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31808if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31809 $as_echo_n "(cached) " >&6 31810else 31811 ac_check_lib_save_LIBS=$LIBS 31812LIBS="-luna $LIBS" 31813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31814/* end confdefs.h. */ 31815 31816/* Override any GCC internal prototype to avoid an error. 31817 Use char because int might match the return type of a GCC 31818 builtin and then its argument prototype would still apply. */ 31819#ifdef __cplusplus 31820extern "C" 31821#endif 31822char libuna_utf16_stream_copy_from_utf16 (); 31823int 31824main () 31825{ 31826return libuna_utf16_stream_copy_from_utf16 (); 31827 ; 31828 return 0; 31829} 31830_ACEOF 31831if ac_fn_c_try_link "$LINENO"; then : 31832 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31833else 31834 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31835fi 31836rm -f core conftest.err conftest.$ac_objext \ 31837 conftest$ac_exeext conftest.$ac_ext 31838LIBS=$ac_check_lib_save_LIBS 31839fi 31840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31841$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31842if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31843 ac_cv_libuna_dummy=yes 31844else 31845 ac_cv_libuna=no 31846fi 31847 31848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31849$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31850if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31851 $as_echo_n "(cached) " >&6 31852else 31853 ac_check_lib_save_LIBS=$LIBS 31854LIBS="-luna $LIBS" 31855cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31856/* end confdefs.h. */ 31857 31858/* Override any GCC internal prototype to avoid an error. 31859 Use char because int might match the return type of a GCC 31860 builtin and then its argument prototype would still apply. */ 31861#ifdef __cplusplus 31862extern "C" 31863#endif 31864char libuna_utf16_stream_size_from_utf32 (); 31865int 31866main () 31867{ 31868return libuna_utf16_stream_size_from_utf32 (); 31869 ; 31870 return 0; 31871} 31872_ACEOF 31873if ac_fn_c_try_link "$LINENO"; then : 31874 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31875else 31876 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31877fi 31878rm -f core conftest.err conftest.$ac_objext \ 31879 conftest$ac_exeext conftest.$ac_ext 31880LIBS=$ac_check_lib_save_LIBS 31881fi 31882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31883$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31884if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31885 ac_cv_libuna_dummy=yes 31886else 31887 ac_cv_libuna=no 31888fi 31889 31890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31891$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31892if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} 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_utf16_stream_copy_from_utf32 (); 31907int 31908main () 31909{ 31910return libuna_utf16_stream_copy_from_utf32 (); 31911 ; 31912 return 0; 31913} 31914_ACEOF 31915if ac_fn_c_try_link "$LINENO"; then : 31916 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31917else 31918 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=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_utf16_stream_copy_from_utf32" >&5 31925$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31926if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31927 ac_cv_libuna_dummy=yes 31928else 31929 ac_cv_libuna=no 31930fi 31931 31932 31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31934$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31935if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31936 $as_echo_n "(cached) " >&6 31937else 31938 ac_check_lib_save_LIBS=$LIBS 31939LIBS="-luna $LIBS" 31940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31941/* end confdefs.h. */ 31942 31943/* Override any GCC internal prototype to avoid an error. 31944 Use char because int might match the return type of a GCC 31945 builtin and then its argument prototype would still apply. */ 31946#ifdef __cplusplus 31947extern "C" 31948#endif 31949char libuna_utf32_stream_size_from_utf8 (); 31950int 31951main () 31952{ 31953return libuna_utf32_stream_size_from_utf8 (); 31954 ; 31955 return 0; 31956} 31957_ACEOF 31958if ac_fn_c_try_link "$LINENO"; then : 31959 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31960else 31961 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31962fi 31963rm -f core conftest.err conftest.$ac_objext \ 31964 conftest$ac_exeext conftest.$ac_ext 31965LIBS=$ac_check_lib_save_LIBS 31966fi 31967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31968$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31969if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31970 ac_cv_libuna_dummy=yes 31971else 31972 ac_cv_libuna=no 31973fi 31974 31975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 31976$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 31977if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 31978 $as_echo_n "(cached) " >&6 31979else 31980 ac_check_lib_save_LIBS=$LIBS 31981LIBS="-luna $LIBS" 31982cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31983/* end confdefs.h. */ 31984 31985/* Override any GCC internal prototype to avoid an error. 31986 Use char because int might match the return type of a GCC 31987 builtin and then its argument prototype would still apply. */ 31988#ifdef __cplusplus 31989extern "C" 31990#endif 31991char libuna_utf32_stream_copy_from_utf8 (); 31992int 31993main () 31994{ 31995return libuna_utf32_stream_copy_from_utf8 (); 31996 ; 31997 return 0; 31998} 31999_ACEOF 32000if ac_fn_c_try_link "$LINENO"; then : 32001 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 32002else 32003 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 32004fi 32005rm -f core conftest.err conftest.$ac_objext \ 32006 conftest$ac_exeext conftest.$ac_ext 32007LIBS=$ac_check_lib_save_LIBS 32008fi 32009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 32010$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 32011if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 32012 ac_cv_libuna_dummy=yes 32013else 32014 ac_cv_libuna=no 32015fi 32016 32017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 32018$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 32019if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 32020 $as_echo_n "(cached) " >&6 32021else 32022 ac_check_lib_save_LIBS=$LIBS 32023LIBS="-luna $LIBS" 32024cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32025/* end confdefs.h. */ 32026 32027/* Override any GCC internal prototype to avoid an error. 32028 Use char because int might match the return type of a GCC 32029 builtin and then its argument prototype would still apply. */ 32030#ifdef __cplusplus 32031extern "C" 32032#endif 32033char libuna_utf32_stream_size_from_utf16 (); 32034int 32035main () 32036{ 32037return libuna_utf32_stream_size_from_utf16 (); 32038 ; 32039 return 0; 32040} 32041_ACEOF 32042if ac_fn_c_try_link "$LINENO"; then : 32043 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32044else 32045 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32046fi 32047rm -f core conftest.err conftest.$ac_objext \ 32048 conftest$ac_exeext conftest.$ac_ext 32049LIBS=$ac_check_lib_save_LIBS 32050fi 32051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32052$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32053if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32054 ac_cv_libuna_dummy=yes 32055else 32056 ac_cv_libuna=no 32057fi 32058 32059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32060$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32061if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32062 $as_echo_n "(cached) " >&6 32063else 32064 ac_check_lib_save_LIBS=$LIBS 32065LIBS="-luna $LIBS" 32066cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32067/* end confdefs.h. */ 32068 32069/* Override any GCC internal prototype to avoid an error. 32070 Use char because int might match the return type of a GCC 32071 builtin and then its argument prototype would still apply. */ 32072#ifdef __cplusplus 32073extern "C" 32074#endif 32075char libuna_utf32_stream_copy_from_utf16 (); 32076int 32077main () 32078{ 32079return libuna_utf32_stream_copy_from_utf16 (); 32080 ; 32081 return 0; 32082} 32083_ACEOF 32084if ac_fn_c_try_link "$LINENO"; then : 32085 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32086else 32087 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32088fi 32089rm -f core conftest.err conftest.$ac_objext \ 32090 conftest$ac_exeext conftest.$ac_ext 32091LIBS=$ac_check_lib_save_LIBS 32092fi 32093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32094$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32095if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32096 ac_cv_libuna_dummy=yes 32097else 32098 ac_cv_libuna=no 32099fi 32100 32101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32102$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32103if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32104 $as_echo_n "(cached) " >&6 32105else 32106 ac_check_lib_save_LIBS=$LIBS 32107LIBS="-luna $LIBS" 32108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32109/* end confdefs.h. */ 32110 32111/* Override any GCC internal prototype to avoid an error. 32112 Use char because int might match the return type of a GCC 32113 builtin and then its argument prototype would still apply. */ 32114#ifdef __cplusplus 32115extern "C" 32116#endif 32117char libuna_utf32_stream_size_from_utf32 (); 32118int 32119main () 32120{ 32121return libuna_utf32_stream_size_from_utf32 (); 32122 ; 32123 return 0; 32124} 32125_ACEOF 32126if ac_fn_c_try_link "$LINENO"; then : 32127 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32128else 32129 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32130fi 32131rm -f core conftest.err conftest.$ac_objext \ 32132 conftest$ac_exeext conftest.$ac_ext 32133LIBS=$ac_check_lib_save_LIBS 32134fi 32135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32136$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32137if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32138 ac_cv_libuna_dummy=yes 32139else 32140 ac_cv_libuna=no 32141fi 32142 32143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32144$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32145if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} 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_utf32_stream_copy_from_utf32 (); 32160int 32161main () 32162{ 32163return libuna_utf32_stream_copy_from_utf32 (); 32164 ; 32165 return 0; 32166} 32167_ACEOF 32168if ac_fn_c_try_link "$LINENO"; then : 32169 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32170else 32171 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=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_utf32_stream_copy_from_utf32" >&5 32178$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32179if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32180 ac_cv_libuna_dummy=yes 32181else 32182 ac_cv_libuna=no 32183fi 32184 32185 32186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32187$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32188if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32189 $as_echo_n "(cached) " >&6 32190else 32191 ac_check_lib_save_LIBS=$LIBS 32192LIBS="-luna $LIBS" 32193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32194/* end confdefs.h. */ 32195 32196/* Override any GCC internal prototype to avoid an error. 32197 Use char because int might match the return type of a GCC 32198 builtin and then its argument prototype would still apply. */ 32199#ifdef __cplusplus 32200extern "C" 32201#endif 32202char libuna_utf8_string_size_from_byte_stream (); 32203int 32204main () 32205{ 32206return libuna_utf8_string_size_from_byte_stream (); 32207 ; 32208 return 0; 32209} 32210_ACEOF 32211if ac_fn_c_try_link "$LINENO"; then : 32212 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32213else 32214 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32215fi 32216rm -f core conftest.err conftest.$ac_objext \ 32217 conftest$ac_exeext conftest.$ac_ext 32218LIBS=$ac_check_lib_save_LIBS 32219fi 32220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32221$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32222if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32223 ac_cv_libuna_dummy=yes 32224else 32225 ac_cv_libuna=no 32226fi 32227 32228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32229$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32230if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32231 $as_echo_n "(cached) " >&6 32232else 32233 ac_check_lib_save_LIBS=$LIBS 32234LIBS="-luna $LIBS" 32235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32236/* end confdefs.h. */ 32237 32238/* Override any GCC internal prototype to avoid an error. 32239 Use char because int might match the return type of a GCC 32240 builtin and then its argument prototype would still apply. */ 32241#ifdef __cplusplus 32242extern "C" 32243#endif 32244char libuna_utf8_string_copy_from_byte_stream (); 32245int 32246main () 32247{ 32248return libuna_utf8_string_copy_from_byte_stream (); 32249 ; 32250 return 0; 32251} 32252_ACEOF 32253if ac_fn_c_try_link "$LINENO"; then : 32254 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32255else 32256 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32257fi 32258rm -f core conftest.err conftest.$ac_objext \ 32259 conftest$ac_exeext conftest.$ac_ext 32260LIBS=$ac_check_lib_save_LIBS 32261fi 32262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32263$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32264if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32265 ac_cv_libuna_dummy=yes 32266else 32267 ac_cv_libuna=no 32268fi 32269 32270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32271$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32272if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32273 $as_echo_n "(cached) " >&6 32274else 32275 ac_check_lib_save_LIBS=$LIBS 32276LIBS="-luna $LIBS" 32277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32278/* end confdefs.h. */ 32279 32280/* Override any GCC internal prototype to avoid an error. 32281 Use char because int might match the return type of a GCC 32282 builtin and then its argument prototype would still apply. */ 32283#ifdef __cplusplus 32284extern "C" 32285#endif 32286char libuna_utf8_string_with_index_copy_from_byte_stream (); 32287int 32288main () 32289{ 32290return libuna_utf8_string_with_index_copy_from_byte_stream (); 32291 ; 32292 return 0; 32293} 32294_ACEOF 32295if ac_fn_c_try_link "$LINENO"; then : 32296 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32297else 32298 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32299fi 32300rm -f core conftest.err conftest.$ac_objext \ 32301 conftest$ac_exeext conftest.$ac_ext 32302LIBS=$ac_check_lib_save_LIBS 32303fi 32304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32305$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32306if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32307 ac_cv_libuna_dummy=yes 32308else 32309 ac_cv_libuna=no 32310fi 32311 32312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32313$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32314if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32315 $as_echo_n "(cached) " >&6 32316else 32317 ac_check_lib_save_LIBS=$LIBS 32318LIBS="-luna $LIBS" 32319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32320/* end confdefs.h. */ 32321 32322/* Override any GCC internal prototype to avoid an error. 32323 Use char because int might match the return type of a GCC 32324 builtin and then its argument prototype would still apply. */ 32325#ifdef __cplusplus 32326extern "C" 32327#endif 32328char libuna_utf8_string_size_from_utf7_stream (); 32329int 32330main () 32331{ 32332return libuna_utf8_string_size_from_utf7_stream (); 32333 ; 32334 return 0; 32335} 32336_ACEOF 32337if ac_fn_c_try_link "$LINENO"; then : 32338 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32339else 32340 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32341fi 32342rm -f core conftest.err conftest.$ac_objext \ 32343 conftest$ac_exeext conftest.$ac_ext 32344LIBS=$ac_check_lib_save_LIBS 32345fi 32346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32347$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32348if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32349 ac_cv_libuna_dummy=yes 32350else 32351 ac_cv_libuna=no 32352fi 32353 32354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32355$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32356if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32357 $as_echo_n "(cached) " >&6 32358else 32359 ac_check_lib_save_LIBS=$LIBS 32360LIBS="-luna $LIBS" 32361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32362/* end confdefs.h. */ 32363 32364/* Override any GCC internal prototype to avoid an error. 32365 Use char because int might match the return type of a GCC 32366 builtin and then its argument prototype would still apply. */ 32367#ifdef __cplusplus 32368extern "C" 32369#endif 32370char libuna_utf8_string_copy_from_utf7_stream (); 32371int 32372main () 32373{ 32374return libuna_utf8_string_copy_from_utf7_stream (); 32375 ; 32376 return 0; 32377} 32378_ACEOF 32379if ac_fn_c_try_link "$LINENO"; then : 32380 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32381else 32382 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32383fi 32384rm -f core conftest.err conftest.$ac_objext \ 32385 conftest$ac_exeext conftest.$ac_ext 32386LIBS=$ac_check_lib_save_LIBS 32387fi 32388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32389$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32390if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32391 ac_cv_libuna_dummy=yes 32392else 32393 ac_cv_libuna=no 32394fi 32395 32396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32397$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32398if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32399 $as_echo_n "(cached) " >&6 32400else 32401 ac_check_lib_save_LIBS=$LIBS 32402LIBS="-luna $LIBS" 32403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32404/* end confdefs.h. */ 32405 32406/* Override any GCC internal prototype to avoid an error. 32407 Use char because int might match the return type of a GCC 32408 builtin and then its argument prototype would still apply. */ 32409#ifdef __cplusplus 32410extern "C" 32411#endif 32412char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32413int 32414main () 32415{ 32416return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32417 ; 32418 return 0; 32419} 32420_ACEOF 32421if ac_fn_c_try_link "$LINENO"; then : 32422 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32423else 32424 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32425fi 32426rm -f core conftest.err conftest.$ac_objext \ 32427 conftest$ac_exeext conftest.$ac_ext 32428LIBS=$ac_check_lib_save_LIBS 32429fi 32430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32431$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32432if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32433 ac_cv_libuna_dummy=yes 32434else 32435 ac_cv_libuna=no 32436fi 32437 32438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32439$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32440if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32441 $as_echo_n "(cached) " >&6 32442else 32443 ac_check_lib_save_LIBS=$LIBS 32444LIBS="-luna $LIBS" 32445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32446/* end confdefs.h. */ 32447 32448/* Override any GCC internal prototype to avoid an error. 32449 Use char because int might match the return type of a GCC 32450 builtin and then its argument prototype would still apply. */ 32451#ifdef __cplusplus 32452extern "C" 32453#endif 32454char libuna_utf8_string_size_from_utf8_stream (); 32455int 32456main () 32457{ 32458return libuna_utf8_string_size_from_utf8_stream (); 32459 ; 32460 return 0; 32461} 32462_ACEOF 32463if ac_fn_c_try_link "$LINENO"; then : 32464 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32465else 32466 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32467fi 32468rm -f core conftest.err conftest.$ac_objext \ 32469 conftest$ac_exeext conftest.$ac_ext 32470LIBS=$ac_check_lib_save_LIBS 32471fi 32472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32473$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32474if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32475 ac_cv_libuna_dummy=yes 32476else 32477 ac_cv_libuna=no 32478fi 32479 32480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32481$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32482if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32483 $as_echo_n "(cached) " >&6 32484else 32485 ac_check_lib_save_LIBS=$LIBS 32486LIBS="-luna $LIBS" 32487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32488/* end confdefs.h. */ 32489 32490/* Override any GCC internal prototype to avoid an error. 32491 Use char because int might match the return type of a GCC 32492 builtin and then its argument prototype would still apply. */ 32493#ifdef __cplusplus 32494extern "C" 32495#endif 32496char libuna_utf8_string_copy_from_utf8_stream (); 32497int 32498main () 32499{ 32500return libuna_utf8_string_copy_from_utf8_stream (); 32501 ; 32502 return 0; 32503} 32504_ACEOF 32505if ac_fn_c_try_link "$LINENO"; then : 32506 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32507else 32508 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32509fi 32510rm -f core conftest.err conftest.$ac_objext \ 32511 conftest$ac_exeext conftest.$ac_ext 32512LIBS=$ac_check_lib_save_LIBS 32513fi 32514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32515$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32516if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32517 ac_cv_libuna_dummy=yes 32518else 32519 ac_cv_libuna=no 32520fi 32521 32522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32523$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32524if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32525 $as_echo_n "(cached) " >&6 32526else 32527 ac_check_lib_save_LIBS=$LIBS 32528LIBS="-luna $LIBS" 32529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32530/* end confdefs.h. */ 32531 32532/* Override any GCC internal prototype to avoid an error. 32533 Use char because int might match the return type of a GCC 32534 builtin and then its argument prototype would still apply. */ 32535#ifdef __cplusplus 32536extern "C" 32537#endif 32538char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32539int 32540main () 32541{ 32542return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32543 ; 32544 return 0; 32545} 32546_ACEOF 32547if ac_fn_c_try_link "$LINENO"; then : 32548 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32549else 32550 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32551fi 32552rm -f core conftest.err conftest.$ac_objext \ 32553 conftest$ac_exeext conftest.$ac_ext 32554LIBS=$ac_check_lib_save_LIBS 32555fi 32556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32557$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32558if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32559 ac_cv_libuna_dummy=yes 32560else 32561 ac_cv_libuna=no 32562fi 32563 32564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32565$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32566if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32567 $as_echo_n "(cached) " >&6 32568else 32569 ac_check_lib_save_LIBS=$LIBS 32570LIBS="-luna $LIBS" 32571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32572/* end confdefs.h. */ 32573 32574/* Override any GCC internal prototype to avoid an error. 32575 Use char because int might match the return type of a GCC 32576 builtin and then its argument prototype would still apply. */ 32577#ifdef __cplusplus 32578extern "C" 32579#endif 32580char libuna_utf8_string_size_from_utf16_stream (); 32581int 32582main () 32583{ 32584return libuna_utf8_string_size_from_utf16_stream (); 32585 ; 32586 return 0; 32587} 32588_ACEOF 32589if ac_fn_c_try_link "$LINENO"; then : 32590 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32591else 32592 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32593fi 32594rm -f core conftest.err conftest.$ac_objext \ 32595 conftest$ac_exeext conftest.$ac_ext 32596LIBS=$ac_check_lib_save_LIBS 32597fi 32598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32599$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32600if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32601 ac_cv_libuna_dummy=yes 32602else 32603 ac_cv_libuna=no 32604fi 32605 32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32607$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32608if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32609 $as_echo_n "(cached) " >&6 32610else 32611 ac_check_lib_save_LIBS=$LIBS 32612LIBS="-luna $LIBS" 32613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32614/* end confdefs.h. */ 32615 32616/* Override any GCC internal prototype to avoid an error. 32617 Use char because int might match the return type of a GCC 32618 builtin and then its argument prototype would still apply. */ 32619#ifdef __cplusplus 32620extern "C" 32621#endif 32622char libuna_utf8_string_copy_from_utf16_stream (); 32623int 32624main () 32625{ 32626return libuna_utf8_string_copy_from_utf16_stream (); 32627 ; 32628 return 0; 32629} 32630_ACEOF 32631if ac_fn_c_try_link "$LINENO"; then : 32632 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32633else 32634 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32635fi 32636rm -f core conftest.err conftest.$ac_objext \ 32637 conftest$ac_exeext conftest.$ac_ext 32638LIBS=$ac_check_lib_save_LIBS 32639fi 32640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32641$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32642if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32643 ac_cv_libuna_dummy=yes 32644else 32645 ac_cv_libuna=no 32646fi 32647 32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32649$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32650if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32651 $as_echo_n "(cached) " >&6 32652else 32653 ac_check_lib_save_LIBS=$LIBS 32654LIBS="-luna $LIBS" 32655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32656/* end confdefs.h. */ 32657 32658/* Override any GCC internal prototype to avoid an error. 32659 Use char because int might match the return type of a GCC 32660 builtin and then its argument prototype would still apply. */ 32661#ifdef __cplusplus 32662extern "C" 32663#endif 32664char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32665int 32666main () 32667{ 32668return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32669 ; 32670 return 0; 32671} 32672_ACEOF 32673if ac_fn_c_try_link "$LINENO"; then : 32674 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32675else 32676 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32677fi 32678rm -f core conftest.err conftest.$ac_objext \ 32679 conftest$ac_exeext conftest.$ac_ext 32680LIBS=$ac_check_lib_save_LIBS 32681fi 32682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32683$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32684if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32685 ac_cv_libuna_dummy=yes 32686else 32687 ac_cv_libuna=no 32688fi 32689 32690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32691$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32692if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32693 $as_echo_n "(cached) " >&6 32694else 32695 ac_check_lib_save_LIBS=$LIBS 32696LIBS="-luna $LIBS" 32697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32698/* end confdefs.h. */ 32699 32700/* Override any GCC internal prototype to avoid an error. 32701 Use char because int might match the return type of a GCC 32702 builtin and then its argument prototype would still apply. */ 32703#ifdef __cplusplus 32704extern "C" 32705#endif 32706char libuna_utf8_string_size_from_utf32_stream (); 32707int 32708main () 32709{ 32710return libuna_utf8_string_size_from_utf32_stream (); 32711 ; 32712 return 0; 32713} 32714_ACEOF 32715if ac_fn_c_try_link "$LINENO"; then : 32716 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32717else 32718 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32719fi 32720rm -f core conftest.err conftest.$ac_objext \ 32721 conftest$ac_exeext conftest.$ac_ext 32722LIBS=$ac_check_lib_save_LIBS 32723fi 32724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32725$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32726if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32727 ac_cv_libuna_dummy=yes 32728else 32729 ac_cv_libuna=no 32730fi 32731 32732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32733$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32734if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32735 $as_echo_n "(cached) " >&6 32736else 32737 ac_check_lib_save_LIBS=$LIBS 32738LIBS="-luna $LIBS" 32739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32740/* end confdefs.h. */ 32741 32742/* Override any GCC internal prototype to avoid an error. 32743 Use char because int might match the return type of a GCC 32744 builtin and then its argument prototype would still apply. */ 32745#ifdef __cplusplus 32746extern "C" 32747#endif 32748char libuna_utf8_string_copy_from_utf32_stream (); 32749int 32750main () 32751{ 32752return libuna_utf8_string_copy_from_utf32_stream (); 32753 ; 32754 return 0; 32755} 32756_ACEOF 32757if ac_fn_c_try_link "$LINENO"; then : 32758 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32759else 32760 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32761fi 32762rm -f core conftest.err conftest.$ac_objext \ 32763 conftest$ac_exeext conftest.$ac_ext 32764LIBS=$ac_check_lib_save_LIBS 32765fi 32766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32767$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32768if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32769 ac_cv_libuna_dummy=yes 32770else 32771 ac_cv_libuna=no 32772fi 32773 32774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32775$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32776if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32777 $as_echo_n "(cached) " >&6 32778else 32779 ac_check_lib_save_LIBS=$LIBS 32780LIBS="-luna $LIBS" 32781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32782/* end confdefs.h. */ 32783 32784/* Override any GCC internal prototype to avoid an error. 32785 Use char because int might match the return type of a GCC 32786 builtin and then its argument prototype would still apply. */ 32787#ifdef __cplusplus 32788extern "C" 32789#endif 32790char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32791int 32792main () 32793{ 32794return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32795 ; 32796 return 0; 32797} 32798_ACEOF 32799if ac_fn_c_try_link "$LINENO"; then : 32800 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32801else 32802 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32803fi 32804rm -f core conftest.err conftest.$ac_objext \ 32805 conftest$ac_exeext conftest.$ac_ext 32806LIBS=$ac_check_lib_save_LIBS 32807fi 32808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32809$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32810if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32811 ac_cv_libuna_dummy=yes 32812else 32813 ac_cv_libuna=no 32814fi 32815 32816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32817$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32818if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32819 $as_echo_n "(cached) " >&6 32820else 32821 ac_check_lib_save_LIBS=$LIBS 32822LIBS="-luna $LIBS" 32823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32824/* end confdefs.h. */ 32825 32826/* Override any GCC internal prototype to avoid an error. 32827 Use char because int might match the return type of a GCC 32828 builtin and then its argument prototype would still apply. */ 32829#ifdef __cplusplus 32830extern "C" 32831#endif 32832char libuna_utf8_string_size_from_utf16 (); 32833int 32834main () 32835{ 32836return libuna_utf8_string_size_from_utf16 (); 32837 ; 32838 return 0; 32839} 32840_ACEOF 32841if ac_fn_c_try_link "$LINENO"; then : 32842 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32843else 32844 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32845fi 32846rm -f core conftest.err conftest.$ac_objext \ 32847 conftest$ac_exeext conftest.$ac_ext 32848LIBS=$ac_check_lib_save_LIBS 32849fi 32850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32851$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32852if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32853 ac_cv_libuna_dummy=yes 32854else 32855 ac_cv_libuna=no 32856fi 32857 32858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32859$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32860if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32861 $as_echo_n "(cached) " >&6 32862else 32863 ac_check_lib_save_LIBS=$LIBS 32864LIBS="-luna $LIBS" 32865cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32866/* end confdefs.h. */ 32867 32868/* Override any GCC internal prototype to avoid an error. 32869 Use char because int might match the return type of a GCC 32870 builtin and then its argument prototype would still apply. */ 32871#ifdef __cplusplus 32872extern "C" 32873#endif 32874char libuna_utf8_string_copy_from_utf16 (); 32875int 32876main () 32877{ 32878return libuna_utf8_string_copy_from_utf16 (); 32879 ; 32880 return 0; 32881} 32882_ACEOF 32883if ac_fn_c_try_link "$LINENO"; then : 32884 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32885else 32886 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32887fi 32888rm -f core conftest.err conftest.$ac_objext \ 32889 conftest$ac_exeext conftest.$ac_ext 32890LIBS=$ac_check_lib_save_LIBS 32891fi 32892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32893$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32894if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32895 ac_cv_libuna_dummy=yes 32896else 32897 ac_cv_libuna=no 32898fi 32899 32900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32901$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32902if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32903 $as_echo_n "(cached) " >&6 32904else 32905 ac_check_lib_save_LIBS=$LIBS 32906LIBS="-luna $LIBS" 32907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32908/* end confdefs.h. */ 32909 32910/* Override any GCC internal prototype to avoid an error. 32911 Use char because int might match the return type of a GCC 32912 builtin and then its argument prototype would still apply. */ 32913#ifdef __cplusplus 32914extern "C" 32915#endif 32916char libuna_utf8_string_with_index_copy_from_utf16 (); 32917int 32918main () 32919{ 32920return libuna_utf8_string_with_index_copy_from_utf16 (); 32921 ; 32922 return 0; 32923} 32924_ACEOF 32925if ac_fn_c_try_link "$LINENO"; then : 32926 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32927else 32928 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32929fi 32930rm -f core conftest.err conftest.$ac_objext \ 32931 conftest$ac_exeext conftest.$ac_ext 32932LIBS=$ac_check_lib_save_LIBS 32933fi 32934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32935$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32936if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32937 ac_cv_libuna_dummy=yes 32938else 32939 ac_cv_libuna=no 32940fi 32941 32942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32943$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32944if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32945 $as_echo_n "(cached) " >&6 32946else 32947 ac_check_lib_save_LIBS=$LIBS 32948LIBS="-luna $LIBS" 32949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32950/* end confdefs.h. */ 32951 32952/* Override any GCC internal prototype to avoid an error. 32953 Use char because int might match the return type of a GCC 32954 builtin and then its argument prototype would still apply. */ 32955#ifdef __cplusplus 32956extern "C" 32957#endif 32958char libuna_utf8_string_size_from_utf32 (); 32959int 32960main () 32961{ 32962return libuna_utf8_string_size_from_utf32 (); 32963 ; 32964 return 0; 32965} 32966_ACEOF 32967if ac_fn_c_try_link "$LINENO"; then : 32968 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32969else 32970 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 32971fi 32972rm -f core conftest.err conftest.$ac_objext \ 32973 conftest$ac_exeext conftest.$ac_ext 32974LIBS=$ac_check_lib_save_LIBS 32975fi 32976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 32977$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 32978if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 32979 ac_cv_libuna_dummy=yes 32980else 32981 ac_cv_libuna=no 32982fi 32983 32984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 32985$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 32986if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 32987 $as_echo_n "(cached) " >&6 32988else 32989 ac_check_lib_save_LIBS=$LIBS 32990LIBS="-luna $LIBS" 32991cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32992/* end confdefs.h. */ 32993 32994/* Override any GCC internal prototype to avoid an error. 32995 Use char because int might match the return type of a GCC 32996 builtin and then its argument prototype would still apply. */ 32997#ifdef __cplusplus 32998extern "C" 32999#endif 33000char libuna_utf8_string_copy_from_utf32 (); 33001int 33002main () 33003{ 33004return libuna_utf8_string_copy_from_utf32 (); 33005 ; 33006 return 0; 33007} 33008_ACEOF 33009if ac_fn_c_try_link "$LINENO"; then : 33010 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 33011else 33012 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 33013fi 33014rm -f core conftest.err conftest.$ac_objext \ 33015 conftest$ac_exeext conftest.$ac_ext 33016LIBS=$ac_check_lib_save_LIBS 33017fi 33018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 33019$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 33020if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 33021 ac_cv_libuna_dummy=yes 33022else 33023 ac_cv_libuna=no 33024fi 33025 33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 33027$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 33028if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 33029 $as_echo_n "(cached) " >&6 33030else 33031 ac_check_lib_save_LIBS=$LIBS 33032LIBS="-luna $LIBS" 33033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33034/* end confdefs.h. */ 33035 33036/* Override any GCC internal prototype to avoid an error. 33037 Use char because int might match the return type of a GCC 33038 builtin and then its argument prototype would still apply. */ 33039#ifdef __cplusplus 33040extern "C" 33041#endif 33042char libuna_utf8_string_with_index_copy_from_utf32 (); 33043int 33044main () 33045{ 33046return libuna_utf8_string_with_index_copy_from_utf32 (); 33047 ; 33048 return 0; 33049} 33050_ACEOF 33051if ac_fn_c_try_link "$LINENO"; then : 33052 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33053else 33054 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33055fi 33056rm -f core conftest.err conftest.$ac_objext \ 33057 conftest$ac_exeext conftest.$ac_ext 33058LIBS=$ac_check_lib_save_LIBS 33059fi 33060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33061$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33062if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33063 ac_cv_libuna_dummy=yes 33064else 33065 ac_cv_libuna=no 33066fi 33067 33068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33069$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33070if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33071 $as_echo_n "(cached) " >&6 33072else 33073 ac_check_lib_save_LIBS=$LIBS 33074LIBS="-luna $LIBS" 33075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33076/* end confdefs.h. */ 33077 33078/* Override any GCC internal prototype to avoid an error. 33079 Use char because int might match the return type of a GCC 33080 builtin and then its argument prototype would still apply. */ 33081#ifdef __cplusplus 33082extern "C" 33083#endif 33084char libuna_utf8_string_size_from_scsu_stream (); 33085int 33086main () 33087{ 33088return libuna_utf8_string_size_from_scsu_stream (); 33089 ; 33090 return 0; 33091} 33092_ACEOF 33093if ac_fn_c_try_link "$LINENO"; then : 33094 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33095else 33096 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33097fi 33098rm -f core conftest.err conftest.$ac_objext \ 33099 conftest$ac_exeext conftest.$ac_ext 33100LIBS=$ac_check_lib_save_LIBS 33101fi 33102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33103$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33104if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33105 ac_cv_libuna_dummy=yes 33106else 33107 ac_cv_libuna=no 33108fi 33109 33110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33111$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33112if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33113 $as_echo_n "(cached) " >&6 33114else 33115 ac_check_lib_save_LIBS=$LIBS 33116LIBS="-luna $LIBS" 33117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33118/* end confdefs.h. */ 33119 33120/* Override any GCC internal prototype to avoid an error. 33121 Use char because int might match the return type of a GCC 33122 builtin and then its argument prototype would still apply. */ 33123#ifdef __cplusplus 33124extern "C" 33125#endif 33126char libuna_utf8_string_copy_from_scsu_stream (); 33127int 33128main () 33129{ 33130return libuna_utf8_string_copy_from_scsu_stream (); 33131 ; 33132 return 0; 33133} 33134_ACEOF 33135if ac_fn_c_try_link "$LINENO"; then : 33136 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33137else 33138 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33139fi 33140rm -f core conftest.err conftest.$ac_objext \ 33141 conftest$ac_exeext conftest.$ac_ext 33142LIBS=$ac_check_lib_save_LIBS 33143fi 33144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33145$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33146if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33147 ac_cv_libuna_dummy=yes 33148else 33149 ac_cv_libuna=no 33150fi 33151 33152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33153$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33154if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_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_utf8_string_with_index_copy_from_scsu_stream (); 33169int 33170main () 33171{ 33172return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33173 ; 33174 return 0; 33175} 33176_ACEOF 33177if ac_fn_c_try_link "$LINENO"; then : 33178 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33179else 33180 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_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_utf8_string_with_index_copy_from_scsu_stream" >&5 33187$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33188if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33189 ac_cv_libuna_dummy=yes 33190else 33191 ac_cv_libuna=no 33192fi 33193 33194 33195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33196$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33197if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33198 $as_echo_n "(cached) " >&6 33199else 33200 ac_check_lib_save_LIBS=$LIBS 33201LIBS="-luna $LIBS" 33202cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33203/* end confdefs.h. */ 33204 33205/* Override any GCC internal prototype to avoid an error. 33206 Use char because int might match the return type of a GCC 33207 builtin and then its argument prototype would still apply. */ 33208#ifdef __cplusplus 33209extern "C" 33210#endif 33211char libuna_utf16_string_size_from_byte_stream (); 33212int 33213main () 33214{ 33215return libuna_utf16_string_size_from_byte_stream (); 33216 ; 33217 return 0; 33218} 33219_ACEOF 33220if ac_fn_c_try_link "$LINENO"; then : 33221 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33222else 33223 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33224fi 33225rm -f core conftest.err conftest.$ac_objext \ 33226 conftest$ac_exeext conftest.$ac_ext 33227LIBS=$ac_check_lib_save_LIBS 33228fi 33229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33230$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33231if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33232 ac_cv_libuna_dummy=yes 33233else 33234 ac_cv_libuna=no 33235fi 33236 33237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33238$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33239if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33240 $as_echo_n "(cached) " >&6 33241else 33242 ac_check_lib_save_LIBS=$LIBS 33243LIBS="-luna $LIBS" 33244cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33245/* end confdefs.h. */ 33246 33247/* Override any GCC internal prototype to avoid an error. 33248 Use char because int might match the return type of a GCC 33249 builtin and then its argument prototype would still apply. */ 33250#ifdef __cplusplus 33251extern "C" 33252#endif 33253char libuna_utf16_string_copy_from_byte_stream (); 33254int 33255main () 33256{ 33257return libuna_utf16_string_copy_from_byte_stream (); 33258 ; 33259 return 0; 33260} 33261_ACEOF 33262if ac_fn_c_try_link "$LINENO"; then : 33263 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33264else 33265 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33266fi 33267rm -f core conftest.err conftest.$ac_objext \ 33268 conftest$ac_exeext conftest.$ac_ext 33269LIBS=$ac_check_lib_save_LIBS 33270fi 33271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33272$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33273if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33274 ac_cv_libuna_dummy=yes 33275else 33276 ac_cv_libuna=no 33277fi 33278 33279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33280$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33281if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33282 $as_echo_n "(cached) " >&6 33283else 33284 ac_check_lib_save_LIBS=$LIBS 33285LIBS="-luna $LIBS" 33286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33287/* end confdefs.h. */ 33288 33289/* Override any GCC internal prototype to avoid an error. 33290 Use char because int might match the return type of a GCC 33291 builtin and then its argument prototype would still apply. */ 33292#ifdef __cplusplus 33293extern "C" 33294#endif 33295char libuna_utf16_string_with_index_copy_from_byte_stream (); 33296int 33297main () 33298{ 33299return libuna_utf16_string_with_index_copy_from_byte_stream (); 33300 ; 33301 return 0; 33302} 33303_ACEOF 33304if ac_fn_c_try_link "$LINENO"; then : 33305 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33306else 33307 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33308fi 33309rm -f core conftest.err conftest.$ac_objext \ 33310 conftest$ac_exeext conftest.$ac_ext 33311LIBS=$ac_check_lib_save_LIBS 33312fi 33313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33314$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33315if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33316 ac_cv_libuna_dummy=yes 33317else 33318 ac_cv_libuna=no 33319fi 33320 33321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33322$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33323if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33324 $as_echo_n "(cached) " >&6 33325else 33326 ac_check_lib_save_LIBS=$LIBS 33327LIBS="-luna $LIBS" 33328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33329/* end confdefs.h. */ 33330 33331/* Override any GCC internal prototype to avoid an error. 33332 Use char because int might match the return type of a GCC 33333 builtin and then its argument prototype would still apply. */ 33334#ifdef __cplusplus 33335extern "C" 33336#endif 33337char libuna_utf16_string_size_from_utf7_stream (); 33338int 33339main () 33340{ 33341return libuna_utf16_string_size_from_utf7_stream (); 33342 ; 33343 return 0; 33344} 33345_ACEOF 33346if ac_fn_c_try_link "$LINENO"; then : 33347 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33348else 33349 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33350fi 33351rm -f core conftest.err conftest.$ac_objext \ 33352 conftest$ac_exeext conftest.$ac_ext 33353LIBS=$ac_check_lib_save_LIBS 33354fi 33355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33356$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33357if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33358 ac_cv_libuna_dummy=yes 33359else 33360 ac_cv_libuna=no 33361fi 33362 33363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33364$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33365if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33366 $as_echo_n "(cached) " >&6 33367else 33368 ac_check_lib_save_LIBS=$LIBS 33369LIBS="-luna $LIBS" 33370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33371/* end confdefs.h. */ 33372 33373/* Override any GCC internal prototype to avoid an error. 33374 Use char because int might match the return type of a GCC 33375 builtin and then its argument prototype would still apply. */ 33376#ifdef __cplusplus 33377extern "C" 33378#endif 33379char libuna_utf16_string_copy_from_utf7_stream (); 33380int 33381main () 33382{ 33383return libuna_utf16_string_copy_from_utf7_stream (); 33384 ; 33385 return 0; 33386} 33387_ACEOF 33388if ac_fn_c_try_link "$LINENO"; then : 33389 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33390else 33391 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33392fi 33393rm -f core conftest.err conftest.$ac_objext \ 33394 conftest$ac_exeext conftest.$ac_ext 33395LIBS=$ac_check_lib_save_LIBS 33396fi 33397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33398$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33399if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33400 ac_cv_libuna_dummy=yes 33401else 33402 ac_cv_libuna=no 33403fi 33404 33405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33406$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33407if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33408 $as_echo_n "(cached) " >&6 33409else 33410 ac_check_lib_save_LIBS=$LIBS 33411LIBS="-luna $LIBS" 33412cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33413/* end confdefs.h. */ 33414 33415/* Override any GCC internal prototype to avoid an error. 33416 Use char because int might match the return type of a GCC 33417 builtin and then its argument prototype would still apply. */ 33418#ifdef __cplusplus 33419extern "C" 33420#endif 33421char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33422int 33423main () 33424{ 33425return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33426 ; 33427 return 0; 33428} 33429_ACEOF 33430if ac_fn_c_try_link "$LINENO"; then : 33431 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33432else 33433 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33434fi 33435rm -f core conftest.err conftest.$ac_objext \ 33436 conftest$ac_exeext conftest.$ac_ext 33437LIBS=$ac_check_lib_save_LIBS 33438fi 33439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33440$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33441if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33442 ac_cv_libuna_dummy=yes 33443else 33444 ac_cv_libuna=no 33445fi 33446 33447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33448$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33449if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33450 $as_echo_n "(cached) " >&6 33451else 33452 ac_check_lib_save_LIBS=$LIBS 33453LIBS="-luna $LIBS" 33454cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33455/* end confdefs.h. */ 33456 33457/* Override any GCC internal prototype to avoid an error. 33458 Use char because int might match the return type of a GCC 33459 builtin and then its argument prototype would still apply. */ 33460#ifdef __cplusplus 33461extern "C" 33462#endif 33463char libuna_utf16_string_size_from_utf8_stream (); 33464int 33465main () 33466{ 33467return libuna_utf16_string_size_from_utf8_stream (); 33468 ; 33469 return 0; 33470} 33471_ACEOF 33472if ac_fn_c_try_link "$LINENO"; then : 33473 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33474else 33475 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33476fi 33477rm -f core conftest.err conftest.$ac_objext \ 33478 conftest$ac_exeext conftest.$ac_ext 33479LIBS=$ac_check_lib_save_LIBS 33480fi 33481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33482$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33483if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33484 ac_cv_libuna_dummy=yes 33485else 33486 ac_cv_libuna=no 33487fi 33488 33489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33490$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33491if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33492 $as_echo_n "(cached) " >&6 33493else 33494 ac_check_lib_save_LIBS=$LIBS 33495LIBS="-luna $LIBS" 33496cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33497/* end confdefs.h. */ 33498 33499/* Override any GCC internal prototype to avoid an error. 33500 Use char because int might match the return type of a GCC 33501 builtin and then its argument prototype would still apply. */ 33502#ifdef __cplusplus 33503extern "C" 33504#endif 33505char libuna_utf16_string_copy_from_utf8_stream (); 33506int 33507main () 33508{ 33509return libuna_utf16_string_copy_from_utf8_stream (); 33510 ; 33511 return 0; 33512} 33513_ACEOF 33514if ac_fn_c_try_link "$LINENO"; then : 33515 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33516else 33517 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33518fi 33519rm -f core conftest.err conftest.$ac_objext \ 33520 conftest$ac_exeext conftest.$ac_ext 33521LIBS=$ac_check_lib_save_LIBS 33522fi 33523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33524$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33525if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33526 ac_cv_libuna_dummy=yes 33527else 33528 ac_cv_libuna=no 33529fi 33530 33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33532$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33533if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33534 $as_echo_n "(cached) " >&6 33535else 33536 ac_check_lib_save_LIBS=$LIBS 33537LIBS="-luna $LIBS" 33538cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33539/* end confdefs.h. */ 33540 33541/* Override any GCC internal prototype to avoid an error. 33542 Use char because int might match the return type of a GCC 33543 builtin and then its argument prototype would still apply. */ 33544#ifdef __cplusplus 33545extern "C" 33546#endif 33547char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33548int 33549main () 33550{ 33551return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33552 ; 33553 return 0; 33554} 33555_ACEOF 33556if ac_fn_c_try_link "$LINENO"; then : 33557 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33558else 33559 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33560fi 33561rm -f core conftest.err conftest.$ac_objext \ 33562 conftest$ac_exeext conftest.$ac_ext 33563LIBS=$ac_check_lib_save_LIBS 33564fi 33565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33566$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33567if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33568 ac_cv_libuna_dummy=yes 33569else 33570 ac_cv_libuna=no 33571fi 33572 33573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33574$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33575if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33576 $as_echo_n "(cached) " >&6 33577else 33578 ac_check_lib_save_LIBS=$LIBS 33579LIBS="-luna $LIBS" 33580cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33581/* end confdefs.h. */ 33582 33583/* Override any GCC internal prototype to avoid an error. 33584 Use char because int might match the return type of a GCC 33585 builtin and then its argument prototype would still apply. */ 33586#ifdef __cplusplus 33587extern "C" 33588#endif 33589char libuna_utf16_string_size_from_utf16_stream (); 33590int 33591main () 33592{ 33593return libuna_utf16_string_size_from_utf16_stream (); 33594 ; 33595 return 0; 33596} 33597_ACEOF 33598if ac_fn_c_try_link "$LINENO"; then : 33599 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33600else 33601 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33602fi 33603rm -f core conftest.err conftest.$ac_objext \ 33604 conftest$ac_exeext conftest.$ac_ext 33605LIBS=$ac_check_lib_save_LIBS 33606fi 33607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33608$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33609if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33610 ac_cv_libuna_dummy=yes 33611else 33612 ac_cv_libuna=no 33613fi 33614 33615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33616$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33617if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33618 $as_echo_n "(cached) " >&6 33619else 33620 ac_check_lib_save_LIBS=$LIBS 33621LIBS="-luna $LIBS" 33622cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33623/* end confdefs.h. */ 33624 33625/* Override any GCC internal prototype to avoid an error. 33626 Use char because int might match the return type of a GCC 33627 builtin and then its argument prototype would still apply. */ 33628#ifdef __cplusplus 33629extern "C" 33630#endif 33631char libuna_utf16_string_copy_from_utf16_stream (); 33632int 33633main () 33634{ 33635return libuna_utf16_string_copy_from_utf16_stream (); 33636 ; 33637 return 0; 33638} 33639_ACEOF 33640if ac_fn_c_try_link "$LINENO"; then : 33641 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33642else 33643 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33644fi 33645rm -f core conftest.err conftest.$ac_objext \ 33646 conftest$ac_exeext conftest.$ac_ext 33647LIBS=$ac_check_lib_save_LIBS 33648fi 33649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33650$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33651if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33652 ac_cv_libuna_dummy=yes 33653else 33654 ac_cv_libuna=no 33655fi 33656 33657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33658$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33659if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33660 $as_echo_n "(cached) " >&6 33661else 33662 ac_check_lib_save_LIBS=$LIBS 33663LIBS="-luna $LIBS" 33664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33665/* end confdefs.h. */ 33666 33667/* Override any GCC internal prototype to avoid an error. 33668 Use char because int might match the return type of a GCC 33669 builtin and then its argument prototype would still apply. */ 33670#ifdef __cplusplus 33671extern "C" 33672#endif 33673char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33674int 33675main () 33676{ 33677return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33678 ; 33679 return 0; 33680} 33681_ACEOF 33682if ac_fn_c_try_link "$LINENO"; then : 33683 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33684else 33685 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33686fi 33687rm -f core conftest.err conftest.$ac_objext \ 33688 conftest$ac_exeext conftest.$ac_ext 33689LIBS=$ac_check_lib_save_LIBS 33690fi 33691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33692$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33693if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33694 ac_cv_libuna_dummy=yes 33695else 33696 ac_cv_libuna=no 33697fi 33698 33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33700$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33701if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33702 $as_echo_n "(cached) " >&6 33703else 33704 ac_check_lib_save_LIBS=$LIBS 33705LIBS="-luna $LIBS" 33706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33707/* end confdefs.h. */ 33708 33709/* Override any GCC internal prototype to avoid an error. 33710 Use char because int might match the return type of a GCC 33711 builtin and then its argument prototype would still apply. */ 33712#ifdef __cplusplus 33713extern "C" 33714#endif 33715char libuna_utf16_string_size_from_utf32_stream (); 33716int 33717main () 33718{ 33719return libuna_utf16_string_size_from_utf32_stream (); 33720 ; 33721 return 0; 33722} 33723_ACEOF 33724if ac_fn_c_try_link "$LINENO"; then : 33725 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33726else 33727 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33728fi 33729rm -f core conftest.err conftest.$ac_objext \ 33730 conftest$ac_exeext conftest.$ac_ext 33731LIBS=$ac_check_lib_save_LIBS 33732fi 33733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33734$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33735if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33736 ac_cv_libuna_dummy=yes 33737else 33738 ac_cv_libuna=no 33739fi 33740 33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33742$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33743if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33744 $as_echo_n "(cached) " >&6 33745else 33746 ac_check_lib_save_LIBS=$LIBS 33747LIBS="-luna $LIBS" 33748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33749/* end confdefs.h. */ 33750 33751/* Override any GCC internal prototype to avoid an error. 33752 Use char because int might match the return type of a GCC 33753 builtin and then its argument prototype would still apply. */ 33754#ifdef __cplusplus 33755extern "C" 33756#endif 33757char libuna_utf16_string_copy_from_utf32_stream (); 33758int 33759main () 33760{ 33761return libuna_utf16_string_copy_from_utf32_stream (); 33762 ; 33763 return 0; 33764} 33765_ACEOF 33766if ac_fn_c_try_link "$LINENO"; then : 33767 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33768else 33769 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33770fi 33771rm -f core conftest.err conftest.$ac_objext \ 33772 conftest$ac_exeext conftest.$ac_ext 33773LIBS=$ac_check_lib_save_LIBS 33774fi 33775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33776$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33777if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33778 ac_cv_libuna_dummy=yes 33779else 33780 ac_cv_libuna=no 33781fi 33782 33783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33784$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33785if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33786 $as_echo_n "(cached) " >&6 33787else 33788 ac_check_lib_save_LIBS=$LIBS 33789LIBS="-luna $LIBS" 33790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33791/* end confdefs.h. */ 33792 33793/* Override any GCC internal prototype to avoid an error. 33794 Use char because int might match the return type of a GCC 33795 builtin and then its argument prototype would still apply. */ 33796#ifdef __cplusplus 33797extern "C" 33798#endif 33799char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33800int 33801main () 33802{ 33803return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33804 ; 33805 return 0; 33806} 33807_ACEOF 33808if ac_fn_c_try_link "$LINENO"; then : 33809 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33810else 33811 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33812fi 33813rm -f core conftest.err conftest.$ac_objext \ 33814 conftest$ac_exeext conftest.$ac_ext 33815LIBS=$ac_check_lib_save_LIBS 33816fi 33817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33818$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33819if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33820 ac_cv_libuna_dummy=yes 33821else 33822 ac_cv_libuna=no 33823fi 33824 33825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33826$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33827if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33828 $as_echo_n "(cached) " >&6 33829else 33830 ac_check_lib_save_LIBS=$LIBS 33831LIBS="-luna $LIBS" 33832cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33833/* end confdefs.h. */ 33834 33835/* Override any GCC internal prototype to avoid an error. 33836 Use char because int might match the return type of a GCC 33837 builtin and then its argument prototype would still apply. */ 33838#ifdef __cplusplus 33839extern "C" 33840#endif 33841char libuna_utf16_string_size_from_utf8 (); 33842int 33843main () 33844{ 33845return libuna_utf16_string_size_from_utf8 (); 33846 ; 33847 return 0; 33848} 33849_ACEOF 33850if ac_fn_c_try_link "$LINENO"; then : 33851 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33852else 33853 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33854fi 33855rm -f core conftest.err conftest.$ac_objext \ 33856 conftest$ac_exeext conftest.$ac_ext 33857LIBS=$ac_check_lib_save_LIBS 33858fi 33859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33860$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33861if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33862 ac_cv_libuna_dummy=yes 33863else 33864 ac_cv_libuna=no 33865fi 33866 33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33868$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33869if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33870 $as_echo_n "(cached) " >&6 33871else 33872 ac_check_lib_save_LIBS=$LIBS 33873LIBS="-luna $LIBS" 33874cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33875/* end confdefs.h. */ 33876 33877/* Override any GCC internal prototype to avoid an error. 33878 Use char because int might match the return type of a GCC 33879 builtin and then its argument prototype would still apply. */ 33880#ifdef __cplusplus 33881extern "C" 33882#endif 33883char libuna_utf16_string_copy_from_utf8 (); 33884int 33885main () 33886{ 33887return libuna_utf16_string_copy_from_utf8 (); 33888 ; 33889 return 0; 33890} 33891_ACEOF 33892if ac_fn_c_try_link "$LINENO"; then : 33893 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33894else 33895 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33896fi 33897rm -f core conftest.err conftest.$ac_objext \ 33898 conftest$ac_exeext conftest.$ac_ext 33899LIBS=$ac_check_lib_save_LIBS 33900fi 33901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33902$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33903if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33904 ac_cv_libuna_dummy=yes 33905else 33906 ac_cv_libuna=no 33907fi 33908 33909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33910$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33911if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33912 $as_echo_n "(cached) " >&6 33913else 33914 ac_check_lib_save_LIBS=$LIBS 33915LIBS="-luna $LIBS" 33916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33917/* end confdefs.h. */ 33918 33919/* Override any GCC internal prototype to avoid an error. 33920 Use char because int might match the return type of a GCC 33921 builtin and then its argument prototype would still apply. */ 33922#ifdef __cplusplus 33923extern "C" 33924#endif 33925char libuna_utf16_string_with_index_copy_from_utf8 (); 33926int 33927main () 33928{ 33929return libuna_utf16_string_with_index_copy_from_utf8 (); 33930 ; 33931 return 0; 33932} 33933_ACEOF 33934if ac_fn_c_try_link "$LINENO"; then : 33935 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33936else 33937 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33938fi 33939rm -f core conftest.err conftest.$ac_objext \ 33940 conftest$ac_exeext conftest.$ac_ext 33941LIBS=$ac_check_lib_save_LIBS 33942fi 33943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33944$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33945if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33946 ac_cv_libuna_dummy=yes 33947else 33948 ac_cv_libuna=no 33949fi 33950 33951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33952$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33953if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33954 $as_echo_n "(cached) " >&6 33955else 33956 ac_check_lib_save_LIBS=$LIBS 33957LIBS="-luna $LIBS" 33958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33959/* end confdefs.h. */ 33960 33961/* Override any GCC internal prototype to avoid an error. 33962 Use char because int might match the return type of a GCC 33963 builtin and then its argument prototype would still apply. */ 33964#ifdef __cplusplus 33965extern "C" 33966#endif 33967char libuna_utf16_string_size_from_utf32 (); 33968int 33969main () 33970{ 33971return libuna_utf16_string_size_from_utf32 (); 33972 ; 33973 return 0; 33974} 33975_ACEOF 33976if ac_fn_c_try_link "$LINENO"; then : 33977 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 33978else 33979 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 33980fi 33981rm -f core conftest.err conftest.$ac_objext \ 33982 conftest$ac_exeext conftest.$ac_ext 33983LIBS=$ac_check_lib_save_LIBS 33984fi 33985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 33986$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 33987if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 33988 ac_cv_libuna_dummy=yes 33989else 33990 ac_cv_libuna=no 33991fi 33992 33993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 33994$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 33995if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 33996 $as_echo_n "(cached) " >&6 33997else 33998 ac_check_lib_save_LIBS=$LIBS 33999LIBS="-luna $LIBS" 34000cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34001/* end confdefs.h. */ 34002 34003/* Override any GCC internal prototype to avoid an error. 34004 Use char because int might match the return type of a GCC 34005 builtin and then its argument prototype would still apply. */ 34006#ifdef __cplusplus 34007extern "C" 34008#endif 34009char libuna_utf16_string_copy_from_utf32 (); 34010int 34011main () 34012{ 34013return libuna_utf16_string_copy_from_utf32 (); 34014 ; 34015 return 0; 34016} 34017_ACEOF 34018if ac_fn_c_try_link "$LINENO"; then : 34019 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 34020else 34021 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 34022fi 34023rm -f core conftest.err conftest.$ac_objext \ 34024 conftest$ac_exeext conftest.$ac_ext 34025LIBS=$ac_check_lib_save_LIBS 34026fi 34027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 34028$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 34029if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 34030 ac_cv_libuna_dummy=yes 34031else 34032 ac_cv_libuna=no 34033fi 34034 34035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 34036$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 34037if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 34038 $as_echo_n "(cached) " >&6 34039else 34040 ac_check_lib_save_LIBS=$LIBS 34041LIBS="-luna $LIBS" 34042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34043/* end confdefs.h. */ 34044 34045/* Override any GCC internal prototype to avoid an error. 34046 Use char because int might match the return type of a GCC 34047 builtin and then its argument prototype would still apply. */ 34048#ifdef __cplusplus 34049extern "C" 34050#endif 34051char libuna_utf16_string_with_index_copy_from_utf32 (); 34052int 34053main () 34054{ 34055return libuna_utf16_string_with_index_copy_from_utf32 (); 34056 ; 34057 return 0; 34058} 34059_ACEOF 34060if ac_fn_c_try_link "$LINENO"; then : 34061 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34062else 34063 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34064fi 34065rm -f core conftest.err conftest.$ac_objext \ 34066 conftest$ac_exeext conftest.$ac_ext 34067LIBS=$ac_check_lib_save_LIBS 34068fi 34069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34070$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34071if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34072 ac_cv_libuna_dummy=yes 34073else 34074 ac_cv_libuna=no 34075fi 34076 34077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34078$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34079if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34080 $as_echo_n "(cached) " >&6 34081else 34082 ac_check_lib_save_LIBS=$LIBS 34083LIBS="-luna $LIBS" 34084cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34085/* end confdefs.h. */ 34086 34087/* Override any GCC internal prototype to avoid an error. 34088 Use char because int might match the return type of a GCC 34089 builtin and then its argument prototype would still apply. */ 34090#ifdef __cplusplus 34091extern "C" 34092#endif 34093char libuna_utf16_string_size_from_scsu_stream (); 34094int 34095main () 34096{ 34097return libuna_utf16_string_size_from_scsu_stream (); 34098 ; 34099 return 0; 34100} 34101_ACEOF 34102if ac_fn_c_try_link "$LINENO"; then : 34103 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34104else 34105 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34106fi 34107rm -f core conftest.err conftest.$ac_objext \ 34108 conftest$ac_exeext conftest.$ac_ext 34109LIBS=$ac_check_lib_save_LIBS 34110fi 34111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34112$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34113if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34114 ac_cv_libuna_dummy=yes 34115else 34116 ac_cv_libuna=no 34117fi 34118 34119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34120$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34121if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34122 $as_echo_n "(cached) " >&6 34123else 34124 ac_check_lib_save_LIBS=$LIBS 34125LIBS="-luna $LIBS" 34126cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34127/* end confdefs.h. */ 34128 34129/* Override any GCC internal prototype to avoid an error. 34130 Use char because int might match the return type of a GCC 34131 builtin and then its argument prototype would still apply. */ 34132#ifdef __cplusplus 34133extern "C" 34134#endif 34135char libuna_utf16_string_copy_from_scsu_stream (); 34136int 34137main () 34138{ 34139return libuna_utf16_string_copy_from_scsu_stream (); 34140 ; 34141 return 0; 34142} 34143_ACEOF 34144if ac_fn_c_try_link "$LINENO"; then : 34145 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34146else 34147 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34148fi 34149rm -f core conftest.err conftest.$ac_objext \ 34150 conftest$ac_exeext conftest.$ac_ext 34151LIBS=$ac_check_lib_save_LIBS 34152fi 34153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34154$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34155if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34156 ac_cv_libuna_dummy=yes 34157else 34158 ac_cv_libuna=no 34159fi 34160 34161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34162$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34163if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_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_utf16_string_with_index_copy_from_scsu_stream (); 34178int 34179main () 34180{ 34181return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34182 ; 34183 return 0; 34184} 34185_ACEOF 34186if ac_fn_c_try_link "$LINENO"; then : 34187 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34188else 34189 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_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_utf16_string_with_index_copy_from_scsu_stream" >&5 34196$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34197if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34198 ac_cv_libuna_dummy=yes 34199else 34200 ac_cv_libuna=no 34201fi 34202 34203 34204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34205$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34206if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34207 $as_echo_n "(cached) " >&6 34208else 34209 ac_check_lib_save_LIBS=$LIBS 34210LIBS="-luna $LIBS" 34211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34212/* end confdefs.h. */ 34213 34214/* Override any GCC internal prototype to avoid an error. 34215 Use char because int might match the return type of a GCC 34216 builtin and then its argument prototype would still apply. */ 34217#ifdef __cplusplus 34218extern "C" 34219#endif 34220char libuna_utf32_string_size_from_byte_stream (); 34221int 34222main () 34223{ 34224return libuna_utf32_string_size_from_byte_stream (); 34225 ; 34226 return 0; 34227} 34228_ACEOF 34229if ac_fn_c_try_link "$LINENO"; then : 34230 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34231else 34232 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34233fi 34234rm -f core conftest.err conftest.$ac_objext \ 34235 conftest$ac_exeext conftest.$ac_ext 34236LIBS=$ac_check_lib_save_LIBS 34237fi 34238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34239$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34240if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34241 ac_cv_libuna_dummy=yes 34242else 34243 ac_cv_libuna=no 34244fi 34245 34246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34247$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34248if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34249 $as_echo_n "(cached) " >&6 34250else 34251 ac_check_lib_save_LIBS=$LIBS 34252LIBS="-luna $LIBS" 34253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34254/* end confdefs.h. */ 34255 34256/* Override any GCC internal prototype to avoid an error. 34257 Use char because int might match the return type of a GCC 34258 builtin and then its argument prototype would still apply. */ 34259#ifdef __cplusplus 34260extern "C" 34261#endif 34262char libuna_utf32_string_copy_from_byte_stream (); 34263int 34264main () 34265{ 34266return libuna_utf32_string_copy_from_byte_stream (); 34267 ; 34268 return 0; 34269} 34270_ACEOF 34271if ac_fn_c_try_link "$LINENO"; then : 34272 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34273else 34274 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34275fi 34276rm -f core conftest.err conftest.$ac_objext \ 34277 conftest$ac_exeext conftest.$ac_ext 34278LIBS=$ac_check_lib_save_LIBS 34279fi 34280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34281$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34282if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34283 ac_cv_libuna_dummy=yes 34284else 34285 ac_cv_libuna=no 34286fi 34287 34288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34289$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34290if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34291 $as_echo_n "(cached) " >&6 34292else 34293 ac_check_lib_save_LIBS=$LIBS 34294LIBS="-luna $LIBS" 34295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34296/* end confdefs.h. */ 34297 34298/* Override any GCC internal prototype to avoid an error. 34299 Use char because int might match the return type of a GCC 34300 builtin and then its argument prototype would still apply. */ 34301#ifdef __cplusplus 34302extern "C" 34303#endif 34304char libuna_utf32_string_with_index_copy_from_byte_stream (); 34305int 34306main () 34307{ 34308return libuna_utf32_string_with_index_copy_from_byte_stream (); 34309 ; 34310 return 0; 34311} 34312_ACEOF 34313if ac_fn_c_try_link "$LINENO"; then : 34314 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34315else 34316 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34317fi 34318rm -f core conftest.err conftest.$ac_objext \ 34319 conftest$ac_exeext conftest.$ac_ext 34320LIBS=$ac_check_lib_save_LIBS 34321fi 34322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34323$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34324if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34325 ac_cv_libuna_dummy=yes 34326else 34327 ac_cv_libuna=no 34328fi 34329 34330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34331$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34332if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34333 $as_echo_n "(cached) " >&6 34334else 34335 ac_check_lib_save_LIBS=$LIBS 34336LIBS="-luna $LIBS" 34337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34338/* end confdefs.h. */ 34339 34340/* Override any GCC internal prototype to avoid an error. 34341 Use char because int might match the return type of a GCC 34342 builtin and then its argument prototype would still apply. */ 34343#ifdef __cplusplus 34344extern "C" 34345#endif 34346char libuna_utf32_string_size_from_utf7_stream (); 34347int 34348main () 34349{ 34350return libuna_utf32_string_size_from_utf7_stream (); 34351 ; 34352 return 0; 34353} 34354_ACEOF 34355if ac_fn_c_try_link "$LINENO"; then : 34356 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34357else 34358 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34359fi 34360rm -f core conftest.err conftest.$ac_objext \ 34361 conftest$ac_exeext conftest.$ac_ext 34362LIBS=$ac_check_lib_save_LIBS 34363fi 34364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34365$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34366if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34367 ac_cv_libuna_dummy=yes 34368else 34369 ac_cv_libuna=no 34370fi 34371 34372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34373$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34374if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34375 $as_echo_n "(cached) " >&6 34376else 34377 ac_check_lib_save_LIBS=$LIBS 34378LIBS="-luna $LIBS" 34379cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34380/* end confdefs.h. */ 34381 34382/* Override any GCC internal prototype to avoid an error. 34383 Use char because int might match the return type of a GCC 34384 builtin and then its argument prototype would still apply. */ 34385#ifdef __cplusplus 34386extern "C" 34387#endif 34388char libuna_utf32_string_copy_from_utf7_stream (); 34389int 34390main () 34391{ 34392return libuna_utf32_string_copy_from_utf7_stream (); 34393 ; 34394 return 0; 34395} 34396_ACEOF 34397if ac_fn_c_try_link "$LINENO"; then : 34398 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34399else 34400 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34401fi 34402rm -f core conftest.err conftest.$ac_objext \ 34403 conftest$ac_exeext conftest.$ac_ext 34404LIBS=$ac_check_lib_save_LIBS 34405fi 34406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34407$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34408if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34409 ac_cv_libuna_dummy=yes 34410else 34411 ac_cv_libuna=no 34412fi 34413 34414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34415$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34416if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34417 $as_echo_n "(cached) " >&6 34418else 34419 ac_check_lib_save_LIBS=$LIBS 34420LIBS="-luna $LIBS" 34421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34422/* end confdefs.h. */ 34423 34424/* Override any GCC internal prototype to avoid an error. 34425 Use char because int might match the return type of a GCC 34426 builtin and then its argument prototype would still apply. */ 34427#ifdef __cplusplus 34428extern "C" 34429#endif 34430char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34431int 34432main () 34433{ 34434return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34435 ; 34436 return 0; 34437} 34438_ACEOF 34439if ac_fn_c_try_link "$LINENO"; then : 34440 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34441else 34442 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34443fi 34444rm -f core conftest.err conftest.$ac_objext \ 34445 conftest$ac_exeext conftest.$ac_ext 34446LIBS=$ac_check_lib_save_LIBS 34447fi 34448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34449$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34450if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34451 ac_cv_libuna_dummy=yes 34452else 34453 ac_cv_libuna=no 34454fi 34455 34456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34457$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34458if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34459 $as_echo_n "(cached) " >&6 34460else 34461 ac_check_lib_save_LIBS=$LIBS 34462LIBS="-luna $LIBS" 34463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34464/* end confdefs.h. */ 34465 34466/* Override any GCC internal prototype to avoid an error. 34467 Use char because int might match the return type of a GCC 34468 builtin and then its argument prototype would still apply. */ 34469#ifdef __cplusplus 34470extern "C" 34471#endif 34472char libuna_utf32_string_size_from_utf8_stream (); 34473int 34474main () 34475{ 34476return libuna_utf32_string_size_from_utf8_stream (); 34477 ; 34478 return 0; 34479} 34480_ACEOF 34481if ac_fn_c_try_link "$LINENO"; then : 34482 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34483else 34484 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34485fi 34486rm -f core conftest.err conftest.$ac_objext \ 34487 conftest$ac_exeext conftest.$ac_ext 34488LIBS=$ac_check_lib_save_LIBS 34489fi 34490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34491$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34492if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34493 ac_cv_libuna_dummy=yes 34494else 34495 ac_cv_libuna=no 34496fi 34497 34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34499$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34500if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34501 $as_echo_n "(cached) " >&6 34502else 34503 ac_check_lib_save_LIBS=$LIBS 34504LIBS="-luna $LIBS" 34505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34506/* end confdefs.h. */ 34507 34508/* Override any GCC internal prototype to avoid an error. 34509 Use char because int might match the return type of a GCC 34510 builtin and then its argument prototype would still apply. */ 34511#ifdef __cplusplus 34512extern "C" 34513#endif 34514char libuna_utf32_string_copy_from_utf8_stream (); 34515int 34516main () 34517{ 34518return libuna_utf32_string_copy_from_utf8_stream (); 34519 ; 34520 return 0; 34521} 34522_ACEOF 34523if ac_fn_c_try_link "$LINENO"; then : 34524 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34525else 34526 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34527fi 34528rm -f core conftest.err conftest.$ac_objext \ 34529 conftest$ac_exeext conftest.$ac_ext 34530LIBS=$ac_check_lib_save_LIBS 34531fi 34532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34533$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34534if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34535 ac_cv_libuna_dummy=yes 34536else 34537 ac_cv_libuna=no 34538fi 34539 34540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34541$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34542if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34543 $as_echo_n "(cached) " >&6 34544else 34545 ac_check_lib_save_LIBS=$LIBS 34546LIBS="-luna $LIBS" 34547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34548/* end confdefs.h. */ 34549 34550/* Override any GCC internal prototype to avoid an error. 34551 Use char because int might match the return type of a GCC 34552 builtin and then its argument prototype would still apply. */ 34553#ifdef __cplusplus 34554extern "C" 34555#endif 34556char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34557int 34558main () 34559{ 34560return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34561 ; 34562 return 0; 34563} 34564_ACEOF 34565if ac_fn_c_try_link "$LINENO"; then : 34566 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34567else 34568 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34569fi 34570rm -f core conftest.err conftest.$ac_objext \ 34571 conftest$ac_exeext conftest.$ac_ext 34572LIBS=$ac_check_lib_save_LIBS 34573fi 34574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34575$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34576if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34577 ac_cv_libuna_dummy=yes 34578else 34579 ac_cv_libuna=no 34580fi 34581 34582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34583$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34584if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34585 $as_echo_n "(cached) " >&6 34586else 34587 ac_check_lib_save_LIBS=$LIBS 34588LIBS="-luna $LIBS" 34589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34590/* end confdefs.h. */ 34591 34592/* Override any GCC internal prototype to avoid an error. 34593 Use char because int might match the return type of a GCC 34594 builtin and then its argument prototype would still apply. */ 34595#ifdef __cplusplus 34596extern "C" 34597#endif 34598char libuna_utf32_string_size_from_utf16_stream (); 34599int 34600main () 34601{ 34602return libuna_utf32_string_size_from_utf16_stream (); 34603 ; 34604 return 0; 34605} 34606_ACEOF 34607if ac_fn_c_try_link "$LINENO"; then : 34608 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34609else 34610 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34611fi 34612rm -f core conftest.err conftest.$ac_objext \ 34613 conftest$ac_exeext conftest.$ac_ext 34614LIBS=$ac_check_lib_save_LIBS 34615fi 34616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34617$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34618if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34619 ac_cv_libuna_dummy=yes 34620else 34621 ac_cv_libuna=no 34622fi 34623 34624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34625$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34626if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34627 $as_echo_n "(cached) " >&6 34628else 34629 ac_check_lib_save_LIBS=$LIBS 34630LIBS="-luna $LIBS" 34631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34632/* end confdefs.h. */ 34633 34634/* Override any GCC internal prototype to avoid an error. 34635 Use char because int might match the return type of a GCC 34636 builtin and then its argument prototype would still apply. */ 34637#ifdef __cplusplus 34638extern "C" 34639#endif 34640char libuna_utf32_string_copy_from_utf16_stream (); 34641int 34642main () 34643{ 34644return libuna_utf32_string_copy_from_utf16_stream (); 34645 ; 34646 return 0; 34647} 34648_ACEOF 34649if ac_fn_c_try_link "$LINENO"; then : 34650 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34651else 34652 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34653fi 34654rm -f core conftest.err conftest.$ac_objext \ 34655 conftest$ac_exeext conftest.$ac_ext 34656LIBS=$ac_check_lib_save_LIBS 34657fi 34658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34659$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34660if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34661 ac_cv_libuna_dummy=yes 34662else 34663 ac_cv_libuna=no 34664fi 34665 34666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34667$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34668if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34669 $as_echo_n "(cached) " >&6 34670else 34671 ac_check_lib_save_LIBS=$LIBS 34672LIBS="-luna $LIBS" 34673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34674/* end confdefs.h. */ 34675 34676/* Override any GCC internal prototype to avoid an error. 34677 Use char because int might match the return type of a GCC 34678 builtin and then its argument prototype would still apply. */ 34679#ifdef __cplusplus 34680extern "C" 34681#endif 34682char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34683int 34684main () 34685{ 34686return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34687 ; 34688 return 0; 34689} 34690_ACEOF 34691if ac_fn_c_try_link "$LINENO"; then : 34692 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34693else 34694 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34695fi 34696rm -f core conftest.err conftest.$ac_objext \ 34697 conftest$ac_exeext conftest.$ac_ext 34698LIBS=$ac_check_lib_save_LIBS 34699fi 34700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34701$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34702if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34703 ac_cv_libuna_dummy=yes 34704else 34705 ac_cv_libuna=no 34706fi 34707 34708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34709$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34710if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34711 $as_echo_n "(cached) " >&6 34712else 34713 ac_check_lib_save_LIBS=$LIBS 34714LIBS="-luna $LIBS" 34715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34716/* end confdefs.h. */ 34717 34718/* Override any GCC internal prototype to avoid an error. 34719 Use char because int might match the return type of a GCC 34720 builtin and then its argument prototype would still apply. */ 34721#ifdef __cplusplus 34722extern "C" 34723#endif 34724char libuna_utf32_string_size_from_utf32_stream (); 34725int 34726main () 34727{ 34728return libuna_utf32_string_size_from_utf32_stream (); 34729 ; 34730 return 0; 34731} 34732_ACEOF 34733if ac_fn_c_try_link "$LINENO"; then : 34734 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34735else 34736 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34737fi 34738rm -f core conftest.err conftest.$ac_objext \ 34739 conftest$ac_exeext conftest.$ac_ext 34740LIBS=$ac_check_lib_save_LIBS 34741fi 34742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34743$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34744if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34745 ac_cv_libuna_dummy=yes 34746else 34747 ac_cv_libuna=no 34748fi 34749 34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34751$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34752if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34753 $as_echo_n "(cached) " >&6 34754else 34755 ac_check_lib_save_LIBS=$LIBS 34756LIBS="-luna $LIBS" 34757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34758/* end confdefs.h. */ 34759 34760/* Override any GCC internal prototype to avoid an error. 34761 Use char because int might match the return type of a GCC 34762 builtin and then its argument prototype would still apply. */ 34763#ifdef __cplusplus 34764extern "C" 34765#endif 34766char libuna_utf32_string_copy_from_utf32_stream (); 34767int 34768main () 34769{ 34770return libuna_utf32_string_copy_from_utf32_stream (); 34771 ; 34772 return 0; 34773} 34774_ACEOF 34775if ac_fn_c_try_link "$LINENO"; then : 34776 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34777else 34778 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34779fi 34780rm -f core conftest.err conftest.$ac_objext \ 34781 conftest$ac_exeext conftest.$ac_ext 34782LIBS=$ac_check_lib_save_LIBS 34783fi 34784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34785$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34786if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34787 ac_cv_libuna_dummy=yes 34788else 34789 ac_cv_libuna=no 34790fi 34791 34792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34793$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34794if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34795 $as_echo_n "(cached) " >&6 34796else 34797 ac_check_lib_save_LIBS=$LIBS 34798LIBS="-luna $LIBS" 34799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34800/* end confdefs.h. */ 34801 34802/* Override any GCC internal prototype to avoid an error. 34803 Use char because int might match the return type of a GCC 34804 builtin and then its argument prototype would still apply. */ 34805#ifdef __cplusplus 34806extern "C" 34807#endif 34808char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34809int 34810main () 34811{ 34812return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34813 ; 34814 return 0; 34815} 34816_ACEOF 34817if ac_fn_c_try_link "$LINENO"; then : 34818 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34819else 34820 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34821fi 34822rm -f core conftest.err conftest.$ac_objext \ 34823 conftest$ac_exeext conftest.$ac_ext 34824LIBS=$ac_check_lib_save_LIBS 34825fi 34826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34827$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34828if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34829 ac_cv_libuna_dummy=yes 34830else 34831 ac_cv_libuna=no 34832fi 34833 34834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34835$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34836if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34837 $as_echo_n "(cached) " >&6 34838else 34839 ac_check_lib_save_LIBS=$LIBS 34840LIBS="-luna $LIBS" 34841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34842/* end confdefs.h. */ 34843 34844/* Override any GCC internal prototype to avoid an error. 34845 Use char because int might match the return type of a GCC 34846 builtin and then its argument prototype would still apply. */ 34847#ifdef __cplusplus 34848extern "C" 34849#endif 34850char libuna_utf32_string_size_from_utf8 (); 34851int 34852main () 34853{ 34854return libuna_utf32_string_size_from_utf8 (); 34855 ; 34856 return 0; 34857} 34858_ACEOF 34859if ac_fn_c_try_link "$LINENO"; then : 34860 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34861else 34862 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34863fi 34864rm -f core conftest.err conftest.$ac_objext \ 34865 conftest$ac_exeext conftest.$ac_ext 34866LIBS=$ac_check_lib_save_LIBS 34867fi 34868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34869$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34870if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34871 ac_cv_libuna_dummy=yes 34872else 34873 ac_cv_libuna=no 34874fi 34875 34876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34877$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34878if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34879 $as_echo_n "(cached) " >&6 34880else 34881 ac_check_lib_save_LIBS=$LIBS 34882LIBS="-luna $LIBS" 34883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34884/* end confdefs.h. */ 34885 34886/* Override any GCC internal prototype to avoid an error. 34887 Use char because int might match the return type of a GCC 34888 builtin and then its argument prototype would still apply. */ 34889#ifdef __cplusplus 34890extern "C" 34891#endif 34892char libuna_utf32_string_copy_from_utf8 (); 34893int 34894main () 34895{ 34896return libuna_utf32_string_copy_from_utf8 (); 34897 ; 34898 return 0; 34899} 34900_ACEOF 34901if ac_fn_c_try_link "$LINENO"; then : 34902 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34903else 34904 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34905fi 34906rm -f core conftest.err conftest.$ac_objext \ 34907 conftest$ac_exeext conftest.$ac_ext 34908LIBS=$ac_check_lib_save_LIBS 34909fi 34910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34911$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34912if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34913 ac_cv_libuna_dummy=yes 34914else 34915 ac_cv_libuna=no 34916fi 34917 34918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34919$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34920if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34921 $as_echo_n "(cached) " >&6 34922else 34923 ac_check_lib_save_LIBS=$LIBS 34924LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34926/* end confdefs.h. */ 34927 34928/* Override any GCC internal prototype to avoid an error. 34929 Use char because int might match the return type of a GCC 34930 builtin and then its argument prototype would still apply. */ 34931#ifdef __cplusplus 34932extern "C" 34933#endif 34934char ac_cv_libuna_dummy=yes (); 34935int 34936main () 34937{ 34938return ac_cv_libuna_dummy=yes (); 34939 ; 34940 return 0; 34941} 34942_ACEOF 34943if ac_fn_c_try_link "$LINENO"; then : 34944 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34945else 34946 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34947fi 34948rm -f core conftest.err conftest.$ac_objext \ 34949 conftest$ac_exeext conftest.$ac_ext 34950LIBS=$ac_check_lib_save_LIBS 34951fi 34952{ $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 34953$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34954if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34955 ac_cv_libuna=no 34956fi 34957 34958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34959$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34960if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34961 $as_echo_n "(cached) " >&6 34962else 34963 ac_check_lib_save_LIBS=$LIBS 34964LIBS="-luna $LIBS" 34965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34966/* end confdefs.h. */ 34967 34968/* Override any GCC internal prototype to avoid an error. 34969 Use char because int might match the return type of a GCC 34970 builtin and then its argument prototype would still apply. */ 34971#ifdef __cplusplus 34972extern "C" 34973#endif 34974char libuna_utf32_string_size_from_utf16 (); 34975int 34976main () 34977{ 34978return libuna_utf32_string_size_from_utf16 (); 34979 ; 34980 return 0; 34981} 34982_ACEOF 34983if ac_fn_c_try_link "$LINENO"; then : 34984 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 34985else 34986 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 34987fi 34988rm -f core conftest.err conftest.$ac_objext \ 34989 conftest$ac_exeext conftest.$ac_ext 34990LIBS=$ac_check_lib_save_LIBS 34991fi 34992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 34993$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 34994if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 34995 ac_cv_libuna_dummy=yes 34996else 34997 ac_cv_libuna=no 34998fi 34999 35000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 35001$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 35002if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 35003 $as_echo_n "(cached) " >&6 35004else 35005 ac_check_lib_save_LIBS=$LIBS 35006LIBS="-luna $LIBS" 35007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35008/* end confdefs.h. */ 35009 35010/* Override any GCC internal prototype to avoid an error. 35011 Use char because int might match the return type of a GCC 35012 builtin and then its argument prototype would still apply. */ 35013#ifdef __cplusplus 35014extern "C" 35015#endif 35016char libuna_utf32_string_copy_from_utf16 (); 35017int 35018main () 35019{ 35020return libuna_utf32_string_copy_from_utf16 (); 35021 ; 35022 return 0; 35023} 35024_ACEOF 35025if ac_fn_c_try_link "$LINENO"; then : 35026 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 35027else 35028 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 35029fi 35030rm -f core conftest.err conftest.$ac_objext \ 35031 conftest$ac_exeext conftest.$ac_ext 35032LIBS=$ac_check_lib_save_LIBS 35033fi 35034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 35035$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 35036if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 35037 ac_cv_libuna_dummy=yes 35038else 35039 ac_cv_libuna=no 35040fi 35041 35042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35043$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35044if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35045 $as_echo_n "(cached) " >&6 35046else 35047 ac_check_lib_save_LIBS=$LIBS 35048LIBS="-luna $LIBS" 35049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35050/* end confdefs.h. */ 35051 35052/* Override any GCC internal prototype to avoid an error. 35053 Use char because int might match the return type of a GCC 35054 builtin and then its argument prototype would still apply. */ 35055#ifdef __cplusplus 35056extern "C" 35057#endif 35058char libuna_utf32_string_with_index_copy_from_utf16 (); 35059int 35060main () 35061{ 35062return libuna_utf32_string_with_index_copy_from_utf16 (); 35063 ; 35064 return 0; 35065} 35066_ACEOF 35067if ac_fn_c_try_link "$LINENO"; then : 35068 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35069else 35070 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35071fi 35072rm -f core conftest.err conftest.$ac_objext \ 35073 conftest$ac_exeext conftest.$ac_ext 35074LIBS=$ac_check_lib_save_LIBS 35075fi 35076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35077$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35078if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35079 ac_cv_libuna_dummy=yes 35080else 35081 ac_cv_libuna=no 35082fi 35083 35084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35085$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35086if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35087 $as_echo_n "(cached) " >&6 35088else 35089 ac_check_lib_save_LIBS=$LIBS 35090LIBS="-luna $LIBS" 35091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35092/* end confdefs.h. */ 35093 35094/* Override any GCC internal prototype to avoid an error. 35095 Use char because int might match the return type of a GCC 35096 builtin and then its argument prototype would still apply. */ 35097#ifdef __cplusplus 35098extern "C" 35099#endif 35100char libuna_utf32_string_size_from_scsu_stream (); 35101int 35102main () 35103{ 35104return libuna_utf32_string_size_from_scsu_stream (); 35105 ; 35106 return 0; 35107} 35108_ACEOF 35109if ac_fn_c_try_link "$LINENO"; then : 35110 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35111else 35112 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35113fi 35114rm -f core conftest.err conftest.$ac_objext \ 35115 conftest$ac_exeext conftest.$ac_ext 35116LIBS=$ac_check_lib_save_LIBS 35117fi 35118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35119$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35120if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35121 ac_cv_libuna_dummy=yes 35122else 35123 ac_cv_libuna=no 35124fi 35125 35126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35127$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35128if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35129 $as_echo_n "(cached) " >&6 35130else 35131 ac_check_lib_save_LIBS=$LIBS 35132LIBS="-luna $LIBS" 35133cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35134/* end confdefs.h. */ 35135 35136/* Override any GCC internal prototype to avoid an error. 35137 Use char because int might match the return type of a GCC 35138 builtin and then its argument prototype would still apply. */ 35139#ifdef __cplusplus 35140extern "C" 35141#endif 35142char libuna_utf32_string_copy_from_scsu_stream (); 35143int 35144main () 35145{ 35146return libuna_utf32_string_copy_from_scsu_stream (); 35147 ; 35148 return 0; 35149} 35150_ACEOF 35151if ac_fn_c_try_link "$LINENO"; then : 35152 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35153else 35154 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35155fi 35156rm -f core conftest.err conftest.$ac_objext \ 35157 conftest$ac_exeext conftest.$ac_ext 35158LIBS=$ac_check_lib_save_LIBS 35159fi 35160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35161$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35162if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35163 ac_cv_libuna_dummy=yes 35164else 35165 ac_cv_libuna=no 35166fi 35167 35168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35169$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35170if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35171 $as_echo_n "(cached) " >&6 35172else 35173 ac_check_lib_save_LIBS=$LIBS 35174LIBS="-luna $LIBS" 35175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35176/* end confdefs.h. */ 35177 35178/* Override any GCC internal prototype to avoid an error. 35179 Use char because int might match the return type of a GCC 35180 builtin and then its argument prototype would still apply. */ 35181#ifdef __cplusplus 35182extern "C" 35183#endif 35184char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35185int 35186main () 35187{ 35188return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35189 ; 35190 return 0; 35191} 35192_ACEOF 35193if ac_fn_c_try_link "$LINENO"; then : 35194 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35195else 35196 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35197fi 35198rm -f core conftest.err conftest.$ac_objext \ 35199 conftest$ac_exeext conftest.$ac_ext 35200LIBS=$ac_check_lib_save_LIBS 35201fi 35202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35203$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35204if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35205 ac_cv_libuna_dummy=yes 35206else 35207 ac_cv_libuna=no 35208fi 35209 35210 35211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35212$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35213if ${ac_cv_libuna_defines_compare_less+:} false; then : 35214 $as_echo_n "(cached) " >&6 35215else 35216 ac_ext=c 35217ac_cpp='$CPP $CPPFLAGS' 35218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35220ac_compiler_gnu=$ac_cv_c_compiler_gnu 35221 35222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35223/* end confdefs.h. */ 35224#include <libuna.h> 35225int 35226main () 35227{ 35228int test = LIBUNA_COMPARE_LESS; 35229 35230return( 0 ); 35231 ; 35232 return 0; 35233} 35234_ACEOF 35235if ac_fn_c_try_link "$LINENO"; then : 35236 ac_cv_libuna_defines_compare_less=yes 35237else 35238 ac_cv_libuna_defines_compare_less=no 35239fi 35240rm -f core conftest.err conftest.$ac_objext \ 35241 conftest$ac_exeext conftest.$ac_ext 35242 ac_ext=c 35243ac_cpp='$CPP $CPPFLAGS' 35244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35246ac_compiler_gnu=$ac_cv_c_compiler_gnu 35247 35248fi 35249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35250$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35251 35252 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35253 ac_cv_libuna=no 35254fi 35255 35256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35257$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35258if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35259 $as_echo_n "(cached) " >&6 35260else 35261 ac_ext=c 35262ac_cpp='$CPP $CPPFLAGS' 35263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35265ac_compiler_gnu=$ac_cv_c_compiler_gnu 35266 35267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35268/* end confdefs.h. */ 35269#include <libuna.h> 35270int 35271main () 35272{ 35273int test = LIBUNA_COMPARE_EQUAL; 35274 35275return( 0 ); 35276 ; 35277 return 0; 35278} 35279_ACEOF 35280if ac_fn_c_try_link "$LINENO"; then : 35281 ac_cv_libuna_defines_compare_equal=yes 35282else 35283 ac_cv_libuna_defines_compare_equal=no 35284fi 35285rm -f core conftest.err conftest.$ac_objext \ 35286 conftest$ac_exeext conftest.$ac_ext 35287 ac_ext=c 35288ac_cpp='$CPP $CPPFLAGS' 35289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35291ac_compiler_gnu=$ac_cv_c_compiler_gnu 35292 35293fi 35294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35295$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35296 35297 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35298 ac_cv_libuna=no 35299fi 35300 35301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35302$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35303if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35304 $as_echo_n "(cached) " >&6 35305else 35306 ac_ext=c 35307ac_cpp='$CPP $CPPFLAGS' 35308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35310ac_compiler_gnu=$ac_cv_c_compiler_gnu 35311 35312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35313/* end confdefs.h. */ 35314#include <libuna.h> 35315int 35316main () 35317{ 35318int test = LIBUNA_COMPARE_GREATER; 35319 35320return( 0 ); 35321 ; 35322 return 0; 35323} 35324_ACEOF 35325if ac_fn_c_try_link "$LINENO"; then : 35326 ac_cv_libuna_defines_compare_greater=yes 35327else 35328 ac_cv_libuna_defines_compare_greater=no 35329fi 35330rm -f core conftest.err conftest.$ac_objext \ 35331 conftest$ac_exeext conftest.$ac_ext 35332 ac_ext=c 35333ac_cpp='$CPP $CPPFLAGS' 35334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35336ac_compiler_gnu=$ac_cv_c_compiler_gnu 35337 35338fi 35339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35340$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35341 35342 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35343 ac_cv_libuna=no 35344fi 35345 35346 ac_cv_libuna_LIBADD="-luna" 35347fi 35348 35349fi 35350 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35352$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35353as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35354See \`config.log' for more details" "$LINENO" 5; } 35355 35356fi 35357 35358fi 35359 35360 if test "x$ac_cv_libuna" = xyes; then : 35361 35362$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35363 35364 35365fi 35366 35367 if test "x$ac_cv_libuna" = xyes; then : 35368 HAVE_LIBUNA=1 35369 35370else 35371 HAVE_LIBUNA=0 35372 35373 35374fi 35375 35376 35377 if test "x$ac_cv_libuna" != xyes; then : 35378 35379 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35380 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35381 35382 ac_cv_libuna=local 35383 35384 35385 35386$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35387 35388 HAVE_LOCAL_LIBUNA=1 35389 35390 35391fi 35392 35393 if test "x$ac_cv_libuna" = xlocal; then 35394 HAVE_LOCAL_LIBUNA_TRUE= 35395 HAVE_LOCAL_LIBUNA_FALSE='#' 35396else 35397 HAVE_LOCAL_LIBUNA_TRUE='#' 35398 HAVE_LOCAL_LIBUNA_FALSE= 35399fi 35400 35401 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35402 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35403 35404 35405fi 35406 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35407 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35408 35409 35410fi 35411 35412 if test "x$ac_cv_libuna" = xyes; then : 35413 ax_libuna_pc_libs_private=-luna 35414 35415 35416fi 35417 35418 if test "x$ac_cv_libuna" = xyes; then : 35419 ax_libuna_spec_requires=libuna 35420 35421 ax_libuna_spec_build_requires=libuna-devel 35422 35423 35424fi 35425 35426 35427 35428 35429# Check whether --with-libcfile was given. 35430if test "${with_libcfile+set}" = set; then : 35431 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35432else 35433 ac_cv_with_libcfile=auto-detect 35434fi 35435 35436 { $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 35437$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; } 35438if ${ac_cv_with_libcfile+:} false; then : 35439 $as_echo_n "(cached) " >&6 35440else 35441 ac_cv_with_libcfile=auto-detect 35442fi 35443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35444$as_echo "$ac_cv_with_libcfile" >&6; } 35445 35446 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35447 ac_cv_libcfile=no 35448else 35449 ac_cv_libcfile=check 35450 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35451 if test -d "$ac_cv_with_libcfile"; then : 35452 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35453 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35454else 35455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35457as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35458See \`config.log' for more details" "$LINENO" 5; } 35459 35460fi 35461 35462else 35463 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35464 35465pkg_failed=no 35466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35467$as_echo_n "checking for libcfile... " >&6; } 35468 35469if test -n "$libcfile_CFLAGS"; then 35470 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35471 elif test -n "$PKG_CONFIG"; then 35472 if test -n "$PKG_CONFIG" && \ 35473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35474 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35475 ac_status=$? 35476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35477 test $ac_status = 0; }; then 35478 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35479 test "x$?" != "x0" && pkg_failed=yes 35480else 35481 pkg_failed=yes 35482fi 35483 else 35484 pkg_failed=untried 35485fi 35486if test -n "$libcfile_LIBS"; then 35487 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35488 elif test -n "$PKG_CONFIG"; then 35489 if test -n "$PKG_CONFIG" && \ 35490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35491 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35492 ac_status=$? 35493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35494 test $ac_status = 0; }; then 35495 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35496 test "x$?" != "x0" && pkg_failed=yes 35497else 35498 pkg_failed=yes 35499fi 35500 else 35501 pkg_failed=untried 35502fi 35503 35504 35505 35506if test $pkg_failed = yes; then 35507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35508$as_echo "no" >&6; } 35509 35510if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35511 _pkg_short_errors_supported=yes 35512else 35513 _pkg_short_errors_supported=no 35514fi 35515 if test $_pkg_short_errors_supported = yes; then 35516 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35517 else 35518 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35519 fi 35520 # Put the nasty error message in config.log where it belongs 35521 echo "$libcfile_PKG_ERRORS" >&5 35522 35523 ac_cv_libcfile=check 35524elif test $pkg_failed = untried; then 35525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35526$as_echo "no" >&6; } 35527 ac_cv_libcfile=check 35528else 35529 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35530 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35532$as_echo "yes" >&6; } 35533 ac_cv_libcfile=yes 35534fi 35535 35536fi 35537 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35539$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35540if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35541 $as_echo_n "(cached) " >&6 35542else 35543 ac_ext=c 35544ac_cpp='$CPP $CPPFLAGS' 35545ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35546ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35547ac_compiler_gnu=$ac_cv_c_compiler_gnu 35548 35549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35550/* end confdefs.h. */ 35551#include <libcfile/features.h> 35552int 35553main () 35554{ 35555#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35556#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35557#endif 35558 ; 35559 return 0; 35560} 35561_ACEOF 35562if ac_fn_c_try_compile "$LINENO"; then : 35563 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35564else 35565 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35566fi 35567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35568 ac_ext=c 35569ac_cpp='$CPP $CPPFLAGS' 35570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35572ac_compiler_gnu=$ac_cv_c_compiler_gnu 35573 35574fi 35575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35576$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35577 35578 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35579 ac_cv_libcfile=no 35580fi 35581 35582fi 35583 if test "x$ac_cv_libcfile" = xyes; then : 35584 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35585 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35586fi 35587 35588fi 35589 35590 if test "x$ac_cv_libcfile" = xcheck; then : 35591 for ac_header in libcfile.h 35592do : 35593 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35594if test "x$ac_cv_header_libcfile_h" = xyes; then : 35595 cat >>confdefs.h <<_ACEOF 35596#define HAVE_LIBCFILE_H 1 35597_ACEOF 35598 35599fi 35600 35601done 35602 35603 35604 if test "x$ac_cv_header_libcfile_h" = xno; then : 35605 ac_cv_libcfile=no 35606else 35607 ac_cv_libcfile=yes 35608 35609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35610$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35611if ${ac_cv_lib_cfile_libcfile_get_version+:} 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_get_version (); 35626int 35627main () 35628{ 35629return libcfile_get_version (); 35630 ; 35631 return 0; 35632} 35633_ACEOF 35634if ac_fn_c_try_link "$LINENO"; then : 35635 ac_cv_lib_cfile_libcfile_get_version=yes 35636else 35637 ac_cv_lib_cfile_libcfile_get_version=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_get_version" >&5 35644$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35645if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35646 ac_cv_libcfile_dummy=yes 35647else 35648 ac_cv_libcfile=no 35649fi 35650 35651 35652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35653$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35654if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35655 $as_echo_n "(cached) " >&6 35656else 35657 ac_check_lib_save_LIBS=$LIBS 35658LIBS="-lcfile $LIBS" 35659cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35660/* end confdefs.h. */ 35661 35662/* Override any GCC internal prototype to avoid an error. 35663 Use char because int might match the return type of a GCC 35664 builtin and then its argument prototype would still apply. */ 35665#ifdef __cplusplus 35666extern "C" 35667#endif 35668char libcfile_file_initialize (); 35669int 35670main () 35671{ 35672return libcfile_file_initialize (); 35673 ; 35674 return 0; 35675} 35676_ACEOF 35677if ac_fn_c_try_link "$LINENO"; then : 35678 ac_cv_lib_cfile_libcfile_file_initialize=yes 35679else 35680 ac_cv_lib_cfile_libcfile_file_initialize=no 35681fi 35682rm -f core conftest.err conftest.$ac_objext \ 35683 conftest$ac_exeext conftest.$ac_ext 35684LIBS=$ac_check_lib_save_LIBS 35685fi 35686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35687$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35688if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35689 ac_cv_libcfile_dummy=yes 35690else 35691 ac_cv_libcfile=no 35692fi 35693 35694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35695$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35696if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35697 $as_echo_n "(cached) " >&6 35698else 35699 ac_check_lib_save_LIBS=$LIBS 35700LIBS="-lcfile $LIBS" 35701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35702/* end confdefs.h. */ 35703 35704/* Override any GCC internal prototype to avoid an error. 35705 Use char because int might match the return type of a GCC 35706 builtin and then its argument prototype would still apply. */ 35707#ifdef __cplusplus 35708extern "C" 35709#endif 35710char libcfile_file_free (); 35711int 35712main () 35713{ 35714return libcfile_file_free (); 35715 ; 35716 return 0; 35717} 35718_ACEOF 35719if ac_fn_c_try_link "$LINENO"; then : 35720 ac_cv_lib_cfile_libcfile_file_free=yes 35721else 35722 ac_cv_lib_cfile_libcfile_file_free=no 35723fi 35724rm -f core conftest.err conftest.$ac_objext \ 35725 conftest$ac_exeext conftest.$ac_ext 35726LIBS=$ac_check_lib_save_LIBS 35727fi 35728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35729$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35730if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35731 ac_cv_libcfile_dummy=yes 35732else 35733 ac_cv_libcfile=no 35734fi 35735 35736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35737$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35738if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35739 $as_echo_n "(cached) " >&6 35740else 35741 ac_check_lib_save_LIBS=$LIBS 35742LIBS="-lcfile $LIBS" 35743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35744/* end confdefs.h. */ 35745 35746/* Override any GCC internal prototype to avoid an error. 35747 Use char because int might match the return type of a GCC 35748 builtin and then its argument prototype would still apply. */ 35749#ifdef __cplusplus 35750extern "C" 35751#endif 35752char libcfile_file_open (); 35753int 35754main () 35755{ 35756return libcfile_file_open (); 35757 ; 35758 return 0; 35759} 35760_ACEOF 35761if ac_fn_c_try_link "$LINENO"; then : 35762 ac_cv_lib_cfile_libcfile_file_open=yes 35763else 35764 ac_cv_lib_cfile_libcfile_file_open=no 35765fi 35766rm -f core conftest.err conftest.$ac_objext \ 35767 conftest$ac_exeext conftest.$ac_ext 35768LIBS=$ac_check_lib_save_LIBS 35769fi 35770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35771$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35772if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35773 ac_cv_libcfile_dummy=yes 35774else 35775 ac_cv_libcfile=no 35776fi 35777 35778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35779$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35780if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35781 $as_echo_n "(cached) " >&6 35782else 35783 ac_check_lib_save_LIBS=$LIBS 35784LIBS="-lcfile $LIBS" 35785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35786/* end confdefs.h. */ 35787 35788/* Override any GCC internal prototype to avoid an error. 35789 Use char because int might match the return type of a GCC 35790 builtin and then its argument prototype would still apply. */ 35791#ifdef __cplusplus 35792extern "C" 35793#endif 35794char libcfile_file_open_with_error_code (); 35795int 35796main () 35797{ 35798return libcfile_file_open_with_error_code (); 35799 ; 35800 return 0; 35801} 35802_ACEOF 35803if ac_fn_c_try_link "$LINENO"; then : 35804 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35805else 35806 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35807fi 35808rm -f core conftest.err conftest.$ac_objext \ 35809 conftest$ac_exeext conftest.$ac_ext 35810LIBS=$ac_check_lib_save_LIBS 35811fi 35812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35813$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35814if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35815 ac_cv_libcfile_dummy=yes 35816else 35817 ac_cv_libcfile=no 35818fi 35819 35820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35821$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35822if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35823 $as_echo_n "(cached) " >&6 35824else 35825 ac_check_lib_save_LIBS=$LIBS 35826LIBS="-lcfile $LIBS" 35827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35828/* end confdefs.h. */ 35829 35830/* Override any GCC internal prototype to avoid an error. 35831 Use char because int might match the return type of a GCC 35832 builtin and then its argument prototype would still apply. */ 35833#ifdef __cplusplus 35834extern "C" 35835#endif 35836char libcfile_file_close (); 35837int 35838main () 35839{ 35840return libcfile_file_close (); 35841 ; 35842 return 0; 35843} 35844_ACEOF 35845if ac_fn_c_try_link "$LINENO"; then : 35846 ac_cv_lib_cfile_libcfile_file_close=yes 35847else 35848 ac_cv_lib_cfile_libcfile_file_close=no 35849fi 35850rm -f core conftest.err conftest.$ac_objext \ 35851 conftest$ac_exeext conftest.$ac_ext 35852LIBS=$ac_check_lib_save_LIBS 35853fi 35854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35855$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35856if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35857 ac_cv_libcfile_dummy=yes 35858else 35859 ac_cv_libcfile=no 35860fi 35861 35862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35863$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35864if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35865 $as_echo_n "(cached) " >&6 35866else 35867 ac_check_lib_save_LIBS=$LIBS 35868LIBS="-lcfile $LIBS" 35869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35870/* end confdefs.h. */ 35871 35872/* Override any GCC internal prototype to avoid an error. 35873 Use char because int might match the return type of a GCC 35874 builtin and then its argument prototype would still apply. */ 35875#ifdef __cplusplus 35876extern "C" 35877#endif 35878char libcfile_file_read_buffer (); 35879int 35880main () 35881{ 35882return libcfile_file_read_buffer (); 35883 ; 35884 return 0; 35885} 35886_ACEOF 35887if ac_fn_c_try_link "$LINENO"; then : 35888 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35889else 35890 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35891fi 35892rm -f core conftest.err conftest.$ac_objext \ 35893 conftest$ac_exeext conftest.$ac_ext 35894LIBS=$ac_check_lib_save_LIBS 35895fi 35896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35897$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35898if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35899 ac_cv_libcfile_dummy=yes 35900else 35901 ac_cv_libcfile=no 35902fi 35903 35904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35905$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35906if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35907 $as_echo_n "(cached) " >&6 35908else 35909 ac_check_lib_save_LIBS=$LIBS 35910LIBS="-lcfile $LIBS" 35911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35912/* end confdefs.h. */ 35913 35914/* Override any GCC internal prototype to avoid an error. 35915 Use char because int might match the return type of a GCC 35916 builtin and then its argument prototype would still apply. */ 35917#ifdef __cplusplus 35918extern "C" 35919#endif 35920char libcfile_file_read_buffer_with_error_code (); 35921int 35922main () 35923{ 35924return libcfile_file_read_buffer_with_error_code (); 35925 ; 35926 return 0; 35927} 35928_ACEOF 35929if ac_fn_c_try_link "$LINENO"; then : 35930 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35931else 35932 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35933fi 35934rm -f core conftest.err conftest.$ac_objext \ 35935 conftest$ac_exeext conftest.$ac_ext 35936LIBS=$ac_check_lib_save_LIBS 35937fi 35938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35939$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35940if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35941 ac_cv_libcfile_dummy=yes 35942else 35943 ac_cv_libcfile=no 35944fi 35945 35946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35947$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35948if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35949 $as_echo_n "(cached) " >&6 35950else 35951 ac_check_lib_save_LIBS=$LIBS 35952LIBS="-lcfile $LIBS" 35953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35954/* end confdefs.h. */ 35955 35956/* Override any GCC internal prototype to avoid an error. 35957 Use char because int might match the return type of a GCC 35958 builtin and then its argument prototype would still apply. */ 35959#ifdef __cplusplus 35960extern "C" 35961#endif 35962char libcfile_file_write_buffer (); 35963int 35964main () 35965{ 35966return libcfile_file_write_buffer (); 35967 ; 35968 return 0; 35969} 35970_ACEOF 35971if ac_fn_c_try_link "$LINENO"; then : 35972 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 35973else 35974 ac_cv_lib_cfile_libcfile_file_write_buffer=no 35975fi 35976rm -f core conftest.err conftest.$ac_objext \ 35977 conftest$ac_exeext conftest.$ac_ext 35978LIBS=$ac_check_lib_save_LIBS 35979fi 35980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 35981$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 35982if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 35983 ac_cv_libcfile_dummy=yes 35984else 35985 ac_cv_libcfile=no 35986fi 35987 35988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 35989$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 35990if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 35991 $as_echo_n "(cached) " >&6 35992else 35993 ac_check_lib_save_LIBS=$LIBS 35994LIBS="-lcfile $LIBS" 35995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35996/* end confdefs.h. */ 35997 35998/* Override any GCC internal prototype to avoid an error. 35999 Use char because int might match the return type of a GCC 36000 builtin and then its argument prototype would still apply. */ 36001#ifdef __cplusplus 36002extern "C" 36003#endif 36004char libcfile_file_write_buffer_with_error_code (); 36005int 36006main () 36007{ 36008return libcfile_file_write_buffer_with_error_code (); 36009 ; 36010 return 0; 36011} 36012_ACEOF 36013if ac_fn_c_try_link "$LINENO"; then : 36014 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 36015else 36016 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 36017fi 36018rm -f core conftest.err conftest.$ac_objext \ 36019 conftest$ac_exeext conftest.$ac_ext 36020LIBS=$ac_check_lib_save_LIBS 36021fi 36022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 36023$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 36024if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 36025 ac_cv_libcfile_dummy=yes 36026else 36027 ac_cv_libcfile=no 36028fi 36029 36030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 36031$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 36032if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 36033 $as_echo_n "(cached) " >&6 36034else 36035 ac_check_lib_save_LIBS=$LIBS 36036LIBS="-lcfile $LIBS" 36037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36038/* end confdefs.h. */ 36039 36040/* Override any GCC internal prototype to avoid an error. 36041 Use char because int might match the return type of a GCC 36042 builtin and then its argument prototype would still apply. */ 36043#ifdef __cplusplus 36044extern "C" 36045#endif 36046char libcfile_file_seek_offset (); 36047int 36048main () 36049{ 36050return libcfile_file_seek_offset (); 36051 ; 36052 return 0; 36053} 36054_ACEOF 36055if ac_fn_c_try_link "$LINENO"; then : 36056 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36057else 36058 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36059fi 36060rm -f core conftest.err conftest.$ac_objext \ 36061 conftest$ac_exeext conftest.$ac_ext 36062LIBS=$ac_check_lib_save_LIBS 36063fi 36064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36065$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36066if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36067 ac_cv_libcfile_dummy=yes 36068else 36069 ac_cv_libcfile=no 36070fi 36071 36072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36073$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36074if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36075 $as_echo_n "(cached) " >&6 36076else 36077 ac_check_lib_save_LIBS=$LIBS 36078LIBS="-lcfile $LIBS" 36079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36080/* end confdefs.h. */ 36081 36082/* Override any GCC internal prototype to avoid an error. 36083 Use char because int might match the return type of a GCC 36084 builtin and then its argument prototype would still apply. */ 36085#ifdef __cplusplus 36086extern "C" 36087#endif 36088char libcfile_file_resize (); 36089int 36090main () 36091{ 36092return libcfile_file_resize (); 36093 ; 36094 return 0; 36095} 36096_ACEOF 36097if ac_fn_c_try_link "$LINENO"; then : 36098 ac_cv_lib_cfile_libcfile_file_resize=yes 36099else 36100 ac_cv_lib_cfile_libcfile_file_resize=no 36101fi 36102rm -f core conftest.err conftest.$ac_objext \ 36103 conftest$ac_exeext conftest.$ac_ext 36104LIBS=$ac_check_lib_save_LIBS 36105fi 36106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36107$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36108if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36109 ac_cv_libcfile_dummy=yes 36110else 36111 ac_cv_libcfile=no 36112fi 36113 36114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36115$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36116if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36117 $as_echo_n "(cached) " >&6 36118else 36119 ac_check_lib_save_LIBS=$LIBS 36120LIBS="-lcfile $LIBS" 36121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36122/* end confdefs.h. */ 36123 36124/* Override any GCC internal prototype to avoid an error. 36125 Use char because int might match the return type of a GCC 36126 builtin and then its argument prototype would still apply. */ 36127#ifdef __cplusplus 36128extern "C" 36129#endif 36130char libcfile_file_is_open (); 36131int 36132main () 36133{ 36134return libcfile_file_is_open (); 36135 ; 36136 return 0; 36137} 36138_ACEOF 36139if ac_fn_c_try_link "$LINENO"; then : 36140 ac_cv_lib_cfile_libcfile_file_is_open=yes 36141else 36142 ac_cv_lib_cfile_libcfile_file_is_open=no 36143fi 36144rm -f core conftest.err conftest.$ac_objext \ 36145 conftest$ac_exeext conftest.$ac_ext 36146LIBS=$ac_check_lib_save_LIBS 36147fi 36148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36149$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36150if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36151 ac_cv_libcfile_dummy=yes 36152else 36153 ac_cv_libcfile=no 36154fi 36155 36156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36157$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36158if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36159 $as_echo_n "(cached) " >&6 36160else 36161 ac_check_lib_save_LIBS=$LIBS 36162LIBS="-lcfile $LIBS" 36163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36164/* end confdefs.h. */ 36165 36166/* Override any GCC internal prototype to avoid an error. 36167 Use char because int might match the return type of a GCC 36168 builtin and then its argument prototype would still apply. */ 36169#ifdef __cplusplus 36170extern "C" 36171#endif 36172char libcfile_file_get_offset (); 36173int 36174main () 36175{ 36176return libcfile_file_get_offset (); 36177 ; 36178 return 0; 36179} 36180_ACEOF 36181if ac_fn_c_try_link "$LINENO"; then : 36182 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36183else 36184 ac_cv_lib_cfile_libcfile_file_get_offset=no 36185fi 36186rm -f core conftest.err conftest.$ac_objext \ 36187 conftest$ac_exeext conftest.$ac_ext 36188LIBS=$ac_check_lib_save_LIBS 36189fi 36190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36191$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36192if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36193 ac_cv_libcfile_dummy=yes 36194else 36195 ac_cv_libcfile=no 36196fi 36197 36198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36199$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36200if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36201 $as_echo_n "(cached) " >&6 36202else 36203 ac_check_lib_save_LIBS=$LIBS 36204LIBS="-lcfile $LIBS" 36205cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36206/* end confdefs.h. */ 36207 36208/* Override any GCC internal prototype to avoid an error. 36209 Use char because int might match the return type of a GCC 36210 builtin and then its argument prototype would still apply. */ 36211#ifdef __cplusplus 36212extern "C" 36213#endif 36214char libcfile_file_get_size (); 36215int 36216main () 36217{ 36218return libcfile_file_get_size (); 36219 ; 36220 return 0; 36221} 36222_ACEOF 36223if ac_fn_c_try_link "$LINENO"; then : 36224 ac_cv_lib_cfile_libcfile_file_get_size=yes 36225else 36226 ac_cv_lib_cfile_libcfile_file_get_size=no 36227fi 36228rm -f core conftest.err conftest.$ac_objext \ 36229 conftest$ac_exeext conftest.$ac_ext 36230LIBS=$ac_check_lib_save_LIBS 36231fi 36232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36233$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36234if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36235 ac_cv_libcfile_dummy=yes 36236else 36237 ac_cv_libcfile=no 36238fi 36239 36240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36241$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36242if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36243 $as_echo_n "(cached) " >&6 36244else 36245 ac_check_lib_save_LIBS=$LIBS 36246LIBS="-lcfile $LIBS" 36247cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36248/* end confdefs.h. */ 36249 36250/* Override any GCC internal prototype to avoid an error. 36251 Use char because int might match the return type of a GCC 36252 builtin and then its argument prototype would still apply. */ 36253#ifdef __cplusplus 36254extern "C" 36255#endif 36256char libcfile_file_is_device (); 36257int 36258main () 36259{ 36260return libcfile_file_is_device (); 36261 ; 36262 return 0; 36263} 36264_ACEOF 36265if ac_fn_c_try_link "$LINENO"; then : 36266 ac_cv_lib_cfile_libcfile_file_is_device=yes 36267else 36268 ac_cv_lib_cfile_libcfile_file_is_device=no 36269fi 36270rm -f core conftest.err conftest.$ac_objext \ 36271 conftest$ac_exeext conftest.$ac_ext 36272LIBS=$ac_check_lib_save_LIBS 36273fi 36274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36275$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36276if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36277 ac_cv_libcfile_dummy=yes 36278else 36279 ac_cv_libcfile=no 36280fi 36281 36282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36283$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36284if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36285 $as_echo_n "(cached) " >&6 36286else 36287 ac_check_lib_save_LIBS=$LIBS 36288LIBS="-lcfile $LIBS" 36289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36290/* end confdefs.h. */ 36291 36292/* Override any GCC internal prototype to avoid an error. 36293 Use char because int might match the return type of a GCC 36294 builtin and then its argument prototype would still apply. */ 36295#ifdef __cplusplus 36296extern "C" 36297#endif 36298char libcfile_file_io_control_read (); 36299int 36300main () 36301{ 36302return libcfile_file_io_control_read (); 36303 ; 36304 return 0; 36305} 36306_ACEOF 36307if ac_fn_c_try_link "$LINENO"; then : 36308 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36309else 36310 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36311fi 36312rm -f core conftest.err conftest.$ac_objext \ 36313 conftest$ac_exeext conftest.$ac_ext 36314LIBS=$ac_check_lib_save_LIBS 36315fi 36316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36317$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36318if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36319 ac_cv_libcfile_dummy=yes 36320else 36321 ac_cv_libcfile=no 36322fi 36323 36324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36325$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36326if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36327 $as_echo_n "(cached) " >&6 36328else 36329 ac_check_lib_save_LIBS=$LIBS 36330LIBS="-lcfile $LIBS" 36331cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36332/* end confdefs.h. */ 36333 36334/* Override any GCC internal prototype to avoid an error. 36335 Use char because int might match the return type of a GCC 36336 builtin and then its argument prototype would still apply. */ 36337#ifdef __cplusplus 36338extern "C" 36339#endif 36340char libcfile_file_io_control_read_with_error_code (); 36341int 36342main () 36343{ 36344return libcfile_file_io_control_read_with_error_code (); 36345 ; 36346 return 0; 36347} 36348_ACEOF 36349if ac_fn_c_try_link "$LINENO"; then : 36350 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36351else 36352 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36353fi 36354rm -f core conftest.err conftest.$ac_objext \ 36355 conftest$ac_exeext conftest.$ac_ext 36356LIBS=$ac_check_lib_save_LIBS 36357fi 36358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36359$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36360if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36361 ac_cv_libcfile_dummy=yes 36362else 36363 ac_cv_libcfile=no 36364fi 36365 36366 36367 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36369$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36370if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36371 $as_echo_n "(cached) " >&6 36372else 36373 ac_check_lib_save_LIBS=$LIBS 36374LIBS="-lcfile $LIBS" 36375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36376/* end confdefs.h. */ 36377 36378/* Override any GCC internal prototype to avoid an error. 36379 Use char because int might match the return type of a GCC 36380 builtin and then its argument prototype would still apply. */ 36381#ifdef __cplusplus 36382extern "C" 36383#endif 36384char libcfile_file_open_wide (); 36385int 36386main () 36387{ 36388return libcfile_file_open_wide (); 36389 ; 36390 return 0; 36391} 36392_ACEOF 36393if ac_fn_c_try_link "$LINENO"; then : 36394 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36395else 36396 ac_cv_lib_cfile_libcfile_file_open_wide=no 36397fi 36398rm -f core conftest.err conftest.$ac_objext \ 36399 conftest$ac_exeext conftest.$ac_ext 36400LIBS=$ac_check_lib_save_LIBS 36401fi 36402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36403$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36404if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36405 ac_cv_libcfile_dummy=yes 36406else 36407 ac_cv_libcfile=no 36408fi 36409 36410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36411$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36412if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36413 $as_echo_n "(cached) " >&6 36414else 36415 ac_check_lib_save_LIBS=$LIBS 36416LIBS="-lcfile $LIBS" 36417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36418/* end confdefs.h. */ 36419 36420/* Override any GCC internal prototype to avoid an error. 36421 Use char because int might match the return type of a GCC 36422 builtin and then its argument prototype would still apply. */ 36423#ifdef __cplusplus 36424extern "C" 36425#endif 36426char libcfile_file_open_wide_with_error_code (); 36427int 36428main () 36429{ 36430return libcfile_file_open_wide_with_error_code (); 36431 ; 36432 return 0; 36433} 36434_ACEOF 36435if ac_fn_c_try_link "$LINENO"; then : 36436 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36437else 36438 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36439fi 36440rm -f core conftest.err conftest.$ac_objext \ 36441 conftest$ac_exeext conftest.$ac_ext 36442LIBS=$ac_check_lib_save_LIBS 36443fi 36444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36445$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36446if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36447 ac_cv_libcfile_dummy=yes 36448else 36449 ac_cv_libcfile=no 36450fi 36451 36452 36453fi 36454 36455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36456$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36457if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36458 $as_echo_n "(cached) " >&6 36459else 36460 ac_check_lib_save_LIBS=$LIBS 36461LIBS="-lcfile $LIBS" 36462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36463/* end confdefs.h. */ 36464 36465/* Override any GCC internal prototype to avoid an error. 36466 Use char because int might match the return type of a GCC 36467 builtin and then its argument prototype would still apply. */ 36468#ifdef __cplusplus 36469extern "C" 36470#endif 36471char libcfile_file_exists (); 36472int 36473main () 36474{ 36475return libcfile_file_exists (); 36476 ; 36477 return 0; 36478} 36479_ACEOF 36480if ac_fn_c_try_link "$LINENO"; then : 36481 ac_cv_lib_cfile_libcfile_file_exists=yes 36482else 36483 ac_cv_lib_cfile_libcfile_file_exists=no 36484fi 36485rm -f core conftest.err conftest.$ac_objext \ 36486 conftest$ac_exeext conftest.$ac_ext 36487LIBS=$ac_check_lib_save_LIBS 36488fi 36489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36490$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36491if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36492 ac_cv_libcfile_dummy=yes 36493else 36494 ac_cv_libcfile=no 36495fi 36496 36497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36498$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36499if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36500 $as_echo_n "(cached) " >&6 36501else 36502 ac_check_lib_save_LIBS=$LIBS 36503LIBS="-lcfile $LIBS" 36504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36505/* end confdefs.h. */ 36506 36507/* Override any GCC internal prototype to avoid an error. 36508 Use char because int might match the return type of a GCC 36509 builtin and then its argument prototype would still apply. */ 36510#ifdef __cplusplus 36511extern "C" 36512#endif 36513char libcfile_file_remove (); 36514int 36515main () 36516{ 36517return libcfile_file_remove (); 36518 ; 36519 return 0; 36520} 36521_ACEOF 36522if ac_fn_c_try_link "$LINENO"; then : 36523 ac_cv_lib_cfile_libcfile_file_remove=yes 36524else 36525 ac_cv_lib_cfile_libcfile_file_remove=no 36526fi 36527rm -f core conftest.err conftest.$ac_objext \ 36528 conftest$ac_exeext conftest.$ac_ext 36529LIBS=$ac_check_lib_save_LIBS 36530fi 36531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36532$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36533if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36534 ac_cv_libcfile_dummy=yes 36535else 36536 ac_cv_libcfile=no 36537fi 36538 36539 36540 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36542$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36543if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36544 $as_echo_n "(cached) " >&6 36545else 36546 ac_check_lib_save_LIBS=$LIBS 36547LIBS="-lcfile $LIBS" 36548cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36549/* end confdefs.h. */ 36550 36551/* Override any GCC internal prototype to avoid an error. 36552 Use char because int might match the return type of a GCC 36553 builtin and then its argument prototype would still apply. */ 36554#ifdef __cplusplus 36555extern "C" 36556#endif 36557char libcfile_file_exists_wide (); 36558int 36559main () 36560{ 36561return libcfile_file_exists_wide (); 36562 ; 36563 return 0; 36564} 36565_ACEOF 36566if ac_fn_c_try_link "$LINENO"; then : 36567 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36568else 36569 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36570fi 36571rm -f core conftest.err conftest.$ac_objext \ 36572 conftest$ac_exeext conftest.$ac_ext 36573LIBS=$ac_check_lib_save_LIBS 36574fi 36575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36576$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36577if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36578 ac_cv_libcfile_dummy=yes 36579else 36580 ac_cv_libcfile=no 36581fi 36582 36583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36584$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36585if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36586 $as_echo_n "(cached) " >&6 36587else 36588 ac_check_lib_save_LIBS=$LIBS 36589LIBS="-lcfile $LIBS" 36590cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36591/* end confdefs.h. */ 36592 36593/* Override any GCC internal prototype to avoid an error. 36594 Use char because int might match the return type of a GCC 36595 builtin and then its argument prototype would still apply. */ 36596#ifdef __cplusplus 36597extern "C" 36598#endif 36599char libcfile_file_remove_wide (); 36600int 36601main () 36602{ 36603return libcfile_file_remove_wide (); 36604 ; 36605 return 0; 36606} 36607_ACEOF 36608if ac_fn_c_try_link "$LINENO"; then : 36609 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36610else 36611 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36612fi 36613rm -f core conftest.err conftest.$ac_objext \ 36614 conftest$ac_exeext conftest.$ac_ext 36615LIBS=$ac_check_lib_save_LIBS 36616fi 36617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36618$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36619if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36620 ac_cv_libcfile_dummy=yes 36621else 36622 ac_cv_libcfile=no 36623fi 36624 36625 36626fi 36627 36628 ac_cv_libcfile_LIBADD="-lcfile" 36629fi 36630 36631fi 36632 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36634$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36635as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36636See \`config.log' for more details" "$LINENO" 5; } 36637 36638fi 36639 36640fi 36641 36642 if test "x$ac_cv_libcfile" = xyes; then : 36643 36644$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36645 36646 36647fi 36648 36649 if test "x$ac_cv_libcfile" = xyes; then : 36650 HAVE_LIBCFILE=1 36651 36652else 36653 HAVE_LIBCFILE=0 36654 36655 36656fi 36657 36658 36659 if test "x$ac_cv_libcfile" != xyes; then : 36660 for ac_header in errno.h stdio.h sys/stat.h 36661do : 36662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36663ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36664if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36665 cat >>confdefs.h <<_ACEOF 36666#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36667_ACEOF 36668 36669fi 36670 36671done 36672 36673 36674 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36675do : 36676 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36677ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36678if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36679 cat >>confdefs.h <<_ACEOF 36680#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36681_ACEOF 36682 36683fi 36684 36685done 36686 36687 36688 for ac_func in close fstat ftruncate ioctl lseek open read write 36689do : 36690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36691ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36692if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36693 cat >>confdefs.h <<_ACEOF 36694#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36695_ACEOF 36696 36697fi 36698done 36699 36700 36701 if test "x$ac_cv_func_close" != xyes; then : 36702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36704as_fn_error 1 "Missing function: close 36705See \`config.log' for more details" "$LINENO" 5; } 36706 36707fi 36708 36709 for ac_func in posix_fadvise 36710do : 36711 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36712if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36713 cat >>confdefs.h <<_ACEOF 36714#define HAVE_POSIX_FADVISE 1 36715_ACEOF 36716 36717fi 36718done 36719 36720 36721 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36723$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36724 36725 SAVE_CFLAGS="$CFLAGS" 36726 CFLAGS="$CFLAGS -Wall -Werror" 36727 ac_ext=c 36728ac_cpp='$CPP $CPPFLAGS' 36729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36731ac_compiler_gnu=$ac_cv_c_compiler_gnu 36732 36733 36734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36735/* end confdefs.h. */ 36736#include <fcntl.h> 36737int 36738main () 36739{ 36740#if !defined( POSIX_FADV_SEQUENTIAL ) 36741#define POSIX_FADV_SEQUENTIAL 2 36742#endif 36743posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36744 ; 36745 return 0; 36746} 36747_ACEOF 36748if ac_fn_c_try_link "$LINENO"; then : 36749 ac_cv_func_posix_fadvise=yes 36750else 36751 ac_cv_func_posix_fadvise=no 36752fi 36753rm -f core conftest.err conftest.$ac_objext \ 36754 conftest$ac_exeext conftest.$ac_ext 36755 36756 ac_ext=c 36757ac_cpp='$CPP $CPPFLAGS' 36758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36760ac_compiler_gnu=$ac_cv_c_compiler_gnu 36761 36762 CFLAGS="$SAVE_CFLAGS" 36763 36764 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36766$as_echo "yes" >&6; } 36767 36768$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36769 36770else 36771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36772$as_echo "no" >&6; } 36773fi 36774 36775fi 36776 36777 36778 if test "x$ac_cv_func_fstat" != 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: fstat 36782See \`config.log' for more details" "$LINENO" 5; } 36783 36784fi 36785 36786 if test "x$ac_cv_func_ftruncate" != 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: ftruncate 36790See \`config.log' for more details" "$LINENO" 5; } 36791 36792fi 36793 36794 if test x"$ac_cv_enable_winapi" = xno; then : 36795 if test "x$ac_cv_func_ioctl" != xyes; then : 36796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36798as_fn_error 1 "Missing function: ioctl 36799See \`config.log' for more details" "$LINENO" 5; } 36800 36801fi 36802 36803fi 36804 36805 if test "x$ac_cv_func_lseek" != xyes; then : 36806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36807$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36808as_fn_error 1 "Missing function: lseek 36809See \`config.log' for more details" "$LINENO" 5; } 36810 36811fi 36812 36813 if test "x$ac_cv_func_open" != xyes; then : 36814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36816as_fn_error 1 "Missing function: open 36817See \`config.log' for more details" "$LINENO" 5; } 36818 36819fi 36820 36821 if test "x$ac_cv_func_read" != xyes; then : 36822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36824as_fn_error 1 "Missing function: read 36825See \`config.log' for more details" "$LINENO" 5; } 36826 36827fi 36828 36829 if test "x$ac_cv_func_write" != xyes; then : 36830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36832as_fn_error 1 "Missing function: write 36833See \`config.log' for more details" "$LINENO" 5; } 36834 36835fi 36836 36837 for ac_func in stat unlink 36838do : 36839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36840ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36841if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36842 cat >>confdefs.h <<_ACEOF 36843#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36844_ACEOF 36845 36846fi 36847done 36848 36849 36850 if test "x$ac_cv_func_stat" != xyes; then : 36851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36852$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36853as_fn_error 1 "Missing function: stat 36854See \`config.log' for more details" "$LINENO" 5; } 36855 36856fi 36857 36858 if test "x$ac_cv_func_unlink" != xyes; then : 36859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36861as_fn_error 1 "Missing function: unlink 36862See \`config.log' for more details" "$LINENO" 5; } 36863 36864fi 36865 36866 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36867 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36868 36869 ac_cv_libcfile=local 36870 36871 36872 36873$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36874 36875 HAVE_LOCAL_LIBCFILE=1 36876 36877 36878fi 36879 36880 if test "x$ac_cv_libcfile" = xlocal; then 36881 HAVE_LOCAL_LIBCFILE_TRUE= 36882 HAVE_LOCAL_LIBCFILE_FALSE='#' 36883else 36884 HAVE_LOCAL_LIBCFILE_TRUE='#' 36885 HAVE_LOCAL_LIBCFILE_FALSE= 36886fi 36887 36888 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36889 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36890 36891 36892fi 36893 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36894 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36895 36896 36897fi 36898 36899 if test "x$ac_cv_libcfile" = xyes; then : 36900 ax_libcfile_pc_libs_private=-lcfile 36901 36902 36903fi 36904 36905 if test "x$ac_cv_libcfile" = xyes; then : 36906 ax_libcfile_spec_requires=libcfile 36907 36908 ax_libcfile_spec_build_requires=libcfile-devel 36909 36910 36911fi 36912 36913 36914 36915 36916# Check whether --with-libcpath was given. 36917if test "${with_libcpath+set}" = set; then : 36918 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36919else 36920 ac_cv_with_libcpath=auto-detect 36921fi 36922 36923 { $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 36924$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; } 36925if ${ac_cv_with_libcpath+:} false; then : 36926 $as_echo_n "(cached) " >&6 36927else 36928 ac_cv_with_libcpath=auto-detect 36929fi 36930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36931$as_echo "$ac_cv_with_libcpath" >&6; } 36932 36933 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36934 ac_cv_libcpath=no 36935else 36936 ac_cv_libcpath=check 36937 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36938 if test -d "$ac_cv_with_libcpath"; then : 36939 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36940 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36941else 36942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36943$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36944as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36945See \`config.log' for more details" "$LINENO" 5; } 36946 36947fi 36948 36949else 36950 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36951 36952pkg_failed=no 36953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36954$as_echo_n "checking for libcpath... " >&6; } 36955 36956if test -n "$libcpath_CFLAGS"; then 36957 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36958 elif test -n "$PKG_CONFIG"; then 36959 if test -n "$PKG_CONFIG" && \ 36960 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36961 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36962 ac_status=$? 36963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36964 test $ac_status = 0; }; then 36965 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36966 test "x$?" != "x0" && pkg_failed=yes 36967else 36968 pkg_failed=yes 36969fi 36970 else 36971 pkg_failed=untried 36972fi 36973if test -n "$libcpath_LIBS"; then 36974 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 36975 elif test -n "$PKG_CONFIG"; then 36976 if test -n "$PKG_CONFIG" && \ 36977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36978 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36979 ac_status=$? 36980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36981 test $ac_status = 0; }; then 36982 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 36983 test "x$?" != "x0" && pkg_failed=yes 36984else 36985 pkg_failed=yes 36986fi 36987 else 36988 pkg_failed=untried 36989fi 36990 36991 36992 36993if test $pkg_failed = yes; then 36994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36995$as_echo "no" >&6; } 36996 36997if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 36998 _pkg_short_errors_supported=yes 36999else 37000 _pkg_short_errors_supported=no 37001fi 37002 if test $_pkg_short_errors_supported = yes; then 37003 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37004 else 37005 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37006 fi 37007 # Put the nasty error message in config.log where it belongs 37008 echo "$libcpath_PKG_ERRORS" >&5 37009 37010 ac_cv_libcpath=check 37011elif test $pkg_failed = untried; then 37012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37013$as_echo "no" >&6; } 37014 ac_cv_libcpath=check 37015else 37016 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 37017 libcpath_LIBS=$pkg_cv_libcpath_LIBS 37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 37019$as_echo "yes" >&6; } 37020 ac_cv_libcpath=yes 37021fi 37022 37023fi 37024 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 37025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 37026$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 37027if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 37028 $as_echo_n "(cached) " >&6 37029else 37030 ac_ext=c 37031ac_cpp='$CPP $CPPFLAGS' 37032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37034ac_compiler_gnu=$ac_cv_c_compiler_gnu 37035 37036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37037/* end confdefs.h. */ 37038#include <libcpath/features.h> 37039int 37040main () 37041{ 37042#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37043#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37044#endif 37045 ; 37046 return 0; 37047} 37048_ACEOF 37049if ac_fn_c_try_compile "$LINENO"; then : 37050 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37051else 37052 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37053fi 37054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37055 ac_ext=c 37056ac_cpp='$CPP $CPPFLAGS' 37057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37059ac_compiler_gnu=$ac_cv_c_compiler_gnu 37060 37061fi 37062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37063$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37064 37065 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37066 ac_cv_libcpath=no 37067fi 37068 37069fi 37070 if test "x$ac_cv_libcpath" = xyes; then : 37071 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37072 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37073fi 37074 37075fi 37076 37077 if test "x$ac_cv_libcpath" = xcheck; then : 37078 for ac_header in libcpath.h 37079do : 37080 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37081if test "x$ac_cv_header_libcpath_h" = xyes; then : 37082 cat >>confdefs.h <<_ACEOF 37083#define HAVE_LIBCPATH_H 1 37084_ACEOF 37085 37086fi 37087 37088done 37089 37090 37091 if test "x$ac_cv_header_libcpath_h" = xno; then : 37092 ac_cv_libcpath=no 37093else 37094 ac_cv_libcpath=yes 37095 37096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37097$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37098if ${ac_cv_lib_cpath_libcpath_get_version+:} 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_get_version (); 37113int 37114main () 37115{ 37116return libcpath_get_version (); 37117 ; 37118 return 0; 37119} 37120_ACEOF 37121if ac_fn_c_try_link "$LINENO"; then : 37122 ac_cv_lib_cpath_libcpath_get_version=yes 37123else 37124 ac_cv_lib_cpath_libcpath_get_version=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_get_version" >&5 37131$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37132if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37133 ac_cv_libcpath_dummy=yes 37134else 37135 ac_cv_libcpath=no 37136fi 37137 37138 37139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37140$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37141if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37142 $as_echo_n "(cached) " >&6 37143else 37144 ac_check_lib_save_LIBS=$LIBS 37145LIBS="-lcpath $LIBS" 37146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37147/* end confdefs.h. */ 37148 37149/* Override any GCC internal prototype to avoid an error. 37150 Use char because int might match the return type of a GCC 37151 builtin and then its argument prototype would still apply. */ 37152#ifdef __cplusplus 37153extern "C" 37154#endif 37155char libcpath_path_change_directory (); 37156int 37157main () 37158{ 37159return libcpath_path_change_directory (); 37160 ; 37161 return 0; 37162} 37163_ACEOF 37164if ac_fn_c_try_link "$LINENO"; then : 37165 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37166else 37167 ac_cv_lib_cpath_libcpath_path_change_directory=no 37168fi 37169rm -f core conftest.err conftest.$ac_objext \ 37170 conftest$ac_exeext conftest.$ac_ext 37171LIBS=$ac_check_lib_save_LIBS 37172fi 37173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37174$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37175if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37176 ac_cv_libcpath_dummy=yes 37177else 37178 ac_cv_libcpath=no 37179fi 37180 37181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37182$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37183if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37184 $as_echo_n "(cached) " >&6 37185else 37186 ac_check_lib_save_LIBS=$LIBS 37187LIBS="-lcpath $LIBS" 37188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37189/* end confdefs.h. */ 37190 37191/* Override any GCC internal prototype to avoid an error. 37192 Use char because int might match the return type of a GCC 37193 builtin and then its argument prototype would still apply. */ 37194#ifdef __cplusplus 37195extern "C" 37196#endif 37197char libcpath_path_get_current_working_directory (); 37198int 37199main () 37200{ 37201return libcpath_path_get_current_working_directory (); 37202 ; 37203 return 0; 37204} 37205_ACEOF 37206if ac_fn_c_try_link "$LINENO"; then : 37207 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37208else 37209 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37210fi 37211rm -f core conftest.err conftest.$ac_objext \ 37212 conftest$ac_exeext conftest.$ac_ext 37213LIBS=$ac_check_lib_save_LIBS 37214fi 37215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37216$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37217if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37218 ac_cv_libcpath_dummy=yes 37219else 37220 ac_cv_libcpath=no 37221fi 37222 37223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37224$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37225if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37226 $as_echo_n "(cached) " >&6 37227else 37228 ac_check_lib_save_LIBS=$LIBS 37229LIBS="-lcpath $LIBS" 37230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37231/* end confdefs.h. */ 37232 37233/* Override any GCC internal prototype to avoid an error. 37234 Use char because int might match the return type of a GCC 37235 builtin and then its argument prototype would still apply. */ 37236#ifdef __cplusplus 37237extern "C" 37238#endif 37239char libcpath_path_get_full_path (); 37240int 37241main () 37242{ 37243return libcpath_path_get_full_path (); 37244 ; 37245 return 0; 37246} 37247_ACEOF 37248if ac_fn_c_try_link "$LINENO"; then : 37249 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37250else 37251 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37252fi 37253rm -f core conftest.err conftest.$ac_objext \ 37254 conftest$ac_exeext conftest.$ac_ext 37255LIBS=$ac_check_lib_save_LIBS 37256fi 37257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37258$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37259if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37260 ac_cv_libcpath_dummy=yes 37261else 37262 ac_cv_libcpath=no 37263fi 37264 37265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37266$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37267if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37268 $as_echo_n "(cached) " >&6 37269else 37270 ac_check_lib_save_LIBS=$LIBS 37271LIBS="-lcpath $LIBS" 37272cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37273/* end confdefs.h. */ 37274 37275/* Override any GCC internal prototype to avoid an error. 37276 Use char because int might match the return type of a GCC 37277 builtin and then its argument prototype would still apply. */ 37278#ifdef __cplusplus 37279extern "C" 37280#endif 37281char libcpath_path_get_sanitized_filename (); 37282int 37283main () 37284{ 37285return libcpath_path_get_sanitized_filename (); 37286 ; 37287 return 0; 37288} 37289_ACEOF 37290if ac_fn_c_try_link "$LINENO"; then : 37291 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37292else 37293 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37294fi 37295rm -f core conftest.err conftest.$ac_objext \ 37296 conftest$ac_exeext conftest.$ac_ext 37297LIBS=$ac_check_lib_save_LIBS 37298fi 37299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37300$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37301if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37302 ac_cv_libcpath_dummy=yes 37303else 37304 ac_cv_libcpath=no 37305fi 37306 37307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37308$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37309if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37310 $as_echo_n "(cached) " >&6 37311else 37312 ac_check_lib_save_LIBS=$LIBS 37313LIBS="-lcpath $LIBS" 37314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37315/* end confdefs.h. */ 37316 37317/* Override any GCC internal prototype to avoid an error. 37318 Use char because int might match the return type of a GCC 37319 builtin and then its argument prototype would still apply. */ 37320#ifdef __cplusplus 37321extern "C" 37322#endif 37323char libcpath_path_get_sanitized_path (); 37324int 37325main () 37326{ 37327return libcpath_path_get_sanitized_path (); 37328 ; 37329 return 0; 37330} 37331_ACEOF 37332if ac_fn_c_try_link "$LINENO"; then : 37333 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37334else 37335 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37336fi 37337rm -f core conftest.err conftest.$ac_objext \ 37338 conftest$ac_exeext conftest.$ac_ext 37339LIBS=$ac_check_lib_save_LIBS 37340fi 37341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37342$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37343if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37344 ac_cv_libcpath_dummy=yes 37345else 37346 ac_cv_libcpath=no 37347fi 37348 37349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37350$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37351if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37352 $as_echo_n "(cached) " >&6 37353else 37354 ac_check_lib_save_LIBS=$LIBS 37355LIBS="-lcpath $LIBS" 37356cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37357/* end confdefs.h. */ 37358 37359/* Override any GCC internal prototype to avoid an error. 37360 Use char because int might match the return type of a GCC 37361 builtin and then its argument prototype would still apply. */ 37362#ifdef __cplusplus 37363extern "C" 37364#endif 37365char libcpath_path_join (); 37366int 37367main () 37368{ 37369return libcpath_path_join (); 37370 ; 37371 return 0; 37372} 37373_ACEOF 37374if ac_fn_c_try_link "$LINENO"; then : 37375 ac_cv_lib_cpath_libcpath_path_join=yes 37376else 37377 ac_cv_lib_cpath_libcpath_path_join=no 37378fi 37379rm -f core conftest.err conftest.$ac_objext \ 37380 conftest$ac_exeext conftest.$ac_ext 37381LIBS=$ac_check_lib_save_LIBS 37382fi 37383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37384$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37385if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37386 ac_cv_libcpath_dummy=yes 37387else 37388 ac_cv_libcpath=no 37389fi 37390 37391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37392$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37393if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37394 $as_echo_n "(cached) " >&6 37395else 37396 ac_check_lib_save_LIBS=$LIBS 37397LIBS="-lcpath $LIBS" 37398cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37399/* end confdefs.h. */ 37400 37401/* Override any GCC internal prototype to avoid an error. 37402 Use char because int might match the return type of a GCC 37403 builtin and then its argument prototype would still apply. */ 37404#ifdef __cplusplus 37405extern "C" 37406#endif 37407char libcpath_path_make_directory (); 37408int 37409main () 37410{ 37411return libcpath_path_make_directory (); 37412 ; 37413 return 0; 37414} 37415_ACEOF 37416if ac_fn_c_try_link "$LINENO"; then : 37417 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37418else 37419 ac_cv_lib_cpath_libcpath_path_make_directory=no 37420fi 37421rm -f core conftest.err conftest.$ac_objext \ 37422 conftest$ac_exeext conftest.$ac_ext 37423LIBS=$ac_check_lib_save_LIBS 37424fi 37425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37426$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37427if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37428 ac_cv_libcpath_dummy=yes 37429else 37430 ac_cv_libcpath=no 37431fi 37432 37433 37434 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37436$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37437if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37438 $as_echo_n "(cached) " >&6 37439else 37440 ac_check_lib_save_LIBS=$LIBS 37441LIBS="-lcpath $LIBS" 37442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37443/* end confdefs.h. */ 37444 37445/* Override any GCC internal prototype to avoid an error. 37446 Use char because int might match the return type of a GCC 37447 builtin and then its argument prototype would still apply. */ 37448#ifdef __cplusplus 37449extern "C" 37450#endif 37451char libcpath_path_change_directory_wide (); 37452int 37453main () 37454{ 37455return libcpath_path_change_directory_wide (); 37456 ; 37457 return 0; 37458} 37459_ACEOF 37460if ac_fn_c_try_link "$LINENO"; then : 37461 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37462else 37463 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37464fi 37465rm -f core conftest.err conftest.$ac_objext \ 37466 conftest$ac_exeext conftest.$ac_ext 37467LIBS=$ac_check_lib_save_LIBS 37468fi 37469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37470$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37471if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37472 ac_cv_libcpath_dummy=yes 37473else 37474 ac_cv_libcpath=no 37475fi 37476 37477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37478$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37479if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37480 $as_echo_n "(cached) " >&6 37481else 37482 ac_check_lib_save_LIBS=$LIBS 37483LIBS="-lcpath $LIBS" 37484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37485/* end confdefs.h. */ 37486 37487/* Override any GCC internal prototype to avoid an error. 37488 Use char because int might match the return type of a GCC 37489 builtin and then its argument prototype would still apply. */ 37490#ifdef __cplusplus 37491extern "C" 37492#endif 37493char libcpath_path_get_current_working_directory_wide (); 37494int 37495main () 37496{ 37497return libcpath_path_get_current_working_directory_wide (); 37498 ; 37499 return 0; 37500} 37501_ACEOF 37502if ac_fn_c_try_link "$LINENO"; then : 37503 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37504else 37505 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37506fi 37507rm -f core conftest.err conftest.$ac_objext \ 37508 conftest$ac_exeext conftest.$ac_ext 37509LIBS=$ac_check_lib_save_LIBS 37510fi 37511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37512$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37513if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37514 ac_cv_libcpath_dummy=yes 37515else 37516 ac_cv_libcpath=no 37517fi 37518 37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37520$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37521if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37522 $as_echo_n "(cached) " >&6 37523else 37524 ac_check_lib_save_LIBS=$LIBS 37525LIBS="-lcpath $LIBS" 37526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37527/* end confdefs.h. */ 37528 37529/* Override any GCC internal prototype to avoid an error. 37530 Use char because int might match the return type of a GCC 37531 builtin and then its argument prototype would still apply. */ 37532#ifdef __cplusplus 37533extern "C" 37534#endif 37535char libcpath_path_get_full_path_wide (); 37536int 37537main () 37538{ 37539return libcpath_path_get_full_path_wide (); 37540 ; 37541 return 0; 37542} 37543_ACEOF 37544if ac_fn_c_try_link "$LINENO"; then : 37545 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37546else 37547 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37548fi 37549rm -f core conftest.err conftest.$ac_objext \ 37550 conftest$ac_exeext conftest.$ac_ext 37551LIBS=$ac_check_lib_save_LIBS 37552fi 37553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37554$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37555if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37556 ac_cv_libcpath_dummy=yes 37557else 37558 ac_cv_libcpath=no 37559fi 37560 37561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37562$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37563if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37564 $as_echo_n "(cached) " >&6 37565else 37566 ac_check_lib_save_LIBS=$LIBS 37567LIBS="-lcpath $LIBS" 37568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37569/* end confdefs.h. */ 37570 37571/* Override any GCC internal prototype to avoid an error. 37572 Use char because int might match the return type of a GCC 37573 builtin and then its argument prototype would still apply. */ 37574#ifdef __cplusplus 37575extern "C" 37576#endif 37577char libcpath_path_get_sanitized_filename_wide (); 37578int 37579main () 37580{ 37581return libcpath_path_get_sanitized_filename_wide (); 37582 ; 37583 return 0; 37584} 37585_ACEOF 37586if ac_fn_c_try_link "$LINENO"; then : 37587 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37588else 37589 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37590fi 37591rm -f core conftest.err conftest.$ac_objext \ 37592 conftest$ac_exeext conftest.$ac_ext 37593LIBS=$ac_check_lib_save_LIBS 37594fi 37595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37596$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37597if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37598 ac_cv_libcpath_dummy=yes 37599else 37600 ac_cv_libcpath=no 37601fi 37602 37603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37604$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37605if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37606 $as_echo_n "(cached) " >&6 37607else 37608 ac_check_lib_save_LIBS=$LIBS 37609LIBS="-lcpath $LIBS" 37610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37611/* end confdefs.h. */ 37612 37613/* Override any GCC internal prototype to avoid an error. 37614 Use char because int might match the return type of a GCC 37615 builtin and then its argument prototype would still apply. */ 37616#ifdef __cplusplus 37617extern "C" 37618#endif 37619char libcpath_path_get_sanitized_path_wide (); 37620int 37621main () 37622{ 37623return libcpath_path_get_sanitized_path_wide (); 37624 ; 37625 return 0; 37626} 37627_ACEOF 37628if ac_fn_c_try_link "$LINENO"; then : 37629 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37630else 37631 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37632fi 37633rm -f core conftest.err conftest.$ac_objext \ 37634 conftest$ac_exeext conftest.$ac_ext 37635LIBS=$ac_check_lib_save_LIBS 37636fi 37637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37638$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37639if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37640 ac_cv_libcpath_dummy=yes 37641else 37642 ac_cv_libcpath=no 37643fi 37644 37645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37646$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37647if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37648 $as_echo_n "(cached) " >&6 37649else 37650 ac_check_lib_save_LIBS=$LIBS 37651LIBS="-lcpath $LIBS" 37652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37653/* end confdefs.h. */ 37654 37655/* Override any GCC internal prototype to avoid an error. 37656 Use char because int might match the return type of a GCC 37657 builtin and then its argument prototype would still apply. */ 37658#ifdef __cplusplus 37659extern "C" 37660#endif 37661char libcpath_path_join_wide (); 37662int 37663main () 37664{ 37665return libcpath_path_join_wide (); 37666 ; 37667 return 0; 37668} 37669_ACEOF 37670if ac_fn_c_try_link "$LINENO"; then : 37671 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37672else 37673 ac_cv_lib_cpath_libcpath_path_join_wide=no 37674fi 37675rm -f core conftest.err conftest.$ac_objext \ 37676 conftest$ac_exeext conftest.$ac_ext 37677LIBS=$ac_check_lib_save_LIBS 37678fi 37679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37680$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37681if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37682 ac_cv_libcpath_dummy=yes 37683else 37684 ac_cv_libcpath=no 37685fi 37686 37687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37688$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37689if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37690 $as_echo_n "(cached) " >&6 37691else 37692 ac_check_lib_save_LIBS=$LIBS 37693LIBS="-lcpath $LIBS" 37694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37695/* end confdefs.h. */ 37696 37697/* Override any GCC internal prototype to avoid an error. 37698 Use char because int might match the return type of a GCC 37699 builtin and then its argument prototype would still apply. */ 37700#ifdef __cplusplus 37701extern "C" 37702#endif 37703char libcpath_path_make_directory_wide (); 37704int 37705main () 37706{ 37707return libcpath_path_make_directory_wide (); 37708 ; 37709 return 0; 37710} 37711_ACEOF 37712if ac_fn_c_try_link "$LINENO"; then : 37713 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37714else 37715 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37716fi 37717rm -f core conftest.err conftest.$ac_objext \ 37718 conftest$ac_exeext conftest.$ac_ext 37719LIBS=$ac_check_lib_save_LIBS 37720fi 37721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37722$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37723if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37724 ac_cv_libcpath_dummy=yes 37725else 37726 ac_cv_libcpath=no 37727fi 37728 37729 37730fi 37731 37732 ac_cv_libcpath_LIBADD="-lcpath" 37733fi 37734 37735fi 37736 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37738$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37739as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37740See \`config.log' for more details" "$LINENO" 5; } 37741 37742fi 37743 37744fi 37745 37746 if test "x$ac_cv_libcpath" = xyes; then : 37747 37748$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37749 37750 37751fi 37752 37753 if test "x$ac_cv_libcpath" = xyes; then : 37754 HAVE_LIBCPATH=1 37755 37756else 37757 HAVE_LIBCPATH=0 37758 37759 37760fi 37761 37762 37763 if test "x$ac_cv_libcpath" != xyes; then : 37764 for ac_header in errno.h sys/stat.h sys/syslimits.h 37765do : 37766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37767ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37768if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37769 cat >>confdefs.h <<_ACEOF 37770#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37771_ACEOF 37772 37773fi 37774 37775done 37776 37777 37778 for ac_func in chdir getcwd 37779do : 37780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37781ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37782if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37783 cat >>confdefs.h <<_ACEOF 37784#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37785_ACEOF 37786 37787fi 37788done 37789 37790 37791 if test "x$ac_cv_func_chdir" != xyes; then : 37792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37794as_fn_error 1 "Missing functions: chdir 37795See \`config.log' for more details" "$LINENO" 5; } 37796 37797fi 37798 37799 if test "x$ac_cv_func_getcwd" != xyes; then : 37800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37801$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37802as_fn_error 1 "Missing functions: getcwd 37803See \`config.log' for more details" "$LINENO" 5; } 37804 37805fi 37806 37807 for ac_func in mkdir 37808do : 37809 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37810if test "x$ac_cv_func_mkdir" = xyes; then : 37811 cat >>confdefs.h <<_ACEOF 37812#define HAVE_MKDIR 1 37813_ACEOF 37814 37815fi 37816done 37817 37818 37819 if test "x$ac_cv_func_mkdir" = xyes; then : 37820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37821$as_echo_n "checking how to use mkdir... " >&6; } 37822 37823 SAVE_CFLAGS="$CFLAGS" 37824 CFLAGS="$CFLAGS -Wall -Werror" 37825 ac_ext=c 37826ac_cpp='$CPP $CPPFLAGS' 37827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37829ac_compiler_gnu=$ac_cv_c_compiler_gnu 37830 37831 37832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37833/* end confdefs.h. */ 37834#include <sys/stat.h> 37835#include <sys/types.h> 37836int 37837main () 37838{ 37839mkdir( "", 0 ) 37840 ; 37841 return 0; 37842} 37843_ACEOF 37844if ac_fn_c_try_link "$LINENO"; then : 37845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37846$as_echo "with additional mode argument" >&6; } 37847 ac_cv_cv_mkdir_mode=yes 37848else 37849 ac_cv_cv_mkdir_mode=no 37850fi 37851rm -f core conftest.err conftest.$ac_objext \ 37852 conftest$ac_exeext conftest.$ac_ext 37853 37854 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37856/* end confdefs.h. */ 37857#include <io.h> 37858int 37859main () 37860{ 37861mkdir( "" ) 37862 ; 37863 return 0; 37864} 37865_ACEOF 37866if ac_fn_c_try_link "$LINENO"; then : 37867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37868$as_echo "with single argument" >&6; } 37869 ac_cv_cv_mkdir=yes 37870else 37871 ac_cv_cv_mkdir=no 37872fi 37873rm -f core conftest.err conftest.$ac_objext \ 37874 conftest$ac_exeext conftest.$ac_ext 37875 37876fi 37877 37878 ac_ext=c 37879ac_cpp='$CPP $CPPFLAGS' 37880ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37881ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37882ac_compiler_gnu=$ac_cv_c_compiler_gnu 37883 37884 CFLAGS="$SAVE_CFLAGS" 37885 37886 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37888$as_echo "$as_me: WARNING: unknown" >&2;} 37889 ac_cv_func_mkdir=no 37890fi 37891 37892 if test "x$ac_cv_func_mkdir" = xyes; then : 37893 37894$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37895 37896 37897fi 37898 37899 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37900 37901$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37902 37903 37904fi 37905 37906fi 37907 37908 if test "x$ac_cv_func_mkdir" = xno; then : 37909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37911as_fn_error 1 "Missing function: mkdir 37912See \`config.log' for more details" "$LINENO" 5; } 37913 37914fi 37915 37916 37917 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37918 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37919 37920 ac_cv_libcpath=local 37921 37922 37923 37924$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37925 37926 HAVE_LOCAL_LIBCPATH=1 37927 37928 37929fi 37930 37931 if test "x$ac_cv_libcpath" = xlocal; then 37932 HAVE_LOCAL_LIBCPATH_TRUE= 37933 HAVE_LOCAL_LIBCPATH_FALSE='#' 37934else 37935 HAVE_LOCAL_LIBCPATH_TRUE='#' 37936 HAVE_LOCAL_LIBCPATH_FALSE= 37937fi 37938 37939 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37940 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37941 37942 37943fi 37944 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37945 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37946 37947 37948fi 37949 37950 if test "x$ac_cv_libcpath" = xyes; then : 37951 ax_libcpath_pc_libs_private=-lcpath 37952 37953 37954fi 37955 37956 if test "x$ac_cv_libcpath" = xyes; then : 37957 ax_libcpath_spec_requires=libcpath 37958 37959 ax_libcpath_spec_build_requires=libcpath-devel 37960 37961 37962fi 37963 37964 37965 37966 37967# Check whether --with-libbfio was given. 37968if test "${with_libbfio+set}" = set; then : 37969 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37970else 37971 ac_cv_with_libbfio=auto-detect 37972fi 37973 37974 { $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 37975$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; } 37976if ${ac_cv_with_libbfio+:} false; then : 37977 $as_echo_n "(cached) " >&6 37978else 37979 ac_cv_with_libbfio=auto-detect 37980fi 37981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 37982$as_echo "$ac_cv_with_libbfio" >&6; } 37983 37984 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 37985 ac_cv_libbfio=no 37986else 37987 ac_cv_libbfio=check 37988 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 37989 if test -d "$ac_cv_with_libbfio"; then : 37990 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 37991 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 37992else 37993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37995as_fn_error 1 "no such directory: $ac_cv_with_libbfio 37996See \`config.log' for more details" "$LINENO" 5; } 37997 37998fi 37999 38000else 38001 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 38002 38003pkg_failed=no 38004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 38005$as_echo_n "checking for libbfio... " >&6; } 38006 38007if test -n "$libbfio_CFLAGS"; then 38008 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 38009 elif test -n "$PKG_CONFIG"; then 38010 if test -n "$PKG_CONFIG" && \ 38011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38012 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38013 ac_status=$? 38014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38015 test $ac_status = 0; }; then 38016 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 38017 test "x$?" != "x0" && pkg_failed=yes 38018else 38019 pkg_failed=yes 38020fi 38021 else 38022 pkg_failed=untried 38023fi 38024if test -n "$libbfio_LIBS"; then 38025 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 38026 elif test -n "$PKG_CONFIG"; then 38027 if test -n "$PKG_CONFIG" && \ 38028 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38029 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38030 ac_status=$? 38031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38032 test $ac_status = 0; }; then 38033 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 38034 test "x$?" != "x0" && pkg_failed=yes 38035else 38036 pkg_failed=yes 38037fi 38038 else 38039 pkg_failed=untried 38040fi 38041 38042 38043 38044if test $pkg_failed = yes; then 38045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38046$as_echo "no" >&6; } 38047 38048if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38049 _pkg_short_errors_supported=yes 38050else 38051 _pkg_short_errors_supported=no 38052fi 38053 if test $_pkg_short_errors_supported = yes; then 38054 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38055 else 38056 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38057 fi 38058 # Put the nasty error message in config.log where it belongs 38059 echo "$libbfio_PKG_ERRORS" >&5 38060 38061 ac_cv_libbfio=check 38062elif test $pkg_failed = untried; then 38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38064$as_echo "no" >&6; } 38065 ac_cv_libbfio=check 38066else 38067 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38068 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38070$as_echo "yes" >&6; } 38071 ac_cv_libbfio=yes 38072fi 38073 38074fi 38075 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38077$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38078if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38079 $as_echo_n "(cached) " >&6 38080else 38081 ac_ext=c 38082ac_cpp='$CPP $CPPFLAGS' 38083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38085ac_compiler_gnu=$ac_cv_c_compiler_gnu 38086 38087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38088/* end confdefs.h. */ 38089#include <libbfio/features.h> 38090int 38091main () 38092{ 38093#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38094#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38095#endif 38096 ; 38097 return 0; 38098} 38099_ACEOF 38100if ac_fn_c_try_compile "$LINENO"; then : 38101 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38102else 38103 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38104fi 38105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38106 ac_ext=c 38107ac_cpp='$CPP $CPPFLAGS' 38108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38110ac_compiler_gnu=$ac_cv_c_compiler_gnu 38111 38112fi 38113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38114$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38115 38116 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38117 ac_cv_libbfio=no 38118fi 38119 38120fi 38121 if test "x$ac_cv_libbfio" = xyes; then : 38122 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38123 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38124fi 38125 38126fi 38127 38128 if test "x$ac_cv_libbfio" = xcheck; then : 38129 for ac_header in libbfio.h 38130do : 38131 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38132if test "x$ac_cv_header_libbfio_h" = xyes; then : 38133 cat >>confdefs.h <<_ACEOF 38134#define HAVE_LIBBFIO_H 1 38135_ACEOF 38136 38137fi 38138 38139done 38140 38141 38142 if test "x$ac_cv_header_libbfio_h" = xno; then : 38143 ac_cv_libbfio=no 38144else 38145 ac_cv_libbfio=yes 38146 38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38148$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38149if ${ac_cv_lib_bfio_libbfio_get_version+:} 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_get_version (); 38164int 38165main () 38166{ 38167return libbfio_get_version (); 38168 ; 38169 return 0; 38170} 38171_ACEOF 38172if ac_fn_c_try_link "$LINENO"; then : 38173 ac_cv_lib_bfio_libbfio_get_version=yes 38174else 38175 ac_cv_lib_bfio_libbfio_get_version=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_get_version" >&5 38182$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38183if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38184 ac_cv_libbfio_dummy=yes 38185else 38186 ac_cv_libbfio=no 38187fi 38188 38189 38190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38191$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38192if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38193 $as_echo_n "(cached) " >&6 38194else 38195 ac_check_lib_save_LIBS=$LIBS 38196LIBS="-lbfio $LIBS" 38197cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38198/* end confdefs.h. */ 38199 38200/* Override any GCC internal prototype to avoid an error. 38201 Use char because int might match the return type of a GCC 38202 builtin and then its argument prototype would still apply. */ 38203#ifdef __cplusplus 38204extern "C" 38205#endif 38206char libbfio_handle_free (); 38207int 38208main () 38209{ 38210return libbfio_handle_free (); 38211 ; 38212 return 0; 38213} 38214_ACEOF 38215if ac_fn_c_try_link "$LINENO"; then : 38216 ac_cv_lib_bfio_libbfio_handle_free=yes 38217else 38218 ac_cv_lib_bfio_libbfio_handle_free=no 38219fi 38220rm -f core conftest.err conftest.$ac_objext \ 38221 conftest$ac_exeext conftest.$ac_ext 38222LIBS=$ac_check_lib_save_LIBS 38223fi 38224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38225$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38226if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38227 ac_cv_libbfio_dummy=yes 38228else 38229 ac_cv_libbfio=no 38230fi 38231 38232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38233$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38234if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38235 $as_echo_n "(cached) " >&6 38236else 38237 ac_check_lib_save_LIBS=$LIBS 38238LIBS="-lbfio $LIBS" 38239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38240/* end confdefs.h. */ 38241 38242/* Override any GCC internal prototype to avoid an error. 38243 Use char because int might match the return type of a GCC 38244 builtin and then its argument prototype would still apply. */ 38245#ifdef __cplusplus 38246extern "C" 38247#endif 38248char libbfio_handle_open (); 38249int 38250main () 38251{ 38252return libbfio_handle_open (); 38253 ; 38254 return 0; 38255} 38256_ACEOF 38257if ac_fn_c_try_link "$LINENO"; then : 38258 ac_cv_lib_bfio_libbfio_handle_open=yes 38259else 38260 ac_cv_lib_bfio_libbfio_handle_open=no 38261fi 38262rm -f core conftest.err conftest.$ac_objext \ 38263 conftest$ac_exeext conftest.$ac_ext 38264LIBS=$ac_check_lib_save_LIBS 38265fi 38266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38267$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38268if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38269 ac_cv_libbfio_dummy=yes 38270else 38271 ac_cv_libbfio=no 38272fi 38273 38274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38275$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38276if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38277 $as_echo_n "(cached) " >&6 38278else 38279 ac_check_lib_save_LIBS=$LIBS 38280LIBS="-lbfio $LIBS" 38281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38282/* end confdefs.h. */ 38283 38284/* Override any GCC internal prototype to avoid an error. 38285 Use char because int might match the return type of a GCC 38286 builtin and then its argument prototype would still apply. */ 38287#ifdef __cplusplus 38288extern "C" 38289#endif 38290char libbfio_handle_close (); 38291int 38292main () 38293{ 38294return libbfio_handle_close (); 38295 ; 38296 return 0; 38297} 38298_ACEOF 38299if ac_fn_c_try_link "$LINENO"; then : 38300 ac_cv_lib_bfio_libbfio_handle_close=yes 38301else 38302 ac_cv_lib_bfio_libbfio_handle_close=no 38303fi 38304rm -f core conftest.err conftest.$ac_objext \ 38305 conftest$ac_exeext conftest.$ac_ext 38306LIBS=$ac_check_lib_save_LIBS 38307fi 38308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38309$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38310if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38311 ac_cv_libbfio_dummy=yes 38312else 38313 ac_cv_libbfio=no 38314fi 38315 38316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38317$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38318if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38319 $as_echo_n "(cached) " >&6 38320else 38321 ac_check_lib_save_LIBS=$LIBS 38322LIBS="-lbfio $LIBS" 38323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38324/* end confdefs.h. */ 38325 38326/* Override any GCC internal prototype to avoid an error. 38327 Use char because int might match the return type of a GCC 38328 builtin and then its argument prototype would still apply. */ 38329#ifdef __cplusplus 38330extern "C" 38331#endif 38332char libbfio_handle_exists (); 38333int 38334main () 38335{ 38336return libbfio_handle_exists (); 38337 ; 38338 return 0; 38339} 38340_ACEOF 38341if ac_fn_c_try_link "$LINENO"; then : 38342 ac_cv_lib_bfio_libbfio_handle_exists=yes 38343else 38344 ac_cv_lib_bfio_libbfio_handle_exists=no 38345fi 38346rm -f core conftest.err conftest.$ac_objext \ 38347 conftest$ac_exeext conftest.$ac_ext 38348LIBS=$ac_check_lib_save_LIBS 38349fi 38350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38351$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38352if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38353 ac_cv_libbfio_dummy=yes 38354else 38355 ac_cv_libbfio=no 38356fi 38357 38358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38359$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38360if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38361 $as_echo_n "(cached) " >&6 38362else 38363 ac_check_lib_save_LIBS=$LIBS 38364LIBS="-lbfio $LIBS" 38365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38366/* end confdefs.h. */ 38367 38368/* Override any GCC internal prototype to avoid an error. 38369 Use char because int might match the return type of a GCC 38370 builtin and then its argument prototype would still apply. */ 38371#ifdef __cplusplus 38372extern "C" 38373#endif 38374char libbfio_handle_read_buffer (); 38375int 38376main () 38377{ 38378return libbfio_handle_read_buffer (); 38379 ; 38380 return 0; 38381} 38382_ACEOF 38383if ac_fn_c_try_link "$LINENO"; then : 38384 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38385else 38386 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38387fi 38388rm -f core conftest.err conftest.$ac_objext \ 38389 conftest$ac_exeext conftest.$ac_ext 38390LIBS=$ac_check_lib_save_LIBS 38391fi 38392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38393$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38394if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38395 ac_cv_libbfio_dummy=yes 38396else 38397 ac_cv_libbfio=no 38398fi 38399 38400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38401$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38402if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38403 $as_echo_n "(cached) " >&6 38404else 38405 ac_check_lib_save_LIBS=$LIBS 38406LIBS="-lbfio $LIBS" 38407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38408/* end confdefs.h. */ 38409 38410/* Override any GCC internal prototype to avoid an error. 38411 Use char because int might match the return type of a GCC 38412 builtin and then its argument prototype would still apply. */ 38413#ifdef __cplusplus 38414extern "C" 38415#endif 38416char libbfio_handle_read_buffer_at_offset (); 38417int 38418main () 38419{ 38420return libbfio_handle_read_buffer_at_offset (); 38421 ; 38422 return 0; 38423} 38424_ACEOF 38425if ac_fn_c_try_link "$LINENO"; then : 38426 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38427else 38428 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38429fi 38430rm -f core conftest.err conftest.$ac_objext \ 38431 conftest$ac_exeext conftest.$ac_ext 38432LIBS=$ac_check_lib_save_LIBS 38433fi 38434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38435$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38436if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38437 ac_cv_libbfio_dummy=yes 38438else 38439 ac_cv_libbfio=no 38440fi 38441 38442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38443$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38444if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38445 $as_echo_n "(cached) " >&6 38446else 38447 ac_check_lib_save_LIBS=$LIBS 38448LIBS="-lbfio $LIBS" 38449cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38450/* end confdefs.h. */ 38451 38452/* Override any GCC internal prototype to avoid an error. 38453 Use char because int might match the return type of a GCC 38454 builtin and then its argument prototype would still apply. */ 38455#ifdef __cplusplus 38456extern "C" 38457#endif 38458char libbfio_handle_write_buffer (); 38459int 38460main () 38461{ 38462return libbfio_handle_write_buffer (); 38463 ; 38464 return 0; 38465} 38466_ACEOF 38467if ac_fn_c_try_link "$LINENO"; then : 38468 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38469else 38470 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38471fi 38472rm -f core conftest.err conftest.$ac_objext \ 38473 conftest$ac_exeext conftest.$ac_ext 38474LIBS=$ac_check_lib_save_LIBS 38475fi 38476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38477$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38478if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38479 ac_cv_libbfio_dummy=yes 38480else 38481 ac_cv_libbfio=no 38482fi 38483 38484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38485$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38486if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38487 $as_echo_n "(cached) " >&6 38488else 38489 ac_check_lib_save_LIBS=$LIBS 38490LIBS="-lbfio $LIBS" 38491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38492/* end confdefs.h. */ 38493 38494/* Override any GCC internal prototype to avoid an error. 38495 Use char because int might match the return type of a GCC 38496 builtin and then its argument prototype would still apply. */ 38497#ifdef __cplusplus 38498extern "C" 38499#endif 38500char libbfio_handle_write_buffer_at_offset (); 38501int 38502main () 38503{ 38504return libbfio_handle_write_buffer_at_offset (); 38505 ; 38506 return 0; 38507} 38508_ACEOF 38509if ac_fn_c_try_link "$LINENO"; then : 38510 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38511else 38512 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38513fi 38514rm -f core conftest.err conftest.$ac_objext \ 38515 conftest$ac_exeext conftest.$ac_ext 38516LIBS=$ac_check_lib_save_LIBS 38517fi 38518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38519$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38520if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38521 ac_cv_libbfio_dummy=yes 38522else 38523 ac_cv_libbfio=no 38524fi 38525 38526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38527$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38528if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} 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_seek_offset (); 38543int 38544main () 38545{ 38546return libbfio_handle_seek_offset (); 38547 ; 38548 return 0; 38549} 38550_ACEOF 38551if ac_fn_c_try_link "$LINENO"; then : 38552 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38553else 38554 ac_cv_lib_bfio_libbfio_handle_seek_offset=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_seek_offset" >&5 38561$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38562if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38563 ac_cv_libbfio_dummy=yes 38564else 38565 ac_cv_libbfio=no 38566fi 38567 38568 38569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38570$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38571if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38572 $as_echo_n "(cached) " >&6 38573else 38574 ac_check_lib_save_LIBS=$LIBS 38575LIBS="-lbfio $LIBS" 38576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38577/* end confdefs.h. */ 38578 38579/* Override any GCC internal prototype to avoid an error. 38580 Use char because int might match the return type of a GCC 38581 builtin and then its argument prototype would still apply. */ 38582#ifdef __cplusplus 38583extern "C" 38584#endif 38585char libbfio_handle_is_open (); 38586int 38587main () 38588{ 38589return libbfio_handle_is_open (); 38590 ; 38591 return 0; 38592} 38593_ACEOF 38594if ac_fn_c_try_link "$LINENO"; then : 38595 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38596else 38597 ac_cv_lib_bfio_libbfio_handle_is_open=no 38598fi 38599rm -f core conftest.err conftest.$ac_objext \ 38600 conftest$ac_exeext conftest.$ac_ext 38601LIBS=$ac_check_lib_save_LIBS 38602fi 38603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38604$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38605if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38606 ac_cv_libbfio_dummy=yes 38607else 38608 ac_cv_libbfio=no 38609fi 38610 38611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38612$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38613if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38614 $as_echo_n "(cached) " >&6 38615else 38616 ac_check_lib_save_LIBS=$LIBS 38617LIBS="-lbfio $LIBS" 38618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38619/* end confdefs.h. */ 38620 38621/* Override any GCC internal prototype to avoid an error. 38622 Use char because int might match the return type of a GCC 38623 builtin and then its argument prototype would still apply. */ 38624#ifdef __cplusplus 38625extern "C" 38626#endif 38627char libbfio_handle_get_offset (); 38628int 38629main () 38630{ 38631return libbfio_handle_get_offset (); 38632 ; 38633 return 0; 38634} 38635_ACEOF 38636if ac_fn_c_try_link "$LINENO"; then : 38637 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38638else 38639 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38640fi 38641rm -f core conftest.err conftest.$ac_objext \ 38642 conftest$ac_exeext conftest.$ac_ext 38643LIBS=$ac_check_lib_save_LIBS 38644fi 38645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38646$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38647if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38648 ac_cv_libbfio_dummy=yes 38649else 38650 ac_cv_libbfio=no 38651fi 38652 38653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38654$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38655if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38656 $as_echo_n "(cached) " >&6 38657else 38658 ac_check_lib_save_LIBS=$LIBS 38659LIBS="-lbfio $LIBS" 38660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38661/* end confdefs.h. */ 38662 38663/* Override any GCC internal prototype to avoid an error. 38664 Use char because int might match the return type of a GCC 38665 builtin and then its argument prototype would still apply. */ 38666#ifdef __cplusplus 38667extern "C" 38668#endif 38669char libbfio_handle_get_size (); 38670int 38671main () 38672{ 38673return libbfio_handle_get_size (); 38674 ; 38675 return 0; 38676} 38677_ACEOF 38678if ac_fn_c_try_link "$LINENO"; then : 38679 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38680else 38681 ac_cv_lib_bfio_libbfio_handle_get_size=no 38682fi 38683rm -f core conftest.err conftest.$ac_objext \ 38684 conftest$ac_exeext conftest.$ac_ext 38685LIBS=$ac_check_lib_save_LIBS 38686fi 38687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38688$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38689if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38690 ac_cv_libbfio_dummy=yes 38691else 38692 ac_cv_libbfio=no 38693fi 38694 38695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38696$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38697if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38698 $as_echo_n "(cached) " >&6 38699else 38700 ac_check_lib_save_LIBS=$LIBS 38701LIBS="-lbfio $LIBS" 38702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38703/* end confdefs.h. */ 38704 38705/* Override any GCC internal prototype to avoid an error. 38706 Use char because int might match the return type of a GCC 38707 builtin and then its argument prototype would still apply. */ 38708#ifdef __cplusplus 38709extern "C" 38710#endif 38711char libbfio_handle_set_track_offsets_read (); 38712int 38713main () 38714{ 38715return libbfio_handle_set_track_offsets_read (); 38716 ; 38717 return 0; 38718} 38719_ACEOF 38720if ac_fn_c_try_link "$LINENO"; then : 38721 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38722else 38723 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38724fi 38725rm -f core conftest.err conftest.$ac_objext \ 38726 conftest$ac_exeext conftest.$ac_ext 38727LIBS=$ac_check_lib_save_LIBS 38728fi 38729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38730$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38731if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38732 ac_cv_libbfio_dummy=yes 38733else 38734 ac_cv_libbfio=no 38735fi 38736 38737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38738$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38739if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38740 $as_echo_n "(cached) " >&6 38741else 38742 ac_check_lib_save_LIBS=$LIBS 38743LIBS="-lbfio $LIBS" 38744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38745/* end confdefs.h. */ 38746 38747/* Override any GCC internal prototype to avoid an error. 38748 Use char because int might match the return type of a GCC 38749 builtin and then its argument prototype would still apply. */ 38750#ifdef __cplusplus 38751extern "C" 38752#endif 38753char libbfio_handle_get_number_of_offsets_read (); 38754int 38755main () 38756{ 38757return libbfio_handle_get_number_of_offsets_read (); 38758 ; 38759 return 0; 38760} 38761_ACEOF 38762if ac_fn_c_try_link "$LINENO"; then : 38763 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38764else 38765 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38766fi 38767rm -f core conftest.err conftest.$ac_objext \ 38768 conftest$ac_exeext conftest.$ac_ext 38769LIBS=$ac_check_lib_save_LIBS 38770fi 38771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38772$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38773if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38774 ac_cv_libbfio_dummy=yes 38775else 38776 ac_cv_libbfio=no 38777fi 38778 38779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38780$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38781if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} 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_handle_get_offset_read (); 38796int 38797main () 38798{ 38799return libbfio_handle_get_offset_read (); 38800 ; 38801 return 0; 38802} 38803_ACEOF 38804if ac_fn_c_try_link "$LINENO"; then : 38805 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38806else 38807 ac_cv_lib_bfio_libbfio_handle_get_offset_read=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_handle_get_offset_read" >&5 38814$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38815if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38816 ac_cv_libbfio_dummy=yes 38817else 38818 ac_cv_libbfio=no 38819fi 38820 38821 38822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38823$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38824if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38825 $as_echo_n "(cached) " >&6 38826else 38827 ac_check_lib_save_LIBS=$LIBS 38828LIBS="-lbfio $LIBS" 38829cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38830/* end confdefs.h. */ 38831 38832/* Override any GCC internal prototype to avoid an error. 38833 Use char because int might match the return type of a GCC 38834 builtin and then its argument prototype would still apply. */ 38835#ifdef __cplusplus 38836extern "C" 38837#endif 38838char libbfio_file_initialize (); 38839int 38840main () 38841{ 38842return libbfio_file_initialize (); 38843 ; 38844 return 0; 38845} 38846_ACEOF 38847if ac_fn_c_try_link "$LINENO"; then : 38848 ac_cv_lib_bfio_libbfio_file_initialize=yes 38849else 38850 ac_cv_lib_bfio_libbfio_file_initialize=no 38851fi 38852rm -f core conftest.err conftest.$ac_objext \ 38853 conftest$ac_exeext conftest.$ac_ext 38854LIBS=$ac_check_lib_save_LIBS 38855fi 38856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38857$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38858if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38859 ac_cv_libbfio_dummy=yes 38860else 38861 ac_cv_libbfio=no 38862fi 38863 38864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38865$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38866if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38867 $as_echo_n "(cached) " >&6 38868else 38869 ac_check_lib_save_LIBS=$LIBS 38870LIBS="-lbfio $LIBS" 38871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38872/* end confdefs.h. */ 38873 38874/* Override any GCC internal prototype to avoid an error. 38875 Use char because int might match the return type of a GCC 38876 builtin and then its argument prototype would still apply. */ 38877#ifdef __cplusplus 38878extern "C" 38879#endif 38880char libbfio_file_get_name_size (); 38881int 38882main () 38883{ 38884return libbfio_file_get_name_size (); 38885 ; 38886 return 0; 38887} 38888_ACEOF 38889if ac_fn_c_try_link "$LINENO"; then : 38890 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38891else 38892 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38893fi 38894rm -f core conftest.err conftest.$ac_objext \ 38895 conftest$ac_exeext conftest.$ac_ext 38896LIBS=$ac_check_lib_save_LIBS 38897fi 38898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38899$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38900if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38901 ac_cv_libbfio_dummy=yes 38902else 38903 ac_cv_libbfio=no 38904fi 38905 38906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38907$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38908if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38909 $as_echo_n "(cached) " >&6 38910else 38911 ac_check_lib_save_LIBS=$LIBS 38912LIBS="-lbfio $LIBS" 38913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38914/* end confdefs.h. */ 38915 38916/* Override any GCC internal prototype to avoid an error. 38917 Use char because int might match the return type of a GCC 38918 builtin and then its argument prototype would still apply. */ 38919#ifdef __cplusplus 38920extern "C" 38921#endif 38922char libbfio_file_get_name (); 38923int 38924main () 38925{ 38926return libbfio_file_get_name (); 38927 ; 38928 return 0; 38929} 38930_ACEOF 38931if ac_fn_c_try_link "$LINENO"; then : 38932 ac_cv_lib_bfio_libbfio_file_get_name=yes 38933else 38934 ac_cv_lib_bfio_libbfio_file_get_name=no 38935fi 38936rm -f core conftest.err conftest.$ac_objext \ 38937 conftest$ac_exeext conftest.$ac_ext 38938LIBS=$ac_check_lib_save_LIBS 38939fi 38940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38941$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38942if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38943 ac_cv_libbfio_dummy=yes 38944else 38945 ac_cv_libbfio=no 38946fi 38947 38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38949$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38950if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38951 $as_echo_n "(cached) " >&6 38952else 38953 ac_check_lib_save_LIBS=$LIBS 38954LIBS="-lbfio $LIBS" 38955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38956/* end confdefs.h. */ 38957 38958/* Override any GCC internal prototype to avoid an error. 38959 Use char because int might match the return type of a GCC 38960 builtin and then its argument prototype would still apply. */ 38961#ifdef __cplusplus 38962extern "C" 38963#endif 38964char libbfio_file_set_name (); 38965int 38966main () 38967{ 38968return libbfio_file_set_name (); 38969 ; 38970 return 0; 38971} 38972_ACEOF 38973if ac_fn_c_try_link "$LINENO"; then : 38974 ac_cv_lib_bfio_libbfio_file_set_name=yes 38975else 38976 ac_cv_lib_bfio_libbfio_file_set_name=no 38977fi 38978rm -f core conftest.err conftest.$ac_objext \ 38979 conftest$ac_exeext conftest.$ac_ext 38980LIBS=$ac_check_lib_save_LIBS 38981fi 38982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 38983$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 38984if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 38985 ac_cv_libbfio_dummy=yes 38986else 38987 ac_cv_libbfio=no 38988fi 38989 38990 38991 if test "x$ac_cv_enable_wide_character_type" != xno; then : 38992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 38993$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 38994if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 38995 $as_echo_n "(cached) " >&6 38996else 38997 ac_check_lib_save_LIBS=$LIBS 38998LIBS="-lbfio $LIBS" 38999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39000/* end confdefs.h. */ 39001 39002/* Override any GCC internal prototype to avoid an error. 39003 Use char because int might match the return type of a GCC 39004 builtin and then its argument prototype would still apply. */ 39005#ifdef __cplusplus 39006extern "C" 39007#endif 39008char libbfio_file_get_name_size_wide (); 39009int 39010main () 39011{ 39012return libbfio_file_get_name_size_wide (); 39013 ; 39014 return 0; 39015} 39016_ACEOF 39017if ac_fn_c_try_link "$LINENO"; then : 39018 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 39019else 39020 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 39021fi 39022rm -f core conftest.err conftest.$ac_objext \ 39023 conftest$ac_exeext conftest.$ac_ext 39024LIBS=$ac_check_lib_save_LIBS 39025fi 39026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 39027$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 39028if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 39029 ac_cv_libbfio_dummy=yes 39030else 39031 ac_cv_libbfio=no 39032fi 39033 39034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 39035$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 39036if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 39037 $as_echo_n "(cached) " >&6 39038else 39039 ac_check_lib_save_LIBS=$LIBS 39040LIBS="-lbfio $LIBS" 39041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39042/* end confdefs.h. */ 39043 39044/* Override any GCC internal prototype to avoid an error. 39045 Use char because int might match the return type of a GCC 39046 builtin and then its argument prototype would still apply. */ 39047#ifdef __cplusplus 39048extern "C" 39049#endif 39050char libbfio_file_get_name_wide (); 39051int 39052main () 39053{ 39054return libbfio_file_get_name_wide (); 39055 ; 39056 return 0; 39057} 39058_ACEOF 39059if ac_fn_c_try_link "$LINENO"; then : 39060 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39061else 39062 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39063fi 39064rm -f core conftest.err conftest.$ac_objext \ 39065 conftest$ac_exeext conftest.$ac_ext 39066LIBS=$ac_check_lib_save_LIBS 39067fi 39068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39069$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39070if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39071 ac_cv_libbfio_dummy=yes 39072else 39073 ac_cv_libbfio=no 39074fi 39075 39076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39077$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39078if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39079 $as_echo_n "(cached) " >&6 39080else 39081 ac_check_lib_save_LIBS=$LIBS 39082LIBS="-lbfio $LIBS" 39083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39084/* end confdefs.h. */ 39085 39086/* Override any GCC internal prototype to avoid an error. 39087 Use char because int might match the return type of a GCC 39088 builtin and then its argument prototype would still apply. */ 39089#ifdef __cplusplus 39090extern "C" 39091#endif 39092char libbfio_file_set_name_wide (); 39093int 39094main () 39095{ 39096return libbfio_file_set_name_wide (); 39097 ; 39098 return 0; 39099} 39100_ACEOF 39101if ac_fn_c_try_link "$LINENO"; then : 39102 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39103else 39104 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39105fi 39106rm -f core conftest.err conftest.$ac_objext \ 39107 conftest$ac_exeext conftest.$ac_ext 39108LIBS=$ac_check_lib_save_LIBS 39109fi 39110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39111$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39112if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39113 ac_cv_libbfio_dummy=yes 39114else 39115 ac_cv_libbfio=no 39116fi 39117 39118 39119fi 39120 39121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39122$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39123if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39124 $as_echo_n "(cached) " >&6 39125else 39126 ac_check_lib_save_LIBS=$LIBS 39127LIBS="-lbfio $LIBS" 39128cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39129/* end confdefs.h. */ 39130 39131/* Override any GCC internal prototype to avoid an error. 39132 Use char because int might match the return type of a GCC 39133 builtin and then its argument prototype would still apply. */ 39134#ifdef __cplusplus 39135extern "C" 39136#endif 39137char libbfio_pool_initialize (); 39138int 39139main () 39140{ 39141return libbfio_pool_initialize (); 39142 ; 39143 return 0; 39144} 39145_ACEOF 39146if ac_fn_c_try_link "$LINENO"; then : 39147 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39148else 39149 ac_cv_lib_bfio_libbfio_pool_initialize=no 39150fi 39151rm -f core conftest.err conftest.$ac_objext \ 39152 conftest$ac_exeext conftest.$ac_ext 39153LIBS=$ac_check_lib_save_LIBS 39154fi 39155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39156$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39157if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39158 ac_cv_libbfio_dummy=yes 39159else 39160 ac_cv_libbfio=no 39161fi 39162 39163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39164$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39165if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39166 $as_echo_n "(cached) " >&6 39167else 39168 ac_check_lib_save_LIBS=$LIBS 39169LIBS="-lbfio $LIBS" 39170cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39171/* end confdefs.h. */ 39172 39173/* Override any GCC internal prototype to avoid an error. 39174 Use char because int might match the return type of a GCC 39175 builtin and then its argument prototype would still apply. */ 39176#ifdef __cplusplus 39177extern "C" 39178#endif 39179char libbfio_pool_free (); 39180int 39181main () 39182{ 39183return libbfio_pool_free (); 39184 ; 39185 return 0; 39186} 39187_ACEOF 39188if ac_fn_c_try_link "$LINENO"; then : 39189 ac_cv_lib_bfio_libbfio_pool_free=yes 39190else 39191 ac_cv_lib_bfio_libbfio_pool_free=no 39192fi 39193rm -f core conftest.err conftest.$ac_objext \ 39194 conftest$ac_exeext conftest.$ac_ext 39195LIBS=$ac_check_lib_save_LIBS 39196fi 39197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39198$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39199if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39200 ac_cv_libbfio_dummy=yes 39201else 39202 ac_cv_libbfio=no 39203fi 39204 39205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39206$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39207if ${ac_cv_lib_bfio_libbfio_pool_clone+:} 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_clone (); 39222int 39223main () 39224{ 39225return libbfio_pool_clone (); 39226 ; 39227 return 0; 39228} 39229_ACEOF 39230if ac_fn_c_try_link "$LINENO"; then : 39231 ac_cv_lib_bfio_libbfio_pool_clone=yes 39232else 39233 ac_cv_lib_bfio_libbfio_pool_clone=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_clone" >&5 39240$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39241if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39242 ac_cv_libbfio_dummy=yes 39243else 39244 ac_cv_libbfio=no 39245fi 39246 39247 39248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39249$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39250if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39251 $as_echo_n "(cached) " >&6 39252else 39253 ac_check_lib_save_LIBS=$LIBS 39254LIBS="-lbfio $LIBS" 39255cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39256/* end confdefs.h. */ 39257 39258/* Override any GCC internal prototype to avoid an error. 39259 Use char because int might match the return type of a GCC 39260 builtin and then its argument prototype would still apply. */ 39261#ifdef __cplusplus 39262extern "C" 39263#endif 39264char libbfio_pool_get_number_of_handles (); 39265int 39266main () 39267{ 39268return libbfio_pool_get_number_of_handles (); 39269 ; 39270 return 0; 39271} 39272_ACEOF 39273if ac_fn_c_try_link "$LINENO"; then : 39274 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39275else 39276 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39277fi 39278rm -f core conftest.err conftest.$ac_objext \ 39279 conftest$ac_exeext conftest.$ac_ext 39280LIBS=$ac_check_lib_save_LIBS 39281fi 39282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39283$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39284if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39285 ac_cv_libbfio_dummy=yes 39286else 39287 ac_cv_libbfio=no 39288fi 39289 39290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39291$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39292if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39293 $as_echo_n "(cached) " >&6 39294else 39295 ac_check_lib_save_LIBS=$LIBS 39296LIBS="-lbfio $LIBS" 39297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39298/* end confdefs.h. */ 39299 39300/* Override any GCC internal prototype to avoid an error. 39301 Use char because int might match the return type of a GCC 39302 builtin and then its argument prototype would still apply. */ 39303#ifdef __cplusplus 39304extern "C" 39305#endif 39306char libbfio_pool_get_handle (); 39307int 39308main () 39309{ 39310return libbfio_pool_get_handle (); 39311 ; 39312 return 0; 39313} 39314_ACEOF 39315if ac_fn_c_try_link "$LINENO"; then : 39316 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39317else 39318 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39319fi 39320rm -f core conftest.err conftest.$ac_objext \ 39321 conftest$ac_exeext conftest.$ac_ext 39322LIBS=$ac_check_lib_save_LIBS 39323fi 39324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39325$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39326if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39327 ac_cv_libbfio_dummy=yes 39328else 39329 ac_cv_libbfio=no 39330fi 39331 39332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39333$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39334if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39335 $as_echo_n "(cached) " >&6 39336else 39337 ac_check_lib_save_LIBS=$LIBS 39338LIBS="-lbfio $LIBS" 39339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39340/* end confdefs.h. */ 39341 39342/* Override any GCC internal prototype to avoid an error. 39343 Use char because int might match the return type of a GCC 39344 builtin and then its argument prototype would still apply. */ 39345#ifdef __cplusplus 39346extern "C" 39347#endif 39348char libbfio_pool_set_handle (); 39349int 39350main () 39351{ 39352return libbfio_pool_set_handle (); 39353 ; 39354 return 0; 39355} 39356_ACEOF 39357if ac_fn_c_try_link "$LINENO"; then : 39358 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39359else 39360 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39361fi 39362rm -f core conftest.err conftest.$ac_objext \ 39363 conftest$ac_exeext conftest.$ac_ext 39364LIBS=$ac_check_lib_save_LIBS 39365fi 39366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39367$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39368if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39369 ac_cv_libbfio_dummy=yes 39370else 39371 ac_cv_libbfio=no 39372fi 39373 39374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39375$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39376if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39377 $as_echo_n "(cached) " >&6 39378else 39379 ac_check_lib_save_LIBS=$LIBS 39380LIBS="-lbfio $LIBS" 39381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39382/* end confdefs.h. */ 39383 39384/* Override any GCC internal prototype to avoid an error. 39385 Use char because int might match the return type of a GCC 39386 builtin and then its argument prototype would still apply. */ 39387#ifdef __cplusplus 39388extern "C" 39389#endif 39390char libbfio_pool_append_handle (); 39391int 39392main () 39393{ 39394return libbfio_pool_append_handle (); 39395 ; 39396 return 0; 39397} 39398_ACEOF 39399if ac_fn_c_try_link "$LINENO"; then : 39400 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39401else 39402 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39403fi 39404rm -f core conftest.err conftest.$ac_objext \ 39405 conftest$ac_exeext conftest.$ac_ext 39406LIBS=$ac_check_lib_save_LIBS 39407fi 39408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39409$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39410if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39411 ac_cv_libbfio_dummy=yes 39412else 39413 ac_cv_libbfio=no 39414fi 39415 39416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39417$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39418if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39419 $as_echo_n "(cached) " >&6 39420else 39421 ac_check_lib_save_LIBS=$LIBS 39422LIBS="-lbfio $LIBS" 39423cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39424/* end confdefs.h. */ 39425 39426/* Override any GCC internal prototype to avoid an error. 39427 Use char because int might match the return type of a GCC 39428 builtin and then its argument prototype would still apply. */ 39429#ifdef __cplusplus 39430extern "C" 39431#endif 39432char libbfio_pool_remove_handle (); 39433int 39434main () 39435{ 39436return libbfio_pool_remove_handle (); 39437 ; 39438 return 0; 39439} 39440_ACEOF 39441if ac_fn_c_try_link "$LINENO"; then : 39442 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39443else 39444 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39445fi 39446rm -f core conftest.err conftest.$ac_objext \ 39447 conftest$ac_exeext conftest.$ac_ext 39448LIBS=$ac_check_lib_save_LIBS 39449fi 39450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39451$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39452if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39453 ac_cv_libbfio_dummy=yes 39454else 39455 ac_cv_libbfio=no 39456fi 39457 39458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39459$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39460if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39461 $as_echo_n "(cached) " >&6 39462else 39463 ac_check_lib_save_LIBS=$LIBS 39464LIBS="-lbfio $LIBS" 39465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39466/* end confdefs.h. */ 39467 39468/* Override any GCC internal prototype to avoid an error. 39469 Use char because int might match the return type of a GCC 39470 builtin and then its argument prototype would still apply. */ 39471#ifdef __cplusplus 39472extern "C" 39473#endif 39474char libbfio_pool_get_maximum_number_of_open_handles (); 39475int 39476main () 39477{ 39478return libbfio_pool_get_maximum_number_of_open_handles (); 39479 ; 39480 return 0; 39481} 39482_ACEOF 39483if ac_fn_c_try_link "$LINENO"; then : 39484 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39485else 39486 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39487fi 39488rm -f core conftest.err conftest.$ac_objext \ 39489 conftest$ac_exeext conftest.$ac_ext 39490LIBS=$ac_check_lib_save_LIBS 39491fi 39492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39493$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39494if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39495 ac_cv_libbfio_dummy=yes 39496else 39497 ac_cv_libbfio=no 39498fi 39499 39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39501$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39502if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} 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_set_maximum_number_of_open_handles (); 39517int 39518main () 39519{ 39520return libbfio_pool_set_maximum_number_of_open_handles (); 39521 ; 39522 return 0; 39523} 39524_ACEOF 39525if ac_fn_c_try_link "$LINENO"; then : 39526 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39527else 39528 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=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_set_maximum_number_of_open_handles" >&5 39535$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39536if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39537 ac_cv_libbfio_dummy=yes 39538else 39539 ac_cv_libbfio=no 39540fi 39541 39542 39543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39544$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39545if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39546 $as_echo_n "(cached) " >&6 39547else 39548 ac_check_lib_save_LIBS=$LIBS 39549LIBS="-lbfio $LIBS" 39550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39551/* end confdefs.h. */ 39552 39553/* Override any GCC internal prototype to avoid an error. 39554 Use char because int might match the return type of a GCC 39555 builtin and then its argument prototype would still apply. */ 39556#ifdef __cplusplus 39557extern "C" 39558#endif 39559char libbfio_pool_open (); 39560int 39561main () 39562{ 39563return libbfio_pool_open (); 39564 ; 39565 return 0; 39566} 39567_ACEOF 39568if ac_fn_c_try_link "$LINENO"; then : 39569 ac_cv_lib_bfio_libbfio_pool_open=yes 39570else 39571 ac_cv_lib_bfio_libbfio_pool_open=no 39572fi 39573rm -f core conftest.err conftest.$ac_objext \ 39574 conftest$ac_exeext conftest.$ac_ext 39575LIBS=$ac_check_lib_save_LIBS 39576fi 39577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39578$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39579if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39580 ac_cv_libbfio_dummy=yes 39581else 39582 ac_cv_libbfio=no 39583fi 39584 39585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39586$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39587if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39588 $as_echo_n "(cached) " >&6 39589else 39590 ac_check_lib_save_LIBS=$LIBS 39591LIBS="-lbfio $LIBS" 39592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39593/* end confdefs.h. */ 39594 39595/* Override any GCC internal prototype to avoid an error. 39596 Use char because int might match the return type of a GCC 39597 builtin and then its argument prototype would still apply. */ 39598#ifdef __cplusplus 39599extern "C" 39600#endif 39601char libbfio_pool_reopen (); 39602int 39603main () 39604{ 39605return libbfio_pool_reopen (); 39606 ; 39607 return 0; 39608} 39609_ACEOF 39610if ac_fn_c_try_link "$LINENO"; then : 39611 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39612else 39613 ac_cv_lib_bfio_libbfio_pool_reopen=no 39614fi 39615rm -f core conftest.err conftest.$ac_objext \ 39616 conftest$ac_exeext conftest.$ac_ext 39617LIBS=$ac_check_lib_save_LIBS 39618fi 39619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39620$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39621if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39622 ac_cv_libbfio_dummy=yes 39623else 39624 ac_cv_libbfio=no 39625fi 39626 39627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39628$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39629if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39630 $as_echo_n "(cached) " >&6 39631else 39632 ac_check_lib_save_LIBS=$LIBS 39633LIBS="-lbfio $LIBS" 39634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39635/* end confdefs.h. */ 39636 39637/* Override any GCC internal prototype to avoid an error. 39638 Use char because int might match the return type of a GCC 39639 builtin and then its argument prototype would still apply. */ 39640#ifdef __cplusplus 39641extern "C" 39642#endif 39643char libbfio_pool_close (); 39644int 39645main () 39646{ 39647return libbfio_pool_close (); 39648 ; 39649 return 0; 39650} 39651_ACEOF 39652if ac_fn_c_try_link "$LINENO"; then : 39653 ac_cv_lib_bfio_libbfio_pool_close=yes 39654else 39655 ac_cv_lib_bfio_libbfio_pool_close=no 39656fi 39657rm -f core conftest.err conftest.$ac_objext \ 39658 conftest$ac_exeext conftest.$ac_ext 39659LIBS=$ac_check_lib_save_LIBS 39660fi 39661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39662$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39663if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39664 ac_cv_libbfio_dummy=yes 39665else 39666 ac_cv_libbfio=no 39667fi 39668 39669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39670$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39671if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39672 $as_echo_n "(cached) " >&6 39673else 39674 ac_check_lib_save_LIBS=$LIBS 39675LIBS="-lbfio $LIBS" 39676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39677/* end confdefs.h. */ 39678 39679/* Override any GCC internal prototype to avoid an error. 39680 Use char because int might match the return type of a GCC 39681 builtin and then its argument prototype would still apply. */ 39682#ifdef __cplusplus 39683extern "C" 39684#endif 39685char libbfio_pool_close_all (); 39686int 39687main () 39688{ 39689return libbfio_pool_close_all (); 39690 ; 39691 return 0; 39692} 39693_ACEOF 39694if ac_fn_c_try_link "$LINENO"; then : 39695 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39696else 39697 ac_cv_lib_bfio_libbfio_pool_close_all=no 39698fi 39699rm -f core conftest.err conftest.$ac_objext \ 39700 conftest$ac_exeext conftest.$ac_ext 39701LIBS=$ac_check_lib_save_LIBS 39702fi 39703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39704$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39705if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39706 ac_cv_libbfio_dummy=yes 39707else 39708 ac_cv_libbfio=no 39709fi 39710 39711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39712$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39713if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39714 $as_echo_n "(cached) " >&6 39715else 39716 ac_check_lib_save_LIBS=$LIBS 39717LIBS="-lbfio $LIBS" 39718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39719/* end confdefs.h. */ 39720 39721/* Override any GCC internal prototype to avoid an error. 39722 Use char because int might match the return type of a GCC 39723 builtin and then its argument prototype would still apply. */ 39724#ifdef __cplusplus 39725extern "C" 39726#endif 39727char libbfio_pool_read_buffer (); 39728int 39729main () 39730{ 39731return libbfio_pool_read_buffer (); 39732 ; 39733 return 0; 39734} 39735_ACEOF 39736if ac_fn_c_try_link "$LINENO"; then : 39737 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39738else 39739 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39740fi 39741rm -f core conftest.err conftest.$ac_objext \ 39742 conftest$ac_exeext conftest.$ac_ext 39743LIBS=$ac_check_lib_save_LIBS 39744fi 39745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39746$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39747if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39748 ac_cv_libbfio_dummy=yes 39749else 39750 ac_cv_libbfio=no 39751fi 39752 39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39754$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39755if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39756 $as_echo_n "(cached) " >&6 39757else 39758 ac_check_lib_save_LIBS=$LIBS 39759LIBS="-lbfio $LIBS" 39760cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39761/* end confdefs.h. */ 39762 39763/* Override any GCC internal prototype to avoid an error. 39764 Use char because int might match the return type of a GCC 39765 builtin and then its argument prototype would still apply. */ 39766#ifdef __cplusplus 39767extern "C" 39768#endif 39769char libbfio_pool_read_buffer_at_offset (); 39770int 39771main () 39772{ 39773return libbfio_pool_read_buffer_at_offset (); 39774 ; 39775 return 0; 39776} 39777_ACEOF 39778if ac_fn_c_try_link "$LINENO"; then : 39779 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39780else 39781 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39782fi 39783rm -f core conftest.err conftest.$ac_objext \ 39784 conftest$ac_exeext conftest.$ac_ext 39785LIBS=$ac_check_lib_save_LIBS 39786fi 39787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39788$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39789if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39790 ac_cv_libbfio_dummy=yes 39791else 39792 ac_cv_libbfio=no 39793fi 39794 39795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39796$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39797if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39798 $as_echo_n "(cached) " >&6 39799else 39800 ac_check_lib_save_LIBS=$LIBS 39801LIBS="-lbfio $LIBS" 39802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39803/* end confdefs.h. */ 39804 39805/* Override any GCC internal prototype to avoid an error. 39806 Use char because int might match the return type of a GCC 39807 builtin and then its argument prototype would still apply. */ 39808#ifdef __cplusplus 39809extern "C" 39810#endif 39811char libbfio_pool_write_buffer (); 39812int 39813main () 39814{ 39815return libbfio_pool_write_buffer (); 39816 ; 39817 return 0; 39818} 39819_ACEOF 39820if ac_fn_c_try_link "$LINENO"; then : 39821 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39822else 39823 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39824fi 39825rm -f core conftest.err conftest.$ac_objext \ 39826 conftest$ac_exeext conftest.$ac_ext 39827LIBS=$ac_check_lib_save_LIBS 39828fi 39829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39830$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39831if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39832 ac_cv_libbfio_dummy=yes 39833else 39834 ac_cv_libbfio=no 39835fi 39836 39837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39838$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39839if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39840 $as_echo_n "(cached) " >&6 39841else 39842 ac_check_lib_save_LIBS=$LIBS 39843LIBS="-lbfio $LIBS" 39844cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39845/* end confdefs.h. */ 39846 39847/* Override any GCC internal prototype to avoid an error. 39848 Use char because int might match the return type of a GCC 39849 builtin and then its argument prototype would still apply. */ 39850#ifdef __cplusplus 39851extern "C" 39852#endif 39853char libbfio_pool_write_buffer_at_offset (); 39854int 39855main () 39856{ 39857return libbfio_pool_write_buffer_at_offset (); 39858 ; 39859 return 0; 39860} 39861_ACEOF 39862if ac_fn_c_try_link "$LINENO"; then : 39863 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39864else 39865 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39866fi 39867rm -f core conftest.err conftest.$ac_objext \ 39868 conftest$ac_exeext conftest.$ac_ext 39869LIBS=$ac_check_lib_save_LIBS 39870fi 39871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39872$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39873if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39874 ac_cv_libbfio_dummy=yes 39875else 39876 ac_cv_libbfio=no 39877fi 39878 39879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39880$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39881if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39882 $as_echo_n "(cached) " >&6 39883else 39884 ac_check_lib_save_LIBS=$LIBS 39885LIBS="-lbfio $LIBS" 39886cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39887/* end confdefs.h. */ 39888 39889/* Override any GCC internal prototype to avoid an error. 39890 Use char because int might match the return type of a GCC 39891 builtin and then its argument prototype would still apply. */ 39892#ifdef __cplusplus 39893extern "C" 39894#endif 39895char libbfio_pool_seek_offset (); 39896int 39897main () 39898{ 39899return libbfio_pool_seek_offset (); 39900 ; 39901 return 0; 39902} 39903_ACEOF 39904if ac_fn_c_try_link "$LINENO"; then : 39905 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39906else 39907 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39908fi 39909rm -f core conftest.err conftest.$ac_objext \ 39910 conftest$ac_exeext conftest.$ac_ext 39911LIBS=$ac_check_lib_save_LIBS 39912fi 39913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39914$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39915if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39916 ac_cv_libbfio_dummy=yes 39917else 39918 ac_cv_libbfio=no 39919fi 39920 39921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39922$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39923if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39924 $as_echo_n "(cached) " >&6 39925else 39926 ac_check_lib_save_LIBS=$LIBS 39927LIBS="-lbfio $LIBS" 39928cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39929/* end confdefs.h. */ 39930 39931/* Override any GCC internal prototype to avoid an error. 39932 Use char because int might match the return type of a GCC 39933 builtin and then its argument prototype would still apply. */ 39934#ifdef __cplusplus 39935extern "C" 39936#endif 39937char libbfio_pool_get_offset (); 39938int 39939main () 39940{ 39941return libbfio_pool_get_offset (); 39942 ; 39943 return 0; 39944} 39945_ACEOF 39946if ac_fn_c_try_link "$LINENO"; then : 39947 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39948else 39949 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39950fi 39951rm -f core conftest.err conftest.$ac_objext \ 39952 conftest$ac_exeext conftest.$ac_ext 39953LIBS=$ac_check_lib_save_LIBS 39954fi 39955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39956$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39957if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39958 ac_cv_libbfio_dummy=yes 39959else 39960 ac_cv_libbfio=no 39961fi 39962 39963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39964$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39965if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} 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_pool_get_size (); 39980int 39981main () 39982{ 39983return libbfio_pool_get_size (); 39984 ; 39985 return 0; 39986} 39987_ACEOF 39988if ac_fn_c_try_link "$LINENO"; then : 39989 ac_cv_lib_bfio_libbfio_pool_get_size=yes 39990else 39991 ac_cv_lib_bfio_libbfio_pool_get_size=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_pool_get_size" >&5 39998$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 39999if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 40000 ac_cv_libbfio_dummy=yes 40001else 40002 ac_cv_libbfio=no 40003fi 40004 40005 40006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 40007$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 40008if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 40009 $as_echo_n "(cached) " >&6 40010else 40011 ac_check_lib_save_LIBS=$LIBS 40012LIBS="-lbfio $LIBS" 40013cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40014/* end confdefs.h. */ 40015 40016/* Override any GCC internal prototype to avoid an error. 40017 Use char because int might match the return type of a GCC 40018 builtin and then its argument prototype would still apply. */ 40019#ifdef __cplusplus 40020extern "C" 40021#endif 40022char libbfio_file_pool_open (); 40023int 40024main () 40025{ 40026return libbfio_file_pool_open (); 40027 ; 40028 return 0; 40029} 40030_ACEOF 40031if ac_fn_c_try_link "$LINENO"; then : 40032 ac_cv_lib_bfio_libbfio_file_pool_open=yes 40033else 40034 ac_cv_lib_bfio_libbfio_file_pool_open=no 40035fi 40036rm -f core conftest.err conftest.$ac_objext \ 40037 conftest$ac_exeext conftest.$ac_ext 40038LIBS=$ac_check_lib_save_LIBS 40039fi 40040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 40041$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 40042if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40043 ac_cv_libbfio_dummy=yes 40044else 40045 ac_cv_libbfio=no 40046fi 40047 40048 40049 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40051$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40052if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40053 $as_echo_n "(cached) " >&6 40054else 40055 ac_check_lib_save_LIBS=$LIBS 40056LIBS="-lbfio $LIBS" 40057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40058/* end confdefs.h. */ 40059 40060/* Override any GCC internal prototype to avoid an error. 40061 Use char because int might match the return type of a GCC 40062 builtin and then its argument prototype would still apply. */ 40063#ifdef __cplusplus 40064extern "C" 40065#endif 40066char libbfio_file_pool_open_wide (); 40067int 40068main () 40069{ 40070return libbfio_file_pool_open_wide (); 40071 ; 40072 return 0; 40073} 40074_ACEOF 40075if ac_fn_c_try_link "$LINENO"; then : 40076 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40077else 40078 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40079fi 40080rm -f core conftest.err conftest.$ac_objext \ 40081 conftest$ac_exeext conftest.$ac_ext 40082LIBS=$ac_check_lib_save_LIBS 40083fi 40084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40085$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40086if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40087 ac_cv_libbfio_dummy=yes 40088else 40089 ac_cv_libbfio=no 40090fi 40091 40092 40093fi 40094 40095 ac_cv_libbfio_LIBADD="-lbfio" 40096fi 40097 40098fi 40099 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40101$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40102as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40103See \`config.log' for more details" "$LINENO" 5; } 40104 40105fi 40106 40107fi 40108 40109 if test "x$ac_cv_libbfio" = xyes; then : 40110 40111$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40112 40113 40114fi 40115 40116 if test "x$ac_cv_libbfio" = xyes; then : 40117 HAVE_LIBBFIO=1 40118 40119else 40120 HAVE_LIBBFIO=0 40121 40122 40123fi 40124 40125 40126 if test "x$ac_cv_libbfio" != xyes; then : 40127 40128 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40129 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40130 40131 ac_cv_libbfio=local 40132 40133 40134 40135$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40136 40137 HAVE_LOCAL_LIBBFIO=1 40138 40139 40140fi 40141 40142 if test "x$ac_cv_libbfio" = xlocal; then 40143 HAVE_LOCAL_LIBBFIO_TRUE= 40144 HAVE_LOCAL_LIBBFIO_FALSE='#' 40145else 40146 HAVE_LOCAL_LIBBFIO_TRUE='#' 40147 HAVE_LOCAL_LIBBFIO_FALSE= 40148fi 40149 40150 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40151 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40152 40153 40154fi 40155 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40156 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40157 40158 40159fi 40160 40161 if test "x$ac_cv_libbfio" = xyes; then : 40162 ax_libbfio_pc_libs_private=-lbfio 40163 40164 40165fi 40166 40167 if test "x$ac_cv_libbfio" = xyes; then : 40168 ax_libbfio_spec_requires=libbfio 40169 40170 ax_libbfio_spec_build_requires=libbfio-devel 40171 40172 40173fi 40174 40175 40176 40177 40178# Check whether --with-libfdatetime was given. 40179if test "${with_libfdatetime+set}" = set; then : 40180 withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval 40181else 40182 ac_cv_with_libfdatetime=auto-detect 40183fi 40184 40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfdatetime in includedir and libdir or in the specified DIR, or no if to use local version" >&5 40186$as_echo_n "checking whether to use search for libfdatetime in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 40187if ${ac_cv_with_libfdatetime+:} false; then : 40188 $as_echo_n "(cached) " >&6 40189else 40190 ac_cv_with_libfdatetime=auto-detect 40191fi 40192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5 40193$as_echo "$ac_cv_with_libfdatetime" >&6; } 40194 40195 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then : 40196 ac_cv_libfdatetime=no 40197else 40198 ac_cv_libfdatetime=check 40199 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then : 40200 if test -d "$ac_cv_with_libfdatetime"; then : 40201 CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include" 40202 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib" 40203else 40204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40206as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime 40207See \`config.log' for more details" "$LINENO" 5; } 40208 40209fi 40210 40211else 40212 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40213 40214pkg_failed=no 40215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5 40216$as_echo_n "checking for libfdatetime... " >&6; } 40217 40218if test -n "$libfdatetime_CFLAGS"; then 40219 pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS" 40220 elif test -n "$PKG_CONFIG"; then 40221 if test -n "$PKG_CONFIG" && \ 40222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40223 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40224 ac_status=$? 40225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40226 test $ac_status = 0; }; then 40227 pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null` 40228 test "x$?" != "x0" && pkg_failed=yes 40229else 40230 pkg_failed=yes 40231fi 40232 else 40233 pkg_failed=untried 40234fi 40235if test -n "$libfdatetime_LIBS"; then 40236 pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS" 40237 elif test -n "$PKG_CONFIG"; then 40238 if test -n "$PKG_CONFIG" && \ 40239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40240 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40241 ac_status=$? 40242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40243 test $ac_status = 0; }; then 40244 pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null` 40245 test "x$?" != "x0" && pkg_failed=yes 40246else 40247 pkg_failed=yes 40248fi 40249 else 40250 pkg_failed=untried 40251fi 40252 40253 40254 40255if test $pkg_failed = yes; then 40256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40257$as_echo "no" >&6; } 40258 40259if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40260 _pkg_short_errors_supported=yes 40261else 40262 _pkg_short_errors_supported=no 40263fi 40264 if test $_pkg_short_errors_supported = yes; then 40265 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40266 else 40267 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40268 fi 40269 # Put the nasty error message in config.log where it belongs 40270 echo "$libfdatetime_PKG_ERRORS" >&5 40271 40272 ac_cv_libfdatetime=check 40273elif test $pkg_failed = untried; then 40274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40275$as_echo "no" >&6; } 40276 ac_cv_libfdatetime=check 40277else 40278 libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS 40279 libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS 40280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40281$as_echo "yes" >&6; } 40282 ac_cv_libfdatetime=yes 40283fi 40284 40285fi 40286 if test "x$ac_cv_libfdatetime" = xyes; then : 40287 ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS" 40288 ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS" 40289fi 40290 40291fi 40292 40293 if test "x$ac_cv_libfdatetime" = xcheck; then : 40294 for ac_header in libfdatetime.h 40295do : 40296 ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default" 40297if test "x$ac_cv_header_libfdatetime_h" = xyes; then : 40298 cat >>confdefs.h <<_ACEOF 40299#define HAVE_LIBFDATETIME_H 1 40300_ACEOF 40301 40302fi 40303 40304done 40305 40306 40307 if test "x$ac_cv_header_libfdatetime_h" = xno; then : 40308 ac_cv_libfdatetime=no 40309else 40310 ac_cv_libfdatetime=yes 40311 40312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5 40313$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; } 40314if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then : 40315 $as_echo_n "(cached) " >&6 40316else 40317 ac_check_lib_save_LIBS=$LIBS 40318LIBS="-lfdatetime $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 libfdatetime_get_version (); 40329int 40330main () 40331{ 40332return libfdatetime_get_version (); 40333 ; 40334 return 0; 40335} 40336_ACEOF 40337if ac_fn_c_try_link "$LINENO"; then : 40338 ac_cv_lib_fdatetime_libfdatetime_get_version=yes 40339else 40340 ac_cv_lib_fdatetime_libfdatetime_get_version=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_fdatetime_libfdatetime_get_version" >&5 40347$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; } 40348if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then : 40349 ac_cv_libfdatetime_dummy=yes 40350else 40351 ac_cv_libfdatetime=no 40352fi 40353 40354 40355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5 40356$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; } 40357if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then : 40358 $as_echo_n "(cached) " >&6 40359else 40360 ac_check_lib_save_LIBS=$LIBS 40361LIBS="-lfdatetime $LIBS" 40362cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40363/* end confdefs.h. */ 40364 40365/* Override any GCC internal prototype to avoid an error. 40366 Use char because int might match the return type of a GCC 40367 builtin and then its argument prototype would still apply. */ 40368#ifdef __cplusplus 40369extern "C" 40370#endif 40371char libfdatetime_fat_date_time_initialize (); 40372int 40373main () 40374{ 40375return libfdatetime_fat_date_time_initialize (); 40376 ; 40377 return 0; 40378} 40379_ACEOF 40380if ac_fn_c_try_link "$LINENO"; then : 40381 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes 40382else 40383 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no 40384fi 40385rm -f core conftest.err conftest.$ac_objext \ 40386 conftest$ac_exeext conftest.$ac_ext 40387LIBS=$ac_check_lib_save_LIBS 40388fi 40389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5 40390$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; } 40391if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then : 40392 ac_cv_libfdatetime_dummy=yes 40393else 40394 ac_cv_libfdatetime=no 40395fi 40396 40397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5 40398$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; } 40399if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then : 40400 $as_echo_n "(cached) " >&6 40401else 40402 ac_check_lib_save_LIBS=$LIBS 40403LIBS="-lfdatetime $LIBS" 40404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40405/* end confdefs.h. */ 40406 40407/* Override any GCC internal prototype to avoid an error. 40408 Use char because int might match the return type of a GCC 40409 builtin and then its argument prototype would still apply. */ 40410#ifdef __cplusplus 40411extern "C" 40412#endif 40413char libfdatetime_fat_date_time_free (); 40414int 40415main () 40416{ 40417return libfdatetime_fat_date_time_free (); 40418 ; 40419 return 0; 40420} 40421_ACEOF 40422if ac_fn_c_try_link "$LINENO"; then : 40423 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes 40424else 40425 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no 40426fi 40427rm -f core conftest.err conftest.$ac_objext \ 40428 conftest$ac_exeext conftest.$ac_ext 40429LIBS=$ac_check_lib_save_LIBS 40430fi 40431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5 40432$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; } 40433if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then : 40434 ac_cv_libfdatetime_dummy=yes 40435else 40436 ac_cv_libfdatetime=no 40437fi 40438 40439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5 40440$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; } 40441if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then : 40442 $as_echo_n "(cached) " >&6 40443else 40444 ac_check_lib_save_LIBS=$LIBS 40445LIBS="-lfdatetime $LIBS" 40446cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40447/* end confdefs.h. */ 40448 40449/* Override any GCC internal prototype to avoid an error. 40450 Use char because int might match the return type of a GCC 40451 builtin and then its argument prototype would still apply. */ 40452#ifdef __cplusplus 40453extern "C" 40454#endif 40455char libfdatetime_fat_date_time_copy_from_byte_stream (); 40456int 40457main () 40458{ 40459return libfdatetime_fat_date_time_copy_from_byte_stream (); 40460 ; 40461 return 0; 40462} 40463_ACEOF 40464if ac_fn_c_try_link "$LINENO"; then : 40465 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes 40466else 40467 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no 40468fi 40469rm -f core conftest.err conftest.$ac_objext \ 40470 conftest$ac_exeext conftest.$ac_ext 40471LIBS=$ac_check_lib_save_LIBS 40472fi 40473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5 40474$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; } 40475if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then : 40476 ac_cv_libfdatetime_dummy=yes 40477else 40478 ac_cv_libfdatetime=no 40479fi 40480 40481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5 40482$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; } 40483if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then : 40484 $as_echo_n "(cached) " >&6 40485else 40486 ac_check_lib_save_LIBS=$LIBS 40487LIBS="-lfdatetime $LIBS" 40488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40489/* end confdefs.h. */ 40490 40491/* Override any GCC internal prototype to avoid an error. 40492 Use char because int might match the return type of a GCC 40493 builtin and then its argument prototype would still apply. */ 40494#ifdef __cplusplus 40495extern "C" 40496#endif 40497char libfdatetime_fat_date_time_copy_from_32bit (); 40498int 40499main () 40500{ 40501return libfdatetime_fat_date_time_copy_from_32bit (); 40502 ; 40503 return 0; 40504} 40505_ACEOF 40506if ac_fn_c_try_link "$LINENO"; then : 40507 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes 40508else 40509 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no 40510fi 40511rm -f core conftest.err conftest.$ac_objext \ 40512 conftest$ac_exeext conftest.$ac_ext 40513LIBS=$ac_check_lib_save_LIBS 40514fi 40515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5 40516$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; } 40517if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then : 40518 ac_cv_libfdatetime_dummy=yes 40519else 40520 ac_cv_libfdatetime=no 40521fi 40522 40523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5 40524$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; } 40525if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then : 40526 $as_echo_n "(cached) " >&6 40527else 40528 ac_check_lib_save_LIBS=$LIBS 40529LIBS="-lfdatetime $LIBS" 40530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40531/* end confdefs.h. */ 40532 40533/* Override any GCC internal prototype to avoid an error. 40534 Use char because int might match the return type of a GCC 40535 builtin and then its argument prototype would still apply. */ 40536#ifdef __cplusplus 40537extern "C" 40538#endif 40539char libfdatetime_fat_date_time_copy_to_32bit (); 40540int 40541main () 40542{ 40543return libfdatetime_fat_date_time_copy_to_32bit (); 40544 ; 40545 return 0; 40546} 40547_ACEOF 40548if ac_fn_c_try_link "$LINENO"; then : 40549 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes 40550else 40551 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no 40552fi 40553rm -f core conftest.err conftest.$ac_objext \ 40554 conftest$ac_exeext conftest.$ac_ext 40555LIBS=$ac_check_lib_save_LIBS 40556fi 40557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5 40558$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; } 40559if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then : 40560 ac_cv_libfdatetime_dummy=yes 40561else 40562 ac_cv_libfdatetime=no 40563fi 40564 40565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5 40566$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; } 40567if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then : 40568 $as_echo_n "(cached) " >&6 40569else 40570 ac_check_lib_save_LIBS=$LIBS 40571LIBS="-lfdatetime $LIBS" 40572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40573/* end confdefs.h. */ 40574 40575/* Override any GCC internal prototype to avoid an error. 40576 Use char because int might match the return type of a GCC 40577 builtin and then its argument prototype would still apply. */ 40578#ifdef __cplusplus 40579extern "C" 40580#endif 40581char libfdatetime_fat_date_time_copy_to_utf8_string (); 40582int 40583main () 40584{ 40585return libfdatetime_fat_date_time_copy_to_utf8_string (); 40586 ; 40587 return 0; 40588} 40589_ACEOF 40590if ac_fn_c_try_link "$LINENO"; then : 40591 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes 40592else 40593 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no 40594fi 40595rm -f core conftest.err conftest.$ac_objext \ 40596 conftest$ac_exeext conftest.$ac_ext 40597LIBS=$ac_check_lib_save_LIBS 40598fi 40599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5 40600$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; } 40601if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then : 40602 ac_cv_libfdatetime_dummy=yes 40603else 40604 ac_cv_libfdatetime=no 40605fi 40606 40607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 40608$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 40609if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then : 40610 $as_echo_n "(cached) " >&6 40611else 40612 ac_check_lib_save_LIBS=$LIBS 40613LIBS="-lfdatetime $LIBS" 40614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40615/* end confdefs.h. */ 40616 40617/* Override any GCC internal prototype to avoid an error. 40618 Use char because int might match the return type of a GCC 40619 builtin and then its argument prototype would still apply. */ 40620#ifdef __cplusplus 40621extern "C" 40622#endif 40623char libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40624int 40625main () 40626{ 40627return libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40628 ; 40629 return 0; 40630} 40631_ACEOF 40632if ac_fn_c_try_link "$LINENO"; then : 40633 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes 40634else 40635 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no 40636fi 40637rm -f core conftest.err conftest.$ac_objext \ 40638 conftest$ac_exeext conftest.$ac_ext 40639LIBS=$ac_check_lib_save_LIBS 40640fi 40641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5 40642$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; } 40643if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then : 40644 ac_cv_libfdatetime_dummy=yes 40645else 40646 ac_cv_libfdatetime=no 40647fi 40648 40649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5 40650$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; } 40651if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then : 40652 $as_echo_n "(cached) " >&6 40653else 40654 ac_check_lib_save_LIBS=$LIBS 40655LIBS="-lfdatetime $LIBS" 40656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40657/* end confdefs.h. */ 40658 40659/* Override any GCC internal prototype to avoid an error. 40660 Use char because int might match the return type of a GCC 40661 builtin and then its argument prototype would still apply. */ 40662#ifdef __cplusplus 40663extern "C" 40664#endif 40665char libfdatetime_fat_date_time_copy_to_utf16_string (); 40666int 40667main () 40668{ 40669return libfdatetime_fat_date_time_copy_to_utf16_string (); 40670 ; 40671 return 0; 40672} 40673_ACEOF 40674if ac_fn_c_try_link "$LINENO"; then : 40675 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes 40676else 40677 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no 40678fi 40679rm -f core conftest.err conftest.$ac_objext \ 40680 conftest$ac_exeext conftest.$ac_ext 40681LIBS=$ac_check_lib_save_LIBS 40682fi 40683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5 40684$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; } 40685if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then : 40686 ac_cv_libfdatetime_dummy=yes 40687else 40688 ac_cv_libfdatetime=no 40689fi 40690 40691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 40692$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 40693if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then : 40694 $as_echo_n "(cached) " >&6 40695else 40696 ac_check_lib_save_LIBS=$LIBS 40697LIBS="-lfdatetime $LIBS" 40698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40699/* end confdefs.h. */ 40700 40701/* Override any GCC internal prototype to avoid an error. 40702 Use char because int might match the return type of a GCC 40703 builtin and then its argument prototype would still apply. */ 40704#ifdef __cplusplus 40705extern "C" 40706#endif 40707char libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40708int 40709main () 40710{ 40711return libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40712 ; 40713 return 0; 40714} 40715_ACEOF 40716if ac_fn_c_try_link "$LINENO"; then : 40717 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes 40718else 40719 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no 40720fi 40721rm -f core conftest.err conftest.$ac_objext \ 40722 conftest$ac_exeext conftest.$ac_ext 40723LIBS=$ac_check_lib_save_LIBS 40724fi 40725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5 40726$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; } 40727if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then : 40728 ac_cv_libfdatetime_dummy=yes 40729else 40730 ac_cv_libfdatetime=no 40731fi 40732 40733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5 40734$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; } 40735if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then : 40736 $as_echo_n "(cached) " >&6 40737else 40738 ac_check_lib_save_LIBS=$LIBS 40739LIBS="-lfdatetime $LIBS" 40740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40741/* end confdefs.h. */ 40742 40743/* Override any GCC internal prototype to avoid an error. 40744 Use char because int might match the return type of a GCC 40745 builtin and then its argument prototype would still apply. */ 40746#ifdef __cplusplus 40747extern "C" 40748#endif 40749char libfdatetime_fat_date_time_copy_to_utf32_string (); 40750int 40751main () 40752{ 40753return libfdatetime_fat_date_time_copy_to_utf32_string (); 40754 ; 40755 return 0; 40756} 40757_ACEOF 40758if ac_fn_c_try_link "$LINENO"; then : 40759 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes 40760else 40761 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no 40762fi 40763rm -f core conftest.err conftest.$ac_objext \ 40764 conftest$ac_exeext conftest.$ac_ext 40765LIBS=$ac_check_lib_save_LIBS 40766fi 40767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5 40768$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; } 40769if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then : 40770 ac_cv_libfdatetime_dummy=yes 40771else 40772 ac_cv_libfdatetime=no 40773fi 40774 40775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 40776$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 40777if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then : 40778 $as_echo_n "(cached) " >&6 40779else 40780 ac_check_lib_save_LIBS=$LIBS 40781LIBS="-lfdatetime $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 libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40792int 40793main () 40794{ 40795return libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40796 ; 40797 return 0; 40798} 40799_ACEOF 40800if ac_fn_c_try_link "$LINENO"; then : 40801 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes 40802else 40803 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=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_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5 40810$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; } 40811if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then : 40812 ac_cv_libfdatetime_dummy=yes 40813else 40814 ac_cv_libfdatetime=no 40815fi 40816 40817 40818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5 40819$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; } 40820if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then : 40821 $as_echo_n "(cached) " >&6 40822else 40823 ac_check_lib_save_LIBS=$LIBS 40824LIBS="-lfdatetime $LIBS" 40825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40826/* end confdefs.h. */ 40827 40828/* Override any GCC internal prototype to avoid an error. 40829 Use char because int might match the return type of a GCC 40830 builtin and then its argument prototype would still apply. */ 40831#ifdef __cplusplus 40832extern "C" 40833#endif 40834char libfdatetime_filetime_initialize (); 40835int 40836main () 40837{ 40838return libfdatetime_filetime_initialize (); 40839 ; 40840 return 0; 40841} 40842_ACEOF 40843if ac_fn_c_try_link "$LINENO"; then : 40844 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes 40845else 40846 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no 40847fi 40848rm -f core conftest.err conftest.$ac_objext \ 40849 conftest$ac_exeext conftest.$ac_ext 40850LIBS=$ac_check_lib_save_LIBS 40851fi 40852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5 40853$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; } 40854if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then : 40855 ac_cv_libfdatetime_dummy=yes 40856else 40857 ac_cv_libfdatetime=no 40858fi 40859 40860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5 40861$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; } 40862if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then : 40863 $as_echo_n "(cached) " >&6 40864else 40865 ac_check_lib_save_LIBS=$LIBS 40866LIBS="-lfdatetime $LIBS" 40867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40868/* end confdefs.h. */ 40869 40870/* Override any GCC internal prototype to avoid an error. 40871 Use char because int might match the return type of a GCC 40872 builtin and then its argument prototype would still apply. */ 40873#ifdef __cplusplus 40874extern "C" 40875#endif 40876char libfdatetime_filetime_free (); 40877int 40878main () 40879{ 40880return libfdatetime_filetime_free (); 40881 ; 40882 return 0; 40883} 40884_ACEOF 40885if ac_fn_c_try_link "$LINENO"; then : 40886 ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes 40887else 40888 ac_cv_lib_fdatetime_libfdatetime_filetime_free=no 40889fi 40890rm -f core conftest.err conftest.$ac_objext \ 40891 conftest$ac_exeext conftest.$ac_ext 40892LIBS=$ac_check_lib_save_LIBS 40893fi 40894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5 40895$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; } 40896if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then : 40897 ac_cv_libfdatetime_dummy=yes 40898else 40899 ac_cv_libfdatetime=no 40900fi 40901 40902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5 40903$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; } 40904if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then : 40905 $as_echo_n "(cached) " >&6 40906else 40907 ac_check_lib_save_LIBS=$LIBS 40908LIBS="-lfdatetime $LIBS" 40909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40910/* end confdefs.h. */ 40911 40912/* Override any GCC internal prototype to avoid an error. 40913 Use char because int might match the return type of a GCC 40914 builtin and then its argument prototype would still apply. */ 40915#ifdef __cplusplus 40916extern "C" 40917#endif 40918char libfdatetime_filetime_copy_from_byte_stream (); 40919int 40920main () 40921{ 40922return libfdatetime_filetime_copy_from_byte_stream (); 40923 ; 40924 return 0; 40925} 40926_ACEOF 40927if ac_fn_c_try_link "$LINENO"; then : 40928 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes 40929else 40930 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no 40931fi 40932rm -f core conftest.err conftest.$ac_objext \ 40933 conftest$ac_exeext conftest.$ac_ext 40934LIBS=$ac_check_lib_save_LIBS 40935fi 40936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5 40937$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; } 40938if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then : 40939 ac_cv_libfdatetime_dummy=yes 40940else 40941 ac_cv_libfdatetime=no 40942fi 40943 40944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5 40945$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; } 40946if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then : 40947 $as_echo_n "(cached) " >&6 40948else 40949 ac_check_lib_save_LIBS=$LIBS 40950LIBS="-lfdatetime $LIBS" 40951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40952/* end confdefs.h. */ 40953 40954/* Override any GCC internal prototype to avoid an error. 40955 Use char because int might match the return type of a GCC 40956 builtin and then its argument prototype would still apply. */ 40957#ifdef __cplusplus 40958extern "C" 40959#endif 40960char libfdatetime_filetime_copy_from_64bit (); 40961int 40962main () 40963{ 40964return libfdatetime_filetime_copy_from_64bit (); 40965 ; 40966 return 0; 40967} 40968_ACEOF 40969if ac_fn_c_try_link "$LINENO"; then : 40970 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes 40971else 40972 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=no 40973fi 40974rm -f core conftest.err conftest.$ac_objext \ 40975 conftest$ac_exeext conftest.$ac_ext 40976LIBS=$ac_check_lib_save_LIBS 40977fi 40978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5 40979$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; } 40980if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then : 40981 ac_cv_libfdatetime_dummy=yes 40982else 40983 ac_cv_libfdatetime=no 40984fi 40985 40986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5 40987$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; } 40988if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then : 40989 $as_echo_n "(cached) " >&6 40990else 40991 ac_check_lib_save_LIBS=$LIBS 40992LIBS="-lfdatetime $LIBS" 40993cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40994/* end confdefs.h. */ 40995 40996/* Override any GCC internal prototype to avoid an error. 40997 Use char because int might match the return type of a GCC 40998 builtin and then its argument prototype would still apply. */ 40999#ifdef __cplusplus 41000extern "C" 41001#endif 41002char libfdatetime_filetime_copy_to_64bit (); 41003int 41004main () 41005{ 41006return libfdatetime_filetime_copy_to_64bit (); 41007 ; 41008 return 0; 41009} 41010_ACEOF 41011if ac_fn_c_try_link "$LINENO"; then : 41012 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes 41013else 41014 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=no 41015fi 41016rm -f core conftest.err conftest.$ac_objext \ 41017 conftest$ac_exeext conftest.$ac_ext 41018LIBS=$ac_check_lib_save_LIBS 41019fi 41020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5 41021$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; } 41022if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then : 41023 ac_cv_libfdatetime_dummy=yes 41024else 41025 ac_cv_libfdatetime=no 41026fi 41027 41028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5 41029$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; } 41030if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then : 41031 $as_echo_n "(cached) " >&6 41032else 41033 ac_check_lib_save_LIBS=$LIBS 41034LIBS="-lfdatetime $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 libfdatetime_filetime_copy_to_utf8_string (); 41045int 41046main () 41047{ 41048return libfdatetime_filetime_copy_to_utf8_string (); 41049 ; 41050 return 0; 41051} 41052_ACEOF 41053if ac_fn_c_try_link "$LINENO"; then : 41054 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes 41055else 41056 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=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_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5 41063$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; } 41064if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then : 41065 ac_cv_libfdatetime_dummy=yes 41066else 41067 ac_cv_libfdatetime=no 41068fi 41069 41070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41071$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41072if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then : 41073 $as_echo_n "(cached) " >&6 41074else 41075 ac_check_lib_save_LIBS=$LIBS 41076LIBS="-lfdatetime $LIBS" 41077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41078/* end confdefs.h. */ 41079 41080/* Override any GCC internal prototype to avoid an error. 41081 Use char because int might match the return type of a GCC 41082 builtin and then its argument prototype would still apply. */ 41083#ifdef __cplusplus 41084extern "C" 41085#endif 41086char libfdatetime_filetime_copy_to_utf8_string_with_index (); 41087int 41088main () 41089{ 41090return libfdatetime_filetime_copy_to_utf8_string_with_index (); 41091 ; 41092 return 0; 41093} 41094_ACEOF 41095if ac_fn_c_try_link "$LINENO"; then : 41096 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes 41097else 41098 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=no 41099fi 41100rm -f core conftest.err conftest.$ac_objext \ 41101 conftest$ac_exeext conftest.$ac_ext 41102LIBS=$ac_check_lib_save_LIBS 41103fi 41104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5 41105$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; } 41106if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then : 41107 ac_cv_libfdatetime_dummy=yes 41108else 41109 ac_cv_libfdatetime=no 41110fi 41111 41112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5 41113$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; } 41114if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then : 41115 $as_echo_n "(cached) " >&6 41116else 41117 ac_check_lib_save_LIBS=$LIBS 41118LIBS="-lfdatetime $LIBS" 41119cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41120/* end confdefs.h. */ 41121 41122/* Override any GCC internal prototype to avoid an error. 41123 Use char because int might match the return type of a GCC 41124 builtin and then its argument prototype would still apply. */ 41125#ifdef __cplusplus 41126extern "C" 41127#endif 41128char libfdatetime_filetime_copy_to_utf16_string (); 41129int 41130main () 41131{ 41132return libfdatetime_filetime_copy_to_utf16_string (); 41133 ; 41134 return 0; 41135} 41136_ACEOF 41137if ac_fn_c_try_link "$LINENO"; then : 41138 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes 41139else 41140 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no 41141fi 41142rm -f core conftest.err conftest.$ac_objext \ 41143 conftest$ac_exeext conftest.$ac_ext 41144LIBS=$ac_check_lib_save_LIBS 41145fi 41146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5 41147$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; } 41148if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then : 41149 ac_cv_libfdatetime_dummy=yes 41150else 41151 ac_cv_libfdatetime=no 41152fi 41153 41154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41155$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41156if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then : 41157 $as_echo_n "(cached) " >&6 41158else 41159 ac_check_lib_save_LIBS=$LIBS 41160LIBS="-lfdatetime $LIBS" 41161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41162/* end confdefs.h. */ 41163 41164/* Override any GCC internal prototype to avoid an error. 41165 Use char because int might match the return type of a GCC 41166 builtin and then its argument prototype would still apply. */ 41167#ifdef __cplusplus 41168extern "C" 41169#endif 41170char libfdatetime_filetime_copy_to_utf16_string_with_index (); 41171int 41172main () 41173{ 41174return libfdatetime_filetime_copy_to_utf16_string_with_index (); 41175 ; 41176 return 0; 41177} 41178_ACEOF 41179if ac_fn_c_try_link "$LINENO"; then : 41180 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes 41181else 41182 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no 41183fi 41184rm -f core conftest.err conftest.$ac_objext \ 41185 conftest$ac_exeext conftest.$ac_ext 41186LIBS=$ac_check_lib_save_LIBS 41187fi 41188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5 41189$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; } 41190if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then : 41191 ac_cv_libfdatetime_dummy=yes 41192else 41193 ac_cv_libfdatetime=no 41194fi 41195 41196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5 41197$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; } 41198if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then : 41199 $as_echo_n "(cached) " >&6 41200else 41201 ac_check_lib_save_LIBS=$LIBS 41202LIBS="-lfdatetime $LIBS" 41203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41204/* end confdefs.h. */ 41205 41206/* Override any GCC internal prototype to avoid an error. 41207 Use char because int might match the return type of a GCC 41208 builtin and then its argument prototype would still apply. */ 41209#ifdef __cplusplus 41210extern "C" 41211#endif 41212char libfdatetime_filetime_copy_to_utf32_string (); 41213int 41214main () 41215{ 41216return libfdatetime_filetime_copy_to_utf32_string (); 41217 ; 41218 return 0; 41219} 41220_ACEOF 41221if ac_fn_c_try_link "$LINENO"; then : 41222 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes 41223else 41224 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no 41225fi 41226rm -f core conftest.err conftest.$ac_objext \ 41227 conftest$ac_exeext conftest.$ac_ext 41228LIBS=$ac_check_lib_save_LIBS 41229fi 41230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5 41231$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; } 41232if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then : 41233 ac_cv_libfdatetime_dummy=yes 41234else 41235 ac_cv_libfdatetime=no 41236fi 41237 41238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41239$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41240if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then : 41241 $as_echo_n "(cached) " >&6 41242else 41243 ac_check_lib_save_LIBS=$LIBS 41244LIBS="-lfdatetime $LIBS" 41245cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41246/* end confdefs.h. */ 41247 41248/* Override any GCC internal prototype to avoid an error. 41249 Use char because int might match the return type of a GCC 41250 builtin and then its argument prototype would still apply. */ 41251#ifdef __cplusplus 41252extern "C" 41253#endif 41254char libfdatetime_filetime_copy_to_utf32_string_with_index (); 41255int 41256main () 41257{ 41258return libfdatetime_filetime_copy_to_utf32_string_with_index (); 41259 ; 41260 return 0; 41261} 41262_ACEOF 41263if ac_fn_c_try_link "$LINENO"; then : 41264 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes 41265else 41266 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no 41267fi 41268rm -f core conftest.err conftest.$ac_objext \ 41269 conftest$ac_exeext conftest.$ac_ext 41270LIBS=$ac_check_lib_save_LIBS 41271fi 41272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5 41273$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; } 41274if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then : 41275 ac_cv_libfdatetime_dummy=yes 41276else 41277 ac_cv_libfdatetime=no 41278fi 41279 41280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5 41281$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; } 41282if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then : 41283 $as_echo_n "(cached) " >&6 41284else 41285 ac_check_lib_save_LIBS=$LIBS 41286LIBS="-lfdatetime $LIBS" 41287cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41288/* end confdefs.h. */ 41289 41290/* Override any GCC internal prototype to avoid an error. 41291 Use char because int might match the return type of a GCC 41292 builtin and then its argument prototype would still apply. */ 41293#ifdef __cplusplus 41294extern "C" 41295#endif 41296char libfdatetime_filetime_add (); 41297int 41298main () 41299{ 41300return libfdatetime_filetime_add (); 41301 ; 41302 return 0; 41303} 41304_ACEOF 41305if ac_fn_c_try_link "$LINENO"; then : 41306 ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes 41307else 41308 ac_cv_lib_fdatetime_libfdatetime_filetime_add=no 41309fi 41310rm -f core conftest.err conftest.$ac_objext \ 41311 conftest$ac_exeext conftest.$ac_ext 41312LIBS=$ac_check_lib_save_LIBS 41313fi 41314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5 41315$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; } 41316if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then : 41317 ac_cv_libfdatetime_dummy=yes 41318else 41319 ac_cv_libfdatetime=no 41320fi 41321 41322 41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5 41324$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; } 41325if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then : 41326 $as_echo_n "(cached) " >&6 41327else 41328 ac_check_lib_save_LIBS=$LIBS 41329LIBS="-lfdatetime $LIBS" 41330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41331/* end confdefs.h. */ 41332 41333/* Override any GCC internal prototype to avoid an error. 41334 Use char because int might match the return type of a GCC 41335 builtin and then its argument prototype would still apply. */ 41336#ifdef __cplusplus 41337extern "C" 41338#endif 41339char libfdatetime_floatingtime_initialize (); 41340int 41341main () 41342{ 41343return libfdatetime_floatingtime_initialize (); 41344 ; 41345 return 0; 41346} 41347_ACEOF 41348if ac_fn_c_try_link "$LINENO"; then : 41349 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes 41350else 41351 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no 41352fi 41353rm -f core conftest.err conftest.$ac_objext \ 41354 conftest$ac_exeext conftest.$ac_ext 41355LIBS=$ac_check_lib_save_LIBS 41356fi 41357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5 41358$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; } 41359if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then : 41360 ac_cv_libfdatetime_dummy=yes 41361else 41362 ac_cv_libfdatetime=no 41363fi 41364 41365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5 41366$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; } 41367if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then : 41368 $as_echo_n "(cached) " >&6 41369else 41370 ac_check_lib_save_LIBS=$LIBS 41371LIBS="-lfdatetime $LIBS" 41372cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41373/* end confdefs.h. */ 41374 41375/* Override any GCC internal prototype to avoid an error. 41376 Use char because int might match the return type of a GCC 41377 builtin and then its argument prototype would still apply. */ 41378#ifdef __cplusplus 41379extern "C" 41380#endif 41381char libfdatetime_floatingtime_free (); 41382int 41383main () 41384{ 41385return libfdatetime_floatingtime_free (); 41386 ; 41387 return 0; 41388} 41389_ACEOF 41390if ac_fn_c_try_link "$LINENO"; then : 41391 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes 41392else 41393 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no 41394fi 41395rm -f core conftest.err conftest.$ac_objext \ 41396 conftest$ac_exeext conftest.$ac_ext 41397LIBS=$ac_check_lib_save_LIBS 41398fi 41399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5 41400$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; } 41401if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then : 41402 ac_cv_libfdatetime_dummy=yes 41403else 41404 ac_cv_libfdatetime=no 41405fi 41406 41407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5 41408$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; } 41409if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then : 41410 $as_echo_n "(cached) " >&6 41411else 41412 ac_check_lib_save_LIBS=$LIBS 41413LIBS="-lfdatetime $LIBS" 41414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41415/* end confdefs.h. */ 41416 41417/* Override any GCC internal prototype to avoid an error. 41418 Use char because int might match the return type of a GCC 41419 builtin and then its argument prototype would still apply. */ 41420#ifdef __cplusplus 41421extern "C" 41422#endif 41423char libfdatetime_floatingtime_copy_from_byte_stream (); 41424int 41425main () 41426{ 41427return libfdatetime_floatingtime_copy_from_byte_stream (); 41428 ; 41429 return 0; 41430} 41431_ACEOF 41432if ac_fn_c_try_link "$LINENO"; then : 41433 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes 41434else 41435 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no 41436fi 41437rm -f core conftest.err conftest.$ac_objext \ 41438 conftest$ac_exeext conftest.$ac_ext 41439LIBS=$ac_check_lib_save_LIBS 41440fi 41441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5 41442$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; } 41443if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then : 41444 ac_cv_libfdatetime_dummy=yes 41445else 41446 ac_cv_libfdatetime=no 41447fi 41448 41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5 41450$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; } 41451if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then : 41452 $as_echo_n "(cached) " >&6 41453else 41454 ac_check_lib_save_LIBS=$LIBS 41455LIBS="-lfdatetime $LIBS" 41456cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41457/* end confdefs.h. */ 41458 41459/* Override any GCC internal prototype to avoid an error. 41460 Use char because int might match the return type of a GCC 41461 builtin and then its argument prototype would still apply. */ 41462#ifdef __cplusplus 41463extern "C" 41464#endif 41465char libfdatetime_floatingtime_copy_from_64bit (); 41466int 41467main () 41468{ 41469return libfdatetime_floatingtime_copy_from_64bit (); 41470 ; 41471 return 0; 41472} 41473_ACEOF 41474if ac_fn_c_try_link "$LINENO"; then : 41475 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes 41476else 41477 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no 41478fi 41479rm -f core conftest.err conftest.$ac_objext \ 41480 conftest$ac_exeext conftest.$ac_ext 41481LIBS=$ac_check_lib_save_LIBS 41482fi 41483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5 41484$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; } 41485if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then : 41486 ac_cv_libfdatetime_dummy=yes 41487else 41488 ac_cv_libfdatetime=no 41489fi 41490 41491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5 41492$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; } 41493if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then : 41494 $as_echo_n "(cached) " >&6 41495else 41496 ac_check_lib_save_LIBS=$LIBS 41497LIBS="-lfdatetime $LIBS" 41498cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41499/* end confdefs.h. */ 41500 41501/* Override any GCC internal prototype to avoid an error. 41502 Use char because int might match the return type of a GCC 41503 builtin and then its argument prototype would still apply. */ 41504#ifdef __cplusplus 41505extern "C" 41506#endif 41507char libfdatetime_floatingtime_copy_to_64bit (); 41508int 41509main () 41510{ 41511return libfdatetime_floatingtime_copy_to_64bit (); 41512 ; 41513 return 0; 41514} 41515_ACEOF 41516if ac_fn_c_try_link "$LINENO"; then : 41517 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes 41518else 41519 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no 41520fi 41521rm -f core conftest.err conftest.$ac_objext \ 41522 conftest$ac_exeext conftest.$ac_ext 41523LIBS=$ac_check_lib_save_LIBS 41524fi 41525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5 41526$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; } 41527if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then : 41528 ac_cv_libfdatetime_dummy=yes 41529else 41530 ac_cv_libfdatetime=no 41531fi 41532 41533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5 41534$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; } 41535if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then : 41536 $as_echo_n "(cached) " >&6 41537else 41538 ac_check_lib_save_LIBS=$LIBS 41539LIBS="-lfdatetime $LIBS" 41540cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41541/* end confdefs.h. */ 41542 41543/* Override any GCC internal prototype to avoid an error. 41544 Use char because int might match the return type of a GCC 41545 builtin and then its argument prototype would still apply. */ 41546#ifdef __cplusplus 41547extern "C" 41548#endif 41549char libfdatetime_floatingtime_copy_to_utf8_string (); 41550int 41551main () 41552{ 41553return libfdatetime_floatingtime_copy_to_utf8_string (); 41554 ; 41555 return 0; 41556} 41557_ACEOF 41558if ac_fn_c_try_link "$LINENO"; then : 41559 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes 41560else 41561 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no 41562fi 41563rm -f core conftest.err conftest.$ac_objext \ 41564 conftest$ac_exeext conftest.$ac_ext 41565LIBS=$ac_check_lib_save_LIBS 41566fi 41567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5 41568$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; } 41569if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then : 41570 ac_cv_libfdatetime_dummy=yes 41571else 41572 ac_cv_libfdatetime=no 41573fi 41574 41575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41576$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41577if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then : 41578 $as_echo_n "(cached) " >&6 41579else 41580 ac_check_lib_save_LIBS=$LIBS 41581LIBS="-lfdatetime $LIBS" 41582cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41583/* end confdefs.h. */ 41584 41585/* Override any GCC internal prototype to avoid an error. 41586 Use char because int might match the return type of a GCC 41587 builtin and then its argument prototype would still apply. */ 41588#ifdef __cplusplus 41589extern "C" 41590#endif 41591char libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41592int 41593main () 41594{ 41595return libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41596 ; 41597 return 0; 41598} 41599_ACEOF 41600if ac_fn_c_try_link "$LINENO"; then : 41601 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes 41602else 41603 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no 41604fi 41605rm -f core conftest.err conftest.$ac_objext \ 41606 conftest$ac_exeext conftest.$ac_ext 41607LIBS=$ac_check_lib_save_LIBS 41608fi 41609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5 41610$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; } 41611if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then : 41612 ac_cv_libfdatetime_dummy=yes 41613else 41614 ac_cv_libfdatetime=no 41615fi 41616 41617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5 41618$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; } 41619if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then : 41620 $as_echo_n "(cached) " >&6 41621else 41622 ac_check_lib_save_LIBS=$LIBS 41623LIBS="-lfdatetime $LIBS" 41624cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41625/* end confdefs.h. */ 41626 41627/* Override any GCC internal prototype to avoid an error. 41628 Use char because int might match the return type of a GCC 41629 builtin and then its argument prototype would still apply. */ 41630#ifdef __cplusplus 41631extern "C" 41632#endif 41633char libfdatetime_floatingtime_copy_to_utf16_string (); 41634int 41635main () 41636{ 41637return libfdatetime_floatingtime_copy_to_utf16_string (); 41638 ; 41639 return 0; 41640} 41641_ACEOF 41642if ac_fn_c_try_link "$LINENO"; then : 41643 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes 41644else 41645 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no 41646fi 41647rm -f core conftest.err conftest.$ac_objext \ 41648 conftest$ac_exeext conftest.$ac_ext 41649LIBS=$ac_check_lib_save_LIBS 41650fi 41651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5 41652$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; } 41653if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then : 41654 ac_cv_libfdatetime_dummy=yes 41655else 41656 ac_cv_libfdatetime=no 41657fi 41658 41659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41660$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41661if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then : 41662 $as_echo_n "(cached) " >&6 41663else 41664 ac_check_lib_save_LIBS=$LIBS 41665LIBS="-lfdatetime $LIBS" 41666cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41667/* end confdefs.h. */ 41668 41669/* Override any GCC internal prototype to avoid an error. 41670 Use char because int might match the return type of a GCC 41671 builtin and then its argument prototype would still apply. */ 41672#ifdef __cplusplus 41673extern "C" 41674#endif 41675char libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41676int 41677main () 41678{ 41679return libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41680 ; 41681 return 0; 41682} 41683_ACEOF 41684if ac_fn_c_try_link "$LINENO"; then : 41685 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes 41686else 41687 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no 41688fi 41689rm -f core conftest.err conftest.$ac_objext \ 41690 conftest$ac_exeext conftest.$ac_ext 41691LIBS=$ac_check_lib_save_LIBS 41692fi 41693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5 41694$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; } 41695if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then : 41696 ac_cv_libfdatetime_dummy=yes 41697else 41698 ac_cv_libfdatetime=no 41699fi 41700 41701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5 41702$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; } 41703if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then : 41704 $as_echo_n "(cached) " >&6 41705else 41706 ac_check_lib_save_LIBS=$LIBS 41707LIBS="-lfdatetime $LIBS" 41708cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41709/* end confdefs.h. */ 41710 41711/* Override any GCC internal prototype to avoid an error. 41712 Use char because int might match the return type of a GCC 41713 builtin and then its argument prototype would still apply. */ 41714#ifdef __cplusplus 41715extern "C" 41716#endif 41717char libfdatetime_floatingtime_copy_to_utf32_string (); 41718int 41719main () 41720{ 41721return libfdatetime_floatingtime_copy_to_utf32_string (); 41722 ; 41723 return 0; 41724} 41725_ACEOF 41726if ac_fn_c_try_link "$LINENO"; then : 41727 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes 41728else 41729 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no 41730fi 41731rm -f core conftest.err conftest.$ac_objext \ 41732 conftest$ac_exeext conftest.$ac_ext 41733LIBS=$ac_check_lib_save_LIBS 41734fi 41735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5 41736$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; } 41737if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then : 41738 ac_cv_libfdatetime_dummy=yes 41739else 41740 ac_cv_libfdatetime=no 41741fi 41742 41743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41744$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41745if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then : 41746 $as_echo_n "(cached) " >&6 41747else 41748 ac_check_lib_save_LIBS=$LIBS 41749LIBS="-lfdatetime $LIBS" 41750cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41751/* end confdefs.h. */ 41752 41753/* Override any GCC internal prototype to avoid an error. 41754 Use char because int might match the return type of a GCC 41755 builtin and then its argument prototype would still apply. */ 41756#ifdef __cplusplus 41757extern "C" 41758#endif 41759char libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41760int 41761main () 41762{ 41763return libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41764 ; 41765 return 0; 41766} 41767_ACEOF 41768if ac_fn_c_try_link "$LINENO"; then : 41769 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes 41770else 41771 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no 41772fi 41773rm -f core conftest.err conftest.$ac_objext \ 41774 conftest$ac_exeext conftest.$ac_ext 41775LIBS=$ac_check_lib_save_LIBS 41776fi 41777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5 41778$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; } 41779if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then : 41780 ac_cv_libfdatetime_dummy=yes 41781else 41782 ac_cv_libfdatetime=no 41783fi 41784 41785 41786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5 41787$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; } 41788if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then : 41789 $as_echo_n "(cached) " >&6 41790else 41791 ac_check_lib_save_LIBS=$LIBS 41792LIBS="-lfdatetime $LIBS" 41793cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41794/* end confdefs.h. */ 41795 41796/* Override any GCC internal prototype to avoid an error. 41797 Use char because int might match the return type of a GCC 41798 builtin and then its argument prototype would still apply. */ 41799#ifdef __cplusplus 41800extern "C" 41801#endif 41802char libfdatetime_hfs_time_initialize (); 41803int 41804main () 41805{ 41806return libfdatetime_hfs_time_initialize (); 41807 ; 41808 return 0; 41809} 41810_ACEOF 41811if ac_fn_c_try_link "$LINENO"; then : 41812 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes 41813else 41814 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no 41815fi 41816rm -f core conftest.err conftest.$ac_objext \ 41817 conftest$ac_exeext conftest.$ac_ext 41818LIBS=$ac_check_lib_save_LIBS 41819fi 41820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5 41821$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; } 41822if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then : 41823 ac_cv_libfdatetime_dummy=yes 41824else 41825 ac_cv_libfdatetime=no 41826fi 41827 41828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5 41829$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; } 41830if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then : 41831 $as_echo_n "(cached) " >&6 41832else 41833 ac_check_lib_save_LIBS=$LIBS 41834LIBS="-lfdatetime $LIBS" 41835cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41836/* end confdefs.h. */ 41837 41838/* Override any GCC internal prototype to avoid an error. 41839 Use char because int might match the return type of a GCC 41840 builtin and then its argument prototype would still apply. */ 41841#ifdef __cplusplus 41842extern "C" 41843#endif 41844char libfdatetime_hfs_time_free (); 41845int 41846main () 41847{ 41848return libfdatetime_hfs_time_free (); 41849 ; 41850 return 0; 41851} 41852_ACEOF 41853if ac_fn_c_try_link "$LINENO"; then : 41854 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes 41855else 41856 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no 41857fi 41858rm -f core conftest.err conftest.$ac_objext \ 41859 conftest$ac_exeext conftest.$ac_ext 41860LIBS=$ac_check_lib_save_LIBS 41861fi 41862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5 41863$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; } 41864if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then : 41865 ac_cv_libfdatetime_dummy=yes 41866else 41867 ac_cv_libfdatetime=no 41868fi 41869 41870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5 41871$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; } 41872if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then : 41873 $as_echo_n "(cached) " >&6 41874else 41875 ac_check_lib_save_LIBS=$LIBS 41876LIBS="-lfdatetime $LIBS" 41877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41878/* end confdefs.h. */ 41879 41880/* Override any GCC internal prototype to avoid an error. 41881 Use char because int might match the return type of a GCC 41882 builtin and then its argument prototype would still apply. */ 41883#ifdef __cplusplus 41884extern "C" 41885#endif 41886char libfdatetime_hfs_time_copy_from_byte_stream (); 41887int 41888main () 41889{ 41890return libfdatetime_hfs_time_copy_from_byte_stream (); 41891 ; 41892 return 0; 41893} 41894_ACEOF 41895if ac_fn_c_try_link "$LINENO"; then : 41896 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes 41897else 41898 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no 41899fi 41900rm -f core conftest.err conftest.$ac_objext \ 41901 conftest$ac_exeext conftest.$ac_ext 41902LIBS=$ac_check_lib_save_LIBS 41903fi 41904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5 41905$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; } 41906if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then : 41907 ac_cv_libfdatetime_dummy=yes 41908else 41909 ac_cv_libfdatetime=no 41910fi 41911 41912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5 41913$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; } 41914if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then : 41915 $as_echo_n "(cached) " >&6 41916else 41917 ac_check_lib_save_LIBS=$LIBS 41918LIBS="-lfdatetime $LIBS" 41919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41920/* end confdefs.h. */ 41921 41922/* Override any GCC internal prototype to avoid an error. 41923 Use char because int might match the return type of a GCC 41924 builtin and then its argument prototype would still apply. */ 41925#ifdef __cplusplus 41926extern "C" 41927#endif 41928char libfdatetime_hfs_time_copy_from_32bit (); 41929int 41930main () 41931{ 41932return libfdatetime_hfs_time_copy_from_32bit (); 41933 ; 41934 return 0; 41935} 41936_ACEOF 41937if ac_fn_c_try_link "$LINENO"; then : 41938 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes 41939else 41940 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no 41941fi 41942rm -f core conftest.err conftest.$ac_objext \ 41943 conftest$ac_exeext conftest.$ac_ext 41944LIBS=$ac_check_lib_save_LIBS 41945fi 41946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5 41947$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; } 41948if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then : 41949 ac_cv_libfdatetime_dummy=yes 41950else 41951 ac_cv_libfdatetime=no 41952fi 41953 41954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5 41955$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; } 41956if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then : 41957 $as_echo_n "(cached) " >&6 41958else 41959 ac_check_lib_save_LIBS=$LIBS 41960LIBS="-lfdatetime $LIBS" 41961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41962/* end confdefs.h. */ 41963 41964/* Override any GCC internal prototype to avoid an error. 41965 Use char because int might match the return type of a GCC 41966 builtin and then its argument prototype would still apply. */ 41967#ifdef __cplusplus 41968extern "C" 41969#endif 41970char libfdatetime_hfs_time_copy_to_32bit (); 41971int 41972main () 41973{ 41974return libfdatetime_hfs_time_copy_to_32bit (); 41975 ; 41976 return 0; 41977} 41978_ACEOF 41979if ac_fn_c_try_link "$LINENO"; then : 41980 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes 41981else 41982 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no 41983fi 41984rm -f core conftest.err conftest.$ac_objext \ 41985 conftest$ac_exeext conftest.$ac_ext 41986LIBS=$ac_check_lib_save_LIBS 41987fi 41988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5 41989$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; } 41990if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then : 41991 ac_cv_libfdatetime_dummy=yes 41992else 41993 ac_cv_libfdatetime=no 41994fi 41995 41996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5 41997$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; } 41998if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then : 41999 $as_echo_n "(cached) " >&6 42000else 42001 ac_check_lib_save_LIBS=$LIBS 42002LIBS="-lfdatetime $LIBS" 42003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42004/* end confdefs.h. */ 42005 42006/* Override any GCC internal prototype to avoid an error. 42007 Use char because int might match the return type of a GCC 42008 builtin and then its argument prototype would still apply. */ 42009#ifdef __cplusplus 42010extern "C" 42011#endif 42012char libfdatetime_hfs_time_copy_to_utf8_string (); 42013int 42014main () 42015{ 42016return libfdatetime_hfs_time_copy_to_utf8_string (); 42017 ; 42018 return 0; 42019} 42020_ACEOF 42021if ac_fn_c_try_link "$LINENO"; then : 42022 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes 42023else 42024 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no 42025fi 42026rm -f core conftest.err conftest.$ac_objext \ 42027 conftest$ac_exeext conftest.$ac_ext 42028LIBS=$ac_check_lib_save_LIBS 42029fi 42030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5 42031$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; } 42032if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then : 42033 ac_cv_libfdatetime_dummy=yes 42034else 42035 ac_cv_libfdatetime=no 42036fi 42037 42038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 42039$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42040if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then : 42041 $as_echo_n "(cached) " >&6 42042else 42043 ac_check_lib_save_LIBS=$LIBS 42044LIBS="-lfdatetime $LIBS" 42045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42046/* end confdefs.h. */ 42047 42048/* Override any GCC internal prototype to avoid an error. 42049 Use char because int might match the return type of a GCC 42050 builtin and then its argument prototype would still apply. */ 42051#ifdef __cplusplus 42052extern "C" 42053#endif 42054char libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42055int 42056main () 42057{ 42058return libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42059 ; 42060 return 0; 42061} 42062_ACEOF 42063if ac_fn_c_try_link "$LINENO"; then : 42064 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes 42065else 42066 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no 42067fi 42068rm -f core conftest.err conftest.$ac_objext \ 42069 conftest$ac_exeext conftest.$ac_ext 42070LIBS=$ac_check_lib_save_LIBS 42071fi 42072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5 42073$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; } 42074if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then : 42075 ac_cv_libfdatetime_dummy=yes 42076else 42077 ac_cv_libfdatetime=no 42078fi 42079 42080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5 42081$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; } 42082if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then : 42083 $as_echo_n "(cached) " >&6 42084else 42085 ac_check_lib_save_LIBS=$LIBS 42086LIBS="-lfdatetime $LIBS" 42087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42088/* end confdefs.h. */ 42089 42090/* Override any GCC internal prototype to avoid an error. 42091 Use char because int might match the return type of a GCC 42092 builtin and then its argument prototype would still apply. */ 42093#ifdef __cplusplus 42094extern "C" 42095#endif 42096char libfdatetime_hfs_time_copy_to_utf16_string (); 42097int 42098main () 42099{ 42100return libfdatetime_hfs_time_copy_to_utf16_string (); 42101 ; 42102 return 0; 42103} 42104_ACEOF 42105if ac_fn_c_try_link "$LINENO"; then : 42106 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes 42107else 42108 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no 42109fi 42110rm -f core conftest.err conftest.$ac_objext \ 42111 conftest$ac_exeext conftest.$ac_ext 42112LIBS=$ac_check_lib_save_LIBS 42113fi 42114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5 42115$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; } 42116if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then : 42117 ac_cv_libfdatetime_dummy=yes 42118else 42119 ac_cv_libfdatetime=no 42120fi 42121 42122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 42123$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42124if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then : 42125 $as_echo_n "(cached) " >&6 42126else 42127 ac_check_lib_save_LIBS=$LIBS 42128LIBS="-lfdatetime $LIBS" 42129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42130/* end confdefs.h. */ 42131 42132/* Override any GCC internal prototype to avoid an error. 42133 Use char because int might match the return type of a GCC 42134 builtin and then its argument prototype would still apply. */ 42135#ifdef __cplusplus 42136extern "C" 42137#endif 42138char libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42139int 42140main () 42141{ 42142return libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42143 ; 42144 return 0; 42145} 42146_ACEOF 42147if ac_fn_c_try_link "$LINENO"; then : 42148 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes 42149else 42150 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no 42151fi 42152rm -f core conftest.err conftest.$ac_objext \ 42153 conftest$ac_exeext conftest.$ac_ext 42154LIBS=$ac_check_lib_save_LIBS 42155fi 42156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5 42157$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; } 42158if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then : 42159 ac_cv_libfdatetime_dummy=yes 42160else 42161 ac_cv_libfdatetime=no 42162fi 42163 42164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5 42165$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; } 42166if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then : 42167 $as_echo_n "(cached) " >&6 42168else 42169 ac_check_lib_save_LIBS=$LIBS 42170LIBS="-lfdatetime $LIBS" 42171cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42172/* end confdefs.h. */ 42173 42174/* Override any GCC internal prototype to avoid an error. 42175 Use char because int might match the return type of a GCC 42176 builtin and then its argument prototype would still apply. */ 42177#ifdef __cplusplus 42178extern "C" 42179#endif 42180char libfdatetime_hfs_time_copy_to_utf32_string (); 42181int 42182main () 42183{ 42184return libfdatetime_hfs_time_copy_to_utf32_string (); 42185 ; 42186 return 0; 42187} 42188_ACEOF 42189if ac_fn_c_try_link "$LINENO"; then : 42190 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes 42191else 42192 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no 42193fi 42194rm -f core conftest.err conftest.$ac_objext \ 42195 conftest$ac_exeext conftest.$ac_ext 42196LIBS=$ac_check_lib_save_LIBS 42197fi 42198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5 42199$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; } 42200if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then : 42201 ac_cv_libfdatetime_dummy=yes 42202else 42203 ac_cv_libfdatetime=no 42204fi 42205 42206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 42207$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42208if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then : 42209 $as_echo_n "(cached) " >&6 42210else 42211 ac_check_lib_save_LIBS=$LIBS 42212LIBS="-lfdatetime $LIBS" 42213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42214/* end confdefs.h. */ 42215 42216/* Override any GCC internal prototype to avoid an error. 42217 Use char because int might match the return type of a GCC 42218 builtin and then its argument prototype would still apply. */ 42219#ifdef __cplusplus 42220extern "C" 42221#endif 42222char libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42223int 42224main () 42225{ 42226return libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42227 ; 42228 return 0; 42229} 42230_ACEOF 42231if ac_fn_c_try_link "$LINENO"; then : 42232 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes 42233else 42234 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no 42235fi 42236rm -f core conftest.err conftest.$ac_objext \ 42237 conftest$ac_exeext conftest.$ac_ext 42238LIBS=$ac_check_lib_save_LIBS 42239fi 42240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5 42241$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; } 42242if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then : 42243 ac_cv_libfdatetime_dummy=yes 42244else 42245 ac_cv_libfdatetime=no 42246fi 42247 42248 42249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5 42250$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; } 42251if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then : 42252 $as_echo_n "(cached) " >&6 42253else 42254 ac_check_lib_save_LIBS=$LIBS 42255LIBS="-lfdatetime $LIBS" 42256cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42257/* end confdefs.h. */ 42258 42259/* Override any GCC internal prototype to avoid an error. 42260 Use char because int might match the return type of a GCC 42261 builtin and then its argument prototype would still apply. */ 42262#ifdef __cplusplus 42263extern "C" 42264#endif 42265char libfdatetime_nsf_timedate_initialize (); 42266int 42267main () 42268{ 42269return libfdatetime_nsf_timedate_initialize (); 42270 ; 42271 return 0; 42272} 42273_ACEOF 42274if ac_fn_c_try_link "$LINENO"; then : 42275 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes 42276else 42277 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no 42278fi 42279rm -f core conftest.err conftest.$ac_objext \ 42280 conftest$ac_exeext conftest.$ac_ext 42281LIBS=$ac_check_lib_save_LIBS 42282fi 42283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5 42284$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; } 42285if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then : 42286 ac_cv_libfdatetime_dummy=yes 42287else 42288 ac_cv_libfdatetime=no 42289fi 42290 42291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5 42292$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; } 42293if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then : 42294 $as_echo_n "(cached) " >&6 42295else 42296 ac_check_lib_save_LIBS=$LIBS 42297LIBS="-lfdatetime $LIBS" 42298cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42299/* end confdefs.h. */ 42300 42301/* Override any GCC internal prototype to avoid an error. 42302 Use char because int might match the return type of a GCC 42303 builtin and then its argument prototype would still apply. */ 42304#ifdef __cplusplus 42305extern "C" 42306#endif 42307char libfdatetime_nsf_timedate_free (); 42308int 42309main () 42310{ 42311return libfdatetime_nsf_timedate_free (); 42312 ; 42313 return 0; 42314} 42315_ACEOF 42316if ac_fn_c_try_link "$LINENO"; then : 42317 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes 42318else 42319 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no 42320fi 42321rm -f core conftest.err conftest.$ac_objext \ 42322 conftest$ac_exeext conftest.$ac_ext 42323LIBS=$ac_check_lib_save_LIBS 42324fi 42325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5 42326$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; } 42327if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then : 42328 ac_cv_libfdatetime_dummy=yes 42329else 42330 ac_cv_libfdatetime=no 42331fi 42332 42333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5 42334$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; } 42335if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then : 42336 $as_echo_n "(cached) " >&6 42337else 42338 ac_check_lib_save_LIBS=$LIBS 42339LIBS="-lfdatetime $LIBS" 42340cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42341/* end confdefs.h. */ 42342 42343/* Override any GCC internal prototype to avoid an error. 42344 Use char because int might match the return type of a GCC 42345 builtin and then its argument prototype would still apply. */ 42346#ifdef __cplusplus 42347extern "C" 42348#endif 42349char libfdatetime_nsf_timedate_copy_from_byte_stream (); 42350int 42351main () 42352{ 42353return libfdatetime_nsf_timedate_copy_from_byte_stream (); 42354 ; 42355 return 0; 42356} 42357_ACEOF 42358if ac_fn_c_try_link "$LINENO"; then : 42359 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes 42360else 42361 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no 42362fi 42363rm -f core conftest.err conftest.$ac_objext \ 42364 conftest$ac_exeext conftest.$ac_ext 42365LIBS=$ac_check_lib_save_LIBS 42366fi 42367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5 42368$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; } 42369if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then : 42370 ac_cv_libfdatetime_dummy=yes 42371else 42372 ac_cv_libfdatetime=no 42373fi 42374 42375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5 42376$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; } 42377if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then : 42378 $as_echo_n "(cached) " >&6 42379else 42380 ac_check_lib_save_LIBS=$LIBS 42381LIBS="-lfdatetime $LIBS" 42382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42383/* end confdefs.h. */ 42384 42385/* Override any GCC internal prototype to avoid an error. 42386 Use char because int might match the return type of a GCC 42387 builtin and then its argument prototype would still apply. */ 42388#ifdef __cplusplus 42389extern "C" 42390#endif 42391char libfdatetime_nsf_timedate_copy_from_64bit (); 42392int 42393main () 42394{ 42395return libfdatetime_nsf_timedate_copy_from_64bit (); 42396 ; 42397 return 0; 42398} 42399_ACEOF 42400if ac_fn_c_try_link "$LINENO"; then : 42401 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes 42402else 42403 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no 42404fi 42405rm -f core conftest.err conftest.$ac_objext \ 42406 conftest$ac_exeext conftest.$ac_ext 42407LIBS=$ac_check_lib_save_LIBS 42408fi 42409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5 42410$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; } 42411if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then : 42412 ac_cv_libfdatetime_dummy=yes 42413else 42414 ac_cv_libfdatetime=no 42415fi 42416 42417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5 42418$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; } 42419if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then : 42420 $as_echo_n "(cached) " >&6 42421else 42422 ac_check_lib_save_LIBS=$LIBS 42423LIBS="-lfdatetime $LIBS" 42424cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42425/* end confdefs.h. */ 42426 42427/* Override any GCC internal prototype to avoid an error. 42428 Use char because int might match the return type of a GCC 42429 builtin and then its argument prototype would still apply. */ 42430#ifdef __cplusplus 42431extern "C" 42432#endif 42433char libfdatetime_nsf_timedate_copy_to_64bit (); 42434int 42435main () 42436{ 42437return libfdatetime_nsf_timedate_copy_to_64bit (); 42438 ; 42439 return 0; 42440} 42441_ACEOF 42442if ac_fn_c_try_link "$LINENO"; then : 42443 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes 42444else 42445 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no 42446fi 42447rm -f core conftest.err conftest.$ac_objext \ 42448 conftest$ac_exeext conftest.$ac_ext 42449LIBS=$ac_check_lib_save_LIBS 42450fi 42451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5 42452$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; } 42453if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then : 42454 ac_cv_libfdatetime_dummy=yes 42455else 42456 ac_cv_libfdatetime=no 42457fi 42458 42459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5 42460$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; } 42461if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then : 42462 $as_echo_n "(cached) " >&6 42463else 42464 ac_check_lib_save_LIBS=$LIBS 42465LIBS="-lfdatetime $LIBS" 42466cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42467/* end confdefs.h. */ 42468 42469/* Override any GCC internal prototype to avoid an error. 42470 Use char because int might match the return type of a GCC 42471 builtin and then its argument prototype would still apply. */ 42472#ifdef __cplusplus 42473extern "C" 42474#endif 42475char libfdatetime_nsf_timedate_copy_to_utf8_string (); 42476int 42477main () 42478{ 42479return libfdatetime_nsf_timedate_copy_to_utf8_string (); 42480 ; 42481 return 0; 42482} 42483_ACEOF 42484if ac_fn_c_try_link "$LINENO"; then : 42485 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes 42486else 42487 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no 42488fi 42489rm -f core conftest.err conftest.$ac_objext \ 42490 conftest$ac_exeext conftest.$ac_ext 42491LIBS=$ac_check_lib_save_LIBS 42492fi 42493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5 42494$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; } 42495if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then : 42496 ac_cv_libfdatetime_dummy=yes 42497else 42498 ac_cv_libfdatetime=no 42499fi 42500 42501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5 42502$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42503if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then : 42504 $as_echo_n "(cached) " >&6 42505else 42506 ac_check_lib_save_LIBS=$LIBS 42507LIBS="-lfdatetime $LIBS" 42508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42509/* end confdefs.h. */ 42510 42511/* Override any GCC internal prototype to avoid an error. 42512 Use char because int might match the return type of a GCC 42513 builtin and then its argument prototype would still apply. */ 42514#ifdef __cplusplus 42515extern "C" 42516#endif 42517char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42518int 42519main () 42520{ 42521return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42522 ; 42523 return 0; 42524} 42525_ACEOF 42526if ac_fn_c_try_link "$LINENO"; then : 42527 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes 42528else 42529 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no 42530fi 42531rm -f core conftest.err conftest.$ac_objext \ 42532 conftest$ac_exeext conftest.$ac_ext 42533LIBS=$ac_check_lib_save_LIBS 42534fi 42535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5 42536$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; } 42537if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then : 42538 ac_cv_libfdatetime_dummy=yes 42539else 42540 ac_cv_libfdatetime=no 42541fi 42542 42543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5 42544$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; } 42545if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then : 42546 $as_echo_n "(cached) " >&6 42547else 42548 ac_check_lib_save_LIBS=$LIBS 42549LIBS="-lfdatetime $LIBS" 42550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42551/* end confdefs.h. */ 42552 42553/* Override any GCC internal prototype to avoid an error. 42554 Use char because int might match the return type of a GCC 42555 builtin and then its argument prototype would still apply. */ 42556#ifdef __cplusplus 42557extern "C" 42558#endif 42559char libfdatetime_nsf_timedate_copy_to_utf16_string (); 42560int 42561main () 42562{ 42563return libfdatetime_nsf_timedate_copy_to_utf16_string (); 42564 ; 42565 return 0; 42566} 42567_ACEOF 42568if ac_fn_c_try_link "$LINENO"; then : 42569 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes 42570else 42571 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no 42572fi 42573rm -f core conftest.err conftest.$ac_objext \ 42574 conftest$ac_exeext conftest.$ac_ext 42575LIBS=$ac_check_lib_save_LIBS 42576fi 42577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5 42578$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; } 42579if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then : 42580 ac_cv_libfdatetime_dummy=yes 42581else 42582 ac_cv_libfdatetime=no 42583fi 42584 42585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5 42586$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42587if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then : 42588 $as_echo_n "(cached) " >&6 42589else 42590 ac_check_lib_save_LIBS=$LIBS 42591LIBS="-lfdatetime $LIBS" 42592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42593/* end confdefs.h. */ 42594 42595/* Override any GCC internal prototype to avoid an error. 42596 Use char because int might match the return type of a GCC 42597 builtin and then its argument prototype would still apply. */ 42598#ifdef __cplusplus 42599extern "C" 42600#endif 42601char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42602int 42603main () 42604{ 42605return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42606 ; 42607 return 0; 42608} 42609_ACEOF 42610if ac_fn_c_try_link "$LINENO"; then : 42611 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes 42612else 42613 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no 42614fi 42615rm -f core conftest.err conftest.$ac_objext \ 42616 conftest$ac_exeext conftest.$ac_ext 42617LIBS=$ac_check_lib_save_LIBS 42618fi 42619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5 42620$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; } 42621if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then : 42622 ac_cv_libfdatetime_dummy=yes 42623else 42624 ac_cv_libfdatetime=no 42625fi 42626 42627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5 42628$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; } 42629if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then : 42630 $as_echo_n "(cached) " >&6 42631else 42632 ac_check_lib_save_LIBS=$LIBS 42633LIBS="-lfdatetime $LIBS" 42634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42635/* end confdefs.h. */ 42636 42637/* Override any GCC internal prototype to avoid an error. 42638 Use char because int might match the return type of a GCC 42639 builtin and then its argument prototype would still apply. */ 42640#ifdef __cplusplus 42641extern "C" 42642#endif 42643char libfdatetime_nsf_timedate_copy_to_utf32_string (); 42644int 42645main () 42646{ 42647return libfdatetime_nsf_timedate_copy_to_utf32_string (); 42648 ; 42649 return 0; 42650} 42651_ACEOF 42652if ac_fn_c_try_link "$LINENO"; then : 42653 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes 42654else 42655 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no 42656fi 42657rm -f core conftest.err conftest.$ac_objext \ 42658 conftest$ac_exeext conftest.$ac_ext 42659LIBS=$ac_check_lib_save_LIBS 42660fi 42661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5 42662$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; } 42663if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then : 42664 ac_cv_libfdatetime_dummy=yes 42665else 42666 ac_cv_libfdatetime=no 42667fi 42668 42669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5 42670$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42671if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then : 42672 $as_echo_n "(cached) " >&6 42673else 42674 ac_check_lib_save_LIBS=$LIBS 42675LIBS="-lfdatetime $LIBS" 42676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42677/* end confdefs.h. */ 42678 42679/* Override any GCC internal prototype to avoid an error. 42680 Use char because int might match the return type of a GCC 42681 builtin and then its argument prototype would still apply. */ 42682#ifdef __cplusplus 42683extern "C" 42684#endif 42685char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42686int 42687main () 42688{ 42689return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42690 ; 42691 return 0; 42692} 42693_ACEOF 42694if ac_fn_c_try_link "$LINENO"; then : 42695 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes 42696else 42697 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no 42698fi 42699rm -f core conftest.err conftest.$ac_objext \ 42700 conftest$ac_exeext conftest.$ac_ext 42701LIBS=$ac_check_lib_save_LIBS 42702fi 42703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5 42704$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; } 42705if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then : 42706 ac_cv_libfdatetime_dummy=yes 42707else 42708 ac_cv_libfdatetime=no 42709fi 42710 42711 42712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5 42713$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; } 42714if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then : 42715 $as_echo_n "(cached) " >&6 42716else 42717 ac_check_lib_save_LIBS=$LIBS 42718LIBS="-lfdatetime $LIBS" 42719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42720/* end confdefs.h. */ 42721 42722/* Override any GCC internal prototype to avoid an error. 42723 Use char because int might match the return type of a GCC 42724 builtin and then its argument prototype would still apply. */ 42725#ifdef __cplusplus 42726extern "C" 42727#endif 42728char libfdatetime_posix_time_initialize (); 42729int 42730main () 42731{ 42732return libfdatetime_posix_time_initialize (); 42733 ; 42734 return 0; 42735} 42736_ACEOF 42737if ac_fn_c_try_link "$LINENO"; then : 42738 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes 42739else 42740 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no 42741fi 42742rm -f core conftest.err conftest.$ac_objext \ 42743 conftest$ac_exeext conftest.$ac_ext 42744LIBS=$ac_check_lib_save_LIBS 42745fi 42746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5 42747$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; } 42748if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then : 42749 ac_cv_libfdatetime_dummy=yes 42750else 42751 ac_cv_libfdatetime=no 42752fi 42753 42754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5 42755$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; } 42756if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then : 42757 $as_echo_n "(cached) " >&6 42758else 42759 ac_check_lib_save_LIBS=$LIBS 42760LIBS="-lfdatetime $LIBS" 42761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42762/* end confdefs.h. */ 42763 42764/* Override any GCC internal prototype to avoid an error. 42765 Use char because int might match the return type of a GCC 42766 builtin and then its argument prototype would still apply. */ 42767#ifdef __cplusplus 42768extern "C" 42769#endif 42770char libfdatetime_posix_time_free (); 42771int 42772main () 42773{ 42774return libfdatetime_posix_time_free (); 42775 ; 42776 return 0; 42777} 42778_ACEOF 42779if ac_fn_c_try_link "$LINENO"; then : 42780 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes 42781else 42782 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no 42783fi 42784rm -f core conftest.err conftest.$ac_objext \ 42785 conftest$ac_exeext conftest.$ac_ext 42786LIBS=$ac_check_lib_save_LIBS 42787fi 42788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5 42789$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; } 42790if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then : 42791 ac_cv_libfdatetime_dummy=yes 42792else 42793 ac_cv_libfdatetime=no 42794fi 42795 42796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5 42797$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; } 42798if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then : 42799 $as_echo_n "(cached) " >&6 42800else 42801 ac_check_lib_save_LIBS=$LIBS 42802LIBS="-lfdatetime $LIBS" 42803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42804/* end confdefs.h. */ 42805 42806/* Override any GCC internal prototype to avoid an error. 42807 Use char because int might match the return type of a GCC 42808 builtin and then its argument prototype would still apply. */ 42809#ifdef __cplusplus 42810extern "C" 42811#endif 42812char libfdatetime_posix_time_copy_from_byte_stream (); 42813int 42814main () 42815{ 42816return libfdatetime_posix_time_copy_from_byte_stream (); 42817 ; 42818 return 0; 42819} 42820_ACEOF 42821if ac_fn_c_try_link "$LINENO"; then : 42822 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes 42823else 42824 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no 42825fi 42826rm -f core conftest.err conftest.$ac_objext \ 42827 conftest$ac_exeext conftest.$ac_ext 42828LIBS=$ac_check_lib_save_LIBS 42829fi 42830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5 42831$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; } 42832if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then : 42833 ac_cv_libfdatetime_dummy=yes 42834else 42835 ac_cv_libfdatetime=no 42836fi 42837 42838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5 42839$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; } 42840if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then : 42841 $as_echo_n "(cached) " >&6 42842else 42843 ac_check_lib_save_LIBS=$LIBS 42844LIBS="-lfdatetime $LIBS" 42845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42846/* end confdefs.h. */ 42847 42848/* Override any GCC internal prototype to avoid an error. 42849 Use char because int might match the return type of a GCC 42850 builtin and then its argument prototype would still apply. */ 42851#ifdef __cplusplus 42852extern "C" 42853#endif 42854char libfdatetime_posix_time_copy_from_32bit (); 42855int 42856main () 42857{ 42858return libfdatetime_posix_time_copy_from_32bit (); 42859 ; 42860 return 0; 42861} 42862_ACEOF 42863if ac_fn_c_try_link "$LINENO"; then : 42864 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes 42865else 42866 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no 42867fi 42868rm -f core conftest.err conftest.$ac_objext \ 42869 conftest$ac_exeext conftest.$ac_ext 42870LIBS=$ac_check_lib_save_LIBS 42871fi 42872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5 42873$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; } 42874if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then : 42875 ac_cv_libfdatetime_dummy=yes 42876else 42877 ac_cv_libfdatetime=no 42878fi 42879 42880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5 42881$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; } 42882if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then : 42883 $as_echo_n "(cached) " >&6 42884else 42885 ac_check_lib_save_LIBS=$LIBS 42886LIBS="-lfdatetime $LIBS" 42887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42888/* end confdefs.h. */ 42889 42890/* Override any GCC internal prototype to avoid an error. 42891 Use char because int might match the return type of a GCC 42892 builtin and then its argument prototype would still apply. */ 42893#ifdef __cplusplus 42894extern "C" 42895#endif 42896char libfdatetime_posix_time_copy_to_32bit (); 42897int 42898main () 42899{ 42900return libfdatetime_posix_time_copy_to_32bit (); 42901 ; 42902 return 0; 42903} 42904_ACEOF 42905if ac_fn_c_try_link "$LINENO"; then : 42906 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes 42907else 42908 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no 42909fi 42910rm -f core conftest.err conftest.$ac_objext \ 42911 conftest$ac_exeext conftest.$ac_ext 42912LIBS=$ac_check_lib_save_LIBS 42913fi 42914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5 42915$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; } 42916if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then : 42917 ac_cv_libfdatetime_dummy=yes 42918else 42919 ac_cv_libfdatetime=no 42920fi 42921 42922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5 42923$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; } 42924if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then : 42925 $as_echo_n "(cached) " >&6 42926else 42927 ac_check_lib_save_LIBS=$LIBS 42928LIBS="-lfdatetime $LIBS" 42929cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42930/* end confdefs.h. */ 42931 42932/* Override any GCC internal prototype to avoid an error. 42933 Use char because int might match the return type of a GCC 42934 builtin and then its argument prototype would still apply. */ 42935#ifdef __cplusplus 42936extern "C" 42937#endif 42938char libfdatetime_posix_time_copy_from_64bit (); 42939int 42940main () 42941{ 42942return libfdatetime_posix_time_copy_from_64bit (); 42943 ; 42944 return 0; 42945} 42946_ACEOF 42947if ac_fn_c_try_link "$LINENO"; then : 42948 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes 42949else 42950 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no 42951fi 42952rm -f core conftest.err conftest.$ac_objext \ 42953 conftest$ac_exeext conftest.$ac_ext 42954LIBS=$ac_check_lib_save_LIBS 42955fi 42956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5 42957$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; } 42958if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then : 42959 ac_cv_libfdatetime_dummy=yes 42960else 42961 ac_cv_libfdatetime=no 42962fi 42963 42964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5 42965$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; } 42966if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then : 42967 $as_echo_n "(cached) " >&6 42968else 42969 ac_check_lib_save_LIBS=$LIBS 42970LIBS="-lfdatetime $LIBS" 42971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42972/* end confdefs.h. */ 42973 42974/* Override any GCC internal prototype to avoid an error. 42975 Use char because int might match the return type of a GCC 42976 builtin and then its argument prototype would still apply. */ 42977#ifdef __cplusplus 42978extern "C" 42979#endif 42980char libfdatetime_posix_time_copy_to_64bit (); 42981int 42982main () 42983{ 42984return libfdatetime_posix_time_copy_to_64bit (); 42985 ; 42986 return 0; 42987} 42988_ACEOF 42989if ac_fn_c_try_link "$LINENO"; then : 42990 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes 42991else 42992 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=no 42993fi 42994rm -f core conftest.err conftest.$ac_objext \ 42995 conftest$ac_exeext conftest.$ac_ext 42996LIBS=$ac_check_lib_save_LIBS 42997fi 42998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5 42999$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; } 43000if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then : 43001 ac_cv_libfdatetime_dummy=yes 43002else 43003 ac_cv_libfdatetime=no 43004fi 43005 43006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5 43007$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; } 43008if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then : 43009 $as_echo_n "(cached) " >&6 43010else 43011 ac_check_lib_save_LIBS=$LIBS 43012LIBS="-lfdatetime $LIBS" 43013cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43014/* end confdefs.h. */ 43015 43016/* Override any GCC internal prototype to avoid an error. 43017 Use char because int might match the return type of a GCC 43018 builtin and then its argument prototype would still apply. */ 43019#ifdef __cplusplus 43020extern "C" 43021#endif 43022char libfdatetime_posix_time_copy_to_utf8_string (); 43023int 43024main () 43025{ 43026return libfdatetime_posix_time_copy_to_utf8_string (); 43027 ; 43028 return 0; 43029} 43030_ACEOF 43031if ac_fn_c_try_link "$LINENO"; then : 43032 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes 43033else 43034 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=no 43035fi 43036rm -f core conftest.err conftest.$ac_objext \ 43037 conftest$ac_exeext conftest.$ac_ext 43038LIBS=$ac_check_lib_save_LIBS 43039fi 43040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5 43041$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; } 43042if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then : 43043 ac_cv_libfdatetime_dummy=yes 43044else 43045 ac_cv_libfdatetime=no 43046fi 43047 43048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 43049$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43050if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then : 43051 $as_echo_n "(cached) " >&6 43052else 43053 ac_check_lib_save_LIBS=$LIBS 43054LIBS="-lfdatetime $LIBS" 43055cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43056/* end confdefs.h. */ 43057 43058/* Override any GCC internal prototype to avoid an error. 43059 Use char because int might match the return type of a GCC 43060 builtin and then its argument prototype would still apply. */ 43061#ifdef __cplusplus 43062extern "C" 43063#endif 43064char libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43065int 43066main () 43067{ 43068return libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43069 ; 43070 return 0; 43071} 43072_ACEOF 43073if ac_fn_c_try_link "$LINENO"; then : 43074 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes 43075else 43076 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=no 43077fi 43078rm -f core conftest.err conftest.$ac_objext \ 43079 conftest$ac_exeext conftest.$ac_ext 43080LIBS=$ac_check_lib_save_LIBS 43081fi 43082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5 43083$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; } 43084if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then : 43085 ac_cv_libfdatetime_dummy=yes 43086else 43087 ac_cv_libfdatetime=no 43088fi 43089 43090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5 43091$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; } 43092if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then : 43093 $as_echo_n "(cached) " >&6 43094else 43095 ac_check_lib_save_LIBS=$LIBS 43096LIBS="-lfdatetime $LIBS" 43097cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43098/* end confdefs.h. */ 43099 43100/* Override any GCC internal prototype to avoid an error. 43101 Use char because int might match the return type of a GCC 43102 builtin and then its argument prototype would still apply. */ 43103#ifdef __cplusplus 43104extern "C" 43105#endif 43106char libfdatetime_posix_time_copy_to_utf16_string (); 43107int 43108main () 43109{ 43110return libfdatetime_posix_time_copy_to_utf16_string (); 43111 ; 43112 return 0; 43113} 43114_ACEOF 43115if ac_fn_c_try_link "$LINENO"; then : 43116 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes 43117else 43118 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no 43119fi 43120rm -f core conftest.err conftest.$ac_objext \ 43121 conftest$ac_exeext conftest.$ac_ext 43122LIBS=$ac_check_lib_save_LIBS 43123fi 43124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5 43125$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; } 43126if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then : 43127 ac_cv_libfdatetime_dummy=yes 43128else 43129 ac_cv_libfdatetime=no 43130fi 43131 43132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 43133$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43134if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then : 43135 $as_echo_n "(cached) " >&6 43136else 43137 ac_check_lib_save_LIBS=$LIBS 43138LIBS="-lfdatetime $LIBS" 43139cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43140/* end confdefs.h. */ 43141 43142/* Override any GCC internal prototype to avoid an error. 43143 Use char because int might match the return type of a GCC 43144 builtin and then its argument prototype would still apply. */ 43145#ifdef __cplusplus 43146extern "C" 43147#endif 43148char libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43149int 43150main () 43151{ 43152return libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43153 ; 43154 return 0; 43155} 43156_ACEOF 43157if ac_fn_c_try_link "$LINENO"; then : 43158 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes 43159else 43160 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no 43161fi 43162rm -f core conftest.err conftest.$ac_objext \ 43163 conftest$ac_exeext conftest.$ac_ext 43164LIBS=$ac_check_lib_save_LIBS 43165fi 43166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5 43167$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; } 43168if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then : 43169 ac_cv_libfdatetime_dummy=yes 43170else 43171 ac_cv_libfdatetime=no 43172fi 43173 43174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5 43175$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; } 43176if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then : 43177 $as_echo_n "(cached) " >&6 43178else 43179 ac_check_lib_save_LIBS=$LIBS 43180LIBS="-lfdatetime $LIBS" 43181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43182/* end confdefs.h. */ 43183 43184/* Override any GCC internal prototype to avoid an error. 43185 Use char because int might match the return type of a GCC 43186 builtin and then its argument prototype would still apply. */ 43187#ifdef __cplusplus 43188extern "C" 43189#endif 43190char libfdatetime_posix_time_copy_to_utf32_string (); 43191int 43192main () 43193{ 43194return libfdatetime_posix_time_copy_to_utf32_string (); 43195 ; 43196 return 0; 43197} 43198_ACEOF 43199if ac_fn_c_try_link "$LINENO"; then : 43200 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes 43201else 43202 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no 43203fi 43204rm -f core conftest.err conftest.$ac_objext \ 43205 conftest$ac_exeext conftest.$ac_ext 43206LIBS=$ac_check_lib_save_LIBS 43207fi 43208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5 43209$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; } 43210if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then : 43211 ac_cv_libfdatetime_dummy=yes 43212else 43213 ac_cv_libfdatetime=no 43214fi 43215 43216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 43217$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43218if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then : 43219 $as_echo_n "(cached) " >&6 43220else 43221 ac_check_lib_save_LIBS=$LIBS 43222LIBS="-lfdatetime $LIBS" 43223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43224/* end confdefs.h. */ 43225 43226/* Override any GCC internal prototype to avoid an error. 43227 Use char because int might match the return type of a GCC 43228 builtin and then its argument prototype would still apply. */ 43229#ifdef __cplusplus 43230extern "C" 43231#endif 43232char libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43233int 43234main () 43235{ 43236return libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43237 ; 43238 return 0; 43239} 43240_ACEOF 43241if ac_fn_c_try_link "$LINENO"; then : 43242 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes 43243else 43244 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no 43245fi 43246rm -f core conftest.err conftest.$ac_objext \ 43247 conftest$ac_exeext conftest.$ac_ext 43248LIBS=$ac_check_lib_save_LIBS 43249fi 43250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5 43251$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; } 43252if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then : 43253 ac_cv_libfdatetime_dummy=yes 43254else 43255 ac_cv_libfdatetime=no 43256fi 43257 43258 43259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5 43260$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; } 43261if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then : 43262 $as_echo_n "(cached) " >&6 43263else 43264 ac_check_lib_save_LIBS=$LIBS 43265LIBS="-lfdatetime $LIBS" 43266cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43267/* end confdefs.h. */ 43268 43269/* Override any GCC internal prototype to avoid an error. 43270 Use char because int might match the return type of a GCC 43271 builtin and then its argument prototype would still apply. */ 43272#ifdef __cplusplus 43273extern "C" 43274#endif 43275char libfdatetime_systemetime_initialize (); 43276int 43277main () 43278{ 43279return libfdatetime_systemetime_initialize (); 43280 ; 43281 return 0; 43282} 43283_ACEOF 43284if ac_fn_c_try_link "$LINENO"; then : 43285 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes 43286else 43287 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no 43288fi 43289rm -f core conftest.err conftest.$ac_objext \ 43290 conftest$ac_exeext conftest.$ac_ext 43291LIBS=$ac_check_lib_save_LIBS 43292fi 43293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5 43294$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; } 43295if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then : 43296 ac_cv_libfdatetime_dummy=yes 43297else 43298 ac_cv_libfdatetime=no 43299fi 43300 43301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5 43302$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; } 43303if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then : 43304 $as_echo_n "(cached) " >&6 43305else 43306 ac_check_lib_save_LIBS=$LIBS 43307LIBS="-lfdatetime $LIBS" 43308cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43309/* end confdefs.h. */ 43310 43311/* Override any GCC internal prototype to avoid an error. 43312 Use char because int might match the return type of a GCC 43313 builtin and then its argument prototype would still apply. */ 43314#ifdef __cplusplus 43315extern "C" 43316#endif 43317char libfdatetime_systemetime_free (); 43318int 43319main () 43320{ 43321return libfdatetime_systemetime_free (); 43322 ; 43323 return 0; 43324} 43325_ACEOF 43326if ac_fn_c_try_link "$LINENO"; then : 43327 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes 43328else 43329 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no 43330fi 43331rm -f core conftest.err conftest.$ac_objext \ 43332 conftest$ac_exeext conftest.$ac_ext 43333LIBS=$ac_check_lib_save_LIBS 43334fi 43335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5 43336$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; } 43337if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then : 43338 ac_cv_libfdatetime_dummy=yes 43339else 43340 ac_cv_libfdatetime=no 43341fi 43342 43343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5 43344$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; } 43345if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then : 43346 $as_echo_n "(cached) " >&6 43347else 43348 ac_check_lib_save_LIBS=$LIBS 43349LIBS="-lfdatetime $LIBS" 43350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43351/* end confdefs.h. */ 43352 43353/* Override any GCC internal prototype to avoid an error. 43354 Use char because int might match the return type of a GCC 43355 builtin and then its argument prototype would still apply. */ 43356#ifdef __cplusplus 43357extern "C" 43358#endif 43359char libfdatetime_systemetime_copy_from_byte_stream (); 43360int 43361main () 43362{ 43363return libfdatetime_systemetime_copy_from_byte_stream (); 43364 ; 43365 return 0; 43366} 43367_ACEOF 43368if ac_fn_c_try_link "$LINENO"; then : 43369 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes 43370else 43371 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no 43372fi 43373rm -f core conftest.err conftest.$ac_objext \ 43374 conftest$ac_exeext conftest.$ac_ext 43375LIBS=$ac_check_lib_save_LIBS 43376fi 43377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5 43378$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; } 43379if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then : 43380 ac_cv_libfdatetime_dummy=yes 43381else 43382 ac_cv_libfdatetime=no 43383fi 43384 43385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5 43386$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; } 43387if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then : 43388 $as_echo_n "(cached) " >&6 43389else 43390 ac_check_lib_save_LIBS=$LIBS 43391LIBS="-lfdatetime $LIBS" 43392cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43393/* end confdefs.h. */ 43394 43395/* Override any GCC internal prototype to avoid an error. 43396 Use char because int might match the return type of a GCC 43397 builtin and then its argument prototype would still apply. */ 43398#ifdef __cplusplus 43399extern "C" 43400#endif 43401char libfdatetime_systemetime_copy_to_utf8_string (); 43402int 43403main () 43404{ 43405return libfdatetime_systemetime_copy_to_utf8_string (); 43406 ; 43407 return 0; 43408} 43409_ACEOF 43410if ac_fn_c_try_link "$LINENO"; then : 43411 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes 43412else 43413 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no 43414fi 43415rm -f core conftest.err conftest.$ac_objext \ 43416 conftest$ac_exeext conftest.$ac_ext 43417LIBS=$ac_check_lib_save_LIBS 43418fi 43419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5 43420$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; } 43421if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then : 43422 ac_cv_libfdatetime_dummy=yes 43423else 43424 ac_cv_libfdatetime=no 43425fi 43426 43427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 43428$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43429if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then : 43430 $as_echo_n "(cached) " >&6 43431else 43432 ac_check_lib_save_LIBS=$LIBS 43433LIBS="-lfdatetime $LIBS" 43434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43435/* end confdefs.h. */ 43436 43437/* Override any GCC internal prototype to avoid an error. 43438 Use char because int might match the return type of a GCC 43439 builtin and then its argument prototype would still apply. */ 43440#ifdef __cplusplus 43441extern "C" 43442#endif 43443char libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43444int 43445main () 43446{ 43447return libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43448 ; 43449 return 0; 43450} 43451_ACEOF 43452if ac_fn_c_try_link "$LINENO"; then : 43453 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes 43454else 43455 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no 43456fi 43457rm -f core conftest.err conftest.$ac_objext \ 43458 conftest$ac_exeext conftest.$ac_ext 43459LIBS=$ac_check_lib_save_LIBS 43460fi 43461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5 43462$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; } 43463if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then : 43464 ac_cv_libfdatetime_dummy=yes 43465else 43466 ac_cv_libfdatetime=no 43467fi 43468 43469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5 43470$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; } 43471if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then : 43472 $as_echo_n "(cached) " >&6 43473else 43474 ac_check_lib_save_LIBS=$LIBS 43475LIBS="-lfdatetime $LIBS" 43476cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43477/* end confdefs.h. */ 43478 43479/* Override any GCC internal prototype to avoid an error. 43480 Use char because int might match the return type of a GCC 43481 builtin and then its argument prototype would still apply. */ 43482#ifdef __cplusplus 43483extern "C" 43484#endif 43485char libfdatetime_systemetime_copy_to_utf16_string (); 43486int 43487main () 43488{ 43489return libfdatetime_systemetime_copy_to_utf16_string (); 43490 ; 43491 return 0; 43492} 43493_ACEOF 43494if ac_fn_c_try_link "$LINENO"; then : 43495 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes 43496else 43497 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no 43498fi 43499rm -f core conftest.err conftest.$ac_objext \ 43500 conftest$ac_exeext conftest.$ac_ext 43501LIBS=$ac_check_lib_save_LIBS 43502fi 43503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5 43504$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; } 43505if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then : 43506 ac_cv_libfdatetime_dummy=yes 43507else 43508 ac_cv_libfdatetime=no 43509fi 43510 43511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 43512$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43513if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then : 43514 $as_echo_n "(cached) " >&6 43515else 43516 ac_check_lib_save_LIBS=$LIBS 43517LIBS="-lfdatetime $LIBS" 43518cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43519/* end confdefs.h. */ 43520 43521/* Override any GCC internal prototype to avoid an error. 43522 Use char because int might match the return type of a GCC 43523 builtin and then its argument prototype would still apply. */ 43524#ifdef __cplusplus 43525extern "C" 43526#endif 43527char libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43528int 43529main () 43530{ 43531return libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43532 ; 43533 return 0; 43534} 43535_ACEOF 43536if ac_fn_c_try_link "$LINENO"; then : 43537 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes 43538else 43539 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no 43540fi 43541rm -f core conftest.err conftest.$ac_objext \ 43542 conftest$ac_exeext conftest.$ac_ext 43543LIBS=$ac_check_lib_save_LIBS 43544fi 43545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5 43546$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; } 43547if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then : 43548 ac_cv_libfdatetime_dummy=yes 43549else 43550 ac_cv_libfdatetime=no 43551fi 43552 43553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5 43554$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; } 43555if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then : 43556 $as_echo_n "(cached) " >&6 43557else 43558 ac_check_lib_save_LIBS=$LIBS 43559LIBS="-lfdatetime $LIBS" 43560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43561/* end confdefs.h. */ 43562 43563/* Override any GCC internal prototype to avoid an error. 43564 Use char because int might match the return type of a GCC 43565 builtin and then its argument prototype would still apply. */ 43566#ifdef __cplusplus 43567extern "C" 43568#endif 43569char libfdatetime_systemetime_copy_to_utf32_string (); 43570int 43571main () 43572{ 43573return libfdatetime_systemetime_copy_to_utf32_string (); 43574 ; 43575 return 0; 43576} 43577_ACEOF 43578if ac_fn_c_try_link "$LINENO"; then : 43579 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes 43580else 43581 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no 43582fi 43583rm -f core conftest.err conftest.$ac_objext \ 43584 conftest$ac_exeext conftest.$ac_ext 43585LIBS=$ac_check_lib_save_LIBS 43586fi 43587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5 43588$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; } 43589if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then : 43590 ac_cv_libfdatetime_dummy=yes 43591else 43592 ac_cv_libfdatetime=no 43593fi 43594 43595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 43596$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43597if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then : 43598 $as_echo_n "(cached) " >&6 43599else 43600 ac_check_lib_save_LIBS=$LIBS 43601LIBS="-lfdatetime $LIBS" 43602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43603/* end confdefs.h. */ 43604 43605/* Override any GCC internal prototype to avoid an error. 43606 Use char because int might match the return type of a GCC 43607 builtin and then its argument prototype would still apply. */ 43608#ifdef __cplusplus 43609extern "C" 43610#endif 43611char libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43612int 43613main () 43614{ 43615return libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43616 ; 43617 return 0; 43618} 43619_ACEOF 43620if ac_fn_c_try_link "$LINENO"; then : 43621 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes 43622else 43623 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no 43624fi 43625rm -f core conftest.err conftest.$ac_objext \ 43626 conftest$ac_exeext conftest.$ac_ext 43627LIBS=$ac_check_lib_save_LIBS 43628fi 43629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5 43630$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; } 43631if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then : 43632 ac_cv_libfdatetime_dummy=yes 43633else 43634 ac_cv_libfdatetime=no 43635fi 43636 43637 43638 ac_cv_libfdatetime_LIBADD="-lfdatetime" 43639fi 43640 43641fi 43642 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then : 43643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43645as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime 43646See \`config.log' for more details" "$LINENO" 5; } 43647 43648fi 43649 43650fi 43651 43652 if test "x$ac_cv_libfdatetime" = xyes; then : 43653 43654$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h 43655 43656 43657fi 43658 43659 if test "x$ac_cv_libfdatetime" = xyes; then : 43660 HAVE_LIBFDATETIME=1 43661 43662else 43663 HAVE_LIBFDATETIME=0 43664 43665 43666fi 43667 43668 43669 if test "x$ac_cv_libfdatetime" != xyes; then : 43670 43671 ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime"; 43672 ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la"; 43673 43674 ac_cv_libfdatetime=local 43675 43676 43677 43678$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h 43679 43680 HAVE_LOCAL_LIBFDATETIME=1 43681 43682 43683fi 43684 43685 if test "x$ac_cv_libfdatetime" = xlocal; then 43686 HAVE_LOCAL_LIBFDATETIME_TRUE= 43687 HAVE_LOCAL_LIBFDATETIME_FALSE='#' 43688else 43689 HAVE_LOCAL_LIBFDATETIME_TRUE='#' 43690 HAVE_LOCAL_LIBFDATETIME_FALSE= 43691fi 43692 43693 if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then : 43694 LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS 43695 43696 43697fi 43698 if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then : 43699 LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD 43700 43701 43702fi 43703 43704 if test "x$ac_cv_libfdatetime" = xyes; then : 43705 ax_libfdatetime_pc_libs_private=-lfdatetime 43706 43707 43708fi 43709 43710 if test "x$ac_cv_libfdatetime" = xyes; then : 43711 ax_libfdatetime_spec_requires=libfdatetime 43712 43713 ax_libfdatetime_spec_build_requires=libfdatetime-devel 43714 43715 43716fi 43717 43718 43719 43720 43721# Check whether --with-libfguid was given. 43722if test "${with_libfguid+set}" = set; then : 43723 withval=$with_libfguid; ac_cv_with_libfguid=$withval 43724else 43725 ac_cv_with_libfguid=auto-detect 43726fi 43727 43728 { $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 43729$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; } 43730if ${ac_cv_with_libfguid+:} false; then : 43731 $as_echo_n "(cached) " >&6 43732else 43733 ac_cv_with_libfguid=auto-detect 43734fi 43735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5 43736$as_echo "$ac_cv_with_libfguid" >&6; } 43737 43738 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then : 43739 ac_cv_libfguid=no 43740else 43741 ac_cv_libfguid=check 43742 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then : 43743 if test -d "$ac_cv_with_libfguid"; then : 43744 CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include" 43745 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib" 43746else 43747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43749as_fn_error 1 "no such directory: $ac_cv_with_libfguid 43750See \`config.log' for more details" "$LINENO" 5; } 43751 43752fi 43753 43754else 43755 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 43756 43757pkg_failed=no 43758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5 43759$as_echo_n "checking for libfguid... " >&6; } 43760 43761if test -n "$libfguid_CFLAGS"; then 43762 pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS" 43763 elif test -n "$PKG_CONFIG"; then 43764 if test -n "$PKG_CONFIG" && \ 43765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43766 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43767 ac_status=$? 43768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43769 test $ac_status = 0; }; then 43770 pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null` 43771 test "x$?" != "x0" && pkg_failed=yes 43772else 43773 pkg_failed=yes 43774fi 43775 else 43776 pkg_failed=untried 43777fi 43778if test -n "$libfguid_LIBS"; then 43779 pkg_cv_libfguid_LIBS="$libfguid_LIBS" 43780 elif test -n "$PKG_CONFIG"; then 43781 if test -n "$PKG_CONFIG" && \ 43782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43783 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43784 ac_status=$? 43785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43786 test $ac_status = 0; }; then 43787 pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null` 43788 test "x$?" != "x0" && pkg_failed=yes 43789else 43790 pkg_failed=yes 43791fi 43792 else 43793 pkg_failed=untried 43794fi 43795 43796 43797 43798if test $pkg_failed = yes; then 43799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43800$as_echo "no" >&6; } 43801 43802if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 43803 _pkg_short_errors_supported=yes 43804else 43805 _pkg_short_errors_supported=no 43806fi 43807 if test $_pkg_short_errors_supported = yes; then 43808 libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43809 else 43810 libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43811 fi 43812 # Put the nasty error message in config.log where it belongs 43813 echo "$libfguid_PKG_ERRORS" >&5 43814 43815 ac_cv_libfguid=check 43816elif test $pkg_failed = untried; then 43817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43818$as_echo "no" >&6; } 43819 ac_cv_libfguid=check 43820else 43821 libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS 43822 libfguid_LIBS=$pkg_cv_libfguid_LIBS 43823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43824$as_echo "yes" >&6; } 43825 ac_cv_libfguid=yes 43826fi 43827 43828fi 43829 if test "x$ac_cv_libfguid" = xyes; then : 43830 ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS" 43831 ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS" 43832fi 43833 43834fi 43835 43836 if test "x$ac_cv_libfguid" = xcheck; then : 43837 for ac_header in libfguid.h 43838do : 43839 ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default" 43840if test "x$ac_cv_header_libfguid_h" = xyes; then : 43841 cat >>confdefs.h <<_ACEOF 43842#define HAVE_LIBFGUID_H 1 43843_ACEOF 43844 43845fi 43846 43847done 43848 43849 43850 if test "x$ac_cv_header_libfguid_h" = xno; then : 43851 ac_cv_libfguid=no 43852else 43853 ac_cv_libfguid=yes 43854 43855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5 43856$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; } 43857if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then : 43858 $as_echo_n "(cached) " >&6 43859else 43860 ac_check_lib_save_LIBS=$LIBS 43861LIBS="-lfguid $LIBS" 43862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43863/* end confdefs.h. */ 43864 43865/* Override any GCC internal prototype to avoid an error. 43866 Use char because int might match the return type of a GCC 43867 builtin and then its argument prototype would still apply. */ 43868#ifdef __cplusplus 43869extern "C" 43870#endif 43871char libfguid_get_version (); 43872int 43873main () 43874{ 43875return libfguid_get_version (); 43876 ; 43877 return 0; 43878} 43879_ACEOF 43880if ac_fn_c_try_link "$LINENO"; then : 43881 ac_cv_lib_fguid_libfguid_get_version=yes 43882else 43883 ac_cv_lib_fguid_libfguid_get_version=no 43884fi 43885rm -f core conftest.err conftest.$ac_objext \ 43886 conftest$ac_exeext conftest.$ac_ext 43887LIBS=$ac_check_lib_save_LIBS 43888fi 43889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5 43890$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; } 43891if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then : 43892 ac_cv_libfguid_dummy=yes 43893else 43894 ac_cv_libfguid=no 43895fi 43896 43897 43898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5 43899$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; } 43900if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then : 43901 $as_echo_n "(cached) " >&6 43902else 43903 ac_check_lib_save_LIBS=$LIBS 43904LIBS="-lfguid $LIBS" 43905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43906/* end confdefs.h. */ 43907 43908/* Override any GCC internal prototype to avoid an error. 43909 Use char because int might match the return type of a GCC 43910 builtin and then its argument prototype would still apply. */ 43911#ifdef __cplusplus 43912extern "C" 43913#endif 43914char libfguid_identifier_initialize (); 43915int 43916main () 43917{ 43918return libfguid_identifier_initialize (); 43919 ; 43920 return 0; 43921} 43922_ACEOF 43923if ac_fn_c_try_link "$LINENO"; then : 43924 ac_cv_lib_fguid_libfguid_identifier_initialize=yes 43925else 43926 ac_cv_lib_fguid_libfguid_identifier_initialize=no 43927fi 43928rm -f core conftest.err conftest.$ac_objext \ 43929 conftest$ac_exeext conftest.$ac_ext 43930LIBS=$ac_check_lib_save_LIBS 43931fi 43932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5 43933$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; } 43934if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then : 43935 ac_cv_libfguid_dummy=yes 43936else 43937 ac_cv_libfguid=no 43938fi 43939 43940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5 43941$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; } 43942if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then : 43943 $as_echo_n "(cached) " >&6 43944else 43945 ac_check_lib_save_LIBS=$LIBS 43946LIBS="-lfguid $LIBS" 43947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43948/* end confdefs.h. */ 43949 43950/* Override any GCC internal prototype to avoid an error. 43951 Use char because int might match the return type of a GCC 43952 builtin and then its argument prototype would still apply. */ 43953#ifdef __cplusplus 43954extern "C" 43955#endif 43956char libfguid_identifier_free (); 43957int 43958main () 43959{ 43960return libfguid_identifier_free (); 43961 ; 43962 return 0; 43963} 43964_ACEOF 43965if ac_fn_c_try_link "$LINENO"; then : 43966 ac_cv_lib_fguid_libfguid_identifier_free=yes 43967else 43968 ac_cv_lib_fguid_libfguid_identifier_free=no 43969fi 43970rm -f core conftest.err conftest.$ac_objext \ 43971 conftest$ac_exeext conftest.$ac_ext 43972LIBS=$ac_check_lib_save_LIBS 43973fi 43974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5 43975$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; } 43976if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then : 43977 ac_cv_libfguid_dummy=yes 43978else 43979 ac_cv_libfguid=no 43980fi 43981 43982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5 43983$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; } 43984if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then : 43985 $as_echo_n "(cached) " >&6 43986else 43987 ac_check_lib_save_LIBS=$LIBS 43988LIBS="-lfguid $LIBS" 43989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43990/* end confdefs.h. */ 43991 43992/* Override any GCC internal prototype to avoid an error. 43993 Use char because int might match the return type of a GCC 43994 builtin and then its argument prototype would still apply. */ 43995#ifdef __cplusplus 43996extern "C" 43997#endif 43998char libfguid_identifier_copy_from_byte_stream (); 43999int 44000main () 44001{ 44002return libfguid_identifier_copy_from_byte_stream (); 44003 ; 44004 return 0; 44005} 44006_ACEOF 44007if ac_fn_c_try_link "$LINENO"; then : 44008 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes 44009else 44010 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no 44011fi 44012rm -f core conftest.err conftest.$ac_objext \ 44013 conftest$ac_exeext conftest.$ac_ext 44014LIBS=$ac_check_lib_save_LIBS 44015fi 44016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5 44017$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; } 44018if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then : 44019 ac_cv_libfguid_dummy=yes 44020else 44021 ac_cv_libfguid=no 44022fi 44023 44024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5 44025$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; } 44026if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then : 44027 $as_echo_n "(cached) " >&6 44028else 44029 ac_check_lib_save_LIBS=$LIBS 44030LIBS="-lfguid $LIBS" 44031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44032/* end confdefs.h. */ 44033 44034/* Override any GCC internal prototype to avoid an error. 44035 Use char because int might match the return type of a GCC 44036 builtin and then its argument prototype would still apply. */ 44037#ifdef __cplusplus 44038extern "C" 44039#endif 44040char libfguid_identifier_get_string_size (); 44041int 44042main () 44043{ 44044return libfguid_identifier_get_string_size (); 44045 ; 44046 return 0; 44047} 44048_ACEOF 44049if ac_fn_c_try_link "$LINENO"; then : 44050 ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes 44051else 44052 ac_cv_lib_fguid_libfguid_identifier_get_string_size=no 44053fi 44054rm -f core conftest.err conftest.$ac_objext \ 44055 conftest$ac_exeext conftest.$ac_ext 44056LIBS=$ac_check_lib_save_LIBS 44057fi 44058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5 44059$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; } 44060if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then : 44061 ac_cv_libfguid_dummy=yes 44062else 44063 ac_cv_libfguid=no 44064fi 44065 44066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5 44067$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; } 44068if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then : 44069 $as_echo_n "(cached) " >&6 44070else 44071 ac_check_lib_save_LIBS=$LIBS 44072LIBS="-lfguid $LIBS" 44073cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44074/* end confdefs.h. */ 44075 44076/* Override any GCC internal prototype to avoid an error. 44077 Use char because int might match the return type of a GCC 44078 builtin and then its argument prototype would still apply. */ 44079#ifdef __cplusplus 44080extern "C" 44081#endif 44082char libfguid_identifier_copy_to_utf8_string (); 44083int 44084main () 44085{ 44086return libfguid_identifier_copy_to_utf8_string (); 44087 ; 44088 return 0; 44089} 44090_ACEOF 44091if ac_fn_c_try_link "$LINENO"; then : 44092 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes 44093else 44094 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no 44095fi 44096rm -f core conftest.err conftest.$ac_objext \ 44097 conftest$ac_exeext conftest.$ac_ext 44098LIBS=$ac_check_lib_save_LIBS 44099fi 44100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5 44101$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; } 44102if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then : 44103 ac_cv_libfguid_dummy=yes 44104else 44105 ac_cv_libfguid=no 44106fi 44107 44108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5 44109$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; } 44110if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then : 44111 $as_echo_n "(cached) " >&6 44112else 44113 ac_check_lib_save_LIBS=$LIBS 44114LIBS="-lfguid $LIBS" 44115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44116/* end confdefs.h. */ 44117 44118/* Override any GCC internal prototype to avoid an error. 44119 Use char because int might match the return type of a GCC 44120 builtin and then its argument prototype would still apply. */ 44121#ifdef __cplusplus 44122extern "C" 44123#endif 44124char libfguid_identifier_copy_to_utf8_string_with_index (); 44125int 44126main () 44127{ 44128return libfguid_identifier_copy_to_utf8_string_with_index (); 44129 ; 44130 return 0; 44131} 44132_ACEOF 44133if ac_fn_c_try_link "$LINENO"; then : 44134 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes 44135else 44136 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no 44137fi 44138rm -f core conftest.err conftest.$ac_objext \ 44139 conftest$ac_exeext conftest.$ac_ext 44140LIBS=$ac_check_lib_save_LIBS 44141fi 44142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5 44143$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; } 44144if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then : 44145 ac_cv_libfguid_dummy=yes 44146else 44147 ac_cv_libfguid=no 44148fi 44149 44150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5 44151$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; } 44152if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then : 44153 $as_echo_n "(cached) " >&6 44154else 44155 ac_check_lib_save_LIBS=$LIBS 44156LIBS="-lfguid $LIBS" 44157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44158/* end confdefs.h. */ 44159 44160/* Override any GCC internal prototype to avoid an error. 44161 Use char because int might match the return type of a GCC 44162 builtin and then its argument prototype would still apply. */ 44163#ifdef __cplusplus 44164extern "C" 44165#endif 44166char libfguid_identifier_copy_to_utf16_string (); 44167int 44168main () 44169{ 44170return libfguid_identifier_copy_to_utf16_string (); 44171 ; 44172 return 0; 44173} 44174_ACEOF 44175if ac_fn_c_try_link "$LINENO"; then : 44176 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes 44177else 44178 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no 44179fi 44180rm -f core conftest.err conftest.$ac_objext \ 44181 conftest$ac_exeext conftest.$ac_ext 44182LIBS=$ac_check_lib_save_LIBS 44183fi 44184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5 44185$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; } 44186if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then : 44187 ac_cv_libfguid_dummy=yes 44188else 44189 ac_cv_libfguid=no 44190fi 44191 44192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5 44193$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; } 44194if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then : 44195 $as_echo_n "(cached) " >&6 44196else 44197 ac_check_lib_save_LIBS=$LIBS 44198LIBS="-lfguid $LIBS" 44199cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44200/* end confdefs.h. */ 44201 44202/* Override any GCC internal prototype to avoid an error. 44203 Use char because int might match the return type of a GCC 44204 builtin and then its argument prototype would still apply. */ 44205#ifdef __cplusplus 44206extern "C" 44207#endif 44208char libfguid_identifier_copy_to_utf16_string_with_index (); 44209int 44210main () 44211{ 44212return libfguid_identifier_copy_to_utf16_string_with_index (); 44213 ; 44214 return 0; 44215} 44216_ACEOF 44217if ac_fn_c_try_link "$LINENO"; then : 44218 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes 44219else 44220 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no 44221fi 44222rm -f core conftest.err conftest.$ac_objext \ 44223 conftest$ac_exeext conftest.$ac_ext 44224LIBS=$ac_check_lib_save_LIBS 44225fi 44226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5 44227$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; } 44228if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then : 44229 ac_cv_libfguid_dummy=yes 44230else 44231 ac_cv_libfguid=no 44232fi 44233 44234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5 44235$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; } 44236if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then : 44237 $as_echo_n "(cached) " >&6 44238else 44239 ac_check_lib_save_LIBS=$LIBS 44240LIBS="-lfguid $LIBS" 44241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44242/* end confdefs.h. */ 44243 44244/* Override any GCC internal prototype to avoid an error. 44245 Use char because int might match the return type of a GCC 44246 builtin and then its argument prototype would still apply. */ 44247#ifdef __cplusplus 44248extern "C" 44249#endif 44250char libfguid_identifier_copy_to_utf32_string (); 44251int 44252main () 44253{ 44254return libfguid_identifier_copy_to_utf32_string (); 44255 ; 44256 return 0; 44257} 44258_ACEOF 44259if ac_fn_c_try_link "$LINENO"; then : 44260 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes 44261else 44262 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no 44263fi 44264rm -f core conftest.err conftest.$ac_objext \ 44265 conftest$ac_exeext conftest.$ac_ext 44266LIBS=$ac_check_lib_save_LIBS 44267fi 44268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5 44269$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; } 44270if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then : 44271 ac_cv_libfguid_dummy=yes 44272else 44273 ac_cv_libfguid=no 44274fi 44275 44276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5 44277$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; } 44278if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then : 44279 $as_echo_n "(cached) " >&6 44280else 44281 ac_check_lib_save_LIBS=$LIBS 44282LIBS="-lfguid $LIBS" 44283cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44284/* end confdefs.h. */ 44285 44286/* Override any GCC internal prototype to avoid an error. 44287 Use char because int might match the return type of a GCC 44288 builtin and then its argument prototype would still apply. */ 44289#ifdef __cplusplus 44290extern "C" 44291#endif 44292char libfguid_identifier_copy_to_utf32_string_with_index (); 44293int 44294main () 44295{ 44296return libfguid_identifier_copy_to_utf32_string_with_index (); 44297 ; 44298 return 0; 44299} 44300_ACEOF 44301if ac_fn_c_try_link "$LINENO"; then : 44302 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes 44303else 44304 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no 44305fi 44306rm -f core conftest.err conftest.$ac_objext \ 44307 conftest$ac_exeext conftest.$ac_ext 44308LIBS=$ac_check_lib_save_LIBS 44309fi 44310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5 44311$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; } 44312if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then : 44313 ac_cv_libfguid_dummy=yes 44314else 44315 ac_cv_libfguid=no 44316fi 44317 44318 44319 ac_cv_libfguid_LIBADD="-lfguid" 44320fi 44321 44322fi 44323 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then : 44324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44326as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid 44327See \`config.log' for more details" "$LINENO" 5; } 44328 44329fi 44330 44331fi 44332 44333 if test "x$ac_cv_libfguid" = xyes; then : 44334 44335$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h 44336 44337 44338fi 44339 44340 if test "x$ac_cv_libfguid" = xyes; then : 44341 HAVE_LIBFGUID=1 44342 44343else 44344 HAVE_LIBFGUID=0 44345 44346 44347fi 44348 44349 44350 if test "x$ac_cv_libfguid" != xyes; then : 44351 44352 ac_cv_libfguid_CPPFLAGS="-I../libfguid"; 44353 ac_cv_libfguid_LIBADD="../libfguid/libfguid.la"; 44354 44355 ac_cv_libfguid=local 44356 44357 44358 44359$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h 44360 44361 HAVE_LOCAL_LIBFGUID=1 44362 44363 44364fi 44365 44366 if test "x$ac_cv_libfguid" = xlocal; then 44367 HAVE_LOCAL_LIBFGUID_TRUE= 44368 HAVE_LOCAL_LIBFGUID_FALSE='#' 44369else 44370 HAVE_LOCAL_LIBFGUID_TRUE='#' 44371 HAVE_LOCAL_LIBFGUID_FALSE= 44372fi 44373 44374 if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then : 44375 LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS 44376 44377 44378fi 44379 if test "x$ac_cv_libfguid_LIBADD" != "x"; then : 44380 LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD 44381 44382 44383fi 44384 44385 if test "x$ac_cv_libfguid" = xyes; then : 44386 ax_libfguid_pc_libs_private=-lfguid 44387 44388 44389fi 44390 44391 if test "x$ac_cv_libfguid" = xyes; then : 44392 ax_libfguid_spec_requires=libfguid 44393 44394 ax_libfguid_spec_build_requires=libfguid-devel 44395 44396 44397fi 44398 44399 44400 44401 44402# Check whether --with-libfole was given. 44403if test "${with_libfole+set}" = set; then : 44404 withval=$with_libfole; ac_cv_with_libfole=$withval 44405else 44406 ac_cv_with_libfole=auto-detect 44407fi 44408 44409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfole in includedir and libdir or in the specified DIR, or no if to use local version" >&5 44410$as_echo_n "checking whether to use search for libfole in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 44411if ${ac_cv_with_libfole+:} false; then : 44412 $as_echo_n "(cached) " >&6 44413else 44414 ac_cv_with_libfole=auto-detect 44415fi 44416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfole" >&5 44417$as_echo "$ac_cv_with_libfole" >&6; } 44418 44419 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfole" = xno; then : 44420 ac_cv_libfole=no 44421else 44422 ac_cv_libfole=check 44423 if test "x$ac_cv_with_libfole" != x && test "x$ac_cv_with_libfole" != xauto-detect; then : 44424 if test -d "$ac_cv_with_libfole"; then : 44425 CFLAGS="$CFLAGS -I${ac_cv_with_libfole}/include" 44426 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfole}/lib" 44427else 44428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44429$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44430as_fn_error 1 "no such directory: $ac_cv_with_libfole 44431See \`config.log' for more details" "$LINENO" 5; } 44432 44433fi 44434 44435else 44436 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44437 44438pkg_failed=no 44439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfole" >&5 44440$as_echo_n "checking for libfole... " >&6; } 44441 44442if test -n "$libfole_CFLAGS"; then 44443 pkg_cv_libfole_CFLAGS="$libfole_CFLAGS" 44444 elif test -n "$PKG_CONFIG"; then 44445 if test -n "$PKG_CONFIG" && \ 44446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfole >= 20120426\""; } >&5 44447 ($PKG_CONFIG --exists --print-errors "libfole >= 20120426") 2>&5 44448 ac_status=$? 44449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44450 test $ac_status = 0; }; then 44451 pkg_cv_libfole_CFLAGS=`$PKG_CONFIG --cflags "libfole >= 20120426" 2>/dev/null` 44452 test "x$?" != "x0" && pkg_failed=yes 44453else 44454 pkg_failed=yes 44455fi 44456 else 44457 pkg_failed=untried 44458fi 44459if test -n "$libfole_LIBS"; then 44460 pkg_cv_libfole_LIBS="$libfole_LIBS" 44461 elif test -n "$PKG_CONFIG"; then 44462 if test -n "$PKG_CONFIG" && \ 44463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfole >= 20120426\""; } >&5 44464 ($PKG_CONFIG --exists --print-errors "libfole >= 20120426") 2>&5 44465 ac_status=$? 44466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44467 test $ac_status = 0; }; then 44468 pkg_cv_libfole_LIBS=`$PKG_CONFIG --libs "libfole >= 20120426" 2>/dev/null` 44469 test "x$?" != "x0" && pkg_failed=yes 44470else 44471 pkg_failed=yes 44472fi 44473 else 44474 pkg_failed=untried 44475fi 44476 44477 44478 44479if test $pkg_failed = yes; then 44480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44481$as_echo "no" >&6; } 44482 44483if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44484 _pkg_short_errors_supported=yes 44485else 44486 _pkg_short_errors_supported=no 44487fi 44488 if test $_pkg_short_errors_supported = yes; then 44489 libfole_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfole >= 20120426" 2>&1` 44490 else 44491 libfole_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfole >= 20120426" 2>&1` 44492 fi 44493 # Put the nasty error message in config.log where it belongs 44494 echo "$libfole_PKG_ERRORS" >&5 44495 44496 ac_cv_libfole=check 44497elif test $pkg_failed = untried; then 44498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44499$as_echo "no" >&6; } 44500 ac_cv_libfole=check 44501else 44502 libfole_CFLAGS=$pkg_cv_libfole_CFLAGS 44503 libfole_LIBS=$pkg_cv_libfole_LIBS 44504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44505$as_echo "yes" >&6; } 44506 ac_cv_libfole=yes 44507fi 44508 44509fi 44510 if test "x$ac_cv_libfole" = xyes; then : 44511 ac_cv_libfole_CPPFLAGS="$pkg_cv_libfole_CFLAGS" 44512 ac_cv_libfole_LIBADD="$pkg_cv_libfole_LIBS" 44513fi 44514 44515fi 44516 44517 if test "x$ac_cv_libfole" = xcheck; then : 44518 for ac_header in libfole.h 44519do : 44520 ac_fn_c_check_header_mongrel "$LINENO" "libfole.h" "ac_cv_header_libfole_h" "$ac_includes_default" 44521if test "x$ac_cv_header_libfole_h" = xyes; then : 44522 cat >>confdefs.h <<_ACEOF 44523#define HAVE_LIBFOLE_H 1 44524_ACEOF 44525 44526fi 44527 44528done 44529 44530 44531 if test "x$ac_cv_header_libfole_h" = xno; then : 44532 ac_cv_libfole=no 44533else 44534 ac_cv_libfole=yes 44535 44536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfole_get_version in -lfole" >&5 44537$as_echo_n "checking for libfole_get_version in -lfole... " >&6; } 44538if ${ac_cv_lib_fole_libfole_get_version+:} false; then : 44539 $as_echo_n "(cached) " >&6 44540else 44541 ac_check_lib_save_LIBS=$LIBS 44542LIBS="-lfole $LIBS" 44543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44544/* end confdefs.h. */ 44545 44546/* Override any GCC internal prototype to avoid an error. 44547 Use char because int might match the return type of a GCC 44548 builtin and then its argument prototype would still apply. */ 44549#ifdef __cplusplus 44550extern "C" 44551#endif 44552char libfole_get_version (); 44553int 44554main () 44555{ 44556return libfole_get_version (); 44557 ; 44558 return 0; 44559} 44560_ACEOF 44561if ac_fn_c_try_link "$LINENO"; then : 44562 ac_cv_lib_fole_libfole_get_version=yes 44563else 44564 ac_cv_lib_fole_libfole_get_version=no 44565fi 44566rm -f core conftest.err conftest.$ac_objext \ 44567 conftest$ac_exeext conftest.$ac_ext 44568LIBS=$ac_check_lib_save_LIBS 44569fi 44570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fole_libfole_get_version" >&5 44571$as_echo "$ac_cv_lib_fole_libfole_get_version" >&6; } 44572if test "x$ac_cv_lib_fole_libfole_get_version" = xyes; then : 44573 ac_cv_libfole_dummy=yes 44574else 44575 ac_cv_libfole=no 44576fi 44577 44578 44579 44580 ac_cv_libfole_LIBADD="-lfole" 44581fi 44582 44583fi 44584 if test "x$ac_cv_with_libfole" != x && test "x$ac_cv_with_libfole" != xauto-detect && test "x$ac_cv_libfole" != xyes; then : 44585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44587as_fn_error 1 "unable to find supported libfole in directory: $ac_cv_with_libfole 44588See \`config.log' for more details" "$LINENO" 5; } 44589 44590fi 44591 44592fi 44593 44594 if test "x$ac_cv_libfole" = xyes; then : 44595 44596$as_echo "#define HAVE_LIBFOLE 1" >>confdefs.h 44597 44598 44599fi 44600 44601 if test "x$ac_cv_libfole" = xyes; then : 44602 HAVE_LIBFOLE=1 44603 44604else 44605 HAVE_LIBFOLE=0 44606 44607 44608fi 44609 44610 44611 if test "x$ac_cv_libfole" != xyes; then : 44612 44613 ac_cv_libfole_CPPFLAGS="-I../libfole"; 44614 ac_cv_libfole_LIBADD="../libfole/libfole.la"; 44615 44616 ac_cv_libfole=local 44617 44618 44619 44620$as_echo "#define HAVE_LOCAL_LIBFOLE 1" >>confdefs.h 44621 44622 HAVE_LOCAL_LIBFOLE=1 44623 44624 44625fi 44626 44627 if test "x$ac_cv_libfole" = xlocal; then 44628 HAVE_LOCAL_LIBFOLE_TRUE= 44629 HAVE_LOCAL_LIBFOLE_FALSE='#' 44630else 44631 HAVE_LOCAL_LIBFOLE_TRUE='#' 44632 HAVE_LOCAL_LIBFOLE_FALSE= 44633fi 44634 44635 if test "x$ac_cv_libfole_CPPFLAGS" != "x"; then : 44636 LIBFOLE_CPPFLAGS=$ac_cv_libfole_CPPFLAGS 44637 44638 44639fi 44640 if test "x$ac_cv_libfole_LIBADD" != "x"; then : 44641 LIBFOLE_LIBADD=$ac_cv_libfole_LIBADD 44642 44643 44644fi 44645 44646 if test "x$ac_cv_libfole" = xyes; then : 44647 ax_libfole_pc_libs_private=-lfole 44648 44649 44650fi 44651 44652 if test "x$ac_cv_libfole" = xyes; then : 44653 ax_libfole_spec_requires=libfole 44654 44655 ax_libfole_spec_build_requires=libfole-devel 44656 44657 44658fi 44659 44660 44661 44662 44663# Check whether --with-libfwps was given. 44664if test "${with_libfwps+set}" = set; then : 44665 withval=$with_libfwps; ac_cv_with_libfwps=$withval 44666else 44667 ac_cv_with_libfwps=auto-detect 44668fi 44669 44670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfwps in includedir and libdir or in the specified DIR, or no if to use local version" >&5 44671$as_echo_n "checking whether to use search for libfwps in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 44672if ${ac_cv_with_libfwps+:} false; then : 44673 $as_echo_n "(cached) " >&6 44674else 44675 ac_cv_with_libfwps=auto-detect 44676fi 44677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfwps" >&5 44678$as_echo "$ac_cv_with_libfwps" >&6; } 44679 44680 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfwps" = xno; then : 44681 ac_cv_libfwps=no 44682else 44683 ac_cv_libfwps=check 44684 if test "x$ac_cv_with_libfwps" != x && test "x$ac_cv_with_libfwps" != xauto-detect; then : 44685 if test -d "$ac_cv_with_libfwps"; then : 44686 CFLAGS="$CFLAGS -I${ac_cv_with_libfwps}/include" 44687 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfwps}/lib" 44688else 44689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44690$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44691as_fn_error 1 "no such directory: $ac_cv_with_libfwps 44692See \`config.log' for more details" "$LINENO" 5; } 44693 44694fi 44695 44696else 44697 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44698 44699pkg_failed=no 44700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps" >&5 44701$as_echo_n "checking for libfwps... " >&6; } 44702 44703if test -n "$libfwps_CFLAGS"; then 44704 pkg_cv_libfwps_CFLAGS="$libfwps_CFLAGS" 44705 elif test -n "$PKG_CONFIG"; then 44706 if test -n "$PKG_CONFIG" && \ 44707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwps >= 20140622\""; } >&5 44708 ($PKG_CONFIG --exists --print-errors "libfwps >= 20140622") 2>&5 44709 ac_status=$? 44710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44711 test $ac_status = 0; }; then 44712 pkg_cv_libfwps_CFLAGS=`$PKG_CONFIG --cflags "libfwps >= 20140622" 2>/dev/null` 44713 test "x$?" != "x0" && pkg_failed=yes 44714else 44715 pkg_failed=yes 44716fi 44717 else 44718 pkg_failed=untried 44719fi 44720if test -n "$libfwps_LIBS"; then 44721 pkg_cv_libfwps_LIBS="$libfwps_LIBS" 44722 elif test -n "$PKG_CONFIG"; then 44723 if test -n "$PKG_CONFIG" && \ 44724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwps >= 20140622\""; } >&5 44725 ($PKG_CONFIG --exists --print-errors "libfwps >= 20140622") 2>&5 44726 ac_status=$? 44727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44728 test $ac_status = 0; }; then 44729 pkg_cv_libfwps_LIBS=`$PKG_CONFIG --libs "libfwps >= 20140622" 2>/dev/null` 44730 test "x$?" != "x0" && pkg_failed=yes 44731else 44732 pkg_failed=yes 44733fi 44734 else 44735 pkg_failed=untried 44736fi 44737 44738 44739 44740if test $pkg_failed = yes; then 44741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44742$as_echo "no" >&6; } 44743 44744if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44745 _pkg_short_errors_supported=yes 44746else 44747 _pkg_short_errors_supported=no 44748fi 44749 if test $_pkg_short_errors_supported = yes; then 44750 libfwps_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfwps >= 20140622" 2>&1` 44751 else 44752 libfwps_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfwps >= 20140622" 2>&1` 44753 fi 44754 # Put the nasty error message in config.log where it belongs 44755 echo "$libfwps_PKG_ERRORS" >&5 44756 44757 ac_cv_libfwps=check 44758elif test $pkg_failed = untried; then 44759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44760$as_echo "no" >&6; } 44761 ac_cv_libfwps=check 44762else 44763 libfwps_CFLAGS=$pkg_cv_libfwps_CFLAGS 44764 libfwps_LIBS=$pkg_cv_libfwps_LIBS 44765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44766$as_echo "yes" >&6; } 44767 ac_cv_libfwps=yes 44768fi 44769 44770fi 44771 if test "x$ac_cv_libfwps" = xyes; then : 44772 ac_cv_libfwps_CPPFLAGS="$pkg_cv_libfwps_CFLAGS" 44773 ac_cv_libfwps_LIBADD="$pkg_cv_libfwps_LIBS" 44774fi 44775 44776fi 44777 44778 if test "x$ac_cv_libfwps" = xcheck; then : 44779 for ac_header in libfwps.h 44780do : 44781 ac_fn_c_check_header_mongrel "$LINENO" "libfwps.h" "ac_cv_header_libfwps_h" "$ac_includes_default" 44782if test "x$ac_cv_header_libfwps_h" = xyes; then : 44783 cat >>confdefs.h <<_ACEOF 44784#define HAVE_LIBFWPS_H 1 44785_ACEOF 44786 44787fi 44788 44789done 44790 44791 44792 if test "x$ac_cv_header_libfwps_h" = xno; then : 44793 ac_cv_libfwps=no 44794else 44795 ac_cv_libfwps=yes 44796 44797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_get_version in -lfwps" >&5 44798$as_echo_n "checking for libfwps_get_version in -lfwps... " >&6; } 44799if ${ac_cv_lib_fwps_libfwps_get_version+:} false; then : 44800 $as_echo_n "(cached) " >&6 44801else 44802 ac_check_lib_save_LIBS=$LIBS 44803LIBS="-lfwps $LIBS" 44804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44805/* end confdefs.h. */ 44806 44807/* Override any GCC internal prototype to avoid an error. 44808 Use char because int might match the return type of a GCC 44809 builtin and then its argument prototype would still apply. */ 44810#ifdef __cplusplus 44811extern "C" 44812#endif 44813char libfwps_get_version (); 44814int 44815main () 44816{ 44817return libfwps_get_version (); 44818 ; 44819 return 0; 44820} 44821_ACEOF 44822if ac_fn_c_try_link "$LINENO"; then : 44823 ac_cv_lib_fwps_libfwps_get_version=yes 44824else 44825 ac_cv_lib_fwps_libfwps_get_version=no 44826fi 44827rm -f core conftest.err conftest.$ac_objext \ 44828 conftest$ac_exeext conftest.$ac_ext 44829LIBS=$ac_check_lib_save_LIBS 44830fi 44831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_get_version" >&5 44832$as_echo "$ac_cv_lib_fwps_libfwps_get_version" >&6; } 44833if test "x$ac_cv_lib_fwps_libfwps_get_version" = xyes; then : 44834 ac_cv_libfwps_dummy=yes 44835else 44836 ac_cv_libfwps=no 44837fi 44838 44839 44840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_store_initialize in -lfwps" >&5 44841$as_echo_n "checking for libfwps_store_initialize in -lfwps... " >&6; } 44842if ${ac_cv_lib_fwps_libfwps_store_initialize+:} false; then : 44843 $as_echo_n "(cached) " >&6 44844else 44845 ac_check_lib_save_LIBS=$LIBS 44846LIBS="-lfwps $LIBS" 44847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44848/* end confdefs.h. */ 44849 44850/* Override any GCC internal prototype to avoid an error. 44851 Use char because int might match the return type of a GCC 44852 builtin and then its argument prototype would still apply. */ 44853#ifdef __cplusplus 44854extern "C" 44855#endif 44856char libfwps_store_initialize (); 44857int 44858main () 44859{ 44860return libfwps_store_initialize (); 44861 ; 44862 return 0; 44863} 44864_ACEOF 44865if ac_fn_c_try_link "$LINENO"; then : 44866 ac_cv_lib_fwps_libfwps_store_initialize=yes 44867else 44868 ac_cv_lib_fwps_libfwps_store_initialize=no 44869fi 44870rm -f core conftest.err conftest.$ac_objext \ 44871 conftest$ac_exeext conftest.$ac_ext 44872LIBS=$ac_check_lib_save_LIBS 44873fi 44874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_store_initialize" >&5 44875$as_echo "$ac_cv_lib_fwps_libfwps_store_initialize" >&6; } 44876if test "x$ac_cv_lib_fwps_libfwps_store_initialize" = xyes; then : 44877 ac_cv_libfwps_dummy=yes 44878else 44879 ac_cv_libfwps=no 44880fi 44881 44882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_store_free in -lfwps" >&5 44883$as_echo_n "checking for libfwps_store_free in -lfwps... " >&6; } 44884if ${ac_cv_lib_fwps_libfwps_store_free+:} false; then : 44885 $as_echo_n "(cached) " >&6 44886else 44887 ac_check_lib_save_LIBS=$LIBS 44888LIBS="-lfwps $LIBS" 44889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44890/* end confdefs.h. */ 44891 44892/* Override any GCC internal prototype to avoid an error. 44893 Use char because int might match the return type of a GCC 44894 builtin and then its argument prototype would still apply. */ 44895#ifdef __cplusplus 44896extern "C" 44897#endif 44898char libfwps_store_free (); 44899int 44900main () 44901{ 44902return libfwps_store_free (); 44903 ; 44904 return 0; 44905} 44906_ACEOF 44907if ac_fn_c_try_link "$LINENO"; then : 44908 ac_cv_lib_fwps_libfwps_store_free=yes 44909else 44910 ac_cv_lib_fwps_libfwps_store_free=no 44911fi 44912rm -f core conftest.err conftest.$ac_objext \ 44913 conftest$ac_exeext conftest.$ac_ext 44914LIBS=$ac_check_lib_save_LIBS 44915fi 44916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_store_free" >&5 44917$as_echo "$ac_cv_lib_fwps_libfwps_store_free" >&6; } 44918if test "x$ac_cv_lib_fwps_libfwps_store_free" = xyes; then : 44919 ac_cv_libfwps_dummy=yes 44920else 44921 ac_cv_libfwps=no 44922fi 44923 44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_store_copy_from_byte_stream in -lfwps" >&5 44925$as_echo_n "checking for libfwps_store_copy_from_byte_stream in -lfwps... " >&6; } 44926if ${ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream+:} false; then : 44927 $as_echo_n "(cached) " >&6 44928else 44929 ac_check_lib_save_LIBS=$LIBS 44930LIBS="-lfwps $LIBS" 44931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44932/* end confdefs.h. */ 44933 44934/* Override any GCC internal prototype to avoid an error. 44935 Use char because int might match the return type of a GCC 44936 builtin and then its argument prototype would still apply. */ 44937#ifdef __cplusplus 44938extern "C" 44939#endif 44940char libfwps_store_copy_from_byte_stream (); 44941int 44942main () 44943{ 44944return libfwps_store_copy_from_byte_stream (); 44945 ; 44946 return 0; 44947} 44948_ACEOF 44949if ac_fn_c_try_link "$LINENO"; then : 44950 ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream=yes 44951else 44952 ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream=no 44953fi 44954rm -f core conftest.err conftest.$ac_objext \ 44955 conftest$ac_exeext conftest.$ac_ext 44956LIBS=$ac_check_lib_save_LIBS 44957fi 44958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream" >&5 44959$as_echo "$ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream" >&6; } 44960if test "x$ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream" = xyes; then : 44961 ac_cv_libfwps_dummy=yes 44962else 44963 ac_cv_libfwps=no 44964fi 44965 44966 44967 ac_cv_libfwps_LIBADD="-lfwps" 44968fi 44969 44970fi 44971 if test "x$ac_cv_with_libfwps" != x && test "x$ac_cv_with_libfwps" != xauto-detect && test "x$ac_cv_libfwps" != xyes; then : 44972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44974as_fn_error 1 "unable to find supported libfwps in directory: $ac_cv_with_libfwps 44975See \`config.log' for more details" "$LINENO" 5; } 44976 44977fi 44978 44979fi 44980 44981 if test "x$ac_cv_libfwps" = xyes && test "x$ac_cv_enable_debug_output" != xno; then : 44982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_property_identifier_get_description in -lfwps" >&5 44983$as_echo_n "checking for libfwps_property_identifier_get_description in -lfwps... " >&6; } 44984if ${ac_cv_lib_fwps_libfwps_property_identifier_get_description+:} false; then : 44985 $as_echo_n "(cached) " >&6 44986else 44987 ac_check_lib_save_LIBS=$LIBS 44988LIBS="-lfwps $LIBS" 44989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44990/* end confdefs.h. */ 44991 44992/* Override any GCC internal prototype to avoid an error. 44993 Use char because int might match the return type of a GCC 44994 builtin and then its argument prototype would still apply. */ 44995#ifdef __cplusplus 44996extern "C" 44997#endif 44998char libfwps_property_identifier_get_description (); 44999int 45000main () 45001{ 45002return libfwps_property_identifier_get_description (); 45003 ; 45004 return 0; 45005} 45006_ACEOF 45007if ac_fn_c_try_link "$LINENO"; then : 45008 ac_cv_lib_fwps_libfwps_property_identifier_get_description=yes 45009else 45010 ac_cv_lib_fwps_libfwps_property_identifier_get_description=no 45011fi 45012rm -f core conftest.err conftest.$ac_objext \ 45013 conftest$ac_exeext conftest.$ac_ext 45014LIBS=$ac_check_lib_save_LIBS 45015fi 45016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_property_identifier_get_description" >&5 45017$as_echo "$ac_cv_lib_fwps_libfwps_property_identifier_get_description" >&6; } 45018if test "x$ac_cv_lib_fwps_libfwps_property_identifier_get_description" = xyes; then : 45019 ac_cv_libfwps_dummy=yes 45020else 45021 ac_cv_libfwps=no 45022fi 45023 45024 45025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_property_identifier_get_identifier in -lfwps" >&5 45026$as_echo_n "checking for libfwps_property_identifier_get_identifier in -lfwps... " >&6; } 45027if ${ac_cv_lib_fwps_libfwps_property_identifier_get_identifier+:} false; then : 45028 $as_echo_n "(cached) " >&6 45029else 45030 ac_check_lib_save_LIBS=$LIBS 45031LIBS="-lfwps $LIBS" 45032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45033/* end confdefs.h. */ 45034 45035/* Override any GCC internal prototype to avoid an error. 45036 Use char because int might match the return type of a GCC 45037 builtin and then its argument prototype would still apply. */ 45038#ifdef __cplusplus 45039extern "C" 45040#endif 45041char libfwps_property_identifier_get_identifier (); 45042int 45043main () 45044{ 45045return libfwps_property_identifier_get_identifier (); 45046 ; 45047 return 0; 45048} 45049_ACEOF 45050if ac_fn_c_try_link "$LINENO"; then : 45051 ac_cv_lib_fwps_libfwps_property_identifier_get_identifier=yes 45052else 45053 ac_cv_lib_fwps_libfwps_property_identifier_get_identifier=no 45054fi 45055rm -f core conftest.err conftest.$ac_objext \ 45056 conftest$ac_exeext conftest.$ac_ext 45057LIBS=$ac_check_lib_save_LIBS 45058fi 45059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_property_identifier_get_identifier" >&5 45060$as_echo "$ac_cv_lib_fwps_libfwps_property_identifier_get_identifier" >&6; } 45061if test "x$ac_cv_lib_fwps_libfwps_property_identifier_get_identifier" = xyes; then : 45062 ac_cv_libfwps_dummy=yes 45063else 45064 ac_cv_libfwps=no 45065fi 45066 45067 45068fi 45069 45070 if test "x$ac_cv_libfwps" = xyes; then : 45071 45072$as_echo "#define HAVE_LIBFWPS 1" >>confdefs.h 45073 45074 45075fi 45076 45077 if test "x$ac_cv_libfwps" = xyes; then : 45078 HAVE_LIBFWPS=1 45079 45080else 45081 HAVE_LIBFWPS=0 45082 45083 45084fi 45085 45086 45087 if test "x$ac_cv_libfwps" != xyes; then : 45088 45089 ac_cv_libfwps_CPPFLAGS="-I../libfwps"; 45090 ac_cv_libfwps_LIBADD="../libfwps/libfwps.la"; 45091 45092 ac_cv_libfwps=local 45093 45094 45095 45096$as_echo "#define HAVE_LOCAL_LIBFWPS 1" >>confdefs.h 45097 45098 HAVE_LOCAL_LIBFWPS=1 45099 45100 45101fi 45102 45103 if test "x$ac_cv_libfwps" = xlocal; then 45104 HAVE_LOCAL_LIBFWPS_TRUE= 45105 HAVE_LOCAL_LIBFWPS_FALSE='#' 45106else 45107 HAVE_LOCAL_LIBFWPS_TRUE='#' 45108 HAVE_LOCAL_LIBFWPS_FALSE= 45109fi 45110 45111 if test "x$ac_cv_libfwps_CPPFLAGS" != "x"; then : 45112 LIBFWPS_CPPFLAGS=$ac_cv_libfwps_CPPFLAGS 45113 45114 45115fi 45116 if test "x$ac_cv_libfwps_LIBADD" != "x"; then : 45117 LIBFWPS_LIBADD=$ac_cv_libfwps_LIBADD 45118 45119 45120fi 45121 45122 if test "x$ac_cv_libfwps" = xyes; then : 45123 ax_libfwps_pc_libs_private=-lfwps 45124 45125 45126fi 45127 45128 if test "x$ac_cv_libfwps" = xyes; then : 45129 ax_libfwps_spec_requires=libfwps 45130 45131 ax_libfwps_spec_build_requires=libfwps-devel 45132 45133 45134fi 45135 45136 45137 45138 45139# Check whether --with-libfwsi was given. 45140if test "${with_libfwsi+set}" = set; then : 45141 withval=$with_libfwsi; ac_cv_with_libfwsi=$withval 45142else 45143 ac_cv_with_libfwsi=auto-detect 45144fi 45145 45146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfwsi in includedir and libdir or in the specified DIR, or no if to use local version" >&5 45147$as_echo_n "checking whether to use search for libfwsi in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 45148if ${ac_cv_with_libfwsi+:} false; then : 45149 $as_echo_n "(cached) " >&6 45150else 45151 ac_cv_with_libfwsi=auto-detect 45152fi 45153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfwsi" >&5 45154$as_echo "$ac_cv_with_libfwsi" >&6; } 45155 45156 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfwsi" = xno; then : 45157 ac_cv_libfwsi=no 45158else 45159 ac_cv_libfwsi=check 45160 if test "x$ac_cv_with_libfwsi" != x && test "x$ac_cv_with_libfwsi" != xauto-detect; then : 45161 if test -d "$ac_cv_with_libfwsi"; then : 45162 CFLAGS="$CFLAGS -I${ac_cv_with_libfwsi}/include" 45163 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfwsi}/lib" 45164else 45165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45167as_fn_error 1 "no such directory: $ac_cv_with_libfwsi 45168See \`config.log' for more details" "$LINENO" 5; } 45169 45170fi 45171 45172else 45173 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 45174 45175pkg_failed=no 45176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi" >&5 45177$as_echo_n "checking for libfwsi... " >&6; } 45178 45179if test -n "$libfwsi_CFLAGS"; then 45180 pkg_cv_libfwsi_CFLAGS="$libfwsi_CFLAGS" 45181 elif test -n "$PKG_CONFIG"; then 45182 if test -n "$PKG_CONFIG" && \ 45183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwsi >= 20140827\""; } >&5 45184 ($PKG_CONFIG --exists --print-errors "libfwsi >= 20140827") 2>&5 45185 ac_status=$? 45186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45187 test $ac_status = 0; }; then 45188 pkg_cv_libfwsi_CFLAGS=`$PKG_CONFIG --cflags "libfwsi >= 20140827" 2>/dev/null` 45189 test "x$?" != "x0" && pkg_failed=yes 45190else 45191 pkg_failed=yes 45192fi 45193 else 45194 pkg_failed=untried 45195fi 45196if test -n "$libfwsi_LIBS"; then 45197 pkg_cv_libfwsi_LIBS="$libfwsi_LIBS" 45198 elif test -n "$PKG_CONFIG"; then 45199 if test -n "$PKG_CONFIG" && \ 45200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwsi >= 20140827\""; } >&5 45201 ($PKG_CONFIG --exists --print-errors "libfwsi >= 20140827") 2>&5 45202 ac_status=$? 45203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45204 test $ac_status = 0; }; then 45205 pkg_cv_libfwsi_LIBS=`$PKG_CONFIG --libs "libfwsi >= 20140827" 2>/dev/null` 45206 test "x$?" != "x0" && pkg_failed=yes 45207else 45208 pkg_failed=yes 45209fi 45210 else 45211 pkg_failed=untried 45212fi 45213 45214 45215 45216if test $pkg_failed = yes; then 45217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45218$as_echo "no" >&6; } 45219 45220if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 45221 _pkg_short_errors_supported=yes 45222else 45223 _pkg_short_errors_supported=no 45224fi 45225 if test $_pkg_short_errors_supported = yes; then 45226 libfwsi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfwsi >= 20140827" 2>&1` 45227 else 45228 libfwsi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfwsi >= 20140827" 2>&1` 45229 fi 45230 # Put the nasty error message in config.log where it belongs 45231 echo "$libfwsi_PKG_ERRORS" >&5 45232 45233 ac_cv_libfwsi=check 45234elif test $pkg_failed = untried; then 45235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45236$as_echo "no" >&6; } 45237 ac_cv_libfwsi=check 45238else 45239 libfwsi_CFLAGS=$pkg_cv_libfwsi_CFLAGS 45240 libfwsi_LIBS=$pkg_cv_libfwsi_LIBS 45241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45242$as_echo "yes" >&6; } 45243 ac_cv_libfwsi=yes 45244fi 45245 45246fi 45247 if test "x$ac_cv_libfwsi" = xyes; then : 45248 ac_cv_libfwsi_CPPFLAGS="$pkg_cv_libfwsi_CFLAGS" 45249 ac_cv_libfwsi_LIBADD="$pkg_cv_libfwsi_LIBS" 45250fi 45251 45252fi 45253 45254 if test "x$ac_cv_libfwsi" = xcheck; then : 45255 for ac_header in libfwsi.h 45256do : 45257 ac_fn_c_check_header_mongrel "$LINENO" "libfwsi.h" "ac_cv_header_libfwsi_h" "$ac_includes_default" 45258if test "x$ac_cv_header_libfwsi_h" = xyes; then : 45259 cat >>confdefs.h <<_ACEOF 45260#define HAVE_LIBFWSI_H 1 45261_ACEOF 45262 45263fi 45264 45265done 45266 45267 45268 if test "x$ac_cv_header_libfwsi_h" = xno; then : 45269 ac_cv_libfwsi=no 45270else 45271 ac_cv_libfwsi=yes 45272 45273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_get_version in -lfwsi" >&5 45274$as_echo_n "checking for libfwsi_get_version in -lfwsi... " >&6; } 45275if ${ac_cv_lib_fwsi_libfwsi_get_version+:} false; then : 45276 $as_echo_n "(cached) " >&6 45277else 45278 ac_check_lib_save_LIBS=$LIBS 45279LIBS="-lfwsi $LIBS" 45280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45281/* end confdefs.h. */ 45282 45283/* Override any GCC internal prototype to avoid an error. 45284 Use char because int might match the return type of a GCC 45285 builtin and then its argument prototype would still apply. */ 45286#ifdef __cplusplus 45287extern "C" 45288#endif 45289char libfwsi_get_version (); 45290int 45291main () 45292{ 45293return libfwsi_get_version (); 45294 ; 45295 return 0; 45296} 45297_ACEOF 45298if ac_fn_c_try_link "$LINENO"; then : 45299 ac_cv_lib_fwsi_libfwsi_get_version=yes 45300else 45301 ac_cv_lib_fwsi_libfwsi_get_version=no 45302fi 45303rm -f core conftest.err conftest.$ac_objext \ 45304 conftest$ac_exeext conftest.$ac_ext 45305LIBS=$ac_check_lib_save_LIBS 45306fi 45307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_get_version" >&5 45308$as_echo "$ac_cv_lib_fwsi_libfwsi_get_version" >&6; } 45309if test "x$ac_cv_lib_fwsi_libfwsi_get_version" = xyes; then : 45310 ac_cv_libfwsi_dummy=yes 45311else 45312 ac_cv_libfwsi=no 45313fi 45314 45315 45316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_item_initialize in -lfwsi" >&5 45317$as_echo_n "checking for libfwsi_item_initialize in -lfwsi... " >&6; } 45318if ${ac_cv_lib_fwsi_libfwsi_item_initialize+:} false; then : 45319 $as_echo_n "(cached) " >&6 45320else 45321 ac_check_lib_save_LIBS=$LIBS 45322LIBS="-lfwsi $LIBS" 45323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45324/* end confdefs.h. */ 45325 45326/* Override any GCC internal prototype to avoid an error. 45327 Use char because int might match the return type of a GCC 45328 builtin and then its argument prototype would still apply. */ 45329#ifdef __cplusplus 45330extern "C" 45331#endif 45332char libfwsi_item_initialize (); 45333int 45334main () 45335{ 45336return libfwsi_item_initialize (); 45337 ; 45338 return 0; 45339} 45340_ACEOF 45341if ac_fn_c_try_link "$LINENO"; then : 45342 ac_cv_lib_fwsi_libfwsi_item_initialize=yes 45343else 45344 ac_cv_lib_fwsi_libfwsi_item_initialize=no 45345fi 45346rm -f core conftest.err conftest.$ac_objext \ 45347 conftest$ac_exeext conftest.$ac_ext 45348LIBS=$ac_check_lib_save_LIBS 45349fi 45350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_item_initialize" >&5 45351$as_echo "$ac_cv_lib_fwsi_libfwsi_item_initialize" >&6; } 45352if test "x$ac_cv_lib_fwsi_libfwsi_item_initialize" = xyes; then : 45353 ac_cv_libfwsi_dummy=yes 45354else 45355 ac_cv_libfwsi=no 45356fi 45357 45358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_item_free in -lfwsi" >&5 45359$as_echo_n "checking for libfwsi_item_free in -lfwsi... " >&6; } 45360if ${ac_cv_lib_fwsi_libfwsi_item_free+:} false; then : 45361 $as_echo_n "(cached) " >&6 45362else 45363 ac_check_lib_save_LIBS=$LIBS 45364LIBS="-lfwsi $LIBS" 45365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45366/* end confdefs.h. */ 45367 45368/* Override any GCC internal prototype to avoid an error. 45369 Use char because int might match the return type of a GCC 45370 builtin and then its argument prototype would still apply. */ 45371#ifdef __cplusplus 45372extern "C" 45373#endif 45374char libfwsi_item_free (); 45375int 45376main () 45377{ 45378return libfwsi_item_free (); 45379 ; 45380 return 0; 45381} 45382_ACEOF 45383if ac_fn_c_try_link "$LINENO"; then : 45384 ac_cv_lib_fwsi_libfwsi_item_free=yes 45385else 45386 ac_cv_lib_fwsi_libfwsi_item_free=no 45387fi 45388rm -f core conftest.err conftest.$ac_objext \ 45389 conftest$ac_exeext conftest.$ac_ext 45390LIBS=$ac_check_lib_save_LIBS 45391fi 45392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_item_free" >&5 45393$as_echo "$ac_cv_lib_fwsi_libfwsi_item_free" >&6; } 45394if test "x$ac_cv_lib_fwsi_libfwsi_item_free" = xyes; then : 45395 ac_cv_libfwsi_dummy=yes 45396else 45397 ac_cv_libfwsi=no 45398fi 45399 45400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_item_copy_from_byte_stream in -lfwsi" >&5 45401$as_echo_n "checking for libfwsi_item_copy_from_byte_stream in -lfwsi... " >&6; } 45402if ${ac_cv_lib_fwsi_libfwsi_item_copy_from_byte_stream+:} false; then : 45403 $as_echo_n "(cached) " >&6 45404else 45405 ac_check_lib_save_LIBS=$LIBS 45406LIBS="-lfwsi $LIBS" 45407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45408/* end confdefs.h. */ 45409 45410/* Override any GCC internal prototype to avoid an error. 45411 Use char because int might match the return type of a GCC 45412 builtin and then its argument prototype would still apply. */ 45413#ifdef __cplusplus 45414extern "C" 45415#endif 45416char libfwsi_item_copy_from_byte_stream (); 45417int 45418main () 45419{ 45420return libfwsi_item_copy_from_byte_stream (); 45421 ; 45422 return 0; 45423} 45424_ACEOF 45425if ac_fn_c_try_link "$LINENO"; then : 45426 ac_cv_lib_fwsi_libfwsi_item_copy_from_byte_stream=yes 45427else 45428 ac_cv_lib_fwsi_libfwsi_item_copy_from_byte_stream=no 45429fi 45430rm -f core conftest.err conftest.$ac_objext \ 45431 conftest$ac_exeext conftest.$ac_ext 45432LIBS=$ac_check_lib_save_LIBS 45433fi 45434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_item_copy_from_byte_stream" >&5 45435$as_echo "$ac_cv_lib_fwsi_libfwsi_item_copy_from_byte_stream" >&6; } 45436if test "x$ac_cv_lib_fwsi_libfwsi_item_copy_from_byte_stream" = xyes; then : 45437 ac_cv_libfwsi_dummy=yes 45438else 45439 ac_cv_libfwsi=no 45440fi 45441 45442 45443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_item_list_initialize in -lfwsi" >&5 45444$as_echo_n "checking for libfwsi_item_list_initialize in -lfwsi... " >&6; } 45445if ${ac_cv_lib_fwsi_libfwsi_item_list_initialize+:} false; then : 45446 $as_echo_n "(cached) " >&6 45447else 45448 ac_check_lib_save_LIBS=$LIBS 45449LIBS="-lfwsi $LIBS" 45450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45451/* end confdefs.h. */ 45452 45453/* Override any GCC internal prototype to avoid an error. 45454 Use char because int might match the return type of a GCC 45455 builtin and then its argument prototype would still apply. */ 45456#ifdef __cplusplus 45457extern "C" 45458#endif 45459char libfwsi_item_list_initialize (); 45460int 45461main () 45462{ 45463return libfwsi_item_list_initialize (); 45464 ; 45465 return 0; 45466} 45467_ACEOF 45468if ac_fn_c_try_link "$LINENO"; then : 45469 ac_cv_lib_fwsi_libfwsi_item_list_initialize=yes 45470else 45471 ac_cv_lib_fwsi_libfwsi_item_list_initialize=no 45472fi 45473rm -f core conftest.err conftest.$ac_objext \ 45474 conftest$ac_exeext conftest.$ac_ext 45475LIBS=$ac_check_lib_save_LIBS 45476fi 45477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_item_list_initialize" >&5 45478$as_echo "$ac_cv_lib_fwsi_libfwsi_item_list_initialize" >&6; } 45479if test "x$ac_cv_lib_fwsi_libfwsi_item_list_initialize" = xyes; then : 45480 ac_cv_libfwsi_dummy=yes 45481else 45482 ac_cv_libfwsi=no 45483fi 45484 45485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_item_list_free in -lfwsi" >&5 45486$as_echo_n "checking for libfwsi_item_list_free in -lfwsi... " >&6; } 45487if ${ac_cv_lib_fwsi_libfwsi_item_list_free+:} false; then : 45488 $as_echo_n "(cached) " >&6 45489else 45490 ac_check_lib_save_LIBS=$LIBS 45491LIBS="-lfwsi $LIBS" 45492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45493/* end confdefs.h. */ 45494 45495/* Override any GCC internal prototype to avoid an error. 45496 Use char because int might match the return type of a GCC 45497 builtin and then its argument prototype would still apply. */ 45498#ifdef __cplusplus 45499extern "C" 45500#endif 45501char libfwsi_item_list_free (); 45502int 45503main () 45504{ 45505return libfwsi_item_list_free (); 45506 ; 45507 return 0; 45508} 45509_ACEOF 45510if ac_fn_c_try_link "$LINENO"; then : 45511 ac_cv_lib_fwsi_libfwsi_item_list_free=yes 45512else 45513 ac_cv_lib_fwsi_libfwsi_item_list_free=no 45514fi 45515rm -f core conftest.err conftest.$ac_objext \ 45516 conftest$ac_exeext conftest.$ac_ext 45517LIBS=$ac_check_lib_save_LIBS 45518fi 45519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_item_list_free" >&5 45520$as_echo "$ac_cv_lib_fwsi_libfwsi_item_list_free" >&6; } 45521if test "x$ac_cv_lib_fwsi_libfwsi_item_list_free" = xyes; then : 45522 ac_cv_libfwsi_dummy=yes 45523else 45524 ac_cv_libfwsi=no 45525fi 45526 45527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwsi_item_list_copy_from_byte_stream in -lfwsi" >&5 45528$as_echo_n "checking for libfwsi_item_list_copy_from_byte_stream in -lfwsi... " >&6; } 45529if ${ac_cv_lib_fwsi_libfwsi_item_list_copy_from_byte_stream+:} false; then : 45530 $as_echo_n "(cached) " >&6 45531else 45532 ac_check_lib_save_LIBS=$LIBS 45533LIBS="-lfwsi $LIBS" 45534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45535/* end confdefs.h. */ 45536 45537/* Override any GCC internal prototype to avoid an error. 45538 Use char because int might match the return type of a GCC 45539 builtin and then its argument prototype would still apply. */ 45540#ifdef __cplusplus 45541extern "C" 45542#endif 45543char libfwsi_item_list_copy_from_byte_stream (); 45544int 45545main () 45546{ 45547return libfwsi_item_list_copy_from_byte_stream (); 45548 ; 45549 return 0; 45550} 45551_ACEOF 45552if ac_fn_c_try_link "$LINENO"; then : 45553 ac_cv_lib_fwsi_libfwsi_item_list_copy_from_byte_stream=yes 45554else 45555 ac_cv_lib_fwsi_libfwsi_item_list_copy_from_byte_stream=no 45556fi 45557rm -f core conftest.err conftest.$ac_objext \ 45558 conftest$ac_exeext conftest.$ac_ext 45559LIBS=$ac_check_lib_save_LIBS 45560fi 45561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwsi_libfwsi_item_list_copy_from_byte_stream" >&5 45562$as_echo "$ac_cv_lib_fwsi_libfwsi_item_list_copy_from_byte_stream" >&6; } 45563if test "x$ac_cv_lib_fwsi_libfwsi_item_list_copy_from_byte_stream" = xyes; then : 45564 ac_cv_libfwsi_dummy=yes 45565else 45566 ac_cv_libfwsi=no 45567fi 45568 45569 45570 ac_cv_libfwsi_LIBADD="-lfwsi" 45571fi 45572 45573fi 45574 if test "x$ac_cv_with_libfwsi" != x && test "x$ac_cv_with_libfwsi" != xauto-detect && test "x$ac_cv_libfwsi" != xyes; then : 45575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45576$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45577as_fn_error 1 "unable to find supported libfwsi in directory: $ac_cv_with_libfwsi 45578See \`config.log' for more details" "$LINENO" 5; } 45579 45580fi 45581 45582fi 45583 45584 if test "x$ac_cv_libfwsi" = xyes; then : 45585 45586$as_echo "#define HAVE_LIBFWSI 1" >>confdefs.h 45587 45588 45589fi 45590 45591 if test "x$ac_cv_libfwsi" = xyes; then : 45592 HAVE_LIBFWSI=1 45593 45594else 45595 HAVE_LIBFWSI=0 45596 45597 45598fi 45599 45600 45601 if test "x$ac_cv_libfwsi" != xyes; then : 45602 45603 ac_cv_libfwsi_CPPFLAGS="-I../libfwsi"; 45604 ac_cv_libfwsi_LIBADD="../libfwsi/libfwsi.la"; 45605 45606 ac_cv_libfwsi=local 45607 45608 45609 45610$as_echo "#define HAVE_LOCAL_LIBFWSI 1" >>confdefs.h 45611 45612 HAVE_LOCAL_LIBFWSI=1 45613 45614 45615fi 45616 45617 if test "x$ac_cv_libfwsi" = xlocal; then 45618 HAVE_LOCAL_LIBFWSI_TRUE= 45619 HAVE_LOCAL_LIBFWSI_FALSE='#' 45620else 45621 HAVE_LOCAL_LIBFWSI_TRUE='#' 45622 HAVE_LOCAL_LIBFWSI_FALSE= 45623fi 45624 45625 if test "x$ac_cv_libfwsi_CPPFLAGS" != "x"; then : 45626 LIBFWSI_CPPFLAGS=$ac_cv_libfwsi_CPPFLAGS 45627 45628 45629fi 45630 if test "x$ac_cv_libfwsi_LIBADD" != "x"; then : 45631 LIBFWSI_LIBADD=$ac_cv_libfwsi_LIBADD 45632 45633 45634fi 45635 45636 if test "x$ac_cv_libfwsi" = xyes; then : 45637 ax_libfwsi_pc_libs_private=-lfwsi 45638 45639 45640fi 45641 45642 if test "x$ac_cv_libfwsi" = xyes; then : 45643 ax_libfwsi_spec_requires=libfwsi 45644 45645 ax_libfwsi_spec_build_requires=libfwsi-devel 45646 45647 45648fi 45649 45650 45651 for ac_func in bindtextdomain 45652do : 45653 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 45654if test "x$ac_cv_func_bindtextdomain" = xyes; then : 45655 cat >>confdefs.h <<_ACEOF 45656#define HAVE_BINDTEXTDOMAIN 1 45657_ACEOF 45658 45659fi 45660done 45661 45662 45663 45664 45665 45666# Check whether --with-pyprefix was given. 45667if test "${with_pyprefix+set}" = set; then : 45668 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 45669else 45670 ac_cv_with_pyprefix=no 45671fi 45672 45673 { $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 45674$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 45675if ${ac_cv_with_pyprefix+:} false; then : 45676 $as_echo_n "(cached) " >&6 45677else 45678 ac_cv_with_pyprefix=no 45679fi 45680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 45681$as_echo "$ac_cv_with_pyprefix" >&6; } 45682 45683 45684 45685 # Check whether --enable-python was given. 45686if test "${enable_python+set}" = set; then : 45687 enableval=$enable_python; ac_cv_enable_python=$enableval 45688else 45689 ac_cv_enable_python=no 45690fi 45691 45692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 45693$as_echo_n "checking whether to enable build Python bindings... " >&6; } 45694if ${ac_cv_enable_python+:} false; then : 45695 $as_echo_n "(cached) " >&6 45696else 45697 ac_cv_enable_python=no 45698fi 45699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 45700$as_echo "$ac_cv_enable_python" >&6; } 45701 45702 45703# Check whether --with-pythondir was given. 45704if test "${with_pythondir+set}" = set; then : 45705 withval=$with_pythondir; ac_cv_with_pythondir=$withval 45706else 45707 ac_cv_with_pythondir=no 45708fi 45709 45710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 45711$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 45712if ${ac_cv_with_pythondir+:} false; then : 45713 $as_echo_n "(cached) " >&6 45714else 45715 ac_cv_with_pythondir=no 45716fi 45717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 45718$as_echo "$ac_cv_with_pythondir" >&6; } 45719 45720 45721 # Check whether --enable-python2 was given. 45722if test "${enable_python2+set}" = set; then : 45723 enableval=$enable_python2; ac_cv_enable_python2=$enableval 45724else 45725 ac_cv_enable_python2=no 45726fi 45727 45728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 45729$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 45730if ${ac_cv_enable_python2+:} false; then : 45731 $as_echo_n "(cached) " >&6 45732else 45733 ac_cv_enable_python2=no 45734fi 45735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 45736$as_echo "$ac_cv_enable_python2" >&6; } 45737 45738 45739# Check whether --with-pythondir2 was given. 45740if test "${with_pythondir2+set}" = set; then : 45741 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 45742else 45743 ac_cv_with_pythondir2=no 45744fi 45745 45746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 45747$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 45748if ${ac_cv_with_pythondir2+:} false; then : 45749 $as_echo_n "(cached) " >&6 45750else 45751 ac_cv_with_pythondir2=no 45752fi 45753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 45754$as_echo "$ac_cv_with_pythondir2" >&6; } 45755 45756 45757 # Check whether --enable-python3 was given. 45758if test "${enable_python3+set}" = set; then : 45759 enableval=$enable_python3; ac_cv_enable_python3=$enableval 45760else 45761 ac_cv_enable_python3=no 45762fi 45763 45764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 45765$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 45766if ${ac_cv_enable_python3+:} false; then : 45767 $as_echo_n "(cached) " >&6 45768else 45769 ac_cv_enable_python3=no 45770fi 45771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 45772$as_echo "$ac_cv_enable_python3" >&6; } 45773 45774 45775# Check whether --with-pythondir3 was given. 45776if test "${with_pythondir3+set}" = set; then : 45777 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 45778else 45779 ac_cv_with_pythondir3=no 45780fi 45781 45782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 45783$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 45784if ${ac_cv_with_pythondir3+:} false; then : 45785 $as_echo_n "(cached) " >&6 45786else 45787 ac_cv_with_pythondir3=no 45788fi 45789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 45790$as_echo "$ac_cv_with_pythondir3" >&6; } 45791 45792 if test "x${ac_cv_enable_python}" != xno; then : 45793 if test "x${PYTHON_VERSION}" != x; then : 45794 ax_python_progs="python${PYTHON_VERSION}" 45795else 45796 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" 45797fi 45798 for ac_prog in $ax_python_progs 45799do 45800 # Extract the first word of "$ac_prog", so it can be a program name with args. 45801set dummy $ac_prog; ac_word=$2 45802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45803$as_echo_n "checking for $ac_word... " >&6; } 45804if ${ac_cv_prog_PYTHON+:} false; then : 45805 $as_echo_n "(cached) " >&6 45806else 45807 if test -n "$PYTHON"; then 45808 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 45809else 45810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45811for as_dir in $PATH 45812do 45813 IFS=$as_save_IFS 45814 test -z "$as_dir" && as_dir=. 45815 for ac_exec_ext in '' $ac_executable_extensions; do 45816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45817 ac_cv_prog_PYTHON="$ac_prog" 45818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45819 break 2 45820 fi 45821done 45822 done 45823IFS=$as_save_IFS 45824 45825fi 45826fi 45827PYTHON=$ac_cv_prog_PYTHON 45828if test -n "$PYTHON"; then 45829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 45830$as_echo "$PYTHON" >&6; } 45831else 45832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45833$as_echo "no" >&6; } 45834fi 45835 45836 45837 test -n "$PYTHON" && break 45838done 45839 45840 if test "x${PYTHON}" != x; then : 45841 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 45842 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 45843 PYTHON_PLATFORM=$ax_prog_python_platform 45844 45845 45846else 45847 as_fn_error $? "Unable to find python" "$LINENO" 5 45848 45849fi 45850 PYTHON=$PYTHON 45851 45852 45853 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 45854 for ac_prog in python${PYTHON_VERSION}-config 45855do 45856 # Extract the first word of "$ac_prog", so it can be a program name with args. 45857set dummy $ac_prog; ac_word=$2 45858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45859$as_echo_n "checking for $ac_word... " >&6; } 45860if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 45861 $as_echo_n "(cached) " >&6 45862else 45863 if test -n "$PYTHON_CONFIG"; then 45864 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 45865else 45866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45867for as_dir in $PATH 45868do 45869 IFS=$as_save_IFS 45870 test -z "$as_dir" && as_dir=. 45871 for ac_exec_ext in '' $ac_executable_extensions; do 45872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45873 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 45874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45875 break 2 45876 fi 45877done 45878 done 45879IFS=$as_save_IFS 45880 45881fi 45882fi 45883PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 45884if test -n "$PYTHON_CONFIG"; then 45885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 45886$as_echo "$PYTHON_CONFIG" >&6; } 45887else 45888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45889$as_echo "no" >&6; } 45890fi 45891 45892 45893 test -n "$PYTHON_CONFIG" && break 45894done 45895 45896 45897fi 45898 if test "x${PYTHON_CONFIG}" = x; then : 45899 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 45900do 45901 # Extract the first word of "$ac_prog", so it can be a program name with args. 45902set dummy $ac_prog; ac_word=$2 45903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45904$as_echo_n "checking for $ac_word... " >&6; } 45905if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 45906 $as_echo_n "(cached) " >&6 45907else 45908 if test -n "$PYTHON_CONFIG"; then 45909 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 45910else 45911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45912for as_dir in $PATH 45913do 45914 IFS=$as_save_IFS 45915 test -z "$as_dir" && as_dir=. 45916 for ac_exec_ext in '' $ac_executable_extensions; do 45917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45918 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 45919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45920 break 2 45921 fi 45922done 45923 done 45924IFS=$as_save_IFS 45925 45926fi 45927fi 45928PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 45929if test -n "$PYTHON_CONFIG"; then 45930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 45931$as_echo "$PYTHON_CONFIG" >&6; } 45932else 45933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45934$as_echo "no" >&6; } 45935fi 45936 45937 45938 test -n "$PYTHON_CONFIG" && break 45939done 45940 45941 45942fi 45943 if test "x${PYTHON_CONFIG}" = x; then : 45944 as_fn_error $? "Unable to find python-config" "$LINENO" 5 45945 45946fi 45947 PYTHON_CONFIG=$PYTHON_CONFIG 45948 45949 45950 45951 if test "x${PYTHON_CONFIG}" != x; then : 45952 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 45953 45954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 45955$as_echo_n "checking for Python includes... " >&6; } 45956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 45957$as_echo "$PYTHON_INCLUDES" >&6; } 45958 45959 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 45960 45961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 45962$as_echo_n "checking for Python libraries... " >&6; } 45963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 45964$as_echo "$PYTHON_LDFLAGS" >&6; } 45965 45966 case $host_os in #( 45967 cygwin*) : 45968 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 45969 *) : 45970 ;; #( 45971 *) : 45972 ;; 45973esac 45974 45975 BACKUP_CPPFLAGS="${CPPFLAGS}" 45976 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 45977 45978 for ac_header in Python.h 45979do : 45980 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 45981if test "x$ac_cv_header_Python_h" = xyes; then : 45982 cat >>confdefs.h <<_ACEOF 45983#define HAVE_PYTHON_H 1 45984_ACEOF 45985 ac_cv_header_python_h=yes 45986else 45987 ac_cv_header_python_h=no 45988fi 45989 45990done 45991 45992 45993 CPPFLAGS="${BACKUP_CPPFLAGS}" 45994 45995fi 45996 45997 if test "x${ac_cv_header_python_h}" != xyes; then : 45998 ac_cv_enable_python=no 45999else 46000 ac_cv_enable_python=${ax_prog_python_version} 46001 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 46002 46003 46004 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 46005 46006 46007 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46008 ax_python_prefix="\${prefix}" 46009else 46010 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 46011fi 46012 46013 PYTHON_PREFIX=$ax_python_prefix 46014 46015 46016 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46017 ax_python_exec_prefix="\${exec_prefix}" 46018else 46019 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 46020fi 46021 46022 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 46023 46024 46025 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`; 46026 46027 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 46028 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46029 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 46030else 46031 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 46032fi 46033else 46034 ax_python_pythondir=$ac_cv_with_pythondir 46035fi 46036 46037 pythondir=$ax_python_pythondir 46038 46039 46040 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`; 46041 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 46042 46043 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46044 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 46045else 46046 ax_python_pyexecdir=$ax_python_library_dir 46047fi 46048 46049 pyexecdir=$ax_python_pyexecdir 46050 46051 46052 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 46053 46054 46055 PYTHON_PACKAGE_DIR=$ax_python_library_dir 46056 46057 46058fi 46059 46060fi 46061 46062 if test "x${ac_cv_enable_python2}" != xno; then : 46063 ax_python2_progs="python2 python2.7 python2.6 python2.5" 46064 for ac_prog in $ax_python2_progs 46065do 46066 # Extract the first word of "$ac_prog", so it can be a program name with args. 46067set dummy $ac_prog; ac_word=$2 46068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46069$as_echo_n "checking for $ac_word... " >&6; } 46070if ${ac_cv_prog_PYTHON2+:} false; then : 46071 $as_echo_n "(cached) " >&6 46072else 46073 if test -n "$PYTHON2"; then 46074 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 46075else 46076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46077for as_dir in $PATH 46078do 46079 IFS=$as_save_IFS 46080 test -z "$as_dir" && as_dir=. 46081 for ac_exec_ext in '' $ac_executable_extensions; do 46082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 46083 ac_cv_prog_PYTHON2="$ac_prog" 46084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46085 break 2 46086 fi 46087done 46088 done 46089IFS=$as_save_IFS 46090 46091fi 46092fi 46093PYTHON2=$ac_cv_prog_PYTHON2 46094if test -n "$PYTHON2"; then 46095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 46096$as_echo "$PYTHON2" >&6; } 46097else 46098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46099$as_echo "no" >&6; } 46100fi 46101 46102 46103 test -n "$PYTHON2" && break 46104done 46105 46106 if test "x${PYTHON2}" != x; then : 46107 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 46108 PYTHON2_VERSION=$ax_prog_python2_version 46109 46110 46111 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 46112 PYTHON2_PLATFORM=$ax_prog_python2_platform 46113 46114 46115else 46116 as_fn_error $? "Unable to find python2" "$LINENO" 5 46117 46118fi 46119 PYTHON2=$PYTHON2 46120 46121 46122 if test "x${PYTHON2_CONFIG}" = x; then : 46123 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 46124do 46125 # Extract the first word of "$ac_prog", so it can be a program name with args. 46126set dummy $ac_prog; ac_word=$2 46127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46128$as_echo_n "checking for $ac_word... " >&6; } 46129if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 46130 $as_echo_n "(cached) " >&6 46131else 46132 if test -n "$PYTHON2_CONFIG"; then 46133 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 46134else 46135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46136for as_dir in $PATH 46137do 46138 IFS=$as_save_IFS 46139 test -z "$as_dir" && as_dir=. 46140 for ac_exec_ext in '' $ac_executable_extensions; do 46141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 46142 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 46143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46144 break 2 46145 fi 46146done 46147 done 46148IFS=$as_save_IFS 46149 46150fi 46151fi 46152PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 46153if test -n "$PYTHON2_CONFIG"; then 46154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 46155$as_echo "$PYTHON2_CONFIG" >&6; } 46156else 46157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46158$as_echo "no" >&6; } 46159fi 46160 46161 46162 test -n "$PYTHON2_CONFIG" && break 46163done 46164 46165 46166fi 46167 if test "x${PYTHON2_CONFIG}" = x; then : 46168 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 46169 46170fi 46171 PYTHON2_CONFIG=$PYTHON2_CONFIG 46172 46173 46174 46175 if test "x${PYTHON2_CONFIG}" != x; then : 46176 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 46177 46178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 46179$as_echo_n "checking for Python verison 2 includes... " >&6; } 46180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 46181$as_echo "$PYTHON2_INCLUDES" >&6; } 46182 46183 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 46184 46185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 46186$as_echo_n "checking for Python 2 libraries... " >&6; } 46187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 46188$as_echo "$PYTHON2_LDFLAGS" >&6; } 46189 46190 case $host_os in #( 46191 cygwin*) : 46192 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 46193 *) : 46194 ;; #( 46195 *) : 46196 ;; 46197esac 46198 46199 BACKUP_CPPFLAGS="${CPPFLAGS}" 46200 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 46201 46202 for ac_header in Python.h 46203do : 46204 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 46205if test "x$ac_cv_header_Python_h" = xyes; then : 46206 cat >>confdefs.h <<_ACEOF 46207#define HAVE_PYTHON_H 1 46208_ACEOF 46209 ac_cv_header_python2_h=yes 46210else 46211 ac_cv_header_python2_h=no 46212fi 46213 46214done 46215 46216 46217 CPPFLAGS="${BACKUP_CPPFLAGS}" 46218 46219fi 46220 46221 if test "x${ac_cv_header_python2_h}" != xyes; then : 46222 ac_cv_enable_python2=no 46223else 46224 ac_cv_enable_python2=$PYTHON2_VERSION 46225 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 46226 46227 46228 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 46229 46230 46231 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46232 ax_python2_prefix="\${prefix}" 46233else 46234 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 46235fi 46236 46237 PYTHON2_PREFIX=$ax_python2_prefix 46238 46239 46240 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46241 ax_python2_exec_prefix="\${exec_prefix}" 46242else 46243 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 46244fi 46245 46246 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 46247 46248 46249 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`; 46250 46251 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 46252 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46253 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 46254else 46255 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 46256fi 46257else 46258 ax_python2_pythondir=$ac_cv_with_pythondir2 46259fi 46260 46261 pythondir2=$ax_python2_pythondir 46262 46263 46264 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`; 46265 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 46266 46267 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46268 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 46269else 46270 ax_python2_pyexecdir=$ax_python2_library_dir 46271fi 46272 46273 pyexecdir2=$ax_python2_pyexecdir 46274 46275 46276 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 46277 46278 46279 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 46280 46281 46282fi 46283 46284fi 46285 46286 if test "x${ac_cv_enable_python3}" != xno; then : 46287 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" 46288 for ac_prog in $ax_python3_progs 46289do 46290 # Extract the first word of "$ac_prog", so it can be a program name with args. 46291set dummy $ac_prog; ac_word=$2 46292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46293$as_echo_n "checking for $ac_word... " >&6; } 46294if ${ac_cv_prog_PYTHON3+:} false; then : 46295 $as_echo_n "(cached) " >&6 46296else 46297 if test -n "$PYTHON3"; then 46298 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 46299else 46300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46301for as_dir in $PATH 46302do 46303 IFS=$as_save_IFS 46304 test -z "$as_dir" && as_dir=. 46305 for ac_exec_ext in '' $ac_executable_extensions; do 46306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 46307 ac_cv_prog_PYTHON3="$ac_prog" 46308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46309 break 2 46310 fi 46311done 46312 done 46313IFS=$as_save_IFS 46314 46315fi 46316fi 46317PYTHON3=$ac_cv_prog_PYTHON3 46318if test -n "$PYTHON3"; then 46319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 46320$as_echo "$PYTHON3" >&6; } 46321else 46322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46323$as_echo "no" >&6; } 46324fi 46325 46326 46327 test -n "$PYTHON3" && break 46328done 46329 46330 if test "x${PYTHON3}" != x; then : 46331 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 46332 PYTHON3_VERSION=$ax_prog_python3_version 46333 46334 46335 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 46336 PYTHON3_PLATFORM=$ax_prog_python3_platform 46337 46338 46339else 46340 as_fn_error $? "Unable to find python3" "$LINENO" 5 46341 46342fi 46343 PYTHON3=$PYTHON3 46344 46345 46346 if test "x${PYTHON3_CONFIG}" = x; then : 46347 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 46348do 46349 # Extract the first word of "$ac_prog", so it can be a program name with args. 46350set dummy $ac_prog; ac_word=$2 46351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46352$as_echo_n "checking for $ac_word... " >&6; } 46353if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 46354 $as_echo_n "(cached) " >&6 46355else 46356 if test -n "$PYTHON3_CONFIG"; then 46357 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 46358else 46359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46360for as_dir in $PATH 46361do 46362 IFS=$as_save_IFS 46363 test -z "$as_dir" && as_dir=. 46364 for ac_exec_ext in '' $ac_executable_extensions; do 46365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 46366 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 46367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46368 break 2 46369 fi 46370done 46371 done 46372IFS=$as_save_IFS 46373 46374fi 46375fi 46376PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 46377if test -n "$PYTHON3_CONFIG"; then 46378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 46379$as_echo "$PYTHON3_CONFIG" >&6; } 46380else 46381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46382$as_echo "no" >&6; } 46383fi 46384 46385 46386 test -n "$PYTHON3_CONFIG" && break 46387done 46388 46389 46390fi 46391 if test "x${PYTHON3_CONFIG}" = x; then : 46392 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 46393 46394fi 46395 PYTHON3_CONFIG=$PYTHON3_CONFIG 46396 46397 46398 46399 if test "x${PYTHON3_CONFIG}" != x; then : 46400 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 46401 46402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 46403$as_echo_n "checking for Python verison 3 includes... " >&6; } 46404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 46405$as_echo "$PYTHON3_INCLUDES" >&6; } 46406 46407 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 46408 46409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 46410$as_echo_n "checking for Python 3 libraries... " >&6; } 46411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 46412$as_echo "$PYTHON3_LDFLAGS" >&6; } 46413 46414 case $host_os in #( 46415 cygwin*) : 46416 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 46417 *) : 46418 ;; #( 46419 *) : 46420 ;; 46421esac 46422 46423 BACKUP_CPPFLAGS="${CPPFLAGS}" 46424 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 46425 46426 for ac_header in Python.h 46427do : 46428 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 46429if test "x$ac_cv_header_Python_h" = xyes; then : 46430 cat >>confdefs.h <<_ACEOF 46431#define HAVE_PYTHON_H 1 46432_ACEOF 46433 ac_cv_header_python3_h=yes 46434else 46435 ac_cv_header_python3_h=no 46436fi 46437 46438done 46439 46440 46441 CPPFLAGS="${BACKUP_CPPFLAGS}" 46442 46443fi 46444 46445 if test "x${ac_cv_header_python3_h}" != xyes; then : 46446 ac_cv_enable_python3=no 46447else 46448 ac_cv_enable_python3=$PYTHON3_VERSION 46449 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 46450 46451 46452 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 46453 46454 46455 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46456 ax_python3_prefix="\${prefix}" 46457else 46458 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 46459fi 46460 46461 PYTHON3_PREFIX=$ax_python3_prefix 46462 46463 46464 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46465 ax_python3_exec_prefix="\${exec_prefix}" 46466else 46467 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 46468fi 46469 46470 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 46471 46472 46473 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`; 46474 46475 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 46476 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46477 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 46478else 46479 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 46480fi 46481else 46482 ax_python3_pythondir=$ac_cv_with_pythondir3 46483fi 46484 46485 pythondir3=$ax_python3_pythondir 46486 46487 46488 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`; 46489 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 46490 46491 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 46492 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 46493else 46494 ax_python3_pyexecdir=$ax_python3_library_dir 46495fi 46496 46497 pyexecdir3=$ax_python3_pyexecdir 46498 46499 46500 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 46501 46502 46503 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 46504 46505 46506fi 46507 46508fi 46509 46510 if test "x${ac_cv_enable_python}" != xno; then 46511 HAVE_PYTHON_TRUE= 46512 HAVE_PYTHON_FALSE='#' 46513else 46514 HAVE_PYTHON_TRUE='#' 46515 HAVE_PYTHON_FALSE= 46516fi 46517 46518 46519 if test "x${ac_cv_enable_python2}" != xno; then 46520 HAVE_PYTHON2_TRUE= 46521 HAVE_PYTHON2_FALSE='#' 46522else 46523 HAVE_PYTHON2_TRUE='#' 46524 HAVE_PYTHON2_FALSE= 46525fi 46526 46527 46528 if test "x${ac_cv_enable_python3}" != xno; then 46529 HAVE_PYTHON3_TRUE= 46530 HAVE_PYTHON3_FALSE='#' 46531else 46532 HAVE_PYTHON3_TRUE='#' 46533 HAVE_PYTHON3_FALSE= 46534fi 46535 46536 46537 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 46538 HAVE_PYTHON_TESTS_TRUE= 46539 HAVE_PYTHON_TESTS_FALSE='#' 46540else 46541 HAVE_PYTHON_TESTS_TRUE='#' 46542 HAVE_PYTHON_TESTS_FALSE= 46543fi 46544 46545 46546 if test "x${ac_cv_enable_python}" = xno; then : 46547 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 46548 if test "x${ac_cv_enable_python2}" != xno; then : 46549 ac_cv_enable_python=${ac_cv_enable_python2} 46550else 46551 ac_cv_enable_python="" 46552fi 46553 if test "x${ac_cv_enable_python3}" != xno; then : 46554 if test "x${ac_cv_enable_python}" != x; then : 46555 ac_cv_enable_python="${ac_cv_enable_python}, " 46556fi 46557 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 46558fi 46559 46560fi 46561 46562fi 46563 46564 46565if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 46566 for ac_header in stdarg.h varargs.h 46567do : 46568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 46569ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 46570if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 46571 cat >>confdefs.h <<_ACEOF 46572#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 46573_ACEOF 46574 46575fi 46576 46577done 46578 46579 46580 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 46581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46583as_fn_error 1 "Missing headers: stdarg.h and varargs.h 46584See \`config.log' for more details" "$LINENO" 5; } 46585 46586fi 46587 46588fi 46589 46590for ac_header in signal.h sys/signal.h unistd.h 46591do : 46592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 46593ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 46594if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 46595 cat >>confdefs.h <<_ACEOF 46596#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 46597_ACEOF 46598 46599fi 46600 46601done 46602 46603 46604 for ac_func in close getopt setvbuf 46605do : 46606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 46607ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 46608if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 46609 cat >>confdefs.h <<_ACEOF 46610#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 46611_ACEOF 46612 46613fi 46614done 46615 46616 46617 if test "x$ac_cv_func_close" != xyes; then : 46618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46619$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46620as_fn_error 1 "Missing function: close 46621See \`config.log' for more details" "$LINENO" 5; } 46622 46623fi 46624 46625 46626if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 46627 case $host in #( 46628 *cygwin* | *mingw* | *msys*) : 46629 46630$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 46631 46632 HAVE_DLLMAIN=1 46633 46634 46635 LIBLNK_DLL_EXPORT="-DLIBLNK_DLL_EXPORT" 46636 46637 46638 LIBLNK_DLL_IMPORT="-DLIBLNK_DLL_IMPORT" 46639 46640 ;; #( 46641 *) : 46642 ;; 46643esac 46644 46645fi 46646 46647 46648for ac_header in dlfcn.h 46649do : 46650 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 46651if test "x$ac_cv_header_dlfcn_h" = xyes; then : 46652 cat >>confdefs.h <<_ACEOF 46653#define HAVE_DLFCN_H 1 46654_ACEOF 46655 46656fi 46657 46658done 46659 46660 46661 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 46662do : 46663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 46664ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 46665if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 46666 cat >>confdefs.h <<_ACEOF 46667#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 46668_ACEOF 46669 46670fi 46671done 46672 46673 46674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 46675$as_echo_n "checking for dlsym in -ldl... " >&6; } 46676if ${ac_cv_lib_dl_dlsym+:} false; then : 46677 $as_echo_n "(cached) " >&6 46678else 46679 ac_check_lib_save_LIBS=$LIBS 46680LIBS="-ldl $LIBS" 46681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46682/* end confdefs.h. */ 46683 46684/* Override any GCC internal prototype to avoid an error. 46685 Use char because int might match the return type of a GCC 46686 builtin and then its argument prototype would still apply. */ 46687#ifdef __cplusplus 46688extern "C" 46689#endif 46690char dlsym (); 46691int 46692main () 46693{ 46694return dlsym (); 46695 ; 46696 return 0; 46697} 46698_ACEOF 46699if ac_fn_c_try_link "$LINENO"; then : 46700 ac_cv_lib_dl_dlsym=yes 46701else 46702 ac_cv_lib_dl_dlsym=no 46703fi 46704rm -f core conftest.err conftest.$ac_objext \ 46705 conftest$ac_exeext conftest.$ac_ext 46706LIBS=$ac_check_lib_save_LIBS 46707fi 46708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 46709$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 46710if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 46711 cat >>confdefs.h <<_ACEOF 46712#define HAVE_LIBDL 1 46713_ACEOF 46714 46715 LIBS="-ldl $LIBS" 46716 46717fi 46718 46719 46720 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 46721 46722$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 46723 46724 46725fi 46726 46727 if test "x${LIB_FUZZING_ENGINE}" != x; then 46728 HAVE_LIB_FUZZING_ENGINE_TRUE= 46729 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 46730else 46731 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 46732 HAVE_LIB_FUZZING_ENGINE_FALSE= 46733fi 46734 46735 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 46736 46737 46738 46739CFLAGS="$CFLAGS -Wall"; 46740 46741if test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes || test "x$ac_cv_libbfio" = xyes || test "x$ac_cv_libfdatetime" = xyes || test "x$ac_cv_libfguid" = xyes || test "x$ac_cv_libfole" = xyes || test "x$ac_cv_libfwps" = xyes || test "x$ac_cv_libfwsi" = xyes; then : 46742 liblnk_spec_requires=Requires: 46743 46744 46745fi 46746 46747DPKG_DATE=`date -R 2> /dev/null` 46748 46749 46750SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 46751 46752 46753ac_config_files="$ac_config_files Makefile" 46754 46755ac_config_files="$ac_config_files include/Makefile" 46756 46757ac_config_files="$ac_config_files common/Makefile" 46758 46759ac_config_files="$ac_config_files libcerror/Makefile" 46760 46761ac_config_files="$ac_config_files libcthreads/Makefile" 46762 46763ac_config_files="$ac_config_files libcdata/Makefile" 46764 46765ac_config_files="$ac_config_files libclocale/Makefile" 46766 46767ac_config_files="$ac_config_files libcnotify/Makefile" 46768 46769ac_config_files="$ac_config_files libcsplit/Makefile" 46770 46771ac_config_files="$ac_config_files libuna/Makefile" 46772 46773ac_config_files="$ac_config_files libcfile/Makefile" 46774 46775ac_config_files="$ac_config_files libcpath/Makefile" 46776 46777ac_config_files="$ac_config_files libbfio/Makefile" 46778 46779ac_config_files="$ac_config_files libfdatetime/Makefile" 46780 46781ac_config_files="$ac_config_files libfguid/Makefile" 46782 46783ac_config_files="$ac_config_files libfole/Makefile" 46784 46785ac_config_files="$ac_config_files libfwps/Makefile" 46786 46787ac_config_files="$ac_config_files libfwsi/Makefile" 46788 46789ac_config_files="$ac_config_files liblnk/Makefile" 46790 46791ac_config_files="$ac_config_files pylnk/Makefile" 46792 46793ac_config_files="$ac_config_files pylnk-python2/Makefile" 46794 46795ac_config_files="$ac_config_files pylnk-python3/Makefile" 46796 46797ac_config_files="$ac_config_files lnktools/Makefile" 46798 46799ac_config_files="$ac_config_files po/Makefile.in" 46800 46801ac_config_files="$ac_config_files po/Makevars" 46802 46803ac_config_files="$ac_config_files manuals/Makefile" 46804 46805ac_config_files="$ac_config_files tests/Makefile" 46806 46807ac_config_files="$ac_config_files ossfuzz/Makefile" 46808 46809ac_config_files="$ac_config_files msvscpp/Makefile" 46810 46811ac_config_files="$ac_config_files include/liblnk.h" 46812 46813ac_config_files="$ac_config_files include/liblnk/definitions.h" 46814 46815ac_config_files="$ac_config_files include/liblnk/features.h" 46816 46817ac_config_files="$ac_config_files include/liblnk/types.h" 46818 46819ac_config_files="$ac_config_files liblnk/liblnk_definitions.h" 46820 46821ac_config_files="$ac_config_files common/types.h" 46822 46823ac_config_files="$ac_config_files dpkg/changelog" 46824 46825ac_config_files="$ac_config_files liblnk/liblnk.rc" 46826 46827ac_config_files="$ac_config_files liblnk.pc" 46828 46829ac_config_files="$ac_config_files liblnk.spec" 46830 46831ac_config_headers="$ac_config_headers common/config.h" 46832 46833 46834cat >confcache <<\_ACEOF 46835# This file is a shell script that caches the results of configure 46836# tests run on this system so they can be shared between configure 46837# scripts and configure runs, see configure's option --config-cache. 46838# It is not useful on other systems. If it contains results you don't 46839# want to keep, you may remove or edit it. 46840# 46841# config.status only pays attention to the cache file if you give it 46842# the --recheck option to rerun configure. 46843# 46844# `ac_cv_env_foo' variables (set or unset) will be overridden when 46845# loading this file, other *unset* `ac_cv_foo' will be assigned the 46846# following values. 46847 46848_ACEOF 46849 46850# The following way of writing the cache mishandles newlines in values, 46851# but we know of no workaround that is simple, portable, and efficient. 46852# So, we kill variables containing newlines. 46853# Ultrix sh set writes to stderr and can't be redirected directly, 46854# and sets the high bit in the cache file unless we assign to the vars. 46855( 46856 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 46857 eval ac_val=\$$ac_var 46858 case $ac_val in #( 46859 *${as_nl}*) 46860 case $ac_var in #( 46861 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 46862$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 46863 esac 46864 case $ac_var in #( 46865 _ | IFS | as_nl) ;; #( 46866 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 46867 *) { eval $ac_var=; unset $ac_var;} ;; 46868 esac ;; 46869 esac 46870 done 46871 46872 (set) 2>&1 | 46873 case $as_nl`(ac_space=' '; set) 2>&1` in #( 46874 *${as_nl}ac_space=\ *) 46875 # `set' does not quote correctly, so add quotes: double-quote 46876 # substitution turns \\\\ into \\, and sed turns \\ into \. 46877 sed -n \ 46878 "s/'/'\\\\''/g; 46879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 46880 ;; #( 46881 *) 46882 # `set' quotes correctly as required by POSIX, so do not add quotes. 46883 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 46884 ;; 46885 esac | 46886 sort 46887) | 46888 sed ' 46889 /^ac_cv_env_/b end 46890 t clear 46891 :clear 46892 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 46893 t end 46894 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 46895 :end' >>confcache 46896if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 46897 if test -w "$cache_file"; then 46898 if test "x$cache_file" != "x/dev/null"; then 46899 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 46900$as_echo "$as_me: updating cache $cache_file" >&6;} 46901 if test ! -f "$cache_file" || test -h "$cache_file"; then 46902 cat confcache >"$cache_file" 46903 else 46904 case $cache_file in #( 46905 */* | ?:*) 46906 mv -f confcache "$cache_file"$$ && 46907 mv -f "$cache_file"$$ "$cache_file" ;; #( 46908 *) 46909 mv -f confcache "$cache_file" ;; 46910 esac 46911 fi 46912 fi 46913 else 46914 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 46915$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 46916 fi 46917fi 46918rm -f confcache 46919 46920test "x$prefix" = xNONE && prefix=$ac_default_prefix 46921# Let make expand exec_prefix. 46922test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 46923 46924DEFS=-DHAVE_CONFIG_H 46925 46926ac_libobjs= 46927ac_ltlibobjs= 46928U= 46929for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 46930 # 1. Remove the extension, and $U if already installed. 46931 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 46932 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 46933 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 46934 # will be set to the directory where LIBOBJS objects are built. 46935 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 46936 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 46937done 46938LIBOBJS=$ac_libobjs 46939 46940LTLIBOBJS=$ac_ltlibobjs 46941 46942 46943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 46944$as_echo_n "checking that generated files are newer than configure... " >&6; } 46945 if test -n "$am_sleep_pid"; then 46946 # Hide warnings about reused PIDs. 46947 wait $am_sleep_pid 2>/dev/null 46948 fi 46949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 46950$as_echo "done" >&6; } 46951 if test -n "$EXEEXT"; then 46952 am__EXEEXT_TRUE= 46953 am__EXEEXT_FALSE='#' 46954else 46955 am__EXEEXT_TRUE='#' 46956 am__EXEEXT_FALSE= 46957fi 46958 46959if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 46960 as_fn_error $? "conditional \"AMDEP\" was never defined. 46961Usually this means the macro was only invoked conditionally." "$LINENO" 5 46962fi 46963if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 46964 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 46965Usually this means the macro was only invoked conditionally." "$LINENO" 5 46966fi 46967if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 46968 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 46969Usually this means the macro was only invoked conditionally." "$LINENO" 5 46970fi 46971if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 46972 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 46973Usually this means the macro was only invoked conditionally." "$LINENO" 5 46974fi 46975if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 46976 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 46977Usually this means the macro was only invoked conditionally." "$LINENO" 5 46978fi 46979if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 46980 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 46981Usually this means the macro was only invoked conditionally." "$LINENO" 5 46982fi 46983if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 46984 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 46985Usually this means the macro was only invoked conditionally." "$LINENO" 5 46986fi 46987if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 46988 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 46989Usually this means the macro was only invoked conditionally." "$LINENO" 5 46990fi 46991if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 46992 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 46993Usually this means the macro was only invoked conditionally." "$LINENO" 5 46994fi 46995if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 46996 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 46997Usually this means the macro was only invoked conditionally." "$LINENO" 5 46998fi 46999if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 47000 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 47001Usually this means the macro was only invoked conditionally." "$LINENO" 5 47002fi 47003if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 47004 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 47005Usually this means the macro was only invoked conditionally." "$LINENO" 5 47006fi 47007if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 47008 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 47009Usually this means the macro was only invoked conditionally." "$LINENO" 5 47010fi 47011if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then 47012 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined. 47013Usually this means the macro was only invoked conditionally." "$LINENO" 5 47014fi 47015if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then 47016 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined. 47017Usually this means the macro was only invoked conditionally." "$LINENO" 5 47018fi 47019if test -z "${HAVE_LOCAL_LIBFOLE_TRUE}" && test -z "${HAVE_LOCAL_LIBFOLE_FALSE}"; then 47020 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFOLE\" was never defined. 47021Usually this means the macro was only invoked conditionally." "$LINENO" 5 47022fi 47023if test -z "${HAVE_LOCAL_LIBFWPS_TRUE}" && test -z "${HAVE_LOCAL_LIBFWPS_FALSE}"; then 47024 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFWPS\" was never defined. 47025Usually this means the macro was only invoked conditionally." "$LINENO" 5 47026fi 47027if test -z "${HAVE_LOCAL_LIBFWSI_TRUE}" && test -z "${HAVE_LOCAL_LIBFWSI_FALSE}"; then 47028 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFWSI\" was never defined. 47029Usually this means the macro was only invoked conditionally." "$LINENO" 5 47030fi 47031if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 47032 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 47033Usually this means the macro was only invoked conditionally." "$LINENO" 5 47034fi 47035if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 47036 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 47037Usually this means the macro was only invoked conditionally." "$LINENO" 5 47038fi 47039if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 47040 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 47041Usually this means the macro was only invoked conditionally." "$LINENO" 5 47042fi 47043if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 47044 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 47045Usually this means the macro was only invoked conditionally." "$LINENO" 5 47046fi 47047if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 47048 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 47049Usually this means the macro was only invoked conditionally." "$LINENO" 5 47050fi 47051 47052: "${CONFIG_STATUS=./config.status}" 47053ac_write_fail=0 47054ac_clean_files_save=$ac_clean_files 47055ac_clean_files="$ac_clean_files $CONFIG_STATUS" 47056{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 47057$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 47058as_write_fail=0 47059cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 47060#! $SHELL 47061# Generated by $as_me. 47062# Run this file to recreate the current configuration. 47063# Compiler output produced by configure, useful for debugging 47064# configure, is in config.log if it exists. 47065 47066debug=false 47067ac_cs_recheck=false 47068ac_cs_silent=false 47069 47070SHELL=\${CONFIG_SHELL-$SHELL} 47071export SHELL 47072_ASEOF 47073cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 47074## -------------------- ## 47075## M4sh Initialization. ## 47076## -------------------- ## 47077 47078# Be more Bourne compatible 47079DUALCASE=1; export DUALCASE # for MKS sh 47080if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 47081 emulate sh 47082 NULLCMD=: 47083 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 47084 # is contrary to our usage. Disable this feature. 47085 alias -g '${1+"$@"}'='"$@"' 47086 setopt NO_GLOB_SUBST 47087else 47088 case `(set -o) 2>/dev/null` in #( 47089 *posix*) : 47090 set -o posix ;; #( 47091 *) : 47092 ;; 47093esac 47094fi 47095 47096 47097as_nl=' 47098' 47099export as_nl 47100# Printing a long string crashes Solaris 7 /usr/bin/printf. 47101as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47102as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 47103as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47104# Prefer a ksh shell builtin over an external printf program on Solaris, 47105# but without wasting forks for bash or zsh. 47106if test -z "$BASH_VERSION$ZSH_VERSION" \ 47107 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47108 as_echo='print -r --' 47109 as_echo_n='print -rn --' 47110elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 47111 as_echo='printf %s\n' 47112 as_echo_n='printf %s' 47113else 47114 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 47115 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 47116 as_echo_n='/usr/ucb/echo -n' 47117 else 47118 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 47119 as_echo_n_body='eval 47120 arg=$1; 47121 case $arg in #( 47122 *"$as_nl"*) 47123 expr "X$arg" : "X\\(.*\\)$as_nl"; 47124 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 47125 esac; 47126 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 47127 ' 47128 export as_echo_n_body 47129 as_echo_n='sh -c $as_echo_n_body as_echo' 47130 fi 47131 export as_echo_body 47132 as_echo='sh -c $as_echo_body as_echo' 47133fi 47134 47135# The user is always right. 47136if test "${PATH_SEPARATOR+set}" != set; then 47137 PATH_SEPARATOR=: 47138 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 47139 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 47140 PATH_SEPARATOR=';' 47141 } 47142fi 47143 47144 47145# IFS 47146# We need space, tab and new line, in precisely that order. Quoting is 47147# there to prevent editors from complaining about space-tab. 47148# (If _AS_PATH_WALK were called with IFS unset, it would disable word 47149# splitting by setting IFS to empty value.) 47150IFS=" "" $as_nl" 47151 47152# Find who we are. Look in the path if we contain no directory separator. 47153as_myself= 47154case $0 in #(( 47155 *[\\/]* ) as_myself=$0 ;; 47156 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 47157for as_dir in $PATH 47158do 47159 IFS=$as_save_IFS 47160 test -z "$as_dir" && as_dir=. 47161 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 47162 done 47163IFS=$as_save_IFS 47164 47165 ;; 47166esac 47167# We did not find ourselves, most probably we were run as `sh COMMAND' 47168# in which case we are not to be found in the path. 47169if test "x$as_myself" = x; then 47170 as_myself=$0 47171fi 47172if test ! -f "$as_myself"; then 47173 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 47174 exit 1 47175fi 47176 47177# Unset variables that we do not need and which cause bugs (e.g. in 47178# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 47179# suppresses any "Segmentation fault" message there. '((' could 47180# trigger a bug in pdksh 5.2.14. 47181for as_var in BASH_ENV ENV MAIL MAILPATH 47182do eval test x\${$as_var+set} = xset \ 47183 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 47184done 47185PS1='$ ' 47186PS2='> ' 47187PS4='+ ' 47188 47189# NLS nuisances. 47190LC_ALL=C 47191export LC_ALL 47192LANGUAGE=C 47193export LANGUAGE 47194 47195# CDPATH. 47196(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 47197 47198 47199# as_fn_error STATUS ERROR [LINENO LOG_FD] 47200# ---------------------------------------- 47201# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 47202# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 47203# script with STATUS, using 1 if that was 0. 47204as_fn_error () 47205{ 47206 as_status=$1; test $as_status -eq 0 && as_status=1 47207 if test "$4"; then 47208 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 47209 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 47210 fi 47211 $as_echo "$as_me: error: $2" >&2 47212 as_fn_exit $as_status 47213} # as_fn_error 47214 47215 47216# as_fn_set_status STATUS 47217# ----------------------- 47218# Set $? to STATUS, without forking. 47219as_fn_set_status () 47220{ 47221 return $1 47222} # as_fn_set_status 47223 47224# as_fn_exit STATUS 47225# ----------------- 47226# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 47227as_fn_exit () 47228{ 47229 set +e 47230 as_fn_set_status $1 47231 exit $1 47232} # as_fn_exit 47233 47234# as_fn_unset VAR 47235# --------------- 47236# Portably unset VAR. 47237as_fn_unset () 47238{ 47239 { eval $1=; unset $1;} 47240} 47241as_unset=as_fn_unset 47242# as_fn_append VAR VALUE 47243# ---------------------- 47244# Append the text in VALUE to the end of the definition contained in VAR. Take 47245# advantage of any shell optimizations that allow amortized linear growth over 47246# repeated appends, instead of the typical quadratic growth present in naive 47247# implementations. 47248if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 47249 eval 'as_fn_append () 47250 { 47251 eval $1+=\$2 47252 }' 47253else 47254 as_fn_append () 47255 { 47256 eval $1=\$$1\$2 47257 } 47258fi # as_fn_append 47259 47260# as_fn_arith ARG... 47261# ------------------ 47262# Perform arithmetic evaluation on the ARGs, and store the result in the 47263# global $as_val. Take advantage of shells that can avoid forks. The arguments 47264# must be portable across $(()) and expr. 47265if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 47266 eval 'as_fn_arith () 47267 { 47268 as_val=$(( $* )) 47269 }' 47270else 47271 as_fn_arith () 47272 { 47273 as_val=`expr "$@" || test $? -eq 1` 47274 } 47275fi # as_fn_arith 47276 47277 47278if expr a : '\(a\)' >/dev/null 2>&1 && 47279 test "X`expr 00001 : '.*\(...\)'`" = X001; then 47280 as_expr=expr 47281else 47282 as_expr=false 47283fi 47284 47285if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 47286 as_basename=basename 47287else 47288 as_basename=false 47289fi 47290 47291if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 47292 as_dirname=dirname 47293else 47294 as_dirname=false 47295fi 47296 47297as_me=`$as_basename -- "$0" || 47298$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 47299 X"$0" : 'X\(//\)$' \| \ 47300 X"$0" : 'X\(/\)' \| . 2>/dev/null || 47301$as_echo X/"$0" | 47302 sed '/^.*\/\([^/][^/]*\)\/*$/{ 47303 s//\1/ 47304 q 47305 } 47306 /^X\/\(\/\/\)$/{ 47307 s//\1/ 47308 q 47309 } 47310 /^X\/\(\/\).*/{ 47311 s//\1/ 47312 q 47313 } 47314 s/.*/./; q'` 47315 47316# Avoid depending upon Character Ranges. 47317as_cr_letters='abcdefghijklmnopqrstuvwxyz' 47318as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 47319as_cr_Letters=$as_cr_letters$as_cr_LETTERS 47320as_cr_digits='0123456789' 47321as_cr_alnum=$as_cr_Letters$as_cr_digits 47322 47323ECHO_C= ECHO_N= ECHO_T= 47324case `echo -n x` in #((((( 47325-n*) 47326 case `echo 'xy\c'` in 47327 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 47328 xy) ECHO_C='\c';; 47329 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 47330 ECHO_T=' ';; 47331 esac;; 47332*) 47333 ECHO_N='-n';; 47334esac 47335 47336rm -f conf$$ conf$$.exe conf$$.file 47337if test -d conf$$.dir; then 47338 rm -f conf$$.dir/conf$$.file 47339else 47340 rm -f conf$$.dir 47341 mkdir conf$$.dir 2>/dev/null 47342fi 47343if (echo >conf$$.file) 2>/dev/null; then 47344 if ln -s conf$$.file conf$$ 2>/dev/null; then 47345 as_ln_s='ln -s' 47346 # ... but there are two gotchas: 47347 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 47348 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 47349 # In both cases, we have to default to `cp -pR'. 47350 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 47351 as_ln_s='cp -pR' 47352 elif ln conf$$.file conf$$ 2>/dev/null; then 47353 as_ln_s=ln 47354 else 47355 as_ln_s='cp -pR' 47356 fi 47357else 47358 as_ln_s='cp -pR' 47359fi 47360rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 47361rmdir conf$$.dir 2>/dev/null 47362 47363 47364# as_fn_mkdir_p 47365# ------------- 47366# Create "$as_dir" as a directory, including parents if necessary. 47367as_fn_mkdir_p () 47368{ 47369 47370 case $as_dir in #( 47371 -*) as_dir=./$as_dir;; 47372 esac 47373 test -d "$as_dir" || eval $as_mkdir_p || { 47374 as_dirs= 47375 while :; do 47376 case $as_dir in #( 47377 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 47378 *) as_qdir=$as_dir;; 47379 esac 47380 as_dirs="'$as_qdir' $as_dirs" 47381 as_dir=`$as_dirname -- "$as_dir" || 47382$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 47383 X"$as_dir" : 'X\(//\)[^/]' \| \ 47384 X"$as_dir" : 'X\(//\)$' \| \ 47385 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 47386$as_echo X"$as_dir" | 47387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 47388 s//\1/ 47389 q 47390 } 47391 /^X\(\/\/\)[^/].*/{ 47392 s//\1/ 47393 q 47394 } 47395 /^X\(\/\/\)$/{ 47396 s//\1/ 47397 q 47398 } 47399 /^X\(\/\).*/{ 47400 s//\1/ 47401 q 47402 } 47403 s/.*/./; q'` 47404 test -d "$as_dir" && break 47405 done 47406 test -z "$as_dirs" || eval "mkdir $as_dirs" 47407 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 47408 47409 47410} # as_fn_mkdir_p 47411if mkdir -p . 2>/dev/null; then 47412 as_mkdir_p='mkdir -p "$as_dir"' 47413else 47414 test -d ./-p && rmdir ./-p 47415 as_mkdir_p=false 47416fi 47417 47418 47419# as_fn_executable_p FILE 47420# ----------------------- 47421# Test if FILE is an executable regular file. 47422as_fn_executable_p () 47423{ 47424 test -f "$1" && test -x "$1" 47425} # as_fn_executable_p 47426as_test_x='test -x' 47427as_executable_p=as_fn_executable_p 47428 47429# Sed expression to map a string onto a valid CPP name. 47430as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 47431 47432# Sed expression to map a string onto a valid variable name. 47433as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 47434 47435 47436exec 6>&1 47437## ----------------------------------- ## 47438## Main body of $CONFIG_STATUS script. ## 47439## ----------------------------------- ## 47440_ASEOF 47441test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 47442 47443cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47444# Save the log message, to keep $0 and so on meaningful, and to 47445# report actual input values of CONFIG_FILES etc. instead of their 47446# values after options handling. 47447ac_log=" 47448This file was extended by liblnk $as_me 20210417, which was 47449generated by GNU Autoconf 2.69. Invocation command line was 47450 47451 CONFIG_FILES = $CONFIG_FILES 47452 CONFIG_HEADERS = $CONFIG_HEADERS 47453 CONFIG_LINKS = $CONFIG_LINKS 47454 CONFIG_COMMANDS = $CONFIG_COMMANDS 47455 $ $0 $@ 47456 47457on `(hostname || uname -n) 2>/dev/null | sed 1q` 47458" 47459 47460_ACEOF 47461 47462case $ac_config_files in *" 47463"*) set x $ac_config_files; shift; ac_config_files=$*;; 47464esac 47465 47466case $ac_config_headers in *" 47467"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 47468esac 47469 47470 47471cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47472# Files that config.status was made for. 47473config_files="$ac_config_files" 47474config_headers="$ac_config_headers" 47475config_commands="$ac_config_commands" 47476 47477_ACEOF 47478 47479cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47480ac_cs_usage="\ 47481\`$as_me' instantiates files and other configuration actions 47482from templates according to the current configuration. Unless the files 47483and actions are specified as TAGs, all are instantiated by default. 47484 47485Usage: $0 [OPTION]... [TAG]... 47486 47487 -h, --help print this help, then exit 47488 -V, --version print version number and configuration settings, then exit 47489 --config print configuration, then exit 47490 -q, --quiet, --silent 47491 do not print progress messages 47492 -d, --debug don't remove temporary files 47493 --recheck update $as_me by reconfiguring in the same conditions 47494 --file=FILE[:TEMPLATE] 47495 instantiate the configuration file FILE 47496 --header=FILE[:TEMPLATE] 47497 instantiate the configuration header FILE 47498 47499Configuration files: 47500$config_files 47501 47502Configuration headers: 47503$config_headers 47504 47505Configuration commands: 47506$config_commands 47507 47508Report bugs to <joachim.metz@gmail.com>." 47509 47510_ACEOF 47511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47512ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 47513ac_cs_version="\\ 47514liblnk config.status 20210417 47515configured by $0, generated by GNU Autoconf 2.69, 47516 with options \\"\$ac_cs_config\\" 47517 47518Copyright (C) 2012 Free Software Foundation, Inc. 47519This config.status script is free software; the Free Software Foundation 47520gives unlimited permission to copy, distribute and modify it." 47521 47522ac_pwd='$ac_pwd' 47523srcdir='$srcdir' 47524INSTALL='$INSTALL' 47525MKDIR_P='$MKDIR_P' 47526AWK='$AWK' 47527test -n "\$AWK" || AWK=awk 47528_ACEOF 47529 47530cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47531# The default lists apply if the user does not specify any file. 47532ac_need_defaults=: 47533while test $# != 0 47534do 47535 case $1 in 47536 --*=?*) 47537 ac_option=`expr "X$1" : 'X\([^=]*\)='` 47538 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 47539 ac_shift=: 47540 ;; 47541 --*=) 47542 ac_option=`expr "X$1" : 'X\([^=]*\)='` 47543 ac_optarg= 47544 ac_shift=: 47545 ;; 47546 *) 47547 ac_option=$1 47548 ac_optarg=$2 47549 ac_shift=shift 47550 ;; 47551 esac 47552 47553 case $ac_option in 47554 # Handling of the options. 47555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 47556 ac_cs_recheck=: ;; 47557 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 47558 $as_echo "$ac_cs_version"; exit ;; 47559 --config | --confi | --conf | --con | --co | --c ) 47560 $as_echo "$ac_cs_config"; exit ;; 47561 --debug | --debu | --deb | --de | --d | -d ) 47562 debug=: ;; 47563 --file | --fil | --fi | --f ) 47564 $ac_shift 47565 case $ac_optarg in 47566 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 47567 '') as_fn_error $? "missing file argument" ;; 47568 esac 47569 as_fn_append CONFIG_FILES " '$ac_optarg'" 47570 ac_need_defaults=false;; 47571 --header | --heade | --head | --hea ) 47572 $ac_shift 47573 case $ac_optarg in 47574 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 47575 esac 47576 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 47577 ac_need_defaults=false;; 47578 --he | --h) 47579 # Conflict between --help and --header 47580 as_fn_error $? "ambiguous option: \`$1' 47581Try \`$0 --help' for more information.";; 47582 --help | --hel | -h ) 47583 $as_echo "$ac_cs_usage"; exit ;; 47584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 47585 | -silent | --silent | --silen | --sile | --sil | --si | --s) 47586 ac_cs_silent=: ;; 47587 47588 # This is an error. 47589 -*) as_fn_error $? "unrecognized option: \`$1' 47590Try \`$0 --help' for more information." ;; 47591 47592 *) as_fn_append ac_config_targets " $1" 47593 ac_need_defaults=false ;; 47594 47595 esac 47596 shift 47597done 47598 47599ac_configure_extra_args= 47600 47601if $ac_cs_silent; then 47602 exec 6>/dev/null 47603 ac_configure_extra_args="$ac_configure_extra_args --silent" 47604fi 47605 47606_ACEOF 47607cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47608if \$ac_cs_recheck; then 47609 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 47610 shift 47611 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 47612 CONFIG_SHELL='$SHELL' 47613 export CONFIG_SHELL 47614 exec "\$@" 47615fi 47616 47617_ACEOF 47618cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47619exec 5>>config.log 47620{ 47621 echo 47622 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 47623## Running $as_me. ## 47624_ASBOX 47625 $as_echo "$ac_log" 47626} >&5 47627 47628_ACEOF 47629cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47630# 47631# INIT-COMMANDS 47632# 47633AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 47634 47635 47636# The HP-UX ksh and POSIX shell print the target directory to stdout 47637# if CDPATH is set. 47638(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 47639 47640sed_quote_subst='$sed_quote_subst' 47641double_quote_subst='$double_quote_subst' 47642delay_variable_subst='$delay_variable_subst' 47643AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 47644DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 47645OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 47646macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 47647macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 47648enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 47649enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 47650pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 47651enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 47652shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 47653SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 47654ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 47655PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 47656host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 47657host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 47658host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 47659build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 47660build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 47661build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 47662SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 47663Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 47664GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 47665EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 47666FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 47667LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 47668NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 47669LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 47670max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 47671ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 47672exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 47673lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 47674lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 47675lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 47676lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 47677lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 47678reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 47679reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 47680deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 47681file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 47682file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 47683want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 47684sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 47685AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 47686AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 47687archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 47688STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 47689RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 47690old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 47691old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 47692old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 47693lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 47694CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 47695CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 47696compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 47697GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 47698lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 47699lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 47700lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 47701lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 47702lt_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"`' 47703lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 47704nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 47705lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 47706lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 47707objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 47708MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 47709lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 47710lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 47711lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 47712lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 47713lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 47714need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 47715MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 47716DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 47717NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 47718LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 47719OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 47720OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 47721libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 47722shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 47723extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 47724archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 47725enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 47726export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 47727whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 47728compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 47729old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 47730old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 47731archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 47732archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 47733module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 47734module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 47735with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 47736allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 47737no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 47738hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 47739hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 47740hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 47741hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 47742hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 47743hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 47744hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 47745inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 47746link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 47747always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 47748export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 47749exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 47750include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 47751prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 47752postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 47753file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 47754variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 47755need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 47756need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 47757version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 47758runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 47759shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 47760shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 47761libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 47762library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 47763soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 47764install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 47765postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 47766postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 47767finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 47768finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 47769hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 47770sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 47771configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 47772configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 47773hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 47774enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 47775enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 47776enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 47777old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 47778striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 47779compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 47780predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 47781postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 47782predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 47783postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 47784compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 47785LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 47786reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 47787reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47788old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47789compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 47790GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 47791lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 47792lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 47793lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 47794lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 47795lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 47796archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 47797enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 47798export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47799whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47800compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 47801old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47802old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47803archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47804archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47805module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47806module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47807with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 47808allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 47809no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 47810hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47811hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 47812hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 47813hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 47814hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 47815hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 47816hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 47817inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 47818link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 47819always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 47820export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47821exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 47822include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 47823prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47824postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47825file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 47826hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 47827compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 47828predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 47829postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 47830predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 47831postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 47832compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 47833 47834LTCC='$LTCC' 47835LTCFLAGS='$LTCFLAGS' 47836compiler='$compiler_DEFAULT' 47837 47838# A function that is used when there is no print builtin or printf. 47839func_fallback_echo () 47840{ 47841 eval 'cat <<_LTECHO_EOF 47842\$1 47843_LTECHO_EOF' 47844} 47845 47846# Quote evaled strings. 47847for var in AS \ 47848DLLTOOL \ 47849OBJDUMP \ 47850SHELL \ 47851ECHO \ 47852PATH_SEPARATOR \ 47853SED \ 47854GREP \ 47855EGREP \ 47856FGREP \ 47857LD \ 47858NM \ 47859LN_S \ 47860lt_SP2NL \ 47861lt_NL2SP \ 47862reload_flag \ 47863deplibs_check_method \ 47864file_magic_cmd \ 47865file_magic_glob \ 47866want_nocaseglob \ 47867sharedlib_from_linklib_cmd \ 47868AR \ 47869AR_FLAGS \ 47870archiver_list_spec \ 47871STRIP \ 47872RANLIB \ 47873CC \ 47874CFLAGS \ 47875compiler \ 47876lt_cv_sys_global_symbol_pipe \ 47877lt_cv_sys_global_symbol_to_cdecl \ 47878lt_cv_sys_global_symbol_to_import \ 47879lt_cv_sys_global_symbol_to_c_name_address \ 47880lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 47881lt_cv_nm_interface \ 47882nm_file_list_spec \ 47883lt_cv_truncate_bin \ 47884lt_prog_compiler_no_builtin_flag \ 47885lt_prog_compiler_pic \ 47886lt_prog_compiler_wl \ 47887lt_prog_compiler_static \ 47888lt_cv_prog_compiler_c_o \ 47889need_locks \ 47890MANIFEST_TOOL \ 47891DSYMUTIL \ 47892NMEDIT \ 47893LIPO \ 47894OTOOL \ 47895OTOOL64 \ 47896shrext_cmds \ 47897export_dynamic_flag_spec \ 47898whole_archive_flag_spec \ 47899compiler_needs_object \ 47900with_gnu_ld \ 47901allow_undefined_flag \ 47902no_undefined_flag \ 47903hardcode_libdir_flag_spec \ 47904hardcode_libdir_separator \ 47905exclude_expsyms \ 47906include_expsyms \ 47907file_list_spec \ 47908variables_saved_for_relink \ 47909libname_spec \ 47910library_names_spec \ 47911soname_spec \ 47912install_override_mode \ 47913finish_eval \ 47914old_striplib \ 47915striplib \ 47916compiler_lib_search_dirs \ 47917predep_objects \ 47918postdep_objects \ 47919predeps \ 47920postdeps \ 47921compiler_lib_search_path \ 47922LD_CXX \ 47923reload_flag_CXX \ 47924compiler_CXX \ 47925lt_prog_compiler_no_builtin_flag_CXX \ 47926lt_prog_compiler_pic_CXX \ 47927lt_prog_compiler_wl_CXX \ 47928lt_prog_compiler_static_CXX \ 47929lt_cv_prog_compiler_c_o_CXX \ 47930export_dynamic_flag_spec_CXX \ 47931whole_archive_flag_spec_CXX \ 47932compiler_needs_object_CXX \ 47933with_gnu_ld_CXX \ 47934allow_undefined_flag_CXX \ 47935no_undefined_flag_CXX \ 47936hardcode_libdir_flag_spec_CXX \ 47937hardcode_libdir_separator_CXX \ 47938exclude_expsyms_CXX \ 47939include_expsyms_CXX \ 47940file_list_spec_CXX \ 47941compiler_lib_search_dirs_CXX \ 47942predep_objects_CXX \ 47943postdep_objects_CXX \ 47944predeps_CXX \ 47945postdeps_CXX \ 47946compiler_lib_search_path_CXX; do 47947 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 47948 *[\\\\\\\`\\"\\\$]*) 47949 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 47950 ;; 47951 *) 47952 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 47953 ;; 47954 esac 47955done 47956 47957# Double-quote double-evaled strings. 47958for var in reload_cmds \ 47959old_postinstall_cmds \ 47960old_postuninstall_cmds \ 47961old_archive_cmds \ 47962extract_expsyms_cmds \ 47963old_archive_from_new_cmds \ 47964old_archive_from_expsyms_cmds \ 47965archive_cmds \ 47966archive_expsym_cmds \ 47967module_cmds \ 47968module_expsym_cmds \ 47969export_symbols_cmds \ 47970prelink_cmds \ 47971postlink_cmds \ 47972postinstall_cmds \ 47973postuninstall_cmds \ 47974finish_cmds \ 47975sys_lib_search_path_spec \ 47976configure_time_dlsearch_path \ 47977configure_time_lt_sys_library_path \ 47978reload_cmds_CXX \ 47979old_archive_cmds_CXX \ 47980old_archive_from_new_cmds_CXX \ 47981old_archive_from_expsyms_cmds_CXX \ 47982archive_cmds_CXX \ 47983archive_expsym_cmds_CXX \ 47984module_cmds_CXX \ 47985module_expsym_cmds_CXX \ 47986export_symbols_cmds_CXX \ 47987prelink_cmds_CXX \ 47988postlink_cmds_CXX; do 47989 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 47990 *[\\\\\\\`\\"\\\$]*) 47991 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 47992 ;; 47993 *) 47994 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 47995 ;; 47996 esac 47997done 47998 47999ac_aux_dir='$ac_aux_dir' 48000 48001# See if we are running on zsh, and set the options that allow our 48002# commands through without removal of \ escapes INIT. 48003if test -n "\${ZSH_VERSION+set}"; then 48004 setopt NO_GLOB_SUBST 48005fi 48006 48007 48008 PACKAGE='$PACKAGE' 48009 VERSION='$VERSION' 48010 RM='$RM' 48011 ofile='$ofile' 48012 48013 48014 48015 48016 48017# Capture the value of obsolete ALL_LINGUAS because we need it to compute 48018 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 48019 # from automake < 1.5. 48020 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 48021 # Capture the value of LINGUAS because we need it to compute CATALOGS. 48022 LINGUAS="${LINGUAS-%UNSET%}" 48023 48024 48025_ACEOF 48026 48027cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48028 48029# Handling of arguments. 48030for ac_config_target in $ac_config_targets 48031do 48032 case $ac_config_target in 48033 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 48034 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 48035 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 48036 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 48037 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 48038 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 48039 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 48040 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 48041 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 48042 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 48043 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 48044 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 48045 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 48046 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 48047 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 48048 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 48049 "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;; 48050 "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;; 48051 "libfole/Makefile") CONFIG_FILES="$CONFIG_FILES libfole/Makefile" ;; 48052 "libfwps/Makefile") CONFIG_FILES="$CONFIG_FILES libfwps/Makefile" ;; 48053 "libfwsi/Makefile") CONFIG_FILES="$CONFIG_FILES libfwsi/Makefile" ;; 48054 "liblnk/Makefile") CONFIG_FILES="$CONFIG_FILES liblnk/Makefile" ;; 48055 "pylnk/Makefile") CONFIG_FILES="$CONFIG_FILES pylnk/Makefile" ;; 48056 "pylnk-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pylnk-python2/Makefile" ;; 48057 "pylnk-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pylnk-python3/Makefile" ;; 48058 "lnktools/Makefile") CONFIG_FILES="$CONFIG_FILES lnktools/Makefile" ;; 48059 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 48060 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 48061 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 48062 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 48063 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 48064 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 48065 "include/liblnk.h") CONFIG_FILES="$CONFIG_FILES include/liblnk.h" ;; 48066 "include/liblnk/definitions.h") CONFIG_FILES="$CONFIG_FILES include/liblnk/definitions.h" ;; 48067 "include/liblnk/features.h") CONFIG_FILES="$CONFIG_FILES include/liblnk/features.h" ;; 48068 "include/liblnk/types.h") CONFIG_FILES="$CONFIG_FILES include/liblnk/types.h" ;; 48069 "liblnk/liblnk_definitions.h") CONFIG_FILES="$CONFIG_FILES liblnk/liblnk_definitions.h" ;; 48070 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 48071 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 48072 "liblnk/liblnk.rc") CONFIG_FILES="$CONFIG_FILES liblnk/liblnk.rc" ;; 48073 "liblnk.pc") CONFIG_FILES="$CONFIG_FILES liblnk.pc" ;; 48074 "liblnk.spec") CONFIG_FILES="$CONFIG_FILES liblnk.spec" ;; 48075 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 48076 48077 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 48078 esac 48079done 48080 48081 48082# If the user did not use the arguments to specify the items to instantiate, 48083# then the envvar interface is used. Set only those that are not. 48084# We use the long form for the default assignment because of an extremely 48085# bizarre bug on SunOS 4.1.3. 48086if $ac_need_defaults; then 48087 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 48088 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 48089 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 48090fi 48091 48092# Have a temporary directory for convenience. Make it in the build tree 48093# simply because there is no reason against having it here, and in addition, 48094# creating and moving files from /tmp can sometimes cause problems. 48095# Hook for its removal unless debugging. 48096# Note that there is a small window in which the directory will not be cleaned: 48097# after its creation but before its name has been assigned to `$tmp'. 48098$debug || 48099{ 48100 tmp= ac_tmp= 48101 trap 'exit_status=$? 48102 : "${ac_tmp:=$tmp}" 48103 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 48104' 0 48105 trap 'as_fn_exit 1' 1 2 13 15 48106} 48107# Create a (secure) tmp directory for tmp files. 48108 48109{ 48110 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 48111 test -d "$tmp" 48112} || 48113{ 48114 tmp=./conf$$-$RANDOM 48115 (umask 077 && mkdir "$tmp") 48116} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 48117ac_tmp=$tmp 48118 48119# Set up the scripts for CONFIG_FILES section. 48120# No need to generate them if there are no CONFIG_FILES. 48121# This happens for instance with `./config.status config.h'. 48122if test -n "$CONFIG_FILES"; then 48123 48124 48125ac_cr=`echo X | tr X '\015'` 48126# On cygwin, bash can eat \r inside `` if the user requested igncr. 48127# But we know of no other shell where ac_cr would be empty at this 48128# point, so we can use a bashism as a fallback. 48129if test "x$ac_cr" = x; then 48130 eval ac_cr=\$\'\\r\' 48131fi 48132ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 48133if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 48134 ac_cs_awk_cr='\\r' 48135else 48136 ac_cs_awk_cr=$ac_cr 48137fi 48138 48139echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 48140_ACEOF 48141 48142 48143{ 48144 echo "cat >conf$$subs.awk <<_ACEOF" && 48145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 48146 echo "_ACEOF" 48147} >conf$$subs.sh || 48148 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 48149ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 48150ac_delim='%!_!# ' 48151for ac_last_try in false false false false false :; do 48152 . ./conf$$subs.sh || 48153 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 48154 48155 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 48156 if test $ac_delim_n = $ac_delim_num; then 48157 break 48158 elif $ac_last_try; then 48159 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 48160 else 48161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 48162 fi 48163done 48164rm -f conf$$subs.sh 48165 48166cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48167cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 48168_ACEOF 48169sed -n ' 48170h 48171s/^/S["/; s/!.*/"]=/ 48172p 48173g 48174s/^[^!]*!// 48175:repl 48176t repl 48177s/'"$ac_delim"'$// 48178t delim 48179:nl 48180h 48181s/\(.\{148\}\)..*/\1/ 48182t more1 48183s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 48184p 48185n 48186b repl 48187:more1 48188s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 48189p 48190g 48191s/.\{148\}// 48192t nl 48193:delim 48194h 48195s/\(.\{148\}\)..*/\1/ 48196t more2 48197s/["\\]/\\&/g; s/^/"/; s/$/"/ 48198p 48199b 48200:more2 48201s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 48202p 48203g 48204s/.\{148\}// 48205t delim 48206' <conf$$subs.awk | sed ' 48207/^[^""]/{ 48208 N 48209 s/\n// 48210} 48211' >>$CONFIG_STATUS || ac_write_fail=1 48212rm -f conf$$subs.awk 48213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48214_ACAWK 48215cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 48216 for (key in S) S_is_set[key] = 1 48217 FS = "" 48218 48219} 48220{ 48221 line = $ 0 48222 nfields = split(line, field, "@") 48223 substed = 0 48224 len = length(field[1]) 48225 for (i = 2; i < nfields; i++) { 48226 key = field[i] 48227 keylen = length(key) 48228 if (S_is_set[key]) { 48229 value = S[key] 48230 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 48231 len += length(value) + length(field[++i]) 48232 substed = 1 48233 } else 48234 len += 1 + keylen 48235 } 48236 48237 print line 48238} 48239 48240_ACAWK 48241_ACEOF 48242cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48243if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 48244 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 48245else 48246 cat 48247fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 48248 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 48249_ACEOF 48250 48251# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 48252# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 48253# trailing colons and then remove the whole line if VPATH becomes empty 48254# (actually we leave an empty line to preserve line numbers). 48255if test "x$srcdir" = x.; then 48256 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 48257h 48258s/// 48259s/^/:/ 48260s/[ ]*$/:/ 48261s/:\$(srcdir):/:/g 48262s/:\${srcdir}:/:/g 48263s/:@srcdir@:/:/g 48264s/^:*// 48265s/:*$// 48266x 48267s/\(=[ ]*\).*/\1/ 48268G 48269s/\n// 48270s/^[^=]*=[ ]*$// 48271}' 48272fi 48273 48274cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48275fi # test -n "$CONFIG_FILES" 48276 48277# Set up the scripts for CONFIG_HEADERS section. 48278# No need to generate them if there are no CONFIG_HEADERS. 48279# This happens for instance with `./config.status Makefile'. 48280if test -n "$CONFIG_HEADERS"; then 48281cat >"$ac_tmp/defines.awk" <<\_ACAWK || 48282BEGIN { 48283_ACEOF 48284 48285# Transform confdefs.h into an awk script `defines.awk', embedded as 48286# here-document in config.status, that substitutes the proper values into 48287# config.h.in to produce config.h. 48288 48289# Create a delimiter string that does not exist in confdefs.h, to ease 48290# handling of long lines. 48291ac_delim='%!_!# ' 48292for ac_last_try in false false :; do 48293 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 48294 if test -z "$ac_tt"; then 48295 break 48296 elif $ac_last_try; then 48297 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 48298 else 48299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 48300 fi 48301done 48302 48303# For the awk script, D is an array of macro values keyed by name, 48304# likewise P contains macro parameters if any. Preserve backslash 48305# newline sequences. 48306 48307ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 48308sed -n ' 48309s/.\{148\}/&'"$ac_delim"'/g 48310t rset 48311:rset 48312s/^[ ]*#[ ]*define[ ][ ]*/ / 48313t def 48314d 48315:def 48316s/\\$// 48317t bsnl 48318s/["\\]/\\&/g 48319s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 48320D["\1"]=" \3"/p 48321s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 48322d 48323:bsnl 48324s/["\\]/\\&/g 48325s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 48326D["\1"]=" \3\\\\\\n"\\/p 48327t cont 48328s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 48329t cont 48330d 48331:cont 48332n 48333s/.\{148\}/&'"$ac_delim"'/g 48334t clear 48335:clear 48336s/\\$// 48337t bsnlc 48338s/["\\]/\\&/g; s/^/"/; s/$/"/p 48339d 48340:bsnlc 48341s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 48342b cont 48343' <confdefs.h | sed ' 48344s/'"$ac_delim"'/"\\\ 48345"/g' >>$CONFIG_STATUS || ac_write_fail=1 48346 48347cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48348 for (key in D) D_is_set[key] = 1 48349 FS = "" 48350} 48351/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 48352 line = \$ 0 48353 split(line, arg, " ") 48354 if (arg[1] == "#") { 48355 defundef = arg[2] 48356 mac1 = arg[3] 48357 } else { 48358 defundef = substr(arg[1], 2) 48359 mac1 = arg[2] 48360 } 48361 split(mac1, mac2, "(") #) 48362 macro = mac2[1] 48363 prefix = substr(line, 1, index(line, defundef) - 1) 48364 if (D_is_set[macro]) { 48365 # Preserve the white space surrounding the "#". 48366 print prefix "define", macro P[macro] D[macro] 48367 next 48368 } else { 48369 # Replace #undef with comments. This is necessary, for example, 48370 # in the case of _POSIX_SOURCE, which is predefined and required 48371 # on some systems where configure will not decide to define it. 48372 if (defundef == "undef") { 48373 print "/*", prefix defundef, macro, "*/" 48374 next 48375 } 48376 } 48377} 48378{ print } 48379_ACAWK 48380_ACEOF 48381cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48382 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 48383fi # test -n "$CONFIG_HEADERS" 48384 48385 48386eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 48387shift 48388for ac_tag 48389do 48390 case $ac_tag in 48391 :[FHLC]) ac_mode=$ac_tag; continue;; 48392 esac 48393 case $ac_mode$ac_tag in 48394 :[FHL]*:*);; 48395 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 48396 :[FH]-) ac_tag=-:-;; 48397 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 48398 esac 48399 ac_save_IFS=$IFS 48400 IFS=: 48401 set x $ac_tag 48402 IFS=$ac_save_IFS 48403 shift 48404 ac_file=$1 48405 shift 48406 48407 case $ac_mode in 48408 :L) ac_source=$1;; 48409 :[FH]) 48410 ac_file_inputs= 48411 for ac_f 48412 do 48413 case $ac_f in 48414 -) ac_f="$ac_tmp/stdin";; 48415 *) # Look for the file first in the build tree, then in the source tree 48416 # (if the path is not absolute). The absolute path cannot be DOS-style, 48417 # because $ac_f cannot contain `:'. 48418 test -f "$ac_f" || 48419 case $ac_f in 48420 [\\/$]*) false;; 48421 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 48422 esac || 48423 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 48424 esac 48425 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 48426 as_fn_append ac_file_inputs " '$ac_f'" 48427 done 48428 48429 # Let's still pretend it is `configure' which instantiates (i.e., don't 48430 # use $as_me), people would be surprised to read: 48431 # /* config.h. Generated by config.status. */ 48432 configure_input='Generated from '` 48433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 48434 `' by configure.' 48435 if test x"$ac_file" != x-; then 48436 configure_input="$ac_file. $configure_input" 48437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 48438$as_echo "$as_me: creating $ac_file" >&6;} 48439 fi 48440 # Neutralize special characters interpreted by sed in replacement strings. 48441 case $configure_input in #( 48442 *\&* | *\|* | *\\* ) 48443 ac_sed_conf_input=`$as_echo "$configure_input" | 48444 sed 's/[\\\\&|]/\\\\&/g'`;; #( 48445 *) ac_sed_conf_input=$configure_input;; 48446 esac 48447 48448 case $ac_tag in 48449 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 48450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 48451 esac 48452 ;; 48453 esac 48454 48455 ac_dir=`$as_dirname -- "$ac_file" || 48456$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48457 X"$ac_file" : 'X\(//\)[^/]' \| \ 48458 X"$ac_file" : 'X\(//\)$' \| \ 48459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 48460$as_echo X"$ac_file" | 48461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48462 s//\1/ 48463 q 48464 } 48465 /^X\(\/\/\)[^/].*/{ 48466 s//\1/ 48467 q 48468 } 48469 /^X\(\/\/\)$/{ 48470 s//\1/ 48471 q 48472 } 48473 /^X\(\/\).*/{ 48474 s//\1/ 48475 q 48476 } 48477 s/.*/./; q'` 48478 as_dir="$ac_dir"; as_fn_mkdir_p 48479 ac_builddir=. 48480 48481case "$ac_dir" in 48482.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 48483*) 48484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 48485 # A ".." for each directory in $ac_dir_suffix. 48486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 48487 case $ac_top_builddir_sub in 48488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 48489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 48490 esac ;; 48491esac 48492ac_abs_top_builddir=$ac_pwd 48493ac_abs_builddir=$ac_pwd$ac_dir_suffix 48494# for backward compatibility: 48495ac_top_builddir=$ac_top_build_prefix 48496 48497case $srcdir in 48498 .) # We are building in place. 48499 ac_srcdir=. 48500 ac_top_srcdir=$ac_top_builddir_sub 48501 ac_abs_top_srcdir=$ac_pwd ;; 48502 [\\/]* | ?:[\\/]* ) # Absolute name. 48503 ac_srcdir=$srcdir$ac_dir_suffix; 48504 ac_top_srcdir=$srcdir 48505 ac_abs_top_srcdir=$srcdir ;; 48506 *) # Relative name. 48507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 48508 ac_top_srcdir=$ac_top_build_prefix$srcdir 48509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 48510esac 48511ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 48512 48513 48514 case $ac_mode in 48515 :F) 48516 # 48517 # CONFIG_FILE 48518 # 48519 48520 case $INSTALL in 48521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 48522 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 48523 esac 48524 ac_MKDIR_P=$MKDIR_P 48525 case $MKDIR_P in 48526 [\\/$]* | ?:[\\/]* ) ;; 48527 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 48528 esac 48529_ACEOF 48530 48531cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48532# If the template does not know about datarootdir, expand it. 48533# FIXME: This hack should be removed a few years after 2.60. 48534ac_datarootdir_hack=; ac_datarootdir_seen= 48535ac_sed_dataroot=' 48536/datarootdir/ { 48537 p 48538 q 48539} 48540/@datadir@/p 48541/@docdir@/p 48542/@infodir@/p 48543/@localedir@/p 48544/@mandir@/p' 48545case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 48546*datarootdir*) ac_datarootdir_seen=yes;; 48547*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 48548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 48549$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 48550_ACEOF 48551cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48552 ac_datarootdir_hack=' 48553 s&@datadir@&$datadir&g 48554 s&@docdir@&$docdir&g 48555 s&@infodir@&$infodir&g 48556 s&@localedir@&$localedir&g 48557 s&@mandir@&$mandir&g 48558 s&\\\${datarootdir}&$datarootdir&g' ;; 48559esac 48560_ACEOF 48561 48562# Neutralize VPATH when `$srcdir' = `.'. 48563# Shell code in configure.ac might set extrasub. 48564# FIXME: do we really want to maintain this feature? 48565cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48566ac_sed_extra="$ac_vpsub 48567$extrasub 48568_ACEOF 48569cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48570:t 48571/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 48572s|@configure_input@|$ac_sed_conf_input|;t t 48573s&@top_builddir@&$ac_top_builddir_sub&;t t 48574s&@top_build_prefix@&$ac_top_build_prefix&;t t 48575s&@srcdir@&$ac_srcdir&;t t 48576s&@abs_srcdir@&$ac_abs_srcdir&;t t 48577s&@top_srcdir@&$ac_top_srcdir&;t t 48578s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 48579s&@builddir@&$ac_builddir&;t t 48580s&@abs_builddir@&$ac_abs_builddir&;t t 48581s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 48582s&@INSTALL@&$ac_INSTALL&;t t 48583s&@MKDIR_P@&$ac_MKDIR_P&;t t 48584$ac_datarootdir_hack 48585" 48586eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 48587 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48588 48589test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 48590 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 48591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 48592 "$ac_tmp/out"`; test -z "$ac_out"; } && 48593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 48594which seems to be undefined. Please make sure it is defined" >&5 48595$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 48596which seems to be undefined. Please make sure it is defined" >&2;} 48597 48598 rm -f "$ac_tmp/stdin" 48599 case $ac_file in 48600 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 48601 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 48602 esac \ 48603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48604 ;; 48605 :H) 48606 # 48607 # CONFIG_HEADER 48608 # 48609 if test x"$ac_file" != x-; then 48610 { 48611 $as_echo "/* $configure_input */" \ 48612 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 48613 } >"$ac_tmp/config.h" \ 48614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48615 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 48616 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 48617$as_echo "$as_me: $ac_file is unchanged" >&6;} 48618 else 48619 rm -f "$ac_file" 48620 mv "$ac_tmp/config.h" "$ac_file" \ 48621 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 48622 fi 48623 else 48624 $as_echo "/* $configure_input */" \ 48625 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 48626 || as_fn_error $? "could not create -" "$LINENO" 5 48627 fi 48628# Compute "$ac_file"'s index in $config_headers. 48629_am_arg="$ac_file" 48630_am_stamp_count=1 48631for _am_header in $config_headers :; do 48632 case $_am_header in 48633 $_am_arg | $_am_arg:* ) 48634 break ;; 48635 * ) 48636 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 48637 esac 48638done 48639echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 48640$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48641 X"$_am_arg" : 'X\(//\)[^/]' \| \ 48642 X"$_am_arg" : 'X\(//\)$' \| \ 48643 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 48644$as_echo X"$_am_arg" | 48645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48646 s//\1/ 48647 q 48648 } 48649 /^X\(\/\/\)[^/].*/{ 48650 s//\1/ 48651 q 48652 } 48653 /^X\(\/\/\)$/{ 48654 s//\1/ 48655 q 48656 } 48657 /^X\(\/\).*/{ 48658 s//\1/ 48659 q 48660 } 48661 s/.*/./; q'`/stamp-h$_am_stamp_count 48662 ;; 48663 48664 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 48665$as_echo "$as_me: executing $ac_file commands" >&6;} 48666 ;; 48667 esac 48668 48669 48670 case $ac_file$ac_mode in 48671 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 48672 # Older Autoconf quotes --file arguments for eval, but not when files 48673 # are listed without --file. Let's play safe and only enable the eval 48674 # if we detect the quoting. 48675 # TODO: see whether this extra hack can be removed once we start 48676 # requiring Autoconf 2.70 or later. 48677 case $CONFIG_FILES in #( 48678 *\'*) : 48679 eval set x "$CONFIG_FILES" ;; #( 48680 *) : 48681 set x $CONFIG_FILES ;; #( 48682 *) : 48683 ;; 48684esac 48685 shift 48686 # Used to flag and report bootstrapping failures. 48687 am_rc=0 48688 for am_mf 48689 do 48690 # Strip MF so we end up with the name of the file. 48691 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 48692 # Check whether this is an Automake generated Makefile which includes 48693 # dependency-tracking related rules and includes. 48694 # Grep'ing the whole file directly is not great: AIX grep has a line 48695 # limit of 2048, but all sed's we know have understand at least 4000. 48696 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 48697 || continue 48698 am_dirpart=`$as_dirname -- "$am_mf" || 48699$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48700 X"$am_mf" : 'X\(//\)[^/]' \| \ 48701 X"$am_mf" : 'X\(//\)$' \| \ 48702 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 48703$as_echo X"$am_mf" | 48704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48705 s//\1/ 48706 q 48707 } 48708 /^X\(\/\/\)[^/].*/{ 48709 s//\1/ 48710 q 48711 } 48712 /^X\(\/\/\)$/{ 48713 s//\1/ 48714 q 48715 } 48716 /^X\(\/\).*/{ 48717 s//\1/ 48718 q 48719 } 48720 s/.*/./; q'` 48721 am_filepart=`$as_basename -- "$am_mf" || 48722$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 48723 X"$am_mf" : 'X\(//\)$' \| \ 48724 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 48725$as_echo X/"$am_mf" | 48726 sed '/^.*\/\([^/][^/]*\)\/*$/{ 48727 s//\1/ 48728 q 48729 } 48730 /^X\/\(\/\/\)$/{ 48731 s//\1/ 48732 q 48733 } 48734 /^X\/\(\/\).*/{ 48735 s//\1/ 48736 q 48737 } 48738 s/.*/./; q'` 48739 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 48740 && sed -e '/# am--include-marker/d' "$am_filepart" \ 48741 | $MAKE -f - am--depfiles" >&5 48742 (cd "$am_dirpart" \ 48743 && sed -e '/# am--include-marker/d' "$am_filepart" \ 48744 | $MAKE -f - am--depfiles) >&5 2>&5 48745 ac_status=$? 48746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 48747 (exit $ac_status); } || am_rc=$? 48748 done 48749 if test $am_rc -ne 0; then 48750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 48751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 48752as_fn_error $? "Something went wrong bootstrapping makefile fragments 48753 for automatic dependency tracking. If GNU make was not used, consider 48754 re-running the configure script with MAKE=\"gmake\" (or whatever is 48755 necessary). You can also try re-running configure with the 48756 '--disable-dependency-tracking' option to at least be able to build 48757 the package (albeit without support for automatic dependency tracking). 48758See \`config.log' for more details" "$LINENO" 5; } 48759 fi 48760 { am_dirpart=; unset am_dirpart;} 48761 { am_filepart=; unset am_filepart;} 48762 { am_mf=; unset am_mf;} 48763 { am_rc=; unset am_rc;} 48764 rm -f conftest-deps.mk 48765} 48766 ;; 48767 "libtool":C) 48768 48769 # See if we are running on zsh, and set the options that allow our 48770 # commands through without removal of \ escapes. 48771 if test -n "${ZSH_VERSION+set}"; then 48772 setopt NO_GLOB_SUBST 48773 fi 48774 48775 cfgfile=${ofile}T 48776 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 48777 $RM "$cfgfile" 48778 48779 cat <<_LT_EOF >> "$cfgfile" 48780#! $SHELL 48781# Generated automatically by $as_me ($PACKAGE) $VERSION 48782# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 48783# NOTE: Changes made to this file will be lost: look at ltmain.sh. 48784 48785# Provide generalized library-building support services. 48786# Written by Gordon Matzigkeit, 1996 48787 48788# Copyright (C) 2014 Free Software Foundation, Inc. 48789# This is free software; see the source for copying conditions. There is NO 48790# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 48791 48792# GNU Libtool is free software; you can redistribute it and/or modify 48793# it under the terms of the GNU General Public License as published by 48794# the Free Software Foundation; either version 2 of of the License, or 48795# (at your option) any later version. 48796# 48797# As a special exception to the GNU General Public License, if you 48798# distribute this file as part of a program or library that is built 48799# using GNU Libtool, you may include this file under the same 48800# distribution terms that you use for the rest of that program. 48801# 48802# GNU Libtool is distributed in the hope that it will be useful, but 48803# WITHOUT ANY WARRANTY; without even the implied warranty of 48804# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 48805# GNU General Public License for more details. 48806# 48807# You should have received a copy of the GNU General Public License 48808# along with this program. If not, see <http://www.gnu.org/licenses/>. 48809 48810 48811# The names of the tagged configurations supported by this script. 48812available_tags='CXX ' 48813 48814# Configured defaults for sys_lib_dlsearch_path munging. 48815: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 48816 48817# ### BEGIN LIBTOOL CONFIG 48818 48819# Assembler program. 48820AS=$lt_AS 48821 48822# DLL creation program. 48823DLLTOOL=$lt_DLLTOOL 48824 48825# Object dumper program. 48826OBJDUMP=$lt_OBJDUMP 48827 48828# Which release of libtool.m4 was used? 48829macro_version=$macro_version 48830macro_revision=$macro_revision 48831 48832# Whether or not to build shared libraries. 48833build_libtool_libs=$enable_shared 48834 48835# Whether or not to build static libraries. 48836build_old_libs=$enable_static 48837 48838# What type of objects to build. 48839pic_mode=$pic_mode 48840 48841# Whether or not to optimize for fast installation. 48842fast_install=$enable_fast_install 48843 48844# Shared archive member basename,for filename based shared library versioning on AIX. 48845shared_archive_member_spec=$shared_archive_member_spec 48846 48847# Shell to use when invoking shell scripts. 48848SHELL=$lt_SHELL 48849 48850# An echo program that protects backslashes. 48851ECHO=$lt_ECHO 48852 48853# The PATH separator for the build system. 48854PATH_SEPARATOR=$lt_PATH_SEPARATOR 48855 48856# The host system. 48857host_alias=$host_alias 48858host=$host 48859host_os=$host_os 48860 48861# The build system. 48862build_alias=$build_alias 48863build=$build 48864build_os=$build_os 48865 48866# A sed program that does not truncate output. 48867SED=$lt_SED 48868 48869# Sed that helps us avoid accidentally triggering echo(1) options like -n. 48870Xsed="\$SED -e 1s/^X//" 48871 48872# A grep program that handles long lines. 48873GREP=$lt_GREP 48874 48875# An ERE matcher. 48876EGREP=$lt_EGREP 48877 48878# A literal string matcher. 48879FGREP=$lt_FGREP 48880 48881# A BSD- or MS-compatible name lister. 48882NM=$lt_NM 48883 48884# Whether we need soft or hard links. 48885LN_S=$lt_LN_S 48886 48887# What is the maximum length of a command? 48888max_cmd_len=$max_cmd_len 48889 48890# Object file suffix (normally "o"). 48891objext=$ac_objext 48892 48893# Executable file suffix (normally ""). 48894exeext=$exeext 48895 48896# whether the shell understands "unset". 48897lt_unset=$lt_unset 48898 48899# turn spaces into newlines. 48900SP2NL=$lt_lt_SP2NL 48901 48902# turn newlines into spaces. 48903NL2SP=$lt_lt_NL2SP 48904 48905# convert \$build file names to \$host format. 48906to_host_file_cmd=$lt_cv_to_host_file_cmd 48907 48908# convert \$build files to toolchain format. 48909to_tool_file_cmd=$lt_cv_to_tool_file_cmd 48910 48911# Method to check whether dependent libraries are shared objects. 48912deplibs_check_method=$lt_deplibs_check_method 48913 48914# Command to use when deplibs_check_method = "file_magic". 48915file_magic_cmd=$lt_file_magic_cmd 48916 48917# How to find potential files when deplibs_check_method = "file_magic". 48918file_magic_glob=$lt_file_magic_glob 48919 48920# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 48921want_nocaseglob=$lt_want_nocaseglob 48922 48923# Command to associate shared and link libraries. 48924sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 48925 48926# The archiver. 48927AR=$lt_AR 48928 48929# Flags to create an archive. 48930AR_FLAGS=$lt_AR_FLAGS 48931 48932# How to feed a file listing to the archiver. 48933archiver_list_spec=$lt_archiver_list_spec 48934 48935# A symbol stripping program. 48936STRIP=$lt_STRIP 48937 48938# Commands used to install an old-style archive. 48939RANLIB=$lt_RANLIB 48940old_postinstall_cmds=$lt_old_postinstall_cmds 48941old_postuninstall_cmds=$lt_old_postuninstall_cmds 48942 48943# Whether to use a lock for old archive extraction. 48944lock_old_archive_extraction=$lock_old_archive_extraction 48945 48946# A C compiler. 48947LTCC=$lt_CC 48948 48949# LTCC compiler flags. 48950LTCFLAGS=$lt_CFLAGS 48951 48952# Take the output of nm and produce a listing of raw symbols and C names. 48953global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 48954 48955# Transform the output of nm in a proper C declaration. 48956global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 48957 48958# Transform the output of nm into a list of symbols to manually relocate. 48959global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 48960 48961# Transform the output of nm in a C name address pair. 48962global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 48963 48964# Transform the output of nm in a C name address pair when lib prefix is needed. 48965global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 48966 48967# The name lister interface. 48968nm_interface=$lt_lt_cv_nm_interface 48969 48970# Specify filename containing input files for \$NM. 48971nm_file_list_spec=$lt_nm_file_list_spec 48972 48973# The root where to search for dependent libraries,and where our libraries should be installed. 48974lt_sysroot=$lt_sysroot 48975 48976# Command to truncate a binary pipe. 48977lt_truncate_bin=$lt_lt_cv_truncate_bin 48978 48979# The name of the directory that contains temporary libtool files. 48980objdir=$objdir 48981 48982# Used to examine libraries when file_magic_cmd begins with "file". 48983MAGIC_CMD=$MAGIC_CMD 48984 48985# Must we lock files when doing compilation? 48986need_locks=$lt_need_locks 48987 48988# Manifest tool. 48989MANIFEST_TOOL=$lt_MANIFEST_TOOL 48990 48991# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 48992DSYMUTIL=$lt_DSYMUTIL 48993 48994# Tool to change global to local symbols on Mac OS X. 48995NMEDIT=$lt_NMEDIT 48996 48997# Tool to manipulate fat objects and archives on Mac OS X. 48998LIPO=$lt_LIPO 48999 49000# ldd/readelf like tool for Mach-O binaries on Mac OS X. 49001OTOOL=$lt_OTOOL 49002 49003# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 49004OTOOL64=$lt_OTOOL64 49005 49006# Old archive suffix (normally "a"). 49007libext=$libext 49008 49009# Shared library suffix (normally ".so"). 49010shrext_cmds=$lt_shrext_cmds 49011 49012# The commands to extract the exported symbol list from a shared archive. 49013extract_expsyms_cmds=$lt_extract_expsyms_cmds 49014 49015# Variables whose values should be saved in libtool wrapper scripts and 49016# restored at link time. 49017variables_saved_for_relink=$lt_variables_saved_for_relink 49018 49019# Do we need the "lib" prefix for modules? 49020need_lib_prefix=$need_lib_prefix 49021 49022# Do we need a version for libraries? 49023need_version=$need_version 49024 49025# Library versioning type. 49026version_type=$version_type 49027 49028# Shared library runtime path variable. 49029runpath_var=$runpath_var 49030 49031# Shared library path variable. 49032shlibpath_var=$shlibpath_var 49033 49034# Is shlibpath searched before the hard-coded library search path? 49035shlibpath_overrides_runpath=$shlibpath_overrides_runpath 49036 49037# Format of library name prefix. 49038libname_spec=$lt_libname_spec 49039 49040# List of archive names. First name is the real one, the rest are links. 49041# The last name is the one that the linker finds with -lNAME 49042library_names_spec=$lt_library_names_spec 49043 49044# The coded name of the library, if different from the real name. 49045soname_spec=$lt_soname_spec 49046 49047# Permission mode override for installation of shared libraries. 49048install_override_mode=$lt_install_override_mode 49049 49050# Command to use after installation of a shared archive. 49051postinstall_cmds=$lt_postinstall_cmds 49052 49053# Command to use after uninstallation of a shared archive. 49054postuninstall_cmds=$lt_postuninstall_cmds 49055 49056# Commands used to finish a libtool library installation in a directory. 49057finish_cmds=$lt_finish_cmds 49058 49059# As "finish_cmds", except a single script fragment to be evaled but 49060# not shown. 49061finish_eval=$lt_finish_eval 49062 49063# Whether we should hardcode library paths into libraries. 49064hardcode_into_libs=$hardcode_into_libs 49065 49066# Compile-time system search path for libraries. 49067sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 49068 49069# Detected run-time system search path for libraries. 49070sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 49071 49072# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 49073configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 49074 49075# Whether dlopen is supported. 49076dlopen_support=$enable_dlopen 49077 49078# Whether dlopen of programs is supported. 49079dlopen_self=$enable_dlopen_self 49080 49081# Whether dlopen of statically linked programs is supported. 49082dlopen_self_static=$enable_dlopen_self_static 49083 49084# Commands to strip libraries. 49085old_striplib=$lt_old_striplib 49086striplib=$lt_striplib 49087 49088 49089# The linker used to build libraries. 49090LD=$lt_LD 49091 49092# How to create reloadable object files. 49093reload_flag=$lt_reload_flag 49094reload_cmds=$lt_reload_cmds 49095 49096# Commands used to build an old-style archive. 49097old_archive_cmds=$lt_old_archive_cmds 49098 49099# A language specific compiler. 49100CC=$lt_compiler 49101 49102# Is the compiler the GNU compiler? 49103with_gcc=$GCC 49104 49105# Compiler flag to turn off builtin functions. 49106no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 49107 49108# Additional compiler flags for building library objects. 49109pic_flag=$lt_lt_prog_compiler_pic 49110 49111# How to pass a linker flag through the compiler. 49112wl=$lt_lt_prog_compiler_wl 49113 49114# Compiler flag to prevent dynamic linking. 49115link_static_flag=$lt_lt_prog_compiler_static 49116 49117# Does compiler simultaneously support -c and -o options? 49118compiler_c_o=$lt_lt_cv_prog_compiler_c_o 49119 49120# Whether or not to add -lc for building shared libraries. 49121build_libtool_need_lc=$archive_cmds_need_lc 49122 49123# Whether or not to disallow shared libs when runtime libs are static. 49124allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 49125 49126# Compiler flag to allow reflexive dlopens. 49127export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 49128 49129# Compiler flag to generate shared objects directly from archives. 49130whole_archive_flag_spec=$lt_whole_archive_flag_spec 49131 49132# Whether the compiler copes with passing no objects directly. 49133compiler_needs_object=$lt_compiler_needs_object 49134 49135# Create an old-style archive from a shared archive. 49136old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 49137 49138# Create a temporary old-style archive to link instead of a shared archive. 49139old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 49140 49141# Commands used to build a shared archive. 49142archive_cmds=$lt_archive_cmds 49143archive_expsym_cmds=$lt_archive_expsym_cmds 49144 49145# Commands used to build a loadable module if different from building 49146# a shared archive. 49147module_cmds=$lt_module_cmds 49148module_expsym_cmds=$lt_module_expsym_cmds 49149 49150# Whether we are building with GNU ld or not. 49151with_gnu_ld=$lt_with_gnu_ld 49152 49153# Flag that allows shared libraries with undefined symbols to be built. 49154allow_undefined_flag=$lt_allow_undefined_flag 49155 49156# Flag that enforces no undefined symbols. 49157no_undefined_flag=$lt_no_undefined_flag 49158 49159# Flag to hardcode \$libdir into a binary during linking. 49160# This must work even if \$libdir does not exist 49161hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 49162 49163# Whether we need a single "-rpath" flag with a separated argument. 49164hardcode_libdir_separator=$lt_hardcode_libdir_separator 49165 49166# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 49167# DIR into the resulting binary. 49168hardcode_direct=$hardcode_direct 49169 49170# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 49171# DIR into the resulting binary and the resulting library dependency is 49172# "absolute",i.e impossible to change by setting \$shlibpath_var if the 49173# library is relocated. 49174hardcode_direct_absolute=$hardcode_direct_absolute 49175 49176# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 49177# into the resulting binary. 49178hardcode_minus_L=$hardcode_minus_L 49179 49180# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 49181# into the resulting binary. 49182hardcode_shlibpath_var=$hardcode_shlibpath_var 49183 49184# Set to "yes" if building a shared library automatically hardcodes DIR 49185# into the library and all subsequent libraries and executables linked 49186# against it. 49187hardcode_automatic=$hardcode_automatic 49188 49189# Set to yes if linker adds runtime paths of dependent libraries 49190# to runtime path list. 49191inherit_rpath=$inherit_rpath 49192 49193# Whether libtool must link a program against all its dependency libraries. 49194link_all_deplibs=$link_all_deplibs 49195 49196# Set to "yes" if exported symbols are required. 49197always_export_symbols=$always_export_symbols 49198 49199# The commands to list exported symbols. 49200export_symbols_cmds=$lt_export_symbols_cmds 49201 49202# Symbols that should not be listed in the preloaded symbols. 49203exclude_expsyms=$lt_exclude_expsyms 49204 49205# Symbols that must always be exported. 49206include_expsyms=$lt_include_expsyms 49207 49208# Commands necessary for linking programs (against libraries) with templates. 49209prelink_cmds=$lt_prelink_cmds 49210 49211# Commands necessary for finishing linking programs. 49212postlink_cmds=$lt_postlink_cmds 49213 49214# Specify filename containing input files. 49215file_list_spec=$lt_file_list_spec 49216 49217# How to hardcode a shared library path into an executable. 49218hardcode_action=$hardcode_action 49219 49220# The directories searched by this compiler when creating a shared library. 49221compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 49222 49223# Dependencies to place before and after the objects being linked to 49224# create a shared library. 49225predep_objects=$lt_predep_objects 49226postdep_objects=$lt_postdep_objects 49227predeps=$lt_predeps 49228postdeps=$lt_postdeps 49229 49230# The library search path used internally by the compiler when linking 49231# a shared library. 49232compiler_lib_search_path=$lt_compiler_lib_search_path 49233 49234# ### END LIBTOOL CONFIG 49235 49236_LT_EOF 49237 49238 cat <<'_LT_EOF' >> "$cfgfile" 49239 49240# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 49241 49242# func_munge_path_list VARIABLE PATH 49243# ----------------------------------- 49244# VARIABLE is name of variable containing _space_ separated list of 49245# directories to be munged by the contents of PATH, which is string 49246# having a format: 49247# "DIR[:DIR]:" 49248# string "DIR[ DIR]" will be prepended to VARIABLE 49249# ":DIR[:DIR]" 49250# string "DIR[ DIR]" will be appended to VARIABLE 49251# "DIRP[:DIRP]::[DIRA:]DIRA" 49252# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 49253# "DIRA[ DIRA]" will be appended to VARIABLE 49254# "DIR[:DIR]" 49255# VARIABLE will be replaced by "DIR[ DIR]" 49256func_munge_path_list () 49257{ 49258 case x$2 in 49259 x) 49260 ;; 49261 *:) 49262 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 49263 ;; 49264 x:*) 49265 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 49266 ;; 49267 *::*) 49268 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 49269 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 49270 ;; 49271 *) 49272 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 49273 ;; 49274 esac 49275} 49276 49277 49278# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 49279func_cc_basename () 49280{ 49281 for cc_temp in $*""; do 49282 case $cc_temp in 49283 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 49284 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 49285 \-*) ;; 49286 *) break;; 49287 esac 49288 done 49289 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 49290} 49291 49292 49293# ### END FUNCTIONS SHARED WITH CONFIGURE 49294 49295_LT_EOF 49296 49297 case $host_os in 49298 aix3*) 49299 cat <<\_LT_EOF >> "$cfgfile" 49300# AIX sometimes has problems with the GCC collect2 program. For some 49301# reason, if we set the COLLECT_NAMES environment variable, the problems 49302# vanish in a puff of smoke. 49303if test set != "${COLLECT_NAMES+set}"; then 49304 COLLECT_NAMES= 49305 export COLLECT_NAMES 49306fi 49307_LT_EOF 49308 ;; 49309 esac 49310 49311 49312ltmain=$ac_aux_dir/ltmain.sh 49313 49314 49315 # We use sed instead of cat because bash on DJGPP gets confused if 49316 # if finds mixed CR/LF and LF-only lines. Since sed operates in 49317 # text mode, it properly converts lines to CR/LF. This bash problem 49318 # is reportedly fixed, but why not run on old versions too? 49319 sed '$q' "$ltmain" >> "$cfgfile" \ 49320 || (rm -f "$cfgfile"; exit 1) 49321 49322 mv -f "$cfgfile" "$ofile" || 49323 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 49324 chmod +x "$ofile" 49325 49326 49327 cat <<_LT_EOF >> "$ofile" 49328 49329# ### BEGIN LIBTOOL TAG CONFIG: CXX 49330 49331# The linker used to build libraries. 49332LD=$lt_LD_CXX 49333 49334# How to create reloadable object files. 49335reload_flag=$lt_reload_flag_CXX 49336reload_cmds=$lt_reload_cmds_CXX 49337 49338# Commands used to build an old-style archive. 49339old_archive_cmds=$lt_old_archive_cmds_CXX 49340 49341# A language specific compiler. 49342CC=$lt_compiler_CXX 49343 49344# Is the compiler the GNU compiler? 49345with_gcc=$GCC_CXX 49346 49347# Compiler flag to turn off builtin functions. 49348no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 49349 49350# Additional compiler flags for building library objects. 49351pic_flag=$lt_lt_prog_compiler_pic_CXX 49352 49353# How to pass a linker flag through the compiler. 49354wl=$lt_lt_prog_compiler_wl_CXX 49355 49356# Compiler flag to prevent dynamic linking. 49357link_static_flag=$lt_lt_prog_compiler_static_CXX 49358 49359# Does compiler simultaneously support -c and -o options? 49360compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 49361 49362# Whether or not to add -lc for building shared libraries. 49363build_libtool_need_lc=$archive_cmds_need_lc_CXX 49364 49365# Whether or not to disallow shared libs when runtime libs are static. 49366allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 49367 49368# Compiler flag to allow reflexive dlopens. 49369export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 49370 49371# Compiler flag to generate shared objects directly from archives. 49372whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 49373 49374# Whether the compiler copes with passing no objects directly. 49375compiler_needs_object=$lt_compiler_needs_object_CXX 49376 49377# Create an old-style archive from a shared archive. 49378old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 49379 49380# Create a temporary old-style archive to link instead of a shared archive. 49381old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 49382 49383# Commands used to build a shared archive. 49384archive_cmds=$lt_archive_cmds_CXX 49385archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 49386 49387# Commands used to build a loadable module if different from building 49388# a shared archive. 49389module_cmds=$lt_module_cmds_CXX 49390module_expsym_cmds=$lt_module_expsym_cmds_CXX 49391 49392# Whether we are building with GNU ld or not. 49393with_gnu_ld=$lt_with_gnu_ld_CXX 49394 49395# Flag that allows shared libraries with undefined symbols to be built. 49396allow_undefined_flag=$lt_allow_undefined_flag_CXX 49397 49398# Flag that enforces no undefined symbols. 49399no_undefined_flag=$lt_no_undefined_flag_CXX 49400 49401# Flag to hardcode \$libdir into a binary during linking. 49402# This must work even if \$libdir does not exist 49403hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 49404 49405# Whether we need a single "-rpath" flag with a separated argument. 49406hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 49407 49408# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 49409# DIR into the resulting binary. 49410hardcode_direct=$hardcode_direct_CXX 49411 49412# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 49413# DIR into the resulting binary and the resulting library dependency is 49414# "absolute",i.e impossible to change by setting \$shlibpath_var if the 49415# library is relocated. 49416hardcode_direct_absolute=$hardcode_direct_absolute_CXX 49417 49418# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 49419# into the resulting binary. 49420hardcode_minus_L=$hardcode_minus_L_CXX 49421 49422# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 49423# into the resulting binary. 49424hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 49425 49426# Set to "yes" if building a shared library automatically hardcodes DIR 49427# into the library and all subsequent libraries and executables linked 49428# against it. 49429hardcode_automatic=$hardcode_automatic_CXX 49430 49431# Set to yes if linker adds runtime paths of dependent libraries 49432# to runtime path list. 49433inherit_rpath=$inherit_rpath_CXX 49434 49435# Whether libtool must link a program against all its dependency libraries. 49436link_all_deplibs=$link_all_deplibs_CXX 49437 49438# Set to "yes" if exported symbols are required. 49439always_export_symbols=$always_export_symbols_CXX 49440 49441# The commands to list exported symbols. 49442export_symbols_cmds=$lt_export_symbols_cmds_CXX 49443 49444# Symbols that should not be listed in the preloaded symbols. 49445exclude_expsyms=$lt_exclude_expsyms_CXX 49446 49447# Symbols that must always be exported. 49448include_expsyms=$lt_include_expsyms_CXX 49449 49450# Commands necessary for linking programs (against libraries) with templates. 49451prelink_cmds=$lt_prelink_cmds_CXX 49452 49453# Commands necessary for finishing linking programs. 49454postlink_cmds=$lt_postlink_cmds_CXX 49455 49456# Specify filename containing input files. 49457file_list_spec=$lt_file_list_spec_CXX 49458 49459# How to hardcode a shared library path into an executable. 49460hardcode_action=$hardcode_action_CXX 49461 49462# The directories searched by this compiler when creating a shared library. 49463compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 49464 49465# Dependencies to place before and after the objects being linked to 49466# create a shared library. 49467predep_objects=$lt_predep_objects_CXX 49468postdep_objects=$lt_postdep_objects_CXX 49469predeps=$lt_predeps_CXX 49470postdeps=$lt_postdeps_CXX 49471 49472# The library search path used internally by the compiler when linking 49473# a shared library. 49474compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 49475 49476# ### END LIBTOOL TAG CONFIG: CXX 49477_LT_EOF 49478 49479 ;; 49480 "po-directories":C) 49481 for ac_file in $CONFIG_FILES; do 49482 # Support "outfile[:infile[:infile...]]" 49483 case "$ac_file" in 49484 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 49485 esac 49486 # PO directories have a Makefile.in generated from Makefile.in.in. 49487 case "$ac_file" in */Makefile.in) 49488 # Adjust a relative srcdir. 49489 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 49490 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 49491 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 49492 # In autoconf-2.13 it is called $ac_given_srcdir. 49493 # In autoconf-2.50 it is called $srcdir. 49494 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 49495 case "$ac_given_srcdir" in 49496 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 49497 /*) top_srcdir="$ac_given_srcdir" ;; 49498 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 49499 esac 49500 # Treat a directory as a PO directory if and only if it has a 49501 # POTFILES.in file. This allows packages to have multiple PO 49502 # directories under different names or in different locations. 49503 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 49504 rm -f "$ac_dir/POTFILES" 49505 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 49506 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 49507 POMAKEFILEDEPS="POTFILES.in" 49508 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 49509 # on $ac_dir but don't depend on user-specified configuration 49510 # parameters. 49511 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 49512 # The LINGUAS file contains the set of available languages. 49513 if test -n "$OBSOLETE_ALL_LINGUAS"; then 49514 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 49515 fi 49516 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 49517 # Hide the ALL_LINGUAS assigment from automake < 1.5. 49518 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 49519 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 49520 else 49521 # The set of available languages was given in configure.in. 49522 # Hide the ALL_LINGUAS assigment from automake < 1.5. 49523 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 49524 fi 49525 # Compute POFILES 49526 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 49527 # Compute UPDATEPOFILES 49528 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 49529 # Compute DUMMYPOFILES 49530 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 49531 # Compute GMOFILES 49532 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 49533 case "$ac_given_srcdir" in 49534 .) srcdirpre= ;; 49535 *) srcdirpre='$(srcdir)/' ;; 49536 esac 49537 POFILES= 49538 UPDATEPOFILES= 49539 DUMMYPOFILES= 49540 GMOFILES= 49541 for lang in $ALL_LINGUAS; do 49542 POFILES="$POFILES $srcdirpre$lang.po" 49543 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 49544 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 49545 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 49546 done 49547 # CATALOGS depends on both $ac_dir and the user's LINGUAS 49548 # environment variable. 49549 INST_LINGUAS= 49550 if test -n "$ALL_LINGUAS"; then 49551 for presentlang in $ALL_LINGUAS; do 49552 useit=no 49553 if test "%UNSET%" != "$LINGUAS"; then 49554 desiredlanguages="$LINGUAS" 49555 else 49556 desiredlanguages="$ALL_LINGUAS" 49557 fi 49558 for desiredlang in $desiredlanguages; do 49559 # Use the presentlang catalog if desiredlang is 49560 # a. equal to presentlang, or 49561 # b. a variant of presentlang (because in this case, 49562 # presentlang can be used as a fallback for messages 49563 # which are not translated in the desiredlang catalog). 49564 case "$desiredlang" in 49565 "$presentlang"*) useit=yes;; 49566 esac 49567 done 49568 if test $useit = yes; then 49569 INST_LINGUAS="$INST_LINGUAS $presentlang" 49570 fi 49571 done 49572 fi 49573 CATALOGS= 49574 if test -n "$INST_LINGUAS"; then 49575 for lang in $INST_LINGUAS; do 49576 CATALOGS="$CATALOGS $lang.gmo" 49577 done 49578 fi 49579 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 49580 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" 49581 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 49582 if test -f "$f"; then 49583 case "$f" in 49584 *.orig | *.bak | *~) ;; 49585 *) cat "$f" >> "$ac_dir/Makefile" ;; 49586 esac 49587 fi 49588 done 49589 fi 49590 ;; 49591 esac 49592 done ;; 49593 49594 esac 49595done # for ac_tag 49596 49597 49598as_fn_exit 0 49599_ACEOF 49600ac_clean_files=$ac_clean_files_save 49601 49602test $ac_write_fail = 0 || 49603 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 49604 49605 49606# configure is writing to config.log, and then calls config.status. 49607# config.status does its own redirection, appending to config.log. 49608# Unfortunately, on DOS this fails, as config.log is still kept open 49609# by configure, so config.status won't be able to write to it; its 49610# output is simply discarded. So we exec the FD to /dev/null, 49611# effectively closing config.log, so it can be properly (re)opened and 49612# appended to by config.status. When coming back to configure, we 49613# need to make the FD available again. 49614if test "$no_create" != yes; then 49615 ac_cs_success=: 49616 ac_config_status_args= 49617 test "$silent" = yes && 49618 ac_config_status_args="$ac_config_status_args --quiet" 49619 exec 5>/dev/null 49620 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 49621 exec 5>>config.log 49622 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 49623 # would make configure fail if this is the last instruction. 49624 $ac_cs_success || as_fn_exit 1 49625fi 49626if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 49627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 49628$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 49629fi 49630 49631 49632{ $as_echo "$as_me:${as_lineno-$LINENO}: 49633Building: 49634 libcerror support: $ac_cv_libcerror 49635 libcthreads support: $ac_cv_libcthreads 49636 libcdata support: $ac_cv_libcdata 49637 libclocale support: $ac_cv_libclocale 49638 libcnotify support: $ac_cv_libcnotify 49639 libcsplit support: $ac_cv_libcsplit 49640 libuna support: $ac_cv_libuna 49641 libcfile support: $ac_cv_libcfile 49642 libcpath support: $ac_cv_libcpath 49643 libbfio support: $ac_cv_libbfio 49644 libfdatetime support: $ac_cv_libfdatetime 49645 libfguid support: $ac_cv_libfguid 49646 libfole support: $ac_cv_libfole 49647 libfwps support: $ac_cv_libfwps 49648 libfwsi support: $ac_cv_libfwsi 49649 49650Features: 49651 Multi-threading support: $ac_cv_libcthreads_multi_threading 49652 Wide character type support: $ac_cv_enable_wide_character_type 49653 lnktools are build as static executables: $ac_cv_enable_static_executables 49654 Python (pylnk) support: $ac_cv_enable_python 49655 Verbose output: $ac_cv_enable_verbose_output 49656 Debug output: $ac_cv_enable_debug_output 49657" >&5 49658$as_echo "$as_me: 49659Building: 49660 libcerror support: $ac_cv_libcerror 49661 libcthreads support: $ac_cv_libcthreads 49662 libcdata support: $ac_cv_libcdata 49663 libclocale support: $ac_cv_libclocale 49664 libcnotify support: $ac_cv_libcnotify 49665 libcsplit support: $ac_cv_libcsplit 49666 libuna support: $ac_cv_libuna 49667 libcfile support: $ac_cv_libcfile 49668 libcpath support: $ac_cv_libcpath 49669 libbfio support: $ac_cv_libbfio 49670 libfdatetime support: $ac_cv_libfdatetime 49671 libfguid support: $ac_cv_libfguid 49672 libfole support: $ac_cv_libfole 49673 libfwps support: $ac_cv_libfwps 49674 libfwsi support: $ac_cv_libfwsi 49675 49676Features: 49677 Multi-threading support: $ac_cv_libcthreads_multi_threading 49678 Wide character type support: $ac_cv_enable_wide_character_type 49679 lnktools are build as static executables: $ac_cv_enable_static_executables 49680 Python (pylnk) support: $ac_cv_enable_python 49681 Verbose output: $ac_cv_enable_verbose_output 49682 Debug output: $ac_cv_enable_debug_output 49683" >&6;}; 49684 49685