1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libvshadow 20210425. 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='libvshadow' 592PACKAGE_TARNAME='libvshadow' 593PACKAGE_VERSION='20210425' 594PACKAGE_STRING='libvshadow 20210425' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libvshadow.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 642libvshadow_spec_tools_build_requires 643libvshadow_spec_requires 644LIB_FUZZING_ENGINE 645HAVE_LIB_FUZZING_ENGINE_FALSE 646HAVE_LIB_FUZZING_ENGINE_TRUE 647LIBVSHADOW_DLL_IMPORT 648LIBVSHADOW_DLL_EXPORT 649HAVE_DLLMAIN 650ax_libfuse_spec_build_requires 651ax_libfuse_spec_requires 652ax_libfuse_pc_libs_private 653LIBFUSE_LIBADD 654LIBFUSE_CPPFLAGS 655HAVE_LIBFUSE 656fuse_LIBS 657fuse_CFLAGS 658HAVE_PYTHON_TESTS_FALSE 659HAVE_PYTHON_TESTS_TRUE 660HAVE_PYTHON3_FALSE 661HAVE_PYTHON3_TRUE 662HAVE_PYTHON2_FALSE 663HAVE_PYTHON2_TRUE 664HAVE_PYTHON_FALSE 665HAVE_PYTHON_TRUE 666PYTHON3_PACKAGE_DIR 667PYTHON3_LIBRARY_DIR 668pyexecdir3 669pythondir3 670PYTHON3_EXEC_PREFIX 671PYTHON3_PREFIX 672PYTHON3_LDFLAGS 673PYTHON3_CPPFLAGS 674PYTHON3_CONFIG 675PYTHON3_PLATFORM 676PYTHON3_VERSION 677PYTHON3 678PYTHON2_PACKAGE_DIR 679PYTHON2_LIBRARY_DIR 680pyexecdir2 681pythondir2 682PYTHON2_EXEC_PREFIX 683PYTHON2_PREFIX 684PYTHON2_LDFLAGS 685PYTHON2_CPPFLAGS 686PYTHON2_CONFIG 687PYTHON2_PLATFORM 688PYTHON2_VERSION 689PYTHON2 690PYTHON_PACKAGE_DIR 691PYTHON_LIBRARY_DIR 692pyexecdir 693pythondir 694PYTHON_EXEC_PREFIX 695PYTHON_PREFIX 696PYTHON_LDFLAGS 697PYTHON_CPPFLAGS 698PYTHON_CONFIG 699PYTHON_PLATFORM 700PYTHON 701ax_libfguid_spec_build_requires 702ax_libfguid_spec_requires 703ax_libfguid_pc_libs_private 704LIBFGUID_LIBADD 705LIBFGUID_CPPFLAGS 706HAVE_LOCAL_LIBFGUID_FALSE 707HAVE_LOCAL_LIBFGUID_TRUE 708HAVE_LOCAL_LIBFGUID 709HAVE_LIBFGUID 710libfguid_LIBS 711libfguid_CFLAGS 712ax_libfdatetime_spec_build_requires 713ax_libfdatetime_spec_requires 714ax_libfdatetime_pc_libs_private 715LIBFDATETIME_LIBADD 716LIBFDATETIME_CPPFLAGS 717HAVE_LOCAL_LIBFDATETIME_FALSE 718HAVE_LOCAL_LIBFDATETIME_TRUE 719HAVE_LOCAL_LIBFDATETIME 720HAVE_LIBFDATETIME 721libfdatetime_LIBS 722libfdatetime_CFLAGS 723ax_libbfio_spec_build_requires 724ax_libbfio_spec_requires 725ax_libbfio_pc_libs_private 726LIBBFIO_LIBADD 727LIBBFIO_CPPFLAGS 728HAVE_LOCAL_LIBBFIO_FALSE 729HAVE_LOCAL_LIBBFIO_TRUE 730HAVE_LOCAL_LIBBFIO 731HAVE_LIBBFIO 732libbfio_LIBS 733libbfio_CFLAGS 734ax_libcpath_spec_build_requires 735ax_libcpath_spec_requires 736ax_libcpath_pc_libs_private 737LIBCPATH_LIBADD 738LIBCPATH_CPPFLAGS 739HAVE_LOCAL_LIBCPATH_FALSE 740HAVE_LOCAL_LIBCPATH_TRUE 741HAVE_LOCAL_LIBCPATH 742HAVE_LIBCPATH 743libcpath_LIBS 744libcpath_CFLAGS 745ax_libcfile_spec_build_requires 746ax_libcfile_spec_requires 747ax_libcfile_pc_libs_private 748LIBCFILE_LIBADD 749LIBCFILE_CPPFLAGS 750HAVE_LOCAL_LIBCFILE_FALSE 751HAVE_LOCAL_LIBCFILE_TRUE 752HAVE_LOCAL_LIBCFILE 753HAVE_LIBCFILE 754libcfile_LIBS 755libcfile_CFLAGS 756ax_libuna_spec_build_requires 757ax_libuna_spec_requires 758ax_libuna_pc_libs_private 759LIBUNA_LIBADD 760LIBUNA_CPPFLAGS 761HAVE_LOCAL_LIBUNA_FALSE 762HAVE_LOCAL_LIBUNA_TRUE 763HAVE_LOCAL_LIBUNA 764HAVE_LIBUNA 765libuna_LIBS 766libuna_CFLAGS 767ax_libcsplit_spec_build_requires 768ax_libcsplit_spec_requires 769ax_libcsplit_pc_libs_private 770LIBCSPLIT_LIBADD 771LIBCSPLIT_CPPFLAGS 772HAVE_LOCAL_LIBCSPLIT_FALSE 773HAVE_LOCAL_LIBCSPLIT_TRUE 774HAVE_LOCAL_LIBCSPLIT 775HAVE_LIBCSPLIT 776libcsplit_LIBS 777libcsplit_CFLAGS 778ax_libcnotify_spec_build_requires 779ax_libcnotify_spec_requires 780ax_libcnotify_pc_libs_private 781LIBCNOTIFY_LIBADD 782LIBCNOTIFY_CPPFLAGS 783HAVE_LOCAL_LIBCNOTIFY_FALSE 784HAVE_LOCAL_LIBCNOTIFY_TRUE 785HAVE_LOCAL_LIBCNOTIFY 786HAVE_LIBCNOTIFY 787libcnotify_LIBS 788libcnotify_CFLAGS 789ax_libclocale_spec_build_requires 790ax_libclocale_spec_requires 791ax_libclocale_pc_libs_private 792LIBCLOCALE_LIBADD 793LIBCLOCALE_CPPFLAGS 794HAVE_LOCAL_LIBCLOCALE_FALSE 795HAVE_LOCAL_LIBCLOCALE_TRUE 796HAVE_LOCAL_LIBCLOCALE 797HAVE_LIBCLOCALE 798libclocale_LIBS 799libclocale_CFLAGS 800ax_libcdata_spec_build_requires 801ax_libcdata_spec_requires 802ax_libcdata_pc_libs_private 803LIBCDATA_LIBADD 804LIBCDATA_CPPFLAGS 805HAVE_LOCAL_LIBCDATA_FALSE 806HAVE_LOCAL_LIBCDATA_TRUE 807HAVE_LOCAL_LIBCDATA 808HAVE_LIBCDATA 809libcdata_LIBS 810libcdata_CFLAGS 811ax_libcthreads_spec_build_requires 812ax_libcthreads_spec_requires 813ax_libcthreads_pc_libs_private 814HAVE_MULTI_THREAD_SUPPORT 815LIBCTHREADS_LIBADD 816LIBCTHREADS_CPPFLAGS 817HAVE_LOCAL_LIBCTHREADS_FALSE 818HAVE_LOCAL_LIBCTHREADS_TRUE 819HAVE_LOCAL_LIBCTHREADS 820ax_pthread_pc_libs_private 821PTHREAD_LIBADD 822PTHREAD_CPPFLAGS 823HAVE_PTHREAD 824HAVE_LIBCTHREADS 825libcthreads_LIBS 826libcthreads_CFLAGS 827ax_libcerror_spec_build_requires 828ax_libcerror_spec_requires 829ax_libcerror_pc_libs_private 830LIBCERROR_LIBADD 831LIBCERROR_CPPFLAGS 832HAVE_LOCAL_LIBCERROR_FALSE 833HAVE_LOCAL_LIBCERROR_TRUE 834HAVE_LOCAL_LIBCERROR 835HAVE_LIBCERROR 836libcerror_LIBS 837libcerror_CFLAGS 838PKG_CONFIG_LIBDIR 839PKG_CONFIG_PATH 840PKG_CONFIG 841HAVE_OFF64_T 842HAVE_SSIZE64_T 843HAVE_SIZE64_T 844HAVE_SSIZE32_T 845HAVE_SIZE32_T 846HAVE_WCHAR_H 847HAVE_STDINT_H 848HAVE_INTTYPES_H 849HAVE_SYS_TYPES_H 850HAVE_WIDE_CHARACTER_TYPE 851STATIC_LDFLAGS 852POSUB 853LTLIBINTL 854LIBINTL 855INTLLIBS 856LTLIBICONV 857LIBICONV 858INTL_MACOSX_LIBS 859XGETTEXT_EXTRA_OPTIONS 860MSGMERGE 861XGETTEXT_015 862XGETTEXT 863GMSGFMT_015 864MSGFMT_015 865GMSGFMT 866MSGFMT 867GETTEXT_MACRO_VERSION 868USE_NLS 869PKGCONFIG 870LIBTOOL_DEPS 871CXXCPP 872LT_SYS_LIBRARY_PATH 873OTOOL64 874OTOOL 875LIPO 876NMEDIT 877DSYMUTIL 878MANIFEST_TOOL 879RANLIB 880ac_ct_AR 881AR 882LN_S 883NM 884ac_ct_DUMPBIN 885DUMPBIN 886LD 887FGREP 888SED 889LIBTOOL 890am__fastdepCXX_FALSE 891am__fastdepCXX_TRUE 892CXXDEPMODE 893ac_ct_CXX 894CXXFLAGS 895CXX 896EGREP 897GREP 898CPP 899am__fastdepCC_FALSE 900am__fastdepCC_TRUE 901CCDEPMODE 902am__nodep 903AMDEPBACKSLASH 904AMDEP_FALSE 905AMDEP_TRUE 906am__include 907DEPDIR 908OBJEXT 909EXEEXT 910ac_ct_CC 911CPPFLAGS 912LDFLAGS 913CFLAGS 914CC 915OBJDUMP 916DLLTOOL 917AS 918host_os 919host_vendor 920host_cpu 921host 922build_os 923build_vendor 924build_cpu 925build 926AM_BACKSLASH 927AM_DEFAULT_VERBOSITY 928AM_DEFAULT_V 929AM_V 930am__untar 931am__tar 932AMTAR 933am__leading_dot 934SET_MAKE 935AWK 936mkdir_p 937MKDIR_P 938INSTALL_STRIP_PROGRAM 939STRIP 940install_sh 941MAKEINFO 942AUTOHEADER 943AUTOMAKE 944AUTOCONF 945ACLOCAL 946VERSION 947PACKAGE 948CYGPATH_W 949am__isrc 950INSTALL_DATA 951INSTALL_SCRIPT 952INSTALL_PROGRAM 953target_alias 954host_alias 955build_alias 956LIBS 957ECHO_T 958ECHO_N 959ECHO_C 960DEFS 961mandir 962localedir 963libdir 964psdir 965pdfdir 966dvidir 967htmldir 968infodir 969docdir 970oldincludedir 971includedir 972localstatedir 973sharedstatedir 974sysconfdir 975datadir 976datarootdir 977libexecdir 978sbindir 979bindir 980program_transform_name 981prefix 982exec_prefix 983PACKAGE_URL 984PACKAGE_BUGREPORT 985PACKAGE_STRING 986PACKAGE_VERSION 987PACKAGE_TARNAME 988PACKAGE_NAME 989PATH_SEPARATOR 990SHELL 991am__quote' 992ac_subst_files='' 993ac_user_opts=' 994enable_option_checking 995enable_silent_rules 996enable_dependency_tracking 997enable_shared 998enable_static 999with_pic 1000enable_fast_install 1001with_aix_soname 1002with_gnu_ld 1003with_sysroot 1004enable_libtool_lock 1005enable_nls 1006enable_rpath 1007with_libiconv_prefix 1008with_libintl_prefix 1009enable_largefile 1010enable_shared_libs 1011enable_static_executables 1012enable_winapi 1013enable_wide_character_type 1014enable_verbose_output 1015enable_debug_output 1016with_libcerror 1017enable_multi_threading_support 1018with_libcthreads 1019with_pthread 1020with_libcdata 1021with_libclocale 1022with_libcnotify 1023with_libcsplit 1024with_libuna 1025with_libcfile 1026with_libcpath 1027with_libbfio 1028with_libfdatetime 1029with_libfguid 1030with_pyprefix 1031enable_python 1032with_pythondir 1033enable_python2 1034with_pythondir2 1035enable_python3 1036with_pythondir3 1037with_libfuse 1038' 1039 ac_precious_vars='build_alias 1040host_alias 1041target_alias 1042CC 1043CFLAGS 1044LDFLAGS 1045LIBS 1046CPPFLAGS 1047CPP 1048CXX 1049CXXFLAGS 1050CCC 1051LT_SYS_LIBRARY_PATH 1052CXXCPP 1053PKG_CONFIG 1054PKG_CONFIG_PATH 1055PKG_CONFIG_LIBDIR 1056libcerror_CFLAGS 1057libcerror_LIBS 1058libcthreads_CFLAGS 1059libcthreads_LIBS 1060libcdata_CFLAGS 1061libcdata_LIBS 1062libclocale_CFLAGS 1063libclocale_LIBS 1064libcnotify_CFLAGS 1065libcnotify_LIBS 1066libcsplit_CFLAGS 1067libcsplit_LIBS 1068libuna_CFLAGS 1069libuna_LIBS 1070libcfile_CFLAGS 1071libcfile_LIBS 1072libcpath_CFLAGS 1073libcpath_LIBS 1074libbfio_CFLAGS 1075libbfio_LIBS 1076libfdatetime_CFLAGS 1077libfdatetime_LIBS 1078libfguid_CFLAGS 1079libfguid_LIBS 1080fuse_CFLAGS 1081fuse_LIBS' 1082 1083 1084# Initialize some variables set by options. 1085ac_init_help= 1086ac_init_version=false 1087ac_unrecognized_opts= 1088ac_unrecognized_sep= 1089# The variables have the same names as the options, with 1090# dashes changed to underlines. 1091cache_file=/dev/null 1092exec_prefix=NONE 1093no_create= 1094no_recursion= 1095prefix=NONE 1096program_prefix=NONE 1097program_suffix=NONE 1098program_transform_name=s,x,x, 1099silent= 1100site= 1101srcdir= 1102verbose= 1103x_includes=NONE 1104x_libraries=NONE 1105 1106# Installation directory options. 1107# These are left unexpanded so users can "make install exec_prefix=/foo" 1108# and all the variables that are supposed to be based on exec_prefix 1109# by default will actually change. 1110# Use braces instead of parens because sh, perl, etc. also accept them. 1111# (The list follows the same order as the GNU Coding Standards.) 1112bindir='${exec_prefix}/bin' 1113sbindir='${exec_prefix}/sbin' 1114libexecdir='${exec_prefix}/libexec' 1115datarootdir='${prefix}/share' 1116datadir='${datarootdir}' 1117sysconfdir='${prefix}/etc' 1118sharedstatedir='${prefix}/com' 1119localstatedir='${prefix}/var' 1120includedir='${prefix}/include' 1121oldincludedir='/usr/include' 1122docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1123infodir='${datarootdir}/info' 1124htmldir='${docdir}' 1125dvidir='${docdir}' 1126pdfdir='${docdir}' 1127psdir='${docdir}' 1128libdir='${exec_prefix}/lib' 1129localedir='${datarootdir}/locale' 1130mandir='${datarootdir}/man' 1131 1132ac_prev= 1133ac_dashdash= 1134for ac_option 1135do 1136 # If the previous option needs an argument, assign it. 1137 if test -n "$ac_prev"; then 1138 eval $ac_prev=\$ac_option 1139 ac_prev= 1140 continue 1141 fi 1142 1143 case $ac_option in 1144 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1145 *=) ac_optarg= ;; 1146 *) ac_optarg=yes ;; 1147 esac 1148 1149 # Accept the important Cygnus configure options, so we can diagnose typos. 1150 1151 case $ac_dashdash$ac_option in 1152 --) 1153 ac_dashdash=yes ;; 1154 1155 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1156 ac_prev=bindir ;; 1157 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1158 bindir=$ac_optarg ;; 1159 1160 -build | --build | --buil | --bui | --bu) 1161 ac_prev=build_alias ;; 1162 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1163 build_alias=$ac_optarg ;; 1164 1165 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1166 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1167 ac_prev=cache_file ;; 1168 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1169 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1170 cache_file=$ac_optarg ;; 1171 1172 --config-cache | -C) 1173 cache_file=config.cache ;; 1174 1175 -datadir | --datadir | --datadi | --datad) 1176 ac_prev=datadir ;; 1177 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1178 datadir=$ac_optarg ;; 1179 1180 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1181 | --dataroo | --dataro | --datar) 1182 ac_prev=datarootdir ;; 1183 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1184 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1185 datarootdir=$ac_optarg ;; 1186 1187 -disable-* | --disable-*) 1188 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1189 # Reject names that are not valid shell variable names. 1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1191 as_fn_error $? "invalid feature name: $ac_useropt" 1192 ac_useropt_orig=$ac_useropt 1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1194 case $ac_user_opts in 1195 *" 1196"enable_$ac_useropt" 1197"*) ;; 1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1199 ac_unrecognized_sep=', ';; 1200 esac 1201 eval enable_$ac_useropt=no ;; 1202 1203 -docdir | --docdir | --docdi | --doc | --do) 1204 ac_prev=docdir ;; 1205 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1206 docdir=$ac_optarg ;; 1207 1208 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1209 ac_prev=dvidir ;; 1210 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1211 dvidir=$ac_optarg ;; 1212 1213 -enable-* | --enable-*) 1214 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1215 # Reject names that are not valid shell variable names. 1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1217 as_fn_error $? "invalid feature name: $ac_useropt" 1218 ac_useropt_orig=$ac_useropt 1219 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1220 case $ac_user_opts in 1221 *" 1222"enable_$ac_useropt" 1223"*) ;; 1224 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1225 ac_unrecognized_sep=', ';; 1226 esac 1227 eval enable_$ac_useropt=\$ac_optarg ;; 1228 1229 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1230 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1231 | --exec | --exe | --ex) 1232 ac_prev=exec_prefix ;; 1233 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1234 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1235 | --exec=* | --exe=* | --ex=*) 1236 exec_prefix=$ac_optarg ;; 1237 1238 -gas | --gas | --ga | --g) 1239 # Obsolete; use --with-gas. 1240 with_gas=yes ;; 1241 1242 -help | --help | --hel | --he | -h) 1243 ac_init_help=long ;; 1244 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1245 ac_init_help=recursive ;; 1246 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1247 ac_init_help=short ;; 1248 1249 -host | --host | --hos | --ho) 1250 ac_prev=host_alias ;; 1251 -host=* | --host=* | --hos=* | --ho=*) 1252 host_alias=$ac_optarg ;; 1253 1254 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1255 ac_prev=htmldir ;; 1256 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1257 | --ht=*) 1258 htmldir=$ac_optarg ;; 1259 1260 -includedir | --includedir | --includedi | --included | --include \ 1261 | --includ | --inclu | --incl | --inc) 1262 ac_prev=includedir ;; 1263 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1264 | --includ=* | --inclu=* | --incl=* | --inc=*) 1265 includedir=$ac_optarg ;; 1266 1267 -infodir | --infodir | --infodi | --infod | --info | --inf) 1268 ac_prev=infodir ;; 1269 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1270 infodir=$ac_optarg ;; 1271 1272 -libdir | --libdir | --libdi | --libd) 1273 ac_prev=libdir ;; 1274 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1275 libdir=$ac_optarg ;; 1276 1277 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1278 | --libexe | --libex | --libe) 1279 ac_prev=libexecdir ;; 1280 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1281 | --libexe=* | --libex=* | --libe=*) 1282 libexecdir=$ac_optarg ;; 1283 1284 -localedir | --localedir | --localedi | --localed | --locale) 1285 ac_prev=localedir ;; 1286 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1287 localedir=$ac_optarg ;; 1288 1289 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1290 | --localstate | --localstat | --localsta | --localst | --locals) 1291 ac_prev=localstatedir ;; 1292 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1293 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1294 localstatedir=$ac_optarg ;; 1295 1296 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1297 ac_prev=mandir ;; 1298 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1299 mandir=$ac_optarg ;; 1300 1301 -nfp | --nfp | --nf) 1302 # Obsolete; use --without-fp. 1303 with_fp=no ;; 1304 1305 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1306 | --no-cr | --no-c | -n) 1307 no_create=yes ;; 1308 1309 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1310 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1311 no_recursion=yes ;; 1312 1313 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1314 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1315 | --oldin | --oldi | --old | --ol | --o) 1316 ac_prev=oldincludedir ;; 1317 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1318 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1319 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1320 oldincludedir=$ac_optarg ;; 1321 1322 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1323 ac_prev=prefix ;; 1324 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1325 prefix=$ac_optarg ;; 1326 1327 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1328 | --program-pre | --program-pr | --program-p) 1329 ac_prev=program_prefix ;; 1330 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1331 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1332 program_prefix=$ac_optarg ;; 1333 1334 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1335 | --program-suf | --program-su | --program-s) 1336 ac_prev=program_suffix ;; 1337 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1338 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1339 program_suffix=$ac_optarg ;; 1340 1341 -program-transform-name | --program-transform-name \ 1342 | --program-transform-nam | --program-transform-na \ 1343 | --program-transform-n | --program-transform- \ 1344 | --program-transform | --program-transfor \ 1345 | --program-transfo | --program-transf \ 1346 | --program-trans | --program-tran \ 1347 | --progr-tra | --program-tr | --program-t) 1348 ac_prev=program_transform_name ;; 1349 -program-transform-name=* | --program-transform-name=* \ 1350 | --program-transform-nam=* | --program-transform-na=* \ 1351 | --program-transform-n=* | --program-transform-=* \ 1352 | --program-transform=* | --program-transfor=* \ 1353 | --program-transfo=* | --program-transf=* \ 1354 | --program-trans=* | --program-tran=* \ 1355 | --progr-tra=* | --program-tr=* | --program-t=*) 1356 program_transform_name=$ac_optarg ;; 1357 1358 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1359 ac_prev=pdfdir ;; 1360 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1361 pdfdir=$ac_optarg ;; 1362 1363 -psdir | --psdir | --psdi | --psd | --ps) 1364 ac_prev=psdir ;; 1365 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1366 psdir=$ac_optarg ;; 1367 1368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1369 | -silent | --silent | --silen | --sile | --sil) 1370 silent=yes ;; 1371 1372 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1373 ac_prev=sbindir ;; 1374 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1375 | --sbi=* | --sb=*) 1376 sbindir=$ac_optarg ;; 1377 1378 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1379 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1380 | --sharedst | --shareds | --shared | --share | --shar \ 1381 | --sha | --sh) 1382 ac_prev=sharedstatedir ;; 1383 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1384 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1385 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1386 | --sha=* | --sh=*) 1387 sharedstatedir=$ac_optarg ;; 1388 1389 -site | --site | --sit) 1390 ac_prev=site ;; 1391 -site=* | --site=* | --sit=*) 1392 site=$ac_optarg ;; 1393 1394 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1395 ac_prev=srcdir ;; 1396 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1397 srcdir=$ac_optarg ;; 1398 1399 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1400 | --syscon | --sysco | --sysc | --sys | --sy) 1401 ac_prev=sysconfdir ;; 1402 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1403 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1404 sysconfdir=$ac_optarg ;; 1405 1406 -target | --target | --targe | --targ | --tar | --ta | --t) 1407 ac_prev=target_alias ;; 1408 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1409 target_alias=$ac_optarg ;; 1410 1411 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1412 verbose=yes ;; 1413 1414 -version | --version | --versio | --versi | --vers | -V) 1415 ac_init_version=: ;; 1416 1417 -with-* | --with-*) 1418 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1419 # Reject names that are not valid shell variable names. 1420 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1421 as_fn_error $? "invalid package name: $ac_useropt" 1422 ac_useropt_orig=$ac_useropt 1423 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1424 case $ac_user_opts in 1425 *" 1426"with_$ac_useropt" 1427"*) ;; 1428 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1429 ac_unrecognized_sep=', ';; 1430 esac 1431 eval with_$ac_useropt=\$ac_optarg ;; 1432 1433 -without-* | --without-*) 1434 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1435 # Reject names that are not valid shell variable names. 1436 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1437 as_fn_error $? "invalid package name: $ac_useropt" 1438 ac_useropt_orig=$ac_useropt 1439 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1440 case $ac_user_opts in 1441 *" 1442"with_$ac_useropt" 1443"*) ;; 1444 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1445 ac_unrecognized_sep=', ';; 1446 esac 1447 eval with_$ac_useropt=no ;; 1448 1449 --x) 1450 # Obsolete; use --with-x. 1451 with_x=yes ;; 1452 1453 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1454 | --x-incl | --x-inc | --x-in | --x-i) 1455 ac_prev=x_includes ;; 1456 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1457 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1458 x_includes=$ac_optarg ;; 1459 1460 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1461 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1462 ac_prev=x_libraries ;; 1463 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1464 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1465 x_libraries=$ac_optarg ;; 1466 1467 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1468Try \`$0 --help' for more information" 1469 ;; 1470 1471 *=*) 1472 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1473 # Reject names that are not valid shell variable names. 1474 case $ac_envvar in #( 1475 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1476 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1477 esac 1478 eval $ac_envvar=\$ac_optarg 1479 export $ac_envvar ;; 1480 1481 *) 1482 # FIXME: should be removed in autoconf 3.0. 1483 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1484 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1485 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1486 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1487 ;; 1488 1489 esac 1490done 1491 1492if test -n "$ac_prev"; then 1493 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1494 as_fn_error $? "missing argument to $ac_option" 1495fi 1496 1497if test -n "$ac_unrecognized_opts"; then 1498 case $enable_option_checking in 1499 no) ;; 1500 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1501 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1502 esac 1503fi 1504 1505# Check all directory arguments for consistency. 1506for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1507 datadir sysconfdir sharedstatedir localstatedir includedir \ 1508 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1509 libdir localedir mandir 1510do 1511 eval ac_val=\$$ac_var 1512 # Remove trailing slashes. 1513 case $ac_val in 1514 */ ) 1515 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1516 eval $ac_var=\$ac_val;; 1517 esac 1518 # Be sure to have absolute directory names. 1519 case $ac_val in 1520 [\\/$]* | ?:[\\/]* ) continue;; 1521 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1522 esac 1523 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1524done 1525 1526# There might be people who depend on the old broken behavior: `$host' 1527# used to hold the argument of --host etc. 1528# FIXME: To remove some day. 1529build=$build_alias 1530host=$host_alias 1531target=$target_alias 1532 1533# FIXME: To remove some day. 1534if test "x$host_alias" != x; then 1535 if test "x$build_alias" = x; then 1536 cross_compiling=maybe 1537 elif test "x$build_alias" != "x$host_alias"; then 1538 cross_compiling=yes 1539 fi 1540fi 1541 1542ac_tool_prefix= 1543test -n "$host_alias" && ac_tool_prefix=$host_alias- 1544 1545test "$silent" = yes && exec 6>/dev/null 1546 1547 1548ac_pwd=`pwd` && test -n "$ac_pwd" && 1549ac_ls_di=`ls -di .` && 1550ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1551 as_fn_error $? "working directory cannot be determined" 1552test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1553 as_fn_error $? "pwd does not report name of working directory" 1554 1555 1556# Find the source files, if location was not specified. 1557if test -z "$srcdir"; then 1558 ac_srcdir_defaulted=yes 1559 # Try the directory containing this script, then the parent directory. 1560 ac_confdir=`$as_dirname -- "$as_myself" || 1561$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1562 X"$as_myself" : 'X\(//\)[^/]' \| \ 1563 X"$as_myself" : 'X\(//\)$' \| \ 1564 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1565$as_echo X"$as_myself" | 1566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1567 s//\1/ 1568 q 1569 } 1570 /^X\(\/\/\)[^/].*/{ 1571 s//\1/ 1572 q 1573 } 1574 /^X\(\/\/\)$/{ 1575 s//\1/ 1576 q 1577 } 1578 /^X\(\/\).*/{ 1579 s//\1/ 1580 q 1581 } 1582 s/.*/./; q'` 1583 srcdir=$ac_confdir 1584 if test ! -r "$srcdir/$ac_unique_file"; then 1585 srcdir=.. 1586 fi 1587else 1588 ac_srcdir_defaulted=no 1589fi 1590if test ! -r "$srcdir/$ac_unique_file"; then 1591 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1592 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1593fi 1594ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1595ac_abs_confdir=`( 1596 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1597 pwd)` 1598# When building in place, set srcdir=. 1599if test "$ac_abs_confdir" = "$ac_pwd"; then 1600 srcdir=. 1601fi 1602# Remove unnecessary trailing slashes from srcdir. 1603# Double slashes in file names in object file debugging info 1604# mess up M-x gdb in Emacs. 1605case $srcdir in 1606*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1607esac 1608for ac_var in $ac_precious_vars; do 1609 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1610 eval ac_env_${ac_var}_value=\$${ac_var} 1611 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1612 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1613done 1614 1615# 1616# Report the --help message. 1617# 1618if test "$ac_init_help" = "long"; then 1619 # Omit some internal or obsolete options to make the list less imposing. 1620 # This message is too long to be a string in the A/UX 3.1 sh. 1621 cat <<_ACEOF 1622\`configure' configures libvshadow 20210425 to adapt to many kinds of systems. 1623 1624Usage: $0 [OPTION]... [VAR=VALUE]... 1625 1626To assign environment variables (e.g., CC, CFLAGS...), specify them as 1627VAR=VALUE. See below for descriptions of some of the useful variables. 1628 1629Defaults for the options are specified in brackets. 1630 1631Configuration: 1632 -h, --help display this help and exit 1633 --help=short display options specific to this package 1634 --help=recursive display the short help of all the included packages 1635 -V, --version display version information and exit 1636 -q, --quiet, --silent do not print \`checking ...' messages 1637 --cache-file=FILE cache test results in FILE [disabled] 1638 -C, --config-cache alias for \`--cache-file=config.cache' 1639 -n, --no-create do not create output files 1640 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1641 1642Installation directories: 1643 --prefix=PREFIX install architecture-independent files in PREFIX 1644 [$ac_default_prefix] 1645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1646 [PREFIX] 1647 1648By default, \`make install' will install all the files in 1649\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1650an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1651for instance \`--prefix=\$HOME'. 1652 1653For better control, use the options below. 1654 1655Fine tuning of the installation directories: 1656 --bindir=DIR user executables [EPREFIX/bin] 1657 --sbindir=DIR system admin executables [EPREFIX/sbin] 1658 --libexecdir=DIR program executables [EPREFIX/libexec] 1659 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1660 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1661 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1662 --libdir=DIR object code libraries [EPREFIX/lib] 1663 --includedir=DIR C header files [PREFIX/include] 1664 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1665 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1666 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1667 --infodir=DIR info documentation [DATAROOTDIR/info] 1668 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1669 --mandir=DIR man documentation [DATAROOTDIR/man] 1670 --docdir=DIR documentation root [DATAROOTDIR/doc/libvshadow] 1671 --htmldir=DIR html documentation [DOCDIR] 1672 --dvidir=DIR dvi documentation [DOCDIR] 1673 --pdfdir=DIR pdf documentation [DOCDIR] 1674 --psdir=DIR ps documentation [DOCDIR] 1675_ACEOF 1676 1677 cat <<\_ACEOF 1678 1679Program names: 1680 --program-prefix=PREFIX prepend PREFIX to installed program names 1681 --program-suffix=SUFFIX append SUFFIX to installed program names 1682 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1683 1684System types: 1685 --build=BUILD configure for building on BUILD [guessed] 1686 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1687_ACEOF 1688fi 1689 1690if test -n "$ac_init_help"; then 1691 case $ac_init_help in 1692 short | recursive ) echo "Configuration of libvshadow 20210425:";; 1693 esac 1694 cat <<\_ACEOF 1695 1696Optional Features: 1697 --disable-option-checking ignore unrecognized --enable/--with options 1698 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1699 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1700 --enable-silent-rules less verbose build output (undo: "make V=1") 1701 --disable-silent-rules verbose build output (undo: "make V=0") 1702 --enable-dependency-tracking 1703 do not reject slow dependency extractors 1704 --disable-dependency-tracking 1705 speeds up one-time build 1706 --enable-shared[=PKGS] build shared libraries [default=yes] 1707 --enable-static[=PKGS] build static libraries [default=yes] 1708 --enable-fast-install[=PKGS] 1709 optimize for fast installation [default=yes] 1710 --disable-libtool-lock avoid locking (might break parallel builds) 1711 --disable-nls do not use Native Language Support 1712 --disable-rpath do not hardcode runtime library paths 1713 --disable-largefile omit support for large files 1714 --disable-shared-libs disable shared library support 1715 --enable-static-executables 1716 build static executables (binaries) [default=no] 1717 --enable-winapi enable WINAPI support for cross-compilation 1718 [default=auto-detect] 1719 --enable-wide-character-type 1720 enable wide character type support [default=no] 1721 --enable-verbose-output enable verbose output [default=no] 1722 --enable-debug-output enable debug output [default=no] 1723 --enable-multi-threading-support 1724 enable multi-threading support [default=yes] 1725 --enable-python build Python bindings [default=no] 1726 --enable-python2 build Python 2 bindings [default=no] 1727 --enable-python3 build Python 3 bindings [default=no] 1728 1729Optional Packages: 1730 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1731 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1732 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1733 both] 1734 --with-aix-soname=aix|svr4|both 1735 shared library versioning (aka "SONAME") variant to 1736 provide on AIX, [default=aix]. 1737 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1738 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1739 compiler's sysroot if not specified). 1740 --with-gnu-ld assume the C compiler uses GNU ld default=no 1741 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1742 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1743 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1744 --without-libintl-prefix don't search for libintl in includedir and libdir 1745 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1746 the specified DIR, or no if to use local version 1747 [default=auto-detect] 1748 --with-libcthreads[=DIR] 1749 search for libcthreads in includedir and libdir or 1750 in the specified DIR, or no if to use local version 1751 [default=auto-detect] 1752 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1753 the specified DIR, or no if not to use pthread 1754 [default=auto-detect] 1755 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1756 the specified DIR, or no if to use local version 1757 [default=auto-detect] 1758 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1759 the specified DIR, or no if to use local version 1760 [default=auto-detect] 1761 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1762 the specified DIR, or no if to use local version 1763 [default=auto-detect] 1764 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1765 the specified DIR, or no if to use local version 1766 [default=auto-detect] 1767 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1768 specified DIR, or no if to use local version 1769 [default=auto-detect] 1770 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1771 the specified DIR, or no if to use local version 1772 [default=auto-detect] 1773 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1774 the specified DIR, or no if to use local version 1775 [default=auto-detect] 1776 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1777 the specified DIR, or no if to use local version 1778 [default=auto-detect] 1779 --with-libfdatetime[=DIR] 1780 search for libfdatetime in includedir and libdir or 1781 in the specified DIR, or no if to use local version 1782 [default=auto-detect] 1783 --with-libfguid[=DIR] search for libfguid in includedir and libdir or in 1784 the specified DIR, or no if to use local version 1785 [default=auto-detect] 1786 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1787 of pythondir instead of --prefix [default=no] 1788 --with-pythondir[=no] use to specify the Python directory (pythondir) 1789 [default=no] 1790 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1791 [default=no] 1792 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1793 [default=no] 1794 --with-libfuse[=DIR] search for libfuse in includedir and libdir or in 1795 the specified DIR, or no if not to use libfuse 1796 [default=auto-detect] 1797 1798Some influential environment variables: 1799 CC C compiler command 1800 CFLAGS C compiler flags 1801 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1802 nonstandard directory <lib dir> 1803 LIBS libraries to pass to the linker, e.g. -l<library> 1804 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1805 you have headers in a nonstandard directory <include dir> 1806 CPP C preprocessor 1807 CXX C++ compiler command 1808 CXXFLAGS C++ compiler flags 1809 LT_SYS_LIBRARY_PATH 1810 User-defined run-time library search path. 1811 CXXCPP C++ preprocessor 1812 PKG_CONFIG path to pkg-config utility 1813 PKG_CONFIG_PATH 1814 directories to add to pkg-config's search path 1815 PKG_CONFIG_LIBDIR 1816 path overriding pkg-config's built-in search path 1817 libcerror_CFLAGS 1818 C compiler flags for libcerror, overriding pkg-config 1819 libcerror_LIBS 1820 linker flags for libcerror, overriding pkg-config 1821 libcthreads_CFLAGS 1822 C compiler flags for libcthreads, overriding pkg-config 1823 libcthreads_LIBS 1824 linker flags for libcthreads, overriding pkg-config 1825 libcdata_CFLAGS 1826 C compiler flags for libcdata, overriding pkg-config 1827 libcdata_LIBS 1828 linker flags for libcdata, overriding pkg-config 1829 libclocale_CFLAGS 1830 C compiler flags for libclocale, overriding pkg-config 1831 libclocale_LIBS 1832 linker flags for libclocale, overriding pkg-config 1833 libcnotify_CFLAGS 1834 C compiler flags for libcnotify, overriding pkg-config 1835 libcnotify_LIBS 1836 linker flags for libcnotify, overriding pkg-config 1837 libcsplit_CFLAGS 1838 C compiler flags for libcsplit, overriding pkg-config 1839 libcsplit_LIBS 1840 linker flags for libcsplit, overriding pkg-config 1841 libuna_CFLAGS 1842 C compiler flags for libuna, overriding pkg-config 1843 libuna_LIBS linker flags for libuna, overriding pkg-config 1844 libcfile_CFLAGS 1845 C compiler flags for libcfile, overriding pkg-config 1846 libcfile_LIBS 1847 linker flags for libcfile, overriding pkg-config 1848 libcpath_CFLAGS 1849 C compiler flags for libcpath, overriding pkg-config 1850 libcpath_LIBS 1851 linker flags for libcpath, overriding pkg-config 1852 libbfio_CFLAGS 1853 C compiler flags for libbfio, overriding pkg-config 1854 libbfio_LIBS 1855 linker flags for libbfio, overriding pkg-config 1856 libfdatetime_CFLAGS 1857 C compiler flags for libfdatetime, overriding pkg-config 1858 libfdatetime_LIBS 1859 linker flags for libfdatetime, overriding pkg-config 1860 libfguid_CFLAGS 1861 C compiler flags for libfguid, overriding pkg-config 1862 libfguid_LIBS 1863 linker flags for libfguid, overriding pkg-config 1864 fuse_CFLAGS C compiler flags for fuse, overriding pkg-config 1865 fuse_LIBS linker flags for fuse, overriding pkg-config 1866 1867Use these variables to override the choices made by `configure' or to help 1868it to find libraries and programs with nonstandard names/locations. 1869 1870Report bugs to <joachim.metz@gmail.com>. 1871_ACEOF 1872ac_status=$? 1873fi 1874 1875if test "$ac_init_help" = "recursive"; then 1876 # If there are subdirs, report their specific --help. 1877 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1878 test -d "$ac_dir" || 1879 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1880 continue 1881 ac_builddir=. 1882 1883case "$ac_dir" in 1884.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1885*) 1886 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1887 # A ".." for each directory in $ac_dir_suffix. 1888 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1889 case $ac_top_builddir_sub in 1890 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1891 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1892 esac ;; 1893esac 1894ac_abs_top_builddir=$ac_pwd 1895ac_abs_builddir=$ac_pwd$ac_dir_suffix 1896# for backward compatibility: 1897ac_top_builddir=$ac_top_build_prefix 1898 1899case $srcdir in 1900 .) # We are building in place. 1901 ac_srcdir=. 1902 ac_top_srcdir=$ac_top_builddir_sub 1903 ac_abs_top_srcdir=$ac_pwd ;; 1904 [\\/]* | ?:[\\/]* ) # Absolute name. 1905 ac_srcdir=$srcdir$ac_dir_suffix; 1906 ac_top_srcdir=$srcdir 1907 ac_abs_top_srcdir=$srcdir ;; 1908 *) # Relative name. 1909 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1910 ac_top_srcdir=$ac_top_build_prefix$srcdir 1911 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1912esac 1913ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1914 1915 cd "$ac_dir" || { ac_status=$?; continue; } 1916 # Check for guested configure. 1917 if test -f "$ac_srcdir/configure.gnu"; then 1918 echo && 1919 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1920 elif test -f "$ac_srcdir/configure"; then 1921 echo && 1922 $SHELL "$ac_srcdir/configure" --help=recursive 1923 else 1924 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1925 fi || ac_status=$? 1926 cd "$ac_pwd" || { ac_status=$?; break; } 1927 done 1928fi 1929 1930test -n "$ac_init_help" && exit $ac_status 1931if $ac_init_version; then 1932 cat <<\_ACEOF 1933libvshadow configure 20210425 1934generated by GNU Autoconf 2.69 1935 1936Copyright (C) 2012 Free Software Foundation, Inc. 1937This configure script is free software; the Free Software Foundation 1938gives unlimited permission to copy, distribute and modify it. 1939_ACEOF 1940 exit 1941fi 1942 1943## ------------------------ ## 1944## Autoconf initialization. ## 1945## ------------------------ ## 1946 1947# ac_fn_c_try_compile LINENO 1948# -------------------------- 1949# Try to compile conftest.$ac_ext, and return whether this succeeded. 1950ac_fn_c_try_compile () 1951{ 1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1953 rm -f conftest.$ac_objext 1954 if { { ac_try="$ac_compile" 1955case "(($ac_try" in 1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1957 *) ac_try_echo=$ac_try;; 1958esac 1959eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1960$as_echo "$ac_try_echo"; } >&5 1961 (eval "$ac_compile") 2>conftest.err 1962 ac_status=$? 1963 if test -s conftest.err; then 1964 grep -v '^ *+' conftest.err >conftest.er1 1965 cat conftest.er1 >&5 1966 mv -f conftest.er1 conftest.err 1967 fi 1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1969 test $ac_status = 0; } && { 1970 test -z "$ac_c_werror_flag" || 1971 test ! -s conftest.err 1972 } && test -s conftest.$ac_objext; then : 1973 ac_retval=0 1974else 1975 $as_echo "$as_me: failed program was:" >&5 1976sed 's/^/| /' conftest.$ac_ext >&5 1977 1978 ac_retval=1 1979fi 1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1981 as_fn_set_status $ac_retval 1982 1983} # ac_fn_c_try_compile 1984 1985# ac_fn_c_try_cpp LINENO 1986# ---------------------- 1987# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1988ac_fn_c_try_cpp () 1989{ 1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1991 if { { ac_try="$ac_cpp conftest.$ac_ext" 1992case "(($ac_try" in 1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1994 *) ac_try_echo=$ac_try;; 1995esac 1996eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1997$as_echo "$ac_try_echo"; } >&5 1998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1999 ac_status=$? 2000 if test -s conftest.err; then 2001 grep -v '^ *+' conftest.err >conftest.er1 2002 cat conftest.er1 >&5 2003 mv -f conftest.er1 conftest.err 2004 fi 2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2006 test $ac_status = 0; } > conftest.i && { 2007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2008 test ! -s conftest.err 2009 }; then : 2010 ac_retval=0 2011else 2012 $as_echo "$as_me: failed program was:" >&5 2013sed 's/^/| /' conftest.$ac_ext >&5 2014 2015 ac_retval=1 2016fi 2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2018 as_fn_set_status $ac_retval 2019 2020} # ac_fn_c_try_cpp 2021 2022# ac_fn_cxx_try_compile LINENO 2023# ---------------------------- 2024# Try to compile conftest.$ac_ext, and return whether this succeeded. 2025ac_fn_cxx_try_compile () 2026{ 2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2028 rm -f conftest.$ac_objext 2029 if { { ac_try="$ac_compile" 2030case "(($ac_try" in 2031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2032 *) ac_try_echo=$ac_try;; 2033esac 2034eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2035$as_echo "$ac_try_echo"; } >&5 2036 (eval "$ac_compile") 2>conftest.err 2037 ac_status=$? 2038 if test -s conftest.err; then 2039 grep -v '^ *+' conftest.err >conftest.er1 2040 cat conftest.er1 >&5 2041 mv -f conftest.er1 conftest.err 2042 fi 2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2044 test $ac_status = 0; } && { 2045 test -z "$ac_cxx_werror_flag" || 2046 test ! -s conftest.err 2047 } && test -s conftest.$ac_objext; then : 2048 ac_retval=0 2049else 2050 $as_echo "$as_me: failed program was:" >&5 2051sed 's/^/| /' conftest.$ac_ext >&5 2052 2053 ac_retval=1 2054fi 2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2056 as_fn_set_status $ac_retval 2057 2058} # ac_fn_cxx_try_compile 2059 2060# ac_fn_c_try_link LINENO 2061# ----------------------- 2062# Try to link conftest.$ac_ext, and return whether this succeeded. 2063ac_fn_c_try_link () 2064{ 2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2066 rm -f conftest.$ac_objext conftest$ac_exeext 2067 if { { ac_try="$ac_link" 2068case "(($ac_try" in 2069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2070 *) ac_try_echo=$ac_try;; 2071esac 2072eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2073$as_echo "$ac_try_echo"; } >&5 2074 (eval "$ac_link") 2>conftest.err 2075 ac_status=$? 2076 if test -s conftest.err; then 2077 grep -v '^ *+' conftest.err >conftest.er1 2078 cat conftest.er1 >&5 2079 mv -f conftest.er1 conftest.err 2080 fi 2081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2082 test $ac_status = 0; } && { 2083 test -z "$ac_c_werror_flag" || 2084 test ! -s conftest.err 2085 } && test -s conftest$ac_exeext && { 2086 test "$cross_compiling" = yes || 2087 test -x conftest$ac_exeext 2088 }; then : 2089 ac_retval=0 2090else 2091 $as_echo "$as_me: failed program was:" >&5 2092sed 's/^/| /' conftest.$ac_ext >&5 2093 2094 ac_retval=1 2095fi 2096 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2097 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2098 # interfere with the next link command; also delete a directory that is 2099 # left behind by Apple's compiler. We do this before executing the actions. 2100 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2102 as_fn_set_status $ac_retval 2103 2104} # ac_fn_c_try_link 2105 2106# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2107# ------------------------------------------------------- 2108# Tests whether HEADER exists and can be compiled using the include files in 2109# INCLUDES, setting the cache variable VAR accordingly. 2110ac_fn_c_check_header_compile () 2111{ 2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2114$as_echo_n "checking for $2... " >&6; } 2115if eval \${$3+:} false; then : 2116 $as_echo_n "(cached) " >&6 2117else 2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2119/* end confdefs.h. */ 2120$4 2121#include <$2> 2122_ACEOF 2123if ac_fn_c_try_compile "$LINENO"; then : 2124 eval "$3=yes" 2125else 2126 eval "$3=no" 2127fi 2128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2129fi 2130eval ac_res=\$$3 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2132$as_echo "$ac_res" >&6; } 2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2134 2135} # ac_fn_c_check_header_compile 2136 2137# ac_fn_c_try_run LINENO 2138# ---------------------- 2139# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2140# that executables *can* be run. 2141ac_fn_c_try_run () 2142{ 2143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2144 if { { ac_try="$ac_link" 2145case "(($ac_try" in 2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2147 *) ac_try_echo=$ac_try;; 2148esac 2149eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2150$as_echo "$ac_try_echo"; } >&5 2151 (eval "$ac_link") 2>&5 2152 ac_status=$? 2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2154 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2155 { { case "(($ac_try" in 2156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2157 *) ac_try_echo=$ac_try;; 2158esac 2159eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2160$as_echo "$ac_try_echo"; } >&5 2161 (eval "$ac_try") 2>&5 2162 ac_status=$? 2163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2164 test $ac_status = 0; }; }; then : 2165 ac_retval=0 2166else 2167 $as_echo "$as_me: program exited with status $ac_status" >&5 2168 $as_echo "$as_me: failed program was:" >&5 2169sed 's/^/| /' conftest.$ac_ext >&5 2170 2171 ac_retval=$ac_status 2172fi 2173 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2175 as_fn_set_status $ac_retval 2176 2177} # ac_fn_c_try_run 2178 2179# ac_fn_c_check_func LINENO FUNC VAR 2180# ---------------------------------- 2181# Tests whether FUNC exists, setting the cache variable VAR accordingly 2182ac_fn_c_check_func () 2183{ 2184 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2186$as_echo_n "checking for $2... " >&6; } 2187if eval \${$3+:} false; then : 2188 $as_echo_n "(cached) " >&6 2189else 2190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2191/* end confdefs.h. */ 2192/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2193 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2194#define $2 innocuous_$2 2195 2196/* System header to define __stub macros and hopefully few prototypes, 2197 which can conflict with char $2 (); below. 2198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2199 <limits.h> exists even on freestanding compilers. */ 2200 2201#ifdef __STDC__ 2202# include <limits.h> 2203#else 2204# include <assert.h> 2205#endif 2206 2207#undef $2 2208 2209/* Override any GCC internal prototype to avoid an error. 2210 Use char because int might match the return type of a GCC 2211 builtin and then its argument prototype would still apply. */ 2212#ifdef __cplusplus 2213extern "C" 2214#endif 2215char $2 (); 2216/* The GNU C library defines this for functions which it implements 2217 to always fail with ENOSYS. Some functions are actually named 2218 something starting with __ and the normal name is an alias. */ 2219#if defined __stub_$2 || defined __stub___$2 2220choke me 2221#endif 2222 2223int 2224main () 2225{ 2226return $2 (); 2227 ; 2228 return 0; 2229} 2230_ACEOF 2231if ac_fn_c_try_link "$LINENO"; then : 2232 eval "$3=yes" 2233else 2234 eval "$3=no" 2235fi 2236rm -f core conftest.err conftest.$ac_objext \ 2237 conftest$ac_exeext conftest.$ac_ext 2238fi 2239eval ac_res=\$$3 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2241$as_echo "$ac_res" >&6; } 2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2243 2244} # ac_fn_c_check_func 2245 2246# ac_fn_cxx_try_cpp LINENO 2247# ------------------------ 2248# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2249ac_fn_cxx_try_cpp () 2250{ 2251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2252 if { { ac_try="$ac_cpp conftest.$ac_ext" 2253case "(($ac_try" in 2254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2255 *) ac_try_echo=$ac_try;; 2256esac 2257eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2258$as_echo "$ac_try_echo"; } >&5 2259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2260 ac_status=$? 2261 if test -s conftest.err; then 2262 grep -v '^ *+' conftest.err >conftest.er1 2263 cat conftest.er1 >&5 2264 mv -f conftest.er1 conftest.err 2265 fi 2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2267 test $ac_status = 0; } > conftest.i && { 2268 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2269 test ! -s conftest.err 2270 }; then : 2271 ac_retval=0 2272else 2273 $as_echo "$as_me: failed program was:" >&5 2274sed 's/^/| /' conftest.$ac_ext >&5 2275 2276 ac_retval=1 2277fi 2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2279 as_fn_set_status $ac_retval 2280 2281} # ac_fn_cxx_try_cpp 2282 2283# ac_fn_cxx_try_link LINENO 2284# ------------------------- 2285# Try to link conftest.$ac_ext, and return whether this succeeded. 2286ac_fn_cxx_try_link () 2287{ 2288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2289 rm -f conftest.$ac_objext conftest$ac_exeext 2290 if { { ac_try="$ac_link" 2291case "(($ac_try" in 2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2293 *) ac_try_echo=$ac_try;; 2294esac 2295eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2296$as_echo "$ac_try_echo"; } >&5 2297 (eval "$ac_link") 2>conftest.err 2298 ac_status=$? 2299 if test -s conftest.err; then 2300 grep -v '^ *+' conftest.err >conftest.er1 2301 cat conftest.er1 >&5 2302 mv -f conftest.er1 conftest.err 2303 fi 2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2305 test $ac_status = 0; } && { 2306 test -z "$ac_cxx_werror_flag" || 2307 test ! -s conftest.err 2308 } && test -s conftest$ac_exeext && { 2309 test "$cross_compiling" = yes || 2310 test -x conftest$ac_exeext 2311 }; then : 2312 ac_retval=0 2313else 2314 $as_echo "$as_me: failed program was:" >&5 2315sed 's/^/| /' conftest.$ac_ext >&5 2316 2317 ac_retval=1 2318fi 2319 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2320 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2321 # interfere with the next link command; also delete a directory that is 2322 # left behind by Apple's compiler. We do this before executing the actions. 2323 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2325 as_fn_set_status $ac_retval 2326 2327} # ac_fn_cxx_try_link 2328 2329# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2330# ------------------------------------------------------- 2331# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2332# the include files in INCLUDES and setting the cache variable VAR 2333# accordingly. 2334ac_fn_c_check_header_mongrel () 2335{ 2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2337 if eval \${$3+:} false; then : 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2339$as_echo_n "checking for $2... " >&6; } 2340if eval \${$3+:} false; then : 2341 $as_echo_n "(cached) " >&6 2342fi 2343eval ac_res=\$$3 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2345$as_echo "$ac_res" >&6; } 2346else 2347 # Is the header compilable? 2348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2349$as_echo_n "checking $2 usability... " >&6; } 2350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2351/* end confdefs.h. */ 2352$4 2353#include <$2> 2354_ACEOF 2355if ac_fn_c_try_compile "$LINENO"; then : 2356 ac_header_compiler=yes 2357else 2358 ac_header_compiler=no 2359fi 2360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2362$as_echo "$ac_header_compiler" >&6; } 2363 2364# Is the header present? 2365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2366$as_echo_n "checking $2 presence... " >&6; } 2367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2368/* end confdefs.h. */ 2369#include <$2> 2370_ACEOF 2371if ac_fn_c_try_cpp "$LINENO"; then : 2372 ac_header_preproc=yes 2373else 2374 ac_header_preproc=no 2375fi 2376rm -f conftest.err conftest.i conftest.$ac_ext 2377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2378$as_echo "$ac_header_preproc" >&6; } 2379 2380# So? What about this header? 2381case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2382 yes:no: ) 2383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2384$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2386$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2387 ;; 2388 no:yes:* ) 2389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2390$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2392$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2394$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2396$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2398$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2399( $as_echo "## ------------------------------------- ## 2400## Report this to joachim.metz@gmail.com ## 2401## ------------------------------------- ##" 2402 ) | sed "s/^/$as_me: WARNING: /" >&2 2403 ;; 2404esac 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2406$as_echo_n "checking for $2... " >&6; } 2407if eval \${$3+:} false; then : 2408 $as_echo_n "(cached) " >&6 2409else 2410 eval "$3=\$ac_header_compiler" 2411fi 2412eval ac_res=\$$3 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2414$as_echo "$ac_res" >&6; } 2415fi 2416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2417 2418} # ac_fn_c_check_header_mongrel 2419 2420# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2421# ------------------------------------------- 2422# Tests whether TYPE exists after having included INCLUDES, setting cache 2423# variable VAR accordingly. 2424ac_fn_c_check_type () 2425{ 2426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2428$as_echo_n "checking for $2... " >&6; } 2429if eval \${$3+:} false; then : 2430 $as_echo_n "(cached) " >&6 2431else 2432 eval "$3=no" 2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2434/* end confdefs.h. */ 2435$4 2436int 2437main () 2438{ 2439if (sizeof ($2)) 2440 return 0; 2441 ; 2442 return 0; 2443} 2444_ACEOF 2445if ac_fn_c_try_compile "$LINENO"; then : 2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2447/* end confdefs.h. */ 2448$4 2449int 2450main () 2451{ 2452if (sizeof (($2))) 2453 return 0; 2454 ; 2455 return 0; 2456} 2457_ACEOF 2458if ac_fn_c_try_compile "$LINENO"; then : 2459 2460else 2461 eval "$3=yes" 2462fi 2463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2464fi 2465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2466fi 2467eval ac_res=\$$3 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2469$as_echo "$ac_res" >&6; } 2470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2471 2472} # ac_fn_c_check_type 2473 2474# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2475# -------------------------------------------- 2476# Tries to find the compile-time value of EXPR in a program that includes 2477# INCLUDES, setting VAR accordingly. Returns whether the value could be 2478# computed 2479ac_fn_c_compute_int () 2480{ 2481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2482 if test "$cross_compiling" = yes; then 2483 # Depending upon the size, compute the lo and hi bounds. 2484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2485/* end confdefs.h. */ 2486$4 2487int 2488main () 2489{ 2490static int test_array [1 - 2 * !(($2) >= 0)]; 2491test_array [0] = 0; 2492return test_array [0]; 2493 2494 ; 2495 return 0; 2496} 2497_ACEOF 2498if ac_fn_c_try_compile "$LINENO"; then : 2499 ac_lo=0 ac_mid=0 2500 while :; do 2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2502/* end confdefs.h. */ 2503$4 2504int 2505main () 2506{ 2507static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2508test_array [0] = 0; 2509return test_array [0]; 2510 2511 ; 2512 return 0; 2513} 2514_ACEOF 2515if ac_fn_c_try_compile "$LINENO"; then : 2516 ac_hi=$ac_mid; break 2517else 2518 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2519 if test $ac_lo -le $ac_mid; then 2520 ac_lo= ac_hi= 2521 break 2522 fi 2523 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2524fi 2525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2526 done 2527else 2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2529/* end confdefs.h. */ 2530$4 2531int 2532main () 2533{ 2534static int test_array [1 - 2 * !(($2) < 0)]; 2535test_array [0] = 0; 2536return test_array [0]; 2537 2538 ; 2539 return 0; 2540} 2541_ACEOF 2542if ac_fn_c_try_compile "$LINENO"; then : 2543 ac_hi=-1 ac_mid=-1 2544 while :; do 2545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2546/* end confdefs.h. */ 2547$4 2548int 2549main () 2550{ 2551static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2552test_array [0] = 0; 2553return test_array [0]; 2554 2555 ; 2556 return 0; 2557} 2558_ACEOF 2559if ac_fn_c_try_compile "$LINENO"; then : 2560 ac_lo=$ac_mid; break 2561else 2562 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2563 if test $ac_mid -le $ac_hi; then 2564 ac_lo= ac_hi= 2565 break 2566 fi 2567 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2568fi 2569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2570 done 2571else 2572 ac_lo= ac_hi= 2573fi 2574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2575fi 2576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2577# Binary search between lo and hi bounds. 2578while test "x$ac_lo" != "x$ac_hi"; do 2579 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2581/* end confdefs.h. */ 2582$4 2583int 2584main () 2585{ 2586static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2587test_array [0] = 0; 2588return test_array [0]; 2589 2590 ; 2591 return 0; 2592} 2593_ACEOF 2594if ac_fn_c_try_compile "$LINENO"; then : 2595 ac_hi=$ac_mid 2596else 2597 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2598fi 2599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2600done 2601case $ac_lo in #(( 2602?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2603'') ac_retval=1 ;; 2604esac 2605 else 2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2607/* end confdefs.h. */ 2608$4 2609static long int longval () { return $2; } 2610static unsigned long int ulongval () { return $2; } 2611#include <stdio.h> 2612#include <stdlib.h> 2613int 2614main () 2615{ 2616 2617 FILE *f = fopen ("conftest.val", "w"); 2618 if (! f) 2619 return 1; 2620 if (($2) < 0) 2621 { 2622 long int i = longval (); 2623 if (i != ($2)) 2624 return 1; 2625 fprintf (f, "%ld", i); 2626 } 2627 else 2628 { 2629 unsigned long int i = ulongval (); 2630 if (i != ($2)) 2631 return 1; 2632 fprintf (f, "%lu", i); 2633 } 2634 /* Do not output a trailing newline, as this causes \r\n confusion 2635 on some platforms. */ 2636 return ferror (f) || fclose (f) != 0; 2637 2638 ; 2639 return 0; 2640} 2641_ACEOF 2642if ac_fn_c_try_run "$LINENO"; then : 2643 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2644else 2645 ac_retval=1 2646fi 2647rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2648 conftest.$ac_objext conftest.beam conftest.$ac_ext 2649rm -f conftest.val 2650 2651 fi 2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2653 as_fn_set_status $ac_retval 2654 2655} # ac_fn_c_compute_int 2656 2657# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2658# --------------------------------------------- 2659# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2660# accordingly. 2661ac_fn_c_check_decl () 2662{ 2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2664 as_decl_name=`echo $2|sed 's/ *(.*//'` 2665 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2667$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2668if eval \${$3+:} false; then : 2669 $as_echo_n "(cached) " >&6 2670else 2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2672/* end confdefs.h. */ 2673$4 2674int 2675main () 2676{ 2677#ifndef $as_decl_name 2678#ifdef __cplusplus 2679 (void) $as_decl_use; 2680#else 2681 (void) $as_decl_name; 2682#endif 2683#endif 2684 2685 ; 2686 return 0; 2687} 2688_ACEOF 2689if ac_fn_c_try_compile "$LINENO"; then : 2690 eval "$3=yes" 2691else 2692 eval "$3=no" 2693fi 2694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2695fi 2696eval ac_res=\$$3 2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2698$as_echo "$ac_res" >&6; } 2699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2700 2701} # ac_fn_c_check_decl 2702cat >config.log <<_ACEOF 2703This file contains any messages produced by compilers while 2704running configure, to aid debugging if configure makes a mistake. 2705 2706It was created by libvshadow $as_me 20210425, which was 2707generated by GNU Autoconf 2.69. Invocation command line was 2708 2709 $ $0 $@ 2710 2711_ACEOF 2712exec 5>>config.log 2713{ 2714cat <<_ASUNAME 2715## --------- ## 2716## Platform. ## 2717## --------- ## 2718 2719hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2720uname -m = `(uname -m) 2>/dev/null || echo unknown` 2721uname -r = `(uname -r) 2>/dev/null || echo unknown` 2722uname -s = `(uname -s) 2>/dev/null || echo unknown` 2723uname -v = `(uname -v) 2>/dev/null || echo unknown` 2724 2725/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2726/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2727 2728/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2729/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2730/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2731/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2732/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2733/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2734/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2735 2736_ASUNAME 2737 2738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2739for as_dir in $PATH 2740do 2741 IFS=$as_save_IFS 2742 test -z "$as_dir" && as_dir=. 2743 $as_echo "PATH: $as_dir" 2744 done 2745IFS=$as_save_IFS 2746 2747} >&5 2748 2749cat >&5 <<_ACEOF 2750 2751 2752## ----------- ## 2753## Core tests. ## 2754## ----------- ## 2755 2756_ACEOF 2757 2758 2759# Keep a trace of the command line. 2760# Strip out --no-create and --no-recursion so they do not pile up. 2761# Strip out --silent because we don't want to record it for future runs. 2762# Also quote any args containing shell meta-characters. 2763# Make two passes to allow for proper duplicate-argument suppression. 2764ac_configure_args= 2765ac_configure_args0= 2766ac_configure_args1= 2767ac_must_keep_next=false 2768for ac_pass in 1 2 2769do 2770 for ac_arg 2771 do 2772 case $ac_arg in 2773 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2775 | -silent | --silent | --silen | --sile | --sil) 2776 continue ;; 2777 *\'*) 2778 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2779 esac 2780 case $ac_pass in 2781 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2782 2) 2783 as_fn_append ac_configure_args1 " '$ac_arg'" 2784 if test $ac_must_keep_next = true; then 2785 ac_must_keep_next=false # Got value, back to normal. 2786 else 2787 case $ac_arg in 2788 *=* | --config-cache | -C | -disable-* | --disable-* \ 2789 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2790 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2791 | -with-* | --with-* | -without-* | --without-* | --x) 2792 case "$ac_configure_args0 " in 2793 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2794 esac 2795 ;; 2796 -* ) ac_must_keep_next=true ;; 2797 esac 2798 fi 2799 as_fn_append ac_configure_args " '$ac_arg'" 2800 ;; 2801 esac 2802 done 2803done 2804{ ac_configure_args0=; unset ac_configure_args0;} 2805{ ac_configure_args1=; unset ac_configure_args1;} 2806 2807# When interrupted or exit'd, cleanup temporary files, and complete 2808# config.log. We remove comments because anyway the quotes in there 2809# would cause problems or look ugly. 2810# WARNING: Use '\'' to represent an apostrophe within the trap. 2811# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2812trap 'exit_status=$? 2813 # Save into config.log some information that might help in debugging. 2814 { 2815 echo 2816 2817 $as_echo "## ---------------- ## 2818## Cache variables. ## 2819## ---------------- ##" 2820 echo 2821 # The following way of writing the cache mishandles newlines in values, 2822( 2823 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2824 eval ac_val=\$$ac_var 2825 case $ac_val in #( 2826 *${as_nl}*) 2827 case $ac_var in #( 2828 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2829$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2830 esac 2831 case $ac_var in #( 2832 _ | IFS | as_nl) ;; #( 2833 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2834 *) { eval $ac_var=; unset $ac_var;} ;; 2835 esac ;; 2836 esac 2837 done 2838 (set) 2>&1 | 2839 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2840 *${as_nl}ac_space=\ *) 2841 sed -n \ 2842 "s/'\''/'\''\\\\'\'''\''/g; 2843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2844 ;; #( 2845 *) 2846 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2847 ;; 2848 esac | 2849 sort 2850) 2851 echo 2852 2853 $as_echo "## ----------------- ## 2854## Output variables. ## 2855## ----------------- ##" 2856 echo 2857 for ac_var in $ac_subst_vars 2858 do 2859 eval ac_val=\$$ac_var 2860 case $ac_val in 2861 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2862 esac 2863 $as_echo "$ac_var='\''$ac_val'\''" 2864 done | sort 2865 echo 2866 2867 if test -n "$ac_subst_files"; then 2868 $as_echo "## ------------------- ## 2869## File substitutions. ## 2870## ------------------- ##" 2871 echo 2872 for ac_var in $ac_subst_files 2873 do 2874 eval ac_val=\$$ac_var 2875 case $ac_val in 2876 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2877 esac 2878 $as_echo "$ac_var='\''$ac_val'\''" 2879 done | sort 2880 echo 2881 fi 2882 2883 if test -s confdefs.h; then 2884 $as_echo "## ----------- ## 2885## confdefs.h. ## 2886## ----------- ##" 2887 echo 2888 cat confdefs.h 2889 echo 2890 fi 2891 test "$ac_signal" != 0 && 2892 $as_echo "$as_me: caught signal $ac_signal" 2893 $as_echo "$as_me: exit $exit_status" 2894 } >&5 2895 rm -f core *.core core.conftest.* && 2896 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2897 exit $exit_status 2898' 0 2899for ac_signal in 1 2 13 15; do 2900 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2901done 2902ac_signal=0 2903 2904# confdefs.h avoids OS command line length limits that DEFS can exceed. 2905rm -f -r conftest* confdefs.h 2906 2907$as_echo "/* confdefs.h */" > confdefs.h 2908 2909# Predefined preprocessor variables. 2910 2911cat >>confdefs.h <<_ACEOF 2912#define PACKAGE_NAME "$PACKAGE_NAME" 2913_ACEOF 2914 2915cat >>confdefs.h <<_ACEOF 2916#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2917_ACEOF 2918 2919cat >>confdefs.h <<_ACEOF 2920#define PACKAGE_VERSION "$PACKAGE_VERSION" 2921_ACEOF 2922 2923cat >>confdefs.h <<_ACEOF 2924#define PACKAGE_STRING "$PACKAGE_STRING" 2925_ACEOF 2926 2927cat >>confdefs.h <<_ACEOF 2928#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2929_ACEOF 2930 2931cat >>confdefs.h <<_ACEOF 2932#define PACKAGE_URL "$PACKAGE_URL" 2933_ACEOF 2934 2935 2936# Let the site file select an alternate cache file if it wants to. 2937# Prefer an explicitly selected file to automatically selected ones. 2938ac_site_file1=NONE 2939ac_site_file2=NONE 2940if test -n "$CONFIG_SITE"; then 2941 # We do not want a PATH search for config.site. 2942 case $CONFIG_SITE in #(( 2943 -*) ac_site_file1=./$CONFIG_SITE;; 2944 */*) ac_site_file1=$CONFIG_SITE;; 2945 *) ac_site_file1=./$CONFIG_SITE;; 2946 esac 2947elif test "x$prefix" != xNONE; then 2948 ac_site_file1=$prefix/share/config.site 2949 ac_site_file2=$prefix/etc/config.site 2950else 2951 ac_site_file1=$ac_default_prefix/share/config.site 2952 ac_site_file2=$ac_default_prefix/etc/config.site 2953fi 2954for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2955do 2956 test "x$ac_site_file" = xNONE && continue 2957 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2959$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2960 sed 's/^/| /' "$ac_site_file" >&5 2961 . "$ac_site_file" \ 2962 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2963$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2964as_fn_error $? "failed to load site script $ac_site_file 2965See \`config.log' for more details" "$LINENO" 5; } 2966 fi 2967done 2968 2969if test -r "$cache_file"; then 2970 # Some versions of bash will fail to source /dev/null (special files 2971 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2972 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2974$as_echo "$as_me: loading cache $cache_file" >&6;} 2975 case $cache_file in 2976 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2977 *) . "./$cache_file";; 2978 esac 2979 fi 2980else 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2982$as_echo "$as_me: creating cache $cache_file" >&6;} 2983 >$cache_file 2984fi 2985 2986gt_needs="$gt_needs " 2987# Check that the precious variables saved in the cache have kept the same 2988# value. 2989ac_cache_corrupted=false 2990for ac_var in $ac_precious_vars; do 2991 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2992 eval ac_new_set=\$ac_env_${ac_var}_set 2993 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2994 eval ac_new_val=\$ac_env_${ac_var}_value 2995 case $ac_old_set,$ac_new_set in 2996 set,) 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2998$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2999 ac_cache_corrupted=: ;; 3000 ,set) 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3002$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3003 ac_cache_corrupted=: ;; 3004 ,);; 3005 *) 3006 if test "x$ac_old_val" != "x$ac_new_val"; then 3007 # differences in whitespace do not lead to failure. 3008 ac_old_val_w=`echo x $ac_old_val` 3009 ac_new_val_w=`echo x $ac_new_val` 3010 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3012$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3013 ac_cache_corrupted=: 3014 else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3016$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3017 eval $ac_var=\$ac_old_val 3018 fi 3019 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3020$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3022$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3023 fi;; 3024 esac 3025 # Pass precious variables to config.status. 3026 if test "$ac_new_set" = set; then 3027 case $ac_new_val in 3028 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3029 *) ac_arg=$ac_var=$ac_new_val ;; 3030 esac 3031 case " $ac_configure_args " in 3032 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3033 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3034 esac 3035 fi 3036done 3037if $ac_cache_corrupted; then 3038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3039$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3041$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3042 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3043fi 3044## -------------------- ## 3045## Main body of script. ## 3046## -------------------- ## 3047 3048ac_ext=c 3049ac_cpp='$CPP $CPPFLAGS' 3050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3052ac_compiler_gnu=$ac_cv_c_compiler_gnu 3053 3054 3055 3056 3057 3058am__api_version='1.16' 3059 3060ac_aux_dir= 3061for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3062 if test -f "$ac_dir/install-sh"; then 3063 ac_aux_dir=$ac_dir 3064 ac_install_sh="$ac_aux_dir/install-sh -c" 3065 break 3066 elif test -f "$ac_dir/install.sh"; then 3067 ac_aux_dir=$ac_dir 3068 ac_install_sh="$ac_aux_dir/install.sh -c" 3069 break 3070 elif test -f "$ac_dir/shtool"; then 3071 ac_aux_dir=$ac_dir 3072 ac_install_sh="$ac_aux_dir/shtool install -c" 3073 break 3074 fi 3075done 3076if test -z "$ac_aux_dir"; then 3077 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3078fi 3079 3080# These three variables are undocumented and unsupported, 3081# and are intended to be withdrawn in a future Autoconf release. 3082# They can cause serious problems if a builder's source tree is in a directory 3083# whose full name contains unusual characters. 3084ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3085ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3086ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3087 3088 3089# Find a good install program. We prefer a C program (faster), 3090# so one script is as good as another. But avoid the broken or 3091# incompatible versions: 3092# SysV /etc/install, /usr/sbin/install 3093# SunOS /usr/etc/install 3094# IRIX /sbin/install 3095# AIX /bin/install 3096# AmigaOS /C/install, which installs bootblocks on floppy discs 3097# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3098# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3099# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3100# OS/2's system install, which has a completely different semantic 3101# ./install, which can be erroneously created by make from ./install.sh. 3102# Reject install programs that cannot install multiple files. 3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3104$as_echo_n "checking for a BSD-compatible install... " >&6; } 3105if test -z "$INSTALL"; then 3106if ${ac_cv_path_install+:} false; then : 3107 $as_echo_n "(cached) " >&6 3108else 3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3110for as_dir in $PATH 3111do 3112 IFS=$as_save_IFS 3113 test -z "$as_dir" && as_dir=. 3114 # Account for people who put trailing slashes in PATH elements. 3115case $as_dir/ in #(( 3116 ./ | .// | /[cC]/* | \ 3117 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3118 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3119 /usr/ucb/* ) ;; 3120 *) 3121 # OSF1 and SCO ODT 3.0 have their own names for install. 3122 # Don't use installbsd from OSF since it installs stuff as root 3123 # by default. 3124 for ac_prog in ginstall scoinst install; do 3125 for ac_exec_ext in '' $ac_executable_extensions; do 3126 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3127 if test $ac_prog = install && 3128 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3129 # AIX install. It has an incompatible calling convention. 3130 : 3131 elif test $ac_prog = install && 3132 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3133 # program-specific install script used by HP pwplus--don't use. 3134 : 3135 else 3136 rm -rf conftest.one conftest.two conftest.dir 3137 echo one > conftest.one 3138 echo two > conftest.two 3139 mkdir conftest.dir 3140 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3141 test -s conftest.one && test -s conftest.two && 3142 test -s conftest.dir/conftest.one && 3143 test -s conftest.dir/conftest.two 3144 then 3145 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3146 break 3 3147 fi 3148 fi 3149 fi 3150 done 3151 done 3152 ;; 3153esac 3154 3155 done 3156IFS=$as_save_IFS 3157 3158rm -rf conftest.one conftest.two conftest.dir 3159 3160fi 3161 if test "${ac_cv_path_install+set}" = set; then 3162 INSTALL=$ac_cv_path_install 3163 else 3164 # As a last resort, use the slow shell script. Don't cache a 3165 # value for INSTALL within a source directory, because that will 3166 # break other packages using the cache if that directory is 3167 # removed, or if the value is a relative name. 3168 INSTALL=$ac_install_sh 3169 fi 3170fi 3171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3172$as_echo "$INSTALL" >&6; } 3173 3174# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3175# It thinks the first close brace ends the variable substitution. 3176test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3177 3178test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3179 3180test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3181 3182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3183$as_echo_n "checking whether build environment is sane... " >&6; } 3184# Reject unsafe characters in $srcdir or the absolute working directory 3185# name. Accept space and tab only in the latter. 3186am_lf=' 3187' 3188case `pwd` in 3189 *[\\\"\#\$\&\'\`$am_lf]*) 3190 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3191esac 3192case $srcdir in 3193 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3194 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3195esac 3196 3197# Do 'set' in a subshell so we don't clobber the current shell's 3198# arguments. Must try -L first in case configure is actually a 3199# symlink; some systems play weird games with the mod time of symlinks 3200# (eg FreeBSD returns the mod time of the symlink's containing 3201# directory). 3202if ( 3203 am_has_slept=no 3204 for am_try in 1 2; do 3205 echo "timestamp, slept: $am_has_slept" > conftest.file 3206 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3207 if test "$*" = "X"; then 3208 # -L didn't work. 3209 set X `ls -t "$srcdir/configure" conftest.file` 3210 fi 3211 if test "$*" != "X $srcdir/configure conftest.file" \ 3212 && test "$*" != "X conftest.file $srcdir/configure"; then 3213 3214 # If neither matched, then we have a broken ls. This can happen 3215 # if, for instance, CONFIG_SHELL is bash and it inherits a 3216 # broken ls alias from the environment. This has actually 3217 # happened. Such a system could not be considered "sane". 3218 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3219 alias in your environment" "$LINENO" 5 3220 fi 3221 if test "$2" = conftest.file || test $am_try -eq 2; then 3222 break 3223 fi 3224 # Just in case. 3225 sleep 1 3226 am_has_slept=yes 3227 done 3228 test "$2" = conftest.file 3229 ) 3230then 3231 # Ok. 3232 : 3233else 3234 as_fn_error $? "newly created file is older than distributed files! 3235Check your system clock" "$LINENO" 5 3236fi 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3238$as_echo "yes" >&6; } 3239# If we didn't sleep, we still need to ensure time stamps of config.status and 3240# generated files are strictly newer. 3241am_sleep_pid= 3242if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3243 ( sleep 1 ) & 3244 am_sleep_pid=$! 3245fi 3246 3247rm -f conftest.file 3248 3249test "$program_prefix" != NONE && 3250 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3251# Use a double $ so make ignores it. 3252test "$program_suffix" != NONE && 3253 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3254# Double any \ or $. 3255# By default was `s,x,x', remove it if useless. 3256ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3257program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3258 3259# Expand $ac_aux_dir to an absolute path. 3260am_aux_dir=`cd "$ac_aux_dir" && pwd` 3261 3262if test x"${MISSING+set}" != xset; then 3263 case $am_aux_dir in 3264 *\ * | *\ *) 3265 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3266 *) 3267 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3268 esac 3269fi 3270# Use eval to expand $SHELL 3271if eval "$MISSING --is-lightweight"; then 3272 am_missing_run="$MISSING " 3273else 3274 am_missing_run= 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3276$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3277fi 3278 3279if test x"${install_sh+set}" != xset; then 3280 case $am_aux_dir in 3281 *\ * | *\ *) 3282 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3283 *) 3284 install_sh="\${SHELL} $am_aux_dir/install-sh" 3285 esac 3286fi 3287 3288# Installed binaries are usually stripped using 'strip' when the user 3289# run "make install-strip". However 'strip' might not be the right 3290# tool to use in cross-compilation environments, therefore Automake 3291# will honor the 'STRIP' environment variable to overrule this program. 3292if test "$cross_compiling" != no; then 3293 if test -n "$ac_tool_prefix"; then 3294 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3295set dummy ${ac_tool_prefix}strip; ac_word=$2 3296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3297$as_echo_n "checking for $ac_word... " >&6; } 3298if ${ac_cv_prog_STRIP+:} false; then : 3299 $as_echo_n "(cached) " >&6 3300else 3301 if test -n "$STRIP"; then 3302 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3303else 3304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3305for as_dir in $PATH 3306do 3307 IFS=$as_save_IFS 3308 test -z "$as_dir" && as_dir=. 3309 for ac_exec_ext in '' $ac_executable_extensions; do 3310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3311 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3313 break 2 3314 fi 3315done 3316 done 3317IFS=$as_save_IFS 3318 3319fi 3320fi 3321STRIP=$ac_cv_prog_STRIP 3322if test -n "$STRIP"; then 3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3324$as_echo "$STRIP" >&6; } 3325else 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3327$as_echo "no" >&6; } 3328fi 3329 3330 3331fi 3332if test -z "$ac_cv_prog_STRIP"; then 3333 ac_ct_STRIP=$STRIP 3334 # Extract the first word of "strip", so it can be a program name with args. 3335set dummy strip; ac_word=$2 3336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3337$as_echo_n "checking for $ac_word... " >&6; } 3338if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3339 $as_echo_n "(cached) " >&6 3340else 3341 if test -n "$ac_ct_STRIP"; then 3342 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3343else 3344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3345for as_dir in $PATH 3346do 3347 IFS=$as_save_IFS 3348 test -z "$as_dir" && as_dir=. 3349 for ac_exec_ext in '' $ac_executable_extensions; do 3350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3351 ac_cv_prog_ac_ct_STRIP="strip" 3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3353 break 2 3354 fi 3355done 3356 done 3357IFS=$as_save_IFS 3358 3359fi 3360fi 3361ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3362if test -n "$ac_ct_STRIP"; then 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3364$as_echo "$ac_ct_STRIP" >&6; } 3365else 3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3367$as_echo "no" >&6; } 3368fi 3369 3370 if test "x$ac_ct_STRIP" = x; then 3371 STRIP=":" 3372 else 3373 case $cross_compiling:$ac_tool_warned in 3374yes:) 3375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3377ac_tool_warned=yes ;; 3378esac 3379 STRIP=$ac_ct_STRIP 3380 fi 3381else 3382 STRIP="$ac_cv_prog_STRIP" 3383fi 3384 3385fi 3386INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3387 3388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3389$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3390if test -z "$MKDIR_P"; then 3391 if ${ac_cv_path_mkdir+:} false; then : 3392 $as_echo_n "(cached) " >&6 3393else 3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3395for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3396do 3397 IFS=$as_save_IFS 3398 test -z "$as_dir" && as_dir=. 3399 for ac_prog in mkdir gmkdir; do 3400 for ac_exec_ext in '' $ac_executable_extensions; do 3401 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3402 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3403 'mkdir (GNU coreutils) '* | \ 3404 'mkdir (coreutils) '* | \ 3405 'mkdir (fileutils) '4.1*) 3406 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3407 break 3;; 3408 esac 3409 done 3410 done 3411 done 3412IFS=$as_save_IFS 3413 3414fi 3415 3416 test -d ./--version && rmdir ./--version 3417 if test "${ac_cv_path_mkdir+set}" = set; then 3418 MKDIR_P="$ac_cv_path_mkdir -p" 3419 else 3420 # As a last resort, use the slow shell script. Don't cache a 3421 # value for MKDIR_P within a source directory, because that will 3422 # break other packages using the cache if that directory is 3423 # removed, or if the value is a relative name. 3424 MKDIR_P="$ac_install_sh -d" 3425 fi 3426fi 3427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3428$as_echo "$MKDIR_P" >&6; } 3429 3430for ac_prog in gawk mawk nawk awk 3431do 3432 # Extract the first word of "$ac_prog", so it can be a program name with args. 3433set dummy $ac_prog; ac_word=$2 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3435$as_echo_n "checking for $ac_word... " >&6; } 3436if ${ac_cv_prog_AWK+:} false; then : 3437 $as_echo_n "(cached) " >&6 3438else 3439 if test -n "$AWK"; then 3440 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3441else 3442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3443for as_dir in $PATH 3444do 3445 IFS=$as_save_IFS 3446 test -z "$as_dir" && as_dir=. 3447 for ac_exec_ext in '' $ac_executable_extensions; do 3448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3449 ac_cv_prog_AWK="$ac_prog" 3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3451 break 2 3452 fi 3453done 3454 done 3455IFS=$as_save_IFS 3456 3457fi 3458fi 3459AWK=$ac_cv_prog_AWK 3460if test -n "$AWK"; then 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3462$as_echo "$AWK" >&6; } 3463else 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3465$as_echo "no" >&6; } 3466fi 3467 3468 3469 test -n "$AWK" && break 3470done 3471 3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3473$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3474set x ${MAKE-make} 3475ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3476if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3477 $as_echo_n "(cached) " >&6 3478else 3479 cat >conftest.make <<\_ACEOF 3480SHELL = /bin/sh 3481all: 3482 @echo '@@@%%%=$(MAKE)=@@@%%%' 3483_ACEOF 3484# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3485case `${MAKE-make} -f conftest.make 2>/dev/null` in 3486 *@@@%%%=?*=@@@%%%*) 3487 eval ac_cv_prog_make_${ac_make}_set=yes;; 3488 *) 3489 eval ac_cv_prog_make_${ac_make}_set=no;; 3490esac 3491rm -f conftest.make 3492fi 3493if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3495$as_echo "yes" >&6; } 3496 SET_MAKE= 3497else 3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3499$as_echo "no" >&6; } 3500 SET_MAKE="MAKE=${MAKE-make}" 3501fi 3502 3503rm -rf .tst 2>/dev/null 3504mkdir .tst 2>/dev/null 3505if test -d .tst; then 3506 am__leading_dot=. 3507else 3508 am__leading_dot=_ 3509fi 3510rmdir .tst 2>/dev/null 3511 3512# Check whether --enable-silent-rules was given. 3513if test "${enable_silent_rules+set}" = set; then : 3514 enableval=$enable_silent_rules; 3515fi 3516 3517case $enable_silent_rules in # ((( 3518 yes) AM_DEFAULT_VERBOSITY=0;; 3519 no) AM_DEFAULT_VERBOSITY=1;; 3520 *) AM_DEFAULT_VERBOSITY=1;; 3521esac 3522am_make=${MAKE-make} 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3524$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3525if ${am_cv_make_support_nested_variables+:} false; then : 3526 $as_echo_n "(cached) " >&6 3527else 3528 if $as_echo 'TRUE=$(BAR$(V)) 3529BAR0=false 3530BAR1=true 3531V=1 3532am__doit: 3533 @$(TRUE) 3534.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3535 am_cv_make_support_nested_variables=yes 3536else 3537 am_cv_make_support_nested_variables=no 3538fi 3539fi 3540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3541$as_echo "$am_cv_make_support_nested_variables" >&6; } 3542if test $am_cv_make_support_nested_variables = yes; then 3543 AM_V='$(V)' 3544 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3545else 3546 AM_V=$AM_DEFAULT_VERBOSITY 3547 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3548fi 3549AM_BACKSLASH='\' 3550 3551if test "`cd $srcdir && pwd`" != "`pwd`"; then 3552 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3553 # is not polluted with repeated "-I." 3554 am__isrc=' -I$(srcdir)' 3555 # test to see if srcdir already configured 3556 if test -f $srcdir/config.status; then 3557 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3558 fi 3559fi 3560 3561# test whether we have cygpath 3562if test -z "$CYGPATH_W"; then 3563 if (cygpath --version) >/dev/null 2>/dev/null; then 3564 CYGPATH_W='cygpath -w' 3565 else 3566 CYGPATH_W=echo 3567 fi 3568fi 3569 3570 3571# Define the identity of the package. 3572 PACKAGE='libvshadow' 3573 VERSION='20210425' 3574 3575 3576cat >>confdefs.h <<_ACEOF 3577#define PACKAGE "$PACKAGE" 3578_ACEOF 3579 3580 3581cat >>confdefs.h <<_ACEOF 3582#define VERSION "$VERSION" 3583_ACEOF 3584 3585# Some tools Automake needs. 3586 3587ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3588 3589 3590AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3591 3592 3593AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3594 3595 3596AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3597 3598 3599MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3600 3601# For better backward compatibility. To be removed once Automake 1.9.x 3602# dies out for good. For more background, see: 3603# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3604# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3605mkdir_p='$(MKDIR_P)' 3606 3607# We need awk for the "check" target (and possibly the TAP driver). The 3608# system "awk" is bad on some platforms. 3609# Always define AMTAR for backward compatibility. Yes, it's still used 3610# in the wild :-( We should find a proper way to deprecate it ... 3611AMTAR='$${TAR-tar}' 3612 3613 3614# We'll loop over all known methods to create a tar archive until one works. 3615_am_tools='gnutar plaintar pax cpio none' 3616 3617# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3618 # There is notably a 21 bits limit for the UID and the GID. In fact, 3619 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3620 # and bug#13588). 3621 am_max_uid=2097151 # 2^21 - 1 3622 am_max_gid=$am_max_uid 3623 # The $UID and $GID variables are not portable, so we need to resort 3624 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3625 # below are definitely unexpected, so allow the users to see them 3626 # (that is, avoid stderr redirection). 3627 am_uid=`id -u || echo unknown` 3628 am_gid=`id -g || echo unknown` 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3630$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3631 if test $am_uid -le $am_max_uid; then 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3633$as_echo "yes" >&6; } 3634 else 3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3636$as_echo "no" >&6; } 3637 _am_tools=none 3638 fi 3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3640$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3641 if test $am_gid -le $am_max_gid; then 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3643$as_echo "yes" >&6; } 3644 else 3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3646$as_echo "no" >&6; } 3647 _am_tools=none 3648 fi 3649 3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3651$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3652 3653 # Go ahead even if we have the value already cached. We do so because we 3654 # need to set the values for the 'am__tar' and 'am__untar' variables. 3655 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3656 3657 for _am_tool in $_am_tools; do 3658 case $_am_tool in 3659 gnutar) 3660 for _am_tar in tar gnutar gtar; do 3661 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3662 ($_am_tar --version) >&5 2>&5 3663 ac_status=$? 3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3665 (exit $ac_status); } && break 3666 done 3667 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3668 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3669 am__untar="$_am_tar -xf -" 3670 ;; 3671 plaintar) 3672 # Must skip GNU tar: if it does not support --format= it doesn't create 3673 # ustar tarball either. 3674 (tar --version) >/dev/null 2>&1 && continue 3675 am__tar='tar chf - "$$tardir"' 3676 am__tar_='tar chf - "$tardir"' 3677 am__untar='tar xf -' 3678 ;; 3679 pax) 3680 am__tar='pax -L -x ustar -w "$$tardir"' 3681 am__tar_='pax -L -x ustar -w "$tardir"' 3682 am__untar='pax -r' 3683 ;; 3684 cpio) 3685 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3686 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3687 am__untar='cpio -i -H ustar -d' 3688 ;; 3689 none) 3690 am__tar=false 3691 am__tar_=false 3692 am__untar=false 3693 ;; 3694 esac 3695 3696 # If the value was cached, stop now. We just wanted to have am__tar 3697 # and am__untar set. 3698 test -n "${am_cv_prog_tar_ustar}" && break 3699 3700 # tar/untar a dummy directory, and stop if the command works. 3701 rm -rf conftest.dir 3702 mkdir conftest.dir 3703 echo GrepMe > conftest.dir/file 3704 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3705 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3706 ac_status=$? 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } 3709 rm -rf conftest.dir 3710 if test -s conftest.tar; then 3711 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3712 ($am__untar <conftest.tar) >&5 2>&5 3713 ac_status=$? 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } 3716 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3717 (cat conftest.dir/file) >&5 2>&5 3718 ac_status=$? 3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3720 (exit $ac_status); } 3721 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3722 fi 3723 done 3724 rm -rf conftest.dir 3725 3726 if ${am_cv_prog_tar_ustar+:} false; then : 3727 $as_echo_n "(cached) " >&6 3728else 3729 am_cv_prog_tar_ustar=$_am_tool 3730fi 3731 3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3733$as_echo "$am_cv_prog_tar_ustar" >&6; } 3734 3735 3736 3737 3738 3739 3740# POSIX will say in a future version that running "rm -f" with no argument 3741# is OK; and we want to be able to make that assumption in our Makefile 3742# recipes. So use an aggressive probe to check that the usage we want is 3743# actually supported "in the wild" to an acceptable degree. 3744# See automake bug#10828. 3745# To make any issue more visible, cause the running configure to be aborted 3746# by default if the 'rm' program in use doesn't match our expectations; the 3747# user can still override this though. 3748if rm -f && rm -fr && rm -rf; then : OK; else 3749 cat >&2 <<'END' 3750Oops! 3751 3752Your 'rm' program seems unable to run without file operands specified 3753on the command line, even when the '-f' option is present. This is contrary 3754to the behaviour of most rm programs out there, and not conforming with 3755the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3756 3757Please tell bug-automake@gnu.org about your system, including the value 3758of your $PATH and any error possibly output before this message. This 3759can help us improve future automake versions. 3760 3761END 3762 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3763 echo 'Configuration will proceed anyway, since you have set the' >&2 3764 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3765 echo >&2 3766 else 3767 cat >&2 <<'END' 3768Aborting the configuration process, to ensure you take notice of the issue. 3769 3770You can download and install GNU coreutils to get an 'rm' implementation 3771that behaves properly: <https://www.gnu.org/software/coreutils/>. 3772 3773If you want to complete the configuration process using your problematic 3774'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3775to "yes", and re-run configure. 3776 3777END 3778 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3779 fi 3780fi 3781 3782 3783 3784 3785# Make sure we can run config.sub. 3786$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3787 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3788 3789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3790$as_echo_n "checking build system type... " >&6; } 3791if ${ac_cv_build+:} false; then : 3792 $as_echo_n "(cached) " >&6 3793else 3794 ac_build_alias=$build_alias 3795test "x$ac_build_alias" = x && 3796 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3797test "x$ac_build_alias" = x && 3798 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3799ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3800 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3801 3802fi 3803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3804$as_echo "$ac_cv_build" >&6; } 3805case $ac_cv_build in 3806*-*-*) ;; 3807*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3808esac 3809build=$ac_cv_build 3810ac_save_IFS=$IFS; IFS='-' 3811set x $ac_cv_build 3812shift 3813build_cpu=$1 3814build_vendor=$2 3815shift; shift 3816# Remember, the first character of IFS is used to create $*, 3817# except with old shells: 3818build_os=$* 3819IFS=$ac_save_IFS 3820case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3821 3822 3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3824$as_echo_n "checking host system type... " >&6; } 3825if ${ac_cv_host+:} false; then : 3826 $as_echo_n "(cached) " >&6 3827else 3828 if test "x$host_alias" = x; then 3829 ac_cv_host=$ac_cv_build 3830else 3831 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3832 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3833fi 3834 3835fi 3836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3837$as_echo "$ac_cv_host" >&6; } 3838case $ac_cv_host in 3839*-*-*) ;; 3840*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3841esac 3842host=$ac_cv_host 3843ac_save_IFS=$IFS; IFS='-' 3844set x $ac_cv_host 3845shift 3846host_cpu=$1 3847host_vendor=$2 3848shift; shift 3849# Remember, the first character of IFS is used to create $*, 3850# except with old shells: 3851host_os=$* 3852IFS=$ac_save_IFS 3853case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3854 3855 3856 3857enable_win32_dll=yes 3858 3859case $host in 3860*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3861 if test -n "$ac_tool_prefix"; then 3862 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3863set dummy ${ac_tool_prefix}as; ac_word=$2 3864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3865$as_echo_n "checking for $ac_word... " >&6; } 3866if ${ac_cv_prog_AS+:} false; then : 3867 $as_echo_n "(cached) " >&6 3868else 3869 if test -n "$AS"; then 3870 ac_cv_prog_AS="$AS" # Let the user override the test. 3871else 3872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3873for as_dir in $PATH 3874do 3875 IFS=$as_save_IFS 3876 test -z "$as_dir" && as_dir=. 3877 for ac_exec_ext in '' $ac_executable_extensions; do 3878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3879 ac_cv_prog_AS="${ac_tool_prefix}as" 3880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3881 break 2 3882 fi 3883done 3884 done 3885IFS=$as_save_IFS 3886 3887fi 3888fi 3889AS=$ac_cv_prog_AS 3890if test -n "$AS"; then 3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3892$as_echo "$AS" >&6; } 3893else 3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3895$as_echo "no" >&6; } 3896fi 3897 3898 3899fi 3900if test -z "$ac_cv_prog_AS"; then 3901 ac_ct_AS=$AS 3902 # Extract the first word of "as", so it can be a program name with args. 3903set dummy as; ac_word=$2 3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3905$as_echo_n "checking for $ac_word... " >&6; } 3906if ${ac_cv_prog_ac_ct_AS+:} false; then : 3907 $as_echo_n "(cached) " >&6 3908else 3909 if test -n "$ac_ct_AS"; then 3910 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3911else 3912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3913for as_dir in $PATH 3914do 3915 IFS=$as_save_IFS 3916 test -z "$as_dir" && as_dir=. 3917 for ac_exec_ext in '' $ac_executable_extensions; do 3918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3919 ac_cv_prog_ac_ct_AS="as" 3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3921 break 2 3922 fi 3923done 3924 done 3925IFS=$as_save_IFS 3926 3927fi 3928fi 3929ac_ct_AS=$ac_cv_prog_ac_ct_AS 3930if test -n "$ac_ct_AS"; then 3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3932$as_echo "$ac_ct_AS" >&6; } 3933else 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3935$as_echo "no" >&6; } 3936fi 3937 3938 if test "x$ac_ct_AS" = x; then 3939 AS="false" 3940 else 3941 case $cross_compiling:$ac_tool_warned in 3942yes:) 3943{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3944$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3945ac_tool_warned=yes ;; 3946esac 3947 AS=$ac_ct_AS 3948 fi 3949else 3950 AS="$ac_cv_prog_AS" 3951fi 3952 3953 if test -n "$ac_tool_prefix"; then 3954 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 3955set dummy ${ac_tool_prefix}dlltool; ac_word=$2 3956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3957$as_echo_n "checking for $ac_word... " >&6; } 3958if ${ac_cv_prog_DLLTOOL+:} false; then : 3959 $as_echo_n "(cached) " >&6 3960else 3961 if test -n "$DLLTOOL"; then 3962 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 3963else 3964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3965for as_dir in $PATH 3966do 3967 IFS=$as_save_IFS 3968 test -z "$as_dir" && as_dir=. 3969 for ac_exec_ext in '' $ac_executable_extensions; do 3970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3971 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3973 break 2 3974 fi 3975done 3976 done 3977IFS=$as_save_IFS 3978 3979fi 3980fi 3981DLLTOOL=$ac_cv_prog_DLLTOOL 3982if test -n "$DLLTOOL"; then 3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 3984$as_echo "$DLLTOOL" >&6; } 3985else 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3987$as_echo "no" >&6; } 3988fi 3989 3990 3991fi 3992if test -z "$ac_cv_prog_DLLTOOL"; then 3993 ac_ct_DLLTOOL=$DLLTOOL 3994 # Extract the first word of "dlltool", so it can be a program name with args. 3995set dummy dlltool; ac_word=$2 3996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3997$as_echo_n "checking for $ac_word... " >&6; } 3998if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 3999 $as_echo_n "(cached) " >&6 4000else 4001 if test -n "$ac_ct_DLLTOOL"; then 4002 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4003else 4004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4005for as_dir in $PATH 4006do 4007 IFS=$as_save_IFS 4008 test -z "$as_dir" && as_dir=. 4009 for ac_exec_ext in '' $ac_executable_extensions; do 4010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4011 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4013 break 2 4014 fi 4015done 4016 done 4017IFS=$as_save_IFS 4018 4019fi 4020fi 4021ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4022if test -n "$ac_ct_DLLTOOL"; then 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4024$as_echo "$ac_ct_DLLTOOL" >&6; } 4025else 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4027$as_echo "no" >&6; } 4028fi 4029 4030 if test "x$ac_ct_DLLTOOL" = x; then 4031 DLLTOOL="false" 4032 else 4033 case $cross_compiling:$ac_tool_warned in 4034yes:) 4035{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4036$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4037ac_tool_warned=yes ;; 4038esac 4039 DLLTOOL=$ac_ct_DLLTOOL 4040 fi 4041else 4042 DLLTOOL="$ac_cv_prog_DLLTOOL" 4043fi 4044 4045 if test -n "$ac_tool_prefix"; then 4046 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4047set dummy ${ac_tool_prefix}objdump; ac_word=$2 4048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4049$as_echo_n "checking for $ac_word... " >&6; } 4050if ${ac_cv_prog_OBJDUMP+:} false; then : 4051 $as_echo_n "(cached) " >&6 4052else 4053 if test -n "$OBJDUMP"; then 4054 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4055else 4056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4057for as_dir in $PATH 4058do 4059 IFS=$as_save_IFS 4060 test -z "$as_dir" && as_dir=. 4061 for ac_exec_ext in '' $ac_executable_extensions; do 4062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4063 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4065 break 2 4066 fi 4067done 4068 done 4069IFS=$as_save_IFS 4070 4071fi 4072fi 4073OBJDUMP=$ac_cv_prog_OBJDUMP 4074if test -n "$OBJDUMP"; then 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4076$as_echo "$OBJDUMP" >&6; } 4077else 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4079$as_echo "no" >&6; } 4080fi 4081 4082 4083fi 4084if test -z "$ac_cv_prog_OBJDUMP"; then 4085 ac_ct_OBJDUMP=$OBJDUMP 4086 # Extract the first word of "objdump", so it can be a program name with args. 4087set dummy objdump; ac_word=$2 4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4089$as_echo_n "checking for $ac_word... " >&6; } 4090if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4091 $as_echo_n "(cached) " >&6 4092else 4093 if test -n "$ac_ct_OBJDUMP"; then 4094 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4095else 4096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4097for as_dir in $PATH 4098do 4099 IFS=$as_save_IFS 4100 test -z "$as_dir" && as_dir=. 4101 for ac_exec_ext in '' $ac_executable_extensions; do 4102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4103 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4105 break 2 4106 fi 4107done 4108 done 4109IFS=$as_save_IFS 4110 4111fi 4112fi 4113ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4114if test -n "$ac_ct_OBJDUMP"; then 4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4116$as_echo "$ac_ct_OBJDUMP" >&6; } 4117else 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4119$as_echo "no" >&6; } 4120fi 4121 4122 if test "x$ac_ct_OBJDUMP" = x; then 4123 OBJDUMP="false" 4124 else 4125 case $cross_compiling:$ac_tool_warned in 4126yes:) 4127{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4128$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4129ac_tool_warned=yes ;; 4130esac 4131 OBJDUMP=$ac_ct_OBJDUMP 4132 fi 4133else 4134 OBJDUMP="$ac_cv_prog_OBJDUMP" 4135fi 4136 4137 ;; 4138esac 4139 4140test -z "$AS" && AS=as 4141 4142 4143 4144 4145 4146test -z "$DLLTOOL" && DLLTOOL=dlltool 4147 4148 4149 4150 4151 4152test -z "$OBJDUMP" && OBJDUMP=objdump 4153 4154 4155 4156 4157 4158 4159 4160 4161ac_ext=c 4162ac_cpp='$CPP $CPPFLAGS' 4163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4165ac_compiler_gnu=$ac_cv_c_compiler_gnu 4166if test -n "$ac_tool_prefix"; then 4167 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4168set dummy ${ac_tool_prefix}gcc; ac_word=$2 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4170$as_echo_n "checking for $ac_word... " >&6; } 4171if ${ac_cv_prog_CC+:} false; then : 4172 $as_echo_n "(cached) " >&6 4173else 4174 if test -n "$CC"; then 4175 ac_cv_prog_CC="$CC" # Let the user override the test. 4176else 4177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4178for as_dir in $PATH 4179do 4180 IFS=$as_save_IFS 4181 test -z "$as_dir" && as_dir=. 4182 for ac_exec_ext in '' $ac_executable_extensions; do 4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4184 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4186 break 2 4187 fi 4188done 4189 done 4190IFS=$as_save_IFS 4191 4192fi 4193fi 4194CC=$ac_cv_prog_CC 4195if test -n "$CC"; then 4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4197$as_echo "$CC" >&6; } 4198else 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4200$as_echo "no" >&6; } 4201fi 4202 4203 4204fi 4205if test -z "$ac_cv_prog_CC"; then 4206 ac_ct_CC=$CC 4207 # Extract the first word of "gcc", so it can be a program name with args. 4208set dummy gcc; ac_word=$2 4209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4210$as_echo_n "checking for $ac_word... " >&6; } 4211if ${ac_cv_prog_ac_ct_CC+:} false; then : 4212 $as_echo_n "(cached) " >&6 4213else 4214 if test -n "$ac_ct_CC"; then 4215 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4216else 4217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4218for as_dir in $PATH 4219do 4220 IFS=$as_save_IFS 4221 test -z "$as_dir" && as_dir=. 4222 for ac_exec_ext in '' $ac_executable_extensions; do 4223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4224 ac_cv_prog_ac_ct_CC="gcc" 4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4226 break 2 4227 fi 4228done 4229 done 4230IFS=$as_save_IFS 4231 4232fi 4233fi 4234ac_ct_CC=$ac_cv_prog_ac_ct_CC 4235if test -n "$ac_ct_CC"; then 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4237$as_echo "$ac_ct_CC" >&6; } 4238else 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4240$as_echo "no" >&6; } 4241fi 4242 4243 if test "x$ac_ct_CC" = x; then 4244 CC="" 4245 else 4246 case $cross_compiling:$ac_tool_warned in 4247yes:) 4248{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4249$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4250ac_tool_warned=yes ;; 4251esac 4252 CC=$ac_ct_CC 4253 fi 4254else 4255 CC="$ac_cv_prog_CC" 4256fi 4257 4258if test -z "$CC"; then 4259 if test -n "$ac_tool_prefix"; then 4260 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4261set dummy ${ac_tool_prefix}cc; ac_word=$2 4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4263$as_echo_n "checking for $ac_word... " >&6; } 4264if ${ac_cv_prog_CC+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266else 4267 if test -n "$CC"; then 4268 ac_cv_prog_CC="$CC" # Let the user override the test. 4269else 4270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4271for as_dir in $PATH 4272do 4273 IFS=$as_save_IFS 4274 test -z "$as_dir" && as_dir=. 4275 for ac_exec_ext in '' $ac_executable_extensions; do 4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4277 ac_cv_prog_CC="${ac_tool_prefix}cc" 4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4279 break 2 4280 fi 4281done 4282 done 4283IFS=$as_save_IFS 4284 4285fi 4286fi 4287CC=$ac_cv_prog_CC 4288if test -n "$CC"; then 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4290$as_echo "$CC" >&6; } 4291else 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4293$as_echo "no" >&6; } 4294fi 4295 4296 4297 fi 4298fi 4299if test -z "$CC"; then 4300 # Extract the first word of "cc", so it can be a program name with args. 4301set dummy cc; ac_word=$2 4302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4303$as_echo_n "checking for $ac_word... " >&6; } 4304if ${ac_cv_prog_CC+:} false; then : 4305 $as_echo_n "(cached) " >&6 4306else 4307 if test -n "$CC"; then 4308 ac_cv_prog_CC="$CC" # Let the user override the test. 4309else 4310 ac_prog_rejected=no 4311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4312for as_dir in $PATH 4313do 4314 IFS=$as_save_IFS 4315 test -z "$as_dir" && as_dir=. 4316 for ac_exec_ext in '' $ac_executable_extensions; do 4317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4318 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4319 ac_prog_rejected=yes 4320 continue 4321 fi 4322 ac_cv_prog_CC="cc" 4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4324 break 2 4325 fi 4326done 4327 done 4328IFS=$as_save_IFS 4329 4330if test $ac_prog_rejected = yes; then 4331 # We found a bogon in the path, so make sure we never use it. 4332 set dummy $ac_cv_prog_CC 4333 shift 4334 if test $# != 0; then 4335 # We chose a different compiler from the bogus one. 4336 # However, it has the same basename, so the bogon will be chosen 4337 # first if we set CC to just the basename; use the full file name. 4338 shift 4339 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4340 fi 4341fi 4342fi 4343fi 4344CC=$ac_cv_prog_CC 4345if test -n "$CC"; then 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4347$as_echo "$CC" >&6; } 4348else 4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4350$as_echo "no" >&6; } 4351fi 4352 4353 4354fi 4355if test -z "$CC"; then 4356 if test -n "$ac_tool_prefix"; then 4357 for ac_prog in cl.exe 4358 do 4359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4360set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4362$as_echo_n "checking for $ac_word... " >&6; } 4363if ${ac_cv_prog_CC+:} false; then : 4364 $as_echo_n "(cached) " >&6 4365else 4366 if test -n "$CC"; then 4367 ac_cv_prog_CC="$CC" # Let the user override the test. 4368else 4369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4370for as_dir in $PATH 4371do 4372 IFS=$as_save_IFS 4373 test -z "$as_dir" && as_dir=. 4374 for ac_exec_ext in '' $ac_executable_extensions; do 4375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4376 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4378 break 2 4379 fi 4380done 4381 done 4382IFS=$as_save_IFS 4383 4384fi 4385fi 4386CC=$ac_cv_prog_CC 4387if test -n "$CC"; then 4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4389$as_echo "$CC" >&6; } 4390else 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4392$as_echo "no" >&6; } 4393fi 4394 4395 4396 test -n "$CC" && break 4397 done 4398fi 4399if test -z "$CC"; then 4400 ac_ct_CC=$CC 4401 for ac_prog in cl.exe 4402do 4403 # Extract the first word of "$ac_prog", so it can be a program name with args. 4404set dummy $ac_prog; ac_word=$2 4405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4406$as_echo_n "checking for $ac_word... " >&6; } 4407if ${ac_cv_prog_ac_ct_CC+:} false; then : 4408 $as_echo_n "(cached) " >&6 4409else 4410 if test -n "$ac_ct_CC"; then 4411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4412else 4413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4414for as_dir in $PATH 4415do 4416 IFS=$as_save_IFS 4417 test -z "$as_dir" && as_dir=. 4418 for ac_exec_ext in '' $ac_executable_extensions; do 4419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4420 ac_cv_prog_ac_ct_CC="$ac_prog" 4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4422 break 2 4423 fi 4424done 4425 done 4426IFS=$as_save_IFS 4427 4428fi 4429fi 4430ac_ct_CC=$ac_cv_prog_ac_ct_CC 4431if test -n "$ac_ct_CC"; then 4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4433$as_echo "$ac_ct_CC" >&6; } 4434else 4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4436$as_echo "no" >&6; } 4437fi 4438 4439 4440 test -n "$ac_ct_CC" && break 4441done 4442 4443 if test "x$ac_ct_CC" = x; then 4444 CC="" 4445 else 4446 case $cross_compiling:$ac_tool_warned in 4447yes:) 4448{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4449$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4450ac_tool_warned=yes ;; 4451esac 4452 CC=$ac_ct_CC 4453 fi 4454fi 4455 4456fi 4457 4458 4459test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4461as_fn_error $? "no acceptable C compiler found in \$PATH 4462See \`config.log' for more details" "$LINENO" 5; } 4463 4464# Provide some information about the compiler. 4465$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4466set X $ac_compile 4467ac_compiler=$2 4468for ac_option in --version -v -V -qversion; do 4469 { { ac_try="$ac_compiler $ac_option >&5" 4470case "(($ac_try" in 4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4472 *) ac_try_echo=$ac_try;; 4473esac 4474eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4475$as_echo "$ac_try_echo"; } >&5 4476 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4477 ac_status=$? 4478 if test -s conftest.err; then 4479 sed '10a\ 4480... rest of stderr output deleted ... 4481 10q' conftest.err >conftest.er1 4482 cat conftest.er1 >&5 4483 fi 4484 rm -f conftest.er1 conftest.err 4485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4486 test $ac_status = 0; } 4487done 4488 4489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4490/* end confdefs.h. */ 4491 4492int 4493main () 4494{ 4495 4496 ; 4497 return 0; 4498} 4499_ACEOF 4500ac_clean_files_save=$ac_clean_files 4501ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4502# Try to create an executable without -o first, disregard a.out. 4503# It will help us diagnose broken compilers, and finding out an intuition 4504# of exeext. 4505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4506$as_echo_n "checking whether the C compiler works... " >&6; } 4507ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4508 4509# The possible output files: 4510ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4511 4512ac_rmfiles= 4513for ac_file in $ac_files 4514do 4515 case $ac_file in 4516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4517 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4518 esac 4519done 4520rm -f $ac_rmfiles 4521 4522if { { ac_try="$ac_link_default" 4523case "(($ac_try" in 4524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4525 *) ac_try_echo=$ac_try;; 4526esac 4527eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4528$as_echo "$ac_try_echo"; } >&5 4529 (eval "$ac_link_default") 2>&5 4530 ac_status=$? 4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4532 test $ac_status = 0; }; then : 4533 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4534# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4535# in a Makefile. We should not override ac_cv_exeext if it was cached, 4536# so that the user can short-circuit this test for compilers unknown to 4537# Autoconf. 4538for ac_file in $ac_files '' 4539do 4540 test -f "$ac_file" || continue 4541 case $ac_file in 4542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4543 ;; 4544 [ab].out ) 4545 # We found the default executable, but exeext='' is most 4546 # certainly right. 4547 break;; 4548 *.* ) 4549 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4550 then :; else 4551 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4552 fi 4553 # We set ac_cv_exeext here because the later test for it is not 4554 # safe: cross compilers may not add the suffix if given an `-o' 4555 # argument, so we may need to know it at that point already. 4556 # Even if this section looks crufty: it has the advantage of 4557 # actually working. 4558 break;; 4559 * ) 4560 break;; 4561 esac 4562done 4563test "$ac_cv_exeext" = no && ac_cv_exeext= 4564 4565else 4566 ac_file='' 4567fi 4568if test -z "$ac_file"; then : 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4570$as_echo "no" >&6; } 4571$as_echo "$as_me: failed program was:" >&5 4572sed 's/^/| /' conftest.$ac_ext >&5 4573 4574{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4575$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4576as_fn_error 77 "C compiler cannot create executables 4577See \`config.log' for more details" "$LINENO" 5; } 4578else 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4580$as_echo "yes" >&6; } 4581fi 4582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4583$as_echo_n "checking for C compiler default output file name... " >&6; } 4584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4585$as_echo "$ac_file" >&6; } 4586ac_exeext=$ac_cv_exeext 4587 4588rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4589ac_clean_files=$ac_clean_files_save 4590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4591$as_echo_n "checking for suffix of executables... " >&6; } 4592if { { ac_try="$ac_link" 4593case "(($ac_try" in 4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4595 *) ac_try_echo=$ac_try;; 4596esac 4597eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4598$as_echo "$ac_try_echo"; } >&5 4599 (eval "$ac_link") 2>&5 4600 ac_status=$? 4601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4602 test $ac_status = 0; }; then : 4603 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4604# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4605# work properly (i.e., refer to `conftest.exe'), while it won't with 4606# `rm'. 4607for ac_file in conftest.exe conftest conftest.*; do 4608 test -f "$ac_file" || continue 4609 case $ac_file in 4610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4611 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4612 break;; 4613 * ) break;; 4614 esac 4615done 4616else 4617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4618$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4619as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4620See \`config.log' for more details" "$LINENO" 5; } 4621fi 4622rm -f conftest conftest$ac_cv_exeext 4623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4624$as_echo "$ac_cv_exeext" >&6; } 4625 4626rm -f conftest.$ac_ext 4627EXEEXT=$ac_cv_exeext 4628ac_exeext=$EXEEXT 4629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4630/* end confdefs.h. */ 4631#include <stdio.h> 4632int 4633main () 4634{ 4635FILE *f = fopen ("conftest.out", "w"); 4636 return ferror (f) || fclose (f) != 0; 4637 4638 ; 4639 return 0; 4640} 4641_ACEOF 4642ac_clean_files="$ac_clean_files conftest.out" 4643# Check that the compiler produces executables we can run. If not, either 4644# the compiler is broken, or we cross compile. 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4646$as_echo_n "checking whether we are cross compiling... " >&6; } 4647if test "$cross_compiling" != yes; then 4648 { { ac_try="$ac_link" 4649case "(($ac_try" in 4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4651 *) ac_try_echo=$ac_try;; 4652esac 4653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4654$as_echo "$ac_try_echo"; } >&5 4655 (eval "$ac_link") 2>&5 4656 ac_status=$? 4657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4658 test $ac_status = 0; } 4659 if { ac_try='./conftest$ac_cv_exeext' 4660 { { case "(($ac_try" in 4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4662 *) ac_try_echo=$ac_try;; 4663esac 4664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4665$as_echo "$ac_try_echo"; } >&5 4666 (eval "$ac_try") 2>&5 4667 ac_status=$? 4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4669 test $ac_status = 0; }; }; then 4670 cross_compiling=no 4671 else 4672 if test "$cross_compiling" = maybe; then 4673 cross_compiling=yes 4674 else 4675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4676$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4677as_fn_error $? "cannot run C compiled programs. 4678If you meant to cross compile, use \`--host'. 4679See \`config.log' for more details" "$LINENO" 5; } 4680 fi 4681 fi 4682fi 4683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4684$as_echo "$cross_compiling" >&6; } 4685 4686rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4687ac_clean_files=$ac_clean_files_save 4688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4689$as_echo_n "checking for suffix of object files... " >&6; } 4690if ${ac_cv_objext+:} false; then : 4691 $as_echo_n "(cached) " >&6 4692else 4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4694/* end confdefs.h. */ 4695 4696int 4697main () 4698{ 4699 4700 ; 4701 return 0; 4702} 4703_ACEOF 4704rm -f conftest.o conftest.obj 4705if { { ac_try="$ac_compile" 4706case "(($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_compile") 2>&5 4713 ac_status=$? 4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4715 test $ac_status = 0; }; then : 4716 for ac_file in conftest.o conftest.obj conftest.*; do 4717 test -f "$ac_file" || continue; 4718 case $ac_file in 4719 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4720 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4721 break;; 4722 esac 4723done 4724else 4725 $as_echo "$as_me: failed program was:" >&5 4726sed 's/^/| /' conftest.$ac_ext >&5 4727 4728{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4730as_fn_error $? "cannot compute suffix of object files: cannot compile 4731See \`config.log' for more details" "$LINENO" 5; } 4732fi 4733rm -f conftest.$ac_cv_objext conftest.$ac_ext 4734fi 4735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4736$as_echo "$ac_cv_objext" >&6; } 4737OBJEXT=$ac_cv_objext 4738ac_objext=$OBJEXT 4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4740$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4741if ${ac_cv_c_compiler_gnu+:} false; then : 4742 $as_echo_n "(cached) " >&6 4743else 4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4745/* end confdefs.h. */ 4746 4747int 4748main () 4749{ 4750#ifndef __GNUC__ 4751 choke me 4752#endif 4753 4754 ; 4755 return 0; 4756} 4757_ACEOF 4758if ac_fn_c_try_compile "$LINENO"; then : 4759 ac_compiler_gnu=yes 4760else 4761 ac_compiler_gnu=no 4762fi 4763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4764ac_cv_c_compiler_gnu=$ac_compiler_gnu 4765 4766fi 4767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4768$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4769if test $ac_compiler_gnu = yes; then 4770 GCC=yes 4771else 4772 GCC= 4773fi 4774ac_test_CFLAGS=${CFLAGS+set} 4775ac_save_CFLAGS=$CFLAGS 4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4777$as_echo_n "checking whether $CC accepts -g... " >&6; } 4778if ${ac_cv_prog_cc_g+:} false; then : 4779 $as_echo_n "(cached) " >&6 4780else 4781 ac_save_c_werror_flag=$ac_c_werror_flag 4782 ac_c_werror_flag=yes 4783 ac_cv_prog_cc_g=no 4784 CFLAGS="-g" 4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4786/* end confdefs.h. */ 4787 4788int 4789main () 4790{ 4791 4792 ; 4793 return 0; 4794} 4795_ACEOF 4796if ac_fn_c_try_compile "$LINENO"; then : 4797 ac_cv_prog_cc_g=yes 4798else 4799 CFLAGS="" 4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4801/* end confdefs.h. */ 4802 4803int 4804main () 4805{ 4806 4807 ; 4808 return 0; 4809} 4810_ACEOF 4811if ac_fn_c_try_compile "$LINENO"; then : 4812 4813else 4814 ac_c_werror_flag=$ac_save_c_werror_flag 4815 CFLAGS="-g" 4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4817/* end confdefs.h. */ 4818 4819int 4820main () 4821{ 4822 4823 ; 4824 return 0; 4825} 4826_ACEOF 4827if ac_fn_c_try_compile "$LINENO"; then : 4828 ac_cv_prog_cc_g=yes 4829fi 4830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4831fi 4832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4833fi 4834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4835 ac_c_werror_flag=$ac_save_c_werror_flag 4836fi 4837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4838$as_echo "$ac_cv_prog_cc_g" >&6; } 4839if test "$ac_test_CFLAGS" = set; then 4840 CFLAGS=$ac_save_CFLAGS 4841elif test $ac_cv_prog_cc_g = yes; then 4842 if test "$GCC" = yes; then 4843 CFLAGS="-g -O2" 4844 else 4845 CFLAGS="-g" 4846 fi 4847else 4848 if test "$GCC" = yes; then 4849 CFLAGS="-O2" 4850 else 4851 CFLAGS= 4852 fi 4853fi 4854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4855$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4856if ${ac_cv_prog_cc_c89+:} false; then : 4857 $as_echo_n "(cached) " >&6 4858else 4859 ac_cv_prog_cc_c89=no 4860ac_save_CC=$CC 4861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4862/* end confdefs.h. */ 4863#include <stdarg.h> 4864#include <stdio.h> 4865struct stat; 4866/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4867struct buf { int x; }; 4868FILE * (*rcsopen) (struct buf *, struct stat *, int); 4869static char *e (p, i) 4870 char **p; 4871 int i; 4872{ 4873 return p[i]; 4874} 4875static char *f (char * (*g) (char **, int), char **p, ...) 4876{ 4877 char *s; 4878 va_list v; 4879 va_start (v,p); 4880 s = g (p, va_arg (v,int)); 4881 va_end (v); 4882 return s; 4883} 4884 4885/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4886 function prototypes and stuff, but not '\xHH' hex character constants. 4887 These don't provoke an error unfortunately, instead are silently treated 4888 as 'x'. The following induces an error, until -std is added to get 4889 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4890 array size at least. It's necessary to write '\x00'==0 to get something 4891 that's true only with -std. */ 4892int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4893 4894/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4895 inside strings and character constants. */ 4896#define FOO(x) 'x' 4897int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4898 4899int test (int i, double x); 4900struct s1 {int (*f) (int a);}; 4901struct s2 {int (*f) (double a);}; 4902int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4903int argc; 4904char **argv; 4905int 4906main () 4907{ 4908return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4909 ; 4910 return 0; 4911} 4912_ACEOF 4913for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4914 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4915do 4916 CC="$ac_save_CC $ac_arg" 4917 if ac_fn_c_try_compile "$LINENO"; then : 4918 ac_cv_prog_cc_c89=$ac_arg 4919fi 4920rm -f core conftest.err conftest.$ac_objext 4921 test "x$ac_cv_prog_cc_c89" != "xno" && break 4922done 4923rm -f conftest.$ac_ext 4924CC=$ac_save_CC 4925 4926fi 4927# AC_CACHE_VAL 4928case "x$ac_cv_prog_cc_c89" in 4929 x) 4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4931$as_echo "none needed" >&6; } ;; 4932 xno) 4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4934$as_echo "unsupported" >&6; } ;; 4935 *) 4936 CC="$CC $ac_cv_prog_cc_c89" 4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4938$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4939esac 4940if test "x$ac_cv_prog_cc_c89" != xno; then : 4941 4942fi 4943 4944ac_ext=c 4945ac_cpp='$CPP $CPPFLAGS' 4946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4948ac_compiler_gnu=$ac_cv_c_compiler_gnu 4949 4950ac_ext=c 4951ac_cpp='$CPP $CPPFLAGS' 4952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4954ac_compiler_gnu=$ac_cv_c_compiler_gnu 4955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4956$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4957if ${am_cv_prog_cc_c_o+:} false; then : 4958 $as_echo_n "(cached) " >&6 4959else 4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4961/* end confdefs.h. */ 4962 4963int 4964main () 4965{ 4966 4967 ; 4968 return 0; 4969} 4970_ACEOF 4971 # Make sure it works both with $CC and with simple cc. 4972 # Following AC_PROG_CC_C_O, we do the test twice because some 4973 # compilers refuse to overwrite an existing .o file with -o, 4974 # though they will create one. 4975 am_cv_prog_cc_c_o=yes 4976 for am_i in 1 2; do 4977 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4978 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4979 ac_status=$? 4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4981 (exit $ac_status); } \ 4982 && test -f conftest2.$ac_objext; then 4983 : OK 4984 else 4985 am_cv_prog_cc_c_o=no 4986 break 4987 fi 4988 done 4989 rm -f core conftest* 4990 unset am_i 4991fi 4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4993$as_echo "$am_cv_prog_cc_c_o" >&6; } 4994if test "$am_cv_prog_cc_c_o" != yes; then 4995 # Losing compiler, so override with the script. 4996 # FIXME: It is wrong to rewrite CC. 4997 # But if we don't then we get into trouble of one sort or another. 4998 # A longer-term fix would be to have automake use am__CC in this case, 4999 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5000 CC="$am_aux_dir/compile $CC" 5001fi 5002ac_ext=c 5003ac_cpp='$CPP $CPPFLAGS' 5004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5006ac_compiler_gnu=$ac_cv_c_compiler_gnu 5007 5008DEPDIR="${am__leading_dot}deps" 5009 5010ac_config_commands="$ac_config_commands depfiles" 5011 5012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5013$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5014cat > confinc.mk << 'END' 5015am__doit: 5016 @echo this is the am__doit target >confinc.out 5017.PHONY: am__doit 5018END 5019am__include="#" 5020am__quote= 5021# BSD make does it like this. 5022echo '.include "confinc.mk" # ignored' > confmf.BSD 5023# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5024echo 'include confinc.mk # ignored' > confmf.GNU 5025_am_result=no 5026for s in GNU BSD; do 5027 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5028 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5029 ac_status=$? 5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5031 (exit $ac_status); } 5032 case $?:`cat confinc.out 2>/dev/null` in #( 5033 '0:this is the am__doit target') : 5034 case $s in #( 5035 BSD) : 5036 am__include='.include' am__quote='"' ;; #( 5037 *) : 5038 am__include='include' am__quote='' ;; 5039esac ;; #( 5040 *) : 5041 ;; 5042esac 5043 if test "$am__include" != "#"; then 5044 _am_result="yes ($s style)" 5045 break 5046 fi 5047done 5048rm -f confinc.* confmf.* 5049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5050$as_echo "${_am_result}" >&6; } 5051 5052# Check whether --enable-dependency-tracking was given. 5053if test "${enable_dependency_tracking+set}" = set; then : 5054 enableval=$enable_dependency_tracking; 5055fi 5056 5057if test "x$enable_dependency_tracking" != xno; then 5058 am_depcomp="$ac_aux_dir/depcomp" 5059 AMDEPBACKSLASH='\' 5060 am__nodep='_no' 5061fi 5062 if test "x$enable_dependency_tracking" != xno; then 5063 AMDEP_TRUE= 5064 AMDEP_FALSE='#' 5065else 5066 AMDEP_TRUE='#' 5067 AMDEP_FALSE= 5068fi 5069 5070 5071 5072depcc="$CC" am_compiler_list= 5073 5074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5075$as_echo_n "checking dependency style of $depcc... " >&6; } 5076if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5077 $as_echo_n "(cached) " >&6 5078else 5079 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5080 # We make a subdir and do the tests there. Otherwise we can end up 5081 # making bogus files that we don't know about and never remove. For 5082 # instance it was reported that on HP-UX the gcc test will end up 5083 # making a dummy file named 'D' -- because '-MD' means "put the output 5084 # in D". 5085 rm -rf conftest.dir 5086 mkdir conftest.dir 5087 # Copy depcomp to subdir because otherwise we won't find it if we're 5088 # using a relative directory. 5089 cp "$am_depcomp" conftest.dir 5090 cd conftest.dir 5091 # We will build objects and dependencies in a subdirectory because 5092 # it helps to detect inapplicable dependency modes. For instance 5093 # both Tru64's cc and ICC support -MD to output dependencies as a 5094 # side effect of compilation, but ICC will put the dependencies in 5095 # the current directory while Tru64 will put them in the object 5096 # directory. 5097 mkdir sub 5098 5099 am_cv_CC_dependencies_compiler_type=none 5100 if test "$am_compiler_list" = ""; then 5101 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5102 fi 5103 am__universal=false 5104 case " $depcc " in #( 5105 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5106 esac 5107 5108 for depmode in $am_compiler_list; do 5109 # Setup a source with many dependencies, because some compilers 5110 # like to wrap large dependency lists on column 80 (with \), and 5111 # we should not choose a depcomp mode which is confused by this. 5112 # 5113 # We need to recreate these files for each test, as the compiler may 5114 # overwrite some of them when testing with obscure command lines. 5115 # This happens at least with the AIX C compiler. 5116 : > sub/conftest.c 5117 for i in 1 2 3 4 5 6; do 5118 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5119 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5120 # Solaris 10 /bin/sh. 5121 echo '/* dummy */' > sub/conftst$i.h 5122 done 5123 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5124 5125 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5126 # mode. It turns out that the SunPro C++ compiler does not properly 5127 # handle '-M -o', and we need to detect this. Also, some Intel 5128 # versions had trouble with output in subdirs. 5129 am__obj=sub/conftest.${OBJEXT-o} 5130 am__minus_obj="-o $am__obj" 5131 case $depmode in 5132 gcc) 5133 # This depmode causes a compiler race in universal mode. 5134 test "$am__universal" = false || continue 5135 ;; 5136 nosideeffect) 5137 # After this tag, mechanisms are not by side-effect, so they'll 5138 # only be used when explicitly requested. 5139 if test "x$enable_dependency_tracking" = xyes; then 5140 continue 5141 else 5142 break 5143 fi 5144 ;; 5145 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5146 # This compiler won't grok '-c -o', but also, the minuso test has 5147 # not run yet. These depmodes are late enough in the game, and 5148 # so weak that their functioning should not be impacted. 5149 am__obj=conftest.${OBJEXT-o} 5150 am__minus_obj= 5151 ;; 5152 none) break ;; 5153 esac 5154 if depmode=$depmode \ 5155 source=sub/conftest.c object=$am__obj \ 5156 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5157 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5158 >/dev/null 2>conftest.err && 5159 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5160 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5161 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5162 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5163 # icc doesn't choke on unknown options, it will just issue warnings 5164 # or remarks (even with -Werror). So we grep stderr for any message 5165 # that says an option was ignored or not supported. 5166 # When given -MP, icc 7.0 and 7.1 complain thusly: 5167 # icc: Command line warning: ignoring option '-M'; no argument required 5168 # The diagnosis changed in icc 8.0: 5169 # icc: Command line remark: option '-MP' not supported 5170 if (grep 'ignoring option' conftest.err || 5171 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5172 am_cv_CC_dependencies_compiler_type=$depmode 5173 break 5174 fi 5175 fi 5176 done 5177 5178 cd .. 5179 rm -rf conftest.dir 5180else 5181 am_cv_CC_dependencies_compiler_type=none 5182fi 5183 5184fi 5185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5186$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5187CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5188 5189 if 5190 test "x$enable_dependency_tracking" != xno \ 5191 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5192 am__fastdepCC_TRUE= 5193 am__fastdepCC_FALSE='#' 5194else 5195 am__fastdepCC_TRUE='#' 5196 am__fastdepCC_FALSE= 5197fi 5198 5199 5200 5201ac_ext=c 5202ac_cpp='$CPP $CPPFLAGS' 5203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5205ac_compiler_gnu=$ac_cv_c_compiler_gnu 5206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5207$as_echo_n "checking how to run the C preprocessor... " >&6; } 5208# On Suns, sometimes $CPP names a directory. 5209if test -n "$CPP" && test -d "$CPP"; then 5210 CPP= 5211fi 5212if test -z "$CPP"; then 5213 if ${ac_cv_prog_CPP+:} false; then : 5214 $as_echo_n "(cached) " >&6 5215else 5216 # Double quotes because CPP needs to be expanded 5217 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5218 do 5219 ac_preproc_ok=false 5220for ac_c_preproc_warn_flag in '' yes 5221do 5222 # Use a header file that comes with gcc, so configuring glibc 5223 # with a fresh cross-compiler works. 5224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5225 # <limits.h> exists even on freestanding compilers. 5226 # On the NeXT, cc -E runs the code through the compiler's parser, 5227 # not just through cpp. "Syntax error" is here to catch this case. 5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5229/* end confdefs.h. */ 5230#ifdef __STDC__ 5231# include <limits.h> 5232#else 5233# include <assert.h> 5234#endif 5235 Syntax error 5236_ACEOF 5237if ac_fn_c_try_cpp "$LINENO"; then : 5238 5239else 5240 # Broken: fails on valid input. 5241continue 5242fi 5243rm -f conftest.err conftest.i conftest.$ac_ext 5244 5245 # OK, works on sane cases. Now check whether nonexistent headers 5246 # can be detected and how. 5247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5248/* end confdefs.h. */ 5249#include <ac_nonexistent.h> 5250_ACEOF 5251if ac_fn_c_try_cpp "$LINENO"; then : 5252 # Broken: success on invalid input. 5253continue 5254else 5255 # Passes both tests. 5256ac_preproc_ok=: 5257break 5258fi 5259rm -f conftest.err conftest.i conftest.$ac_ext 5260 5261done 5262# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5263rm -f conftest.i conftest.err conftest.$ac_ext 5264if $ac_preproc_ok; then : 5265 break 5266fi 5267 5268 done 5269 ac_cv_prog_CPP=$CPP 5270 5271fi 5272 CPP=$ac_cv_prog_CPP 5273else 5274 ac_cv_prog_CPP=$CPP 5275fi 5276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5277$as_echo "$CPP" >&6; } 5278ac_preproc_ok=false 5279for ac_c_preproc_warn_flag in '' yes 5280do 5281 # Use a header file that comes with gcc, so configuring glibc 5282 # with a fresh cross-compiler works. 5283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5284 # <limits.h> exists even on freestanding compilers. 5285 # On the NeXT, cc -E runs the code through the compiler's parser, 5286 # not just through cpp. "Syntax error" is here to catch this case. 5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5288/* end confdefs.h. */ 5289#ifdef __STDC__ 5290# include <limits.h> 5291#else 5292# include <assert.h> 5293#endif 5294 Syntax error 5295_ACEOF 5296if ac_fn_c_try_cpp "$LINENO"; then : 5297 5298else 5299 # Broken: fails on valid input. 5300continue 5301fi 5302rm -f conftest.err conftest.i conftest.$ac_ext 5303 5304 # OK, works on sane cases. Now check whether nonexistent headers 5305 # can be detected and how. 5306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5307/* end confdefs.h. */ 5308#include <ac_nonexistent.h> 5309_ACEOF 5310if ac_fn_c_try_cpp "$LINENO"; then : 5311 # Broken: success on invalid input. 5312continue 5313else 5314 # Passes both tests. 5315ac_preproc_ok=: 5316break 5317fi 5318rm -f conftest.err conftest.i conftest.$ac_ext 5319 5320done 5321# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5322rm -f conftest.i conftest.err conftest.$ac_ext 5323if $ac_preproc_ok; then : 5324 5325else 5326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5328as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5329See \`config.log' for more details" "$LINENO" 5; } 5330fi 5331 5332ac_ext=c 5333ac_cpp='$CPP $CPPFLAGS' 5334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5336ac_compiler_gnu=$ac_cv_c_compiler_gnu 5337 5338 5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5340$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5341if ${ac_cv_path_GREP+:} false; then : 5342 $as_echo_n "(cached) " >&6 5343else 5344 if test -z "$GREP"; then 5345 ac_path_GREP_found=false 5346 # Loop through the user's path and test for each of PROGNAME-LIST 5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5348for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5349do 5350 IFS=$as_save_IFS 5351 test -z "$as_dir" && as_dir=. 5352 for ac_prog in grep ggrep; do 5353 for ac_exec_ext in '' $ac_executable_extensions; do 5354 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5355 as_fn_executable_p "$ac_path_GREP" || continue 5356# Check for GNU ac_path_GREP and select it if it is found. 5357 # Check for GNU $ac_path_GREP 5358case `"$ac_path_GREP" --version 2>&1` in 5359*GNU*) 5360 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5361*) 5362 ac_count=0 5363 $as_echo_n 0123456789 >"conftest.in" 5364 while : 5365 do 5366 cat "conftest.in" "conftest.in" >"conftest.tmp" 5367 mv "conftest.tmp" "conftest.in" 5368 cp "conftest.in" "conftest.nl" 5369 $as_echo 'GREP' >> "conftest.nl" 5370 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5372 as_fn_arith $ac_count + 1 && ac_count=$as_val 5373 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5374 # Best one so far, save it but keep looking for a better one 5375 ac_cv_path_GREP="$ac_path_GREP" 5376 ac_path_GREP_max=$ac_count 5377 fi 5378 # 10*(2^10) chars as input seems more than enough 5379 test $ac_count -gt 10 && break 5380 done 5381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5382esac 5383 5384 $ac_path_GREP_found && break 3 5385 done 5386 done 5387 done 5388IFS=$as_save_IFS 5389 if test -z "$ac_cv_path_GREP"; then 5390 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5391 fi 5392else 5393 ac_cv_path_GREP=$GREP 5394fi 5395 5396fi 5397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5398$as_echo "$ac_cv_path_GREP" >&6; } 5399 GREP="$ac_cv_path_GREP" 5400 5401 5402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5403$as_echo_n "checking for egrep... " >&6; } 5404if ${ac_cv_path_EGREP+:} false; then : 5405 $as_echo_n "(cached) " >&6 5406else 5407 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5408 then ac_cv_path_EGREP="$GREP -E" 5409 else 5410 if test -z "$EGREP"; then 5411 ac_path_EGREP_found=false 5412 # Loop through the user's path and test for each of PROGNAME-LIST 5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5414for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5415do 5416 IFS=$as_save_IFS 5417 test -z "$as_dir" && as_dir=. 5418 for ac_prog in egrep; do 5419 for ac_exec_ext in '' $ac_executable_extensions; do 5420 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5421 as_fn_executable_p "$ac_path_EGREP" || continue 5422# Check for GNU ac_path_EGREP and select it if it is found. 5423 # Check for GNU $ac_path_EGREP 5424case `"$ac_path_EGREP" --version 2>&1` in 5425*GNU*) 5426 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5427*) 5428 ac_count=0 5429 $as_echo_n 0123456789 >"conftest.in" 5430 while : 5431 do 5432 cat "conftest.in" "conftest.in" >"conftest.tmp" 5433 mv "conftest.tmp" "conftest.in" 5434 cp "conftest.in" "conftest.nl" 5435 $as_echo 'EGREP' >> "conftest.nl" 5436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5438 as_fn_arith $ac_count + 1 && ac_count=$as_val 5439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5440 # Best one so far, save it but keep looking for a better one 5441 ac_cv_path_EGREP="$ac_path_EGREP" 5442 ac_path_EGREP_max=$ac_count 5443 fi 5444 # 10*(2^10) chars as input seems more than enough 5445 test $ac_count -gt 10 && break 5446 done 5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5448esac 5449 5450 $ac_path_EGREP_found && break 3 5451 done 5452 done 5453 done 5454IFS=$as_save_IFS 5455 if test -z "$ac_cv_path_EGREP"; then 5456 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5457 fi 5458else 5459 ac_cv_path_EGREP=$EGREP 5460fi 5461 5462 fi 5463fi 5464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5465$as_echo "$ac_cv_path_EGREP" >&6; } 5466 EGREP="$ac_cv_path_EGREP" 5467 5468 5469if test $ac_cv_c_compiler_gnu = yes; then 5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5471$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5472if ${ac_cv_prog_gcc_traditional+:} false; then : 5473 $as_echo_n "(cached) " >&6 5474else 5475 ac_pattern="Autoconf.*'x'" 5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5477/* end confdefs.h. */ 5478#include <sgtty.h> 5479Autoconf TIOCGETP 5480_ACEOF 5481if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5482 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5483 ac_cv_prog_gcc_traditional=yes 5484else 5485 ac_cv_prog_gcc_traditional=no 5486fi 5487rm -f conftest* 5488 5489 5490 if test $ac_cv_prog_gcc_traditional = no; then 5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5492/* end confdefs.h. */ 5493#include <termio.h> 5494Autoconf TCGETA 5495_ACEOF 5496if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5497 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5498 ac_cv_prog_gcc_traditional=yes 5499fi 5500rm -f conftest* 5501 5502 fi 5503fi 5504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5505$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5506 if test $ac_cv_prog_gcc_traditional = yes; then 5507 CC="$CC -traditional" 5508 fi 5509fi 5510 5511ac_ext=cpp 5512ac_cpp='$CXXCPP $CPPFLAGS' 5513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5516if test -z "$CXX"; then 5517 if test -n "$CCC"; then 5518 CXX=$CCC 5519 else 5520 if test -n "$ac_tool_prefix"; then 5521 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5522 do 5523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5524set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5526$as_echo_n "checking for $ac_word... " >&6; } 5527if ${ac_cv_prog_CXX+:} false; then : 5528 $as_echo_n "(cached) " >&6 5529else 5530 if test -n "$CXX"; then 5531 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5532else 5533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5534for as_dir in $PATH 5535do 5536 IFS=$as_save_IFS 5537 test -z "$as_dir" && as_dir=. 5538 for ac_exec_ext in '' $ac_executable_extensions; do 5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5540 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5542 break 2 5543 fi 5544done 5545 done 5546IFS=$as_save_IFS 5547 5548fi 5549fi 5550CXX=$ac_cv_prog_CXX 5551if test -n "$CXX"; then 5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5553$as_echo "$CXX" >&6; } 5554else 5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5556$as_echo "no" >&6; } 5557fi 5558 5559 5560 test -n "$CXX" && break 5561 done 5562fi 5563if test -z "$CXX"; then 5564 ac_ct_CXX=$CXX 5565 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5566do 5567 # Extract the first word of "$ac_prog", so it can be a program name with args. 5568set dummy $ac_prog; ac_word=$2 5569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5570$as_echo_n "checking for $ac_word... " >&6; } 5571if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5572 $as_echo_n "(cached) " >&6 5573else 5574 if test -n "$ac_ct_CXX"; then 5575 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5576else 5577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5578for as_dir in $PATH 5579do 5580 IFS=$as_save_IFS 5581 test -z "$as_dir" && as_dir=. 5582 for ac_exec_ext in '' $ac_executable_extensions; do 5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5584 ac_cv_prog_ac_ct_CXX="$ac_prog" 5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5586 break 2 5587 fi 5588done 5589 done 5590IFS=$as_save_IFS 5591 5592fi 5593fi 5594ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5595if test -n "$ac_ct_CXX"; then 5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5597$as_echo "$ac_ct_CXX" >&6; } 5598else 5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5600$as_echo "no" >&6; } 5601fi 5602 5603 5604 test -n "$ac_ct_CXX" && break 5605done 5606 5607 if test "x$ac_ct_CXX" = x; then 5608 CXX="g++" 5609 else 5610 case $cross_compiling:$ac_tool_warned in 5611yes:) 5612{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5613$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5614ac_tool_warned=yes ;; 5615esac 5616 CXX=$ac_ct_CXX 5617 fi 5618fi 5619 5620 fi 5621fi 5622# Provide some information about the compiler. 5623$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5624set X $ac_compile 5625ac_compiler=$2 5626for ac_option in --version -v -V -qversion; do 5627 { { ac_try="$ac_compiler $ac_option >&5" 5628case "(($ac_try" in 5629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5630 *) ac_try_echo=$ac_try;; 5631esac 5632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5633$as_echo "$ac_try_echo"; } >&5 5634 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5635 ac_status=$? 5636 if test -s conftest.err; then 5637 sed '10a\ 5638... rest of stderr output deleted ... 5639 10q' conftest.err >conftest.er1 5640 cat conftest.er1 >&5 5641 fi 5642 rm -f conftest.er1 conftest.err 5643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5644 test $ac_status = 0; } 5645done 5646 5647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5648$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5649if ${ac_cv_cxx_compiler_gnu+:} false; then : 5650 $as_echo_n "(cached) " >&6 5651else 5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5653/* end confdefs.h. */ 5654 5655int 5656main () 5657{ 5658#ifndef __GNUC__ 5659 choke me 5660#endif 5661 5662 ; 5663 return 0; 5664} 5665_ACEOF 5666if ac_fn_cxx_try_compile "$LINENO"; then : 5667 ac_compiler_gnu=yes 5668else 5669 ac_compiler_gnu=no 5670fi 5671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5672ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5673 5674fi 5675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5676$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5677if test $ac_compiler_gnu = yes; then 5678 GXX=yes 5679else 5680 GXX= 5681fi 5682ac_test_CXXFLAGS=${CXXFLAGS+set} 5683ac_save_CXXFLAGS=$CXXFLAGS 5684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5685$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5686if ${ac_cv_prog_cxx_g+:} false; then : 5687 $as_echo_n "(cached) " >&6 5688else 5689 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5690 ac_cxx_werror_flag=yes 5691 ac_cv_prog_cxx_g=no 5692 CXXFLAGS="-g" 5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5694/* end confdefs.h. */ 5695 5696int 5697main () 5698{ 5699 5700 ; 5701 return 0; 5702} 5703_ACEOF 5704if ac_fn_cxx_try_compile "$LINENO"; then : 5705 ac_cv_prog_cxx_g=yes 5706else 5707 CXXFLAGS="" 5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5709/* end confdefs.h. */ 5710 5711int 5712main () 5713{ 5714 5715 ; 5716 return 0; 5717} 5718_ACEOF 5719if ac_fn_cxx_try_compile "$LINENO"; then : 5720 5721else 5722 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5723 CXXFLAGS="-g" 5724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5725/* end confdefs.h. */ 5726 5727int 5728main () 5729{ 5730 5731 ; 5732 return 0; 5733} 5734_ACEOF 5735if ac_fn_cxx_try_compile "$LINENO"; then : 5736 ac_cv_prog_cxx_g=yes 5737fi 5738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5739fi 5740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5741fi 5742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5743 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5744fi 5745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5746$as_echo "$ac_cv_prog_cxx_g" >&6; } 5747if test "$ac_test_CXXFLAGS" = set; then 5748 CXXFLAGS=$ac_save_CXXFLAGS 5749elif test $ac_cv_prog_cxx_g = yes; then 5750 if test "$GXX" = yes; then 5751 CXXFLAGS="-g -O2" 5752 else 5753 CXXFLAGS="-g" 5754 fi 5755else 5756 if test "$GXX" = yes; then 5757 CXXFLAGS="-O2" 5758 else 5759 CXXFLAGS= 5760 fi 5761fi 5762ac_ext=c 5763ac_cpp='$CPP $CPPFLAGS' 5764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5766ac_compiler_gnu=$ac_cv_c_compiler_gnu 5767 5768depcc="$CXX" am_compiler_list= 5769 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5771$as_echo_n "checking dependency style of $depcc... " >&6; } 5772if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5773 $as_echo_n "(cached) " >&6 5774else 5775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5776 # We make a subdir and do the tests there. Otherwise we can end up 5777 # making bogus files that we don't know about and never remove. For 5778 # instance it was reported that on HP-UX the gcc test will end up 5779 # making a dummy file named 'D' -- because '-MD' means "put the output 5780 # in D". 5781 rm -rf conftest.dir 5782 mkdir conftest.dir 5783 # Copy depcomp to subdir because otherwise we won't find it if we're 5784 # using a relative directory. 5785 cp "$am_depcomp" conftest.dir 5786 cd conftest.dir 5787 # We will build objects and dependencies in a subdirectory because 5788 # it helps to detect inapplicable dependency modes. For instance 5789 # both Tru64's cc and ICC support -MD to output dependencies as a 5790 # side effect of compilation, but ICC will put the dependencies in 5791 # the current directory while Tru64 will put them in the object 5792 # directory. 5793 mkdir sub 5794 5795 am_cv_CXX_dependencies_compiler_type=none 5796 if test "$am_compiler_list" = ""; then 5797 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5798 fi 5799 am__universal=false 5800 case " $depcc " in #( 5801 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5802 esac 5803 5804 for depmode in $am_compiler_list; do 5805 # Setup a source with many dependencies, because some compilers 5806 # like to wrap large dependency lists on column 80 (with \), and 5807 # we should not choose a depcomp mode which is confused by this. 5808 # 5809 # We need to recreate these files for each test, as the compiler may 5810 # overwrite some of them when testing with obscure command lines. 5811 # This happens at least with the AIX C compiler. 5812 : > sub/conftest.c 5813 for i in 1 2 3 4 5 6; do 5814 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5815 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5816 # Solaris 10 /bin/sh. 5817 echo '/* dummy */' > sub/conftst$i.h 5818 done 5819 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5820 5821 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5822 # mode. It turns out that the SunPro C++ compiler does not properly 5823 # handle '-M -o', and we need to detect this. Also, some Intel 5824 # versions had trouble with output in subdirs. 5825 am__obj=sub/conftest.${OBJEXT-o} 5826 am__minus_obj="-o $am__obj" 5827 case $depmode in 5828 gcc) 5829 # This depmode causes a compiler race in universal mode. 5830 test "$am__universal" = false || continue 5831 ;; 5832 nosideeffect) 5833 # After this tag, mechanisms are not by side-effect, so they'll 5834 # only be used when explicitly requested. 5835 if test "x$enable_dependency_tracking" = xyes; then 5836 continue 5837 else 5838 break 5839 fi 5840 ;; 5841 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5842 # This compiler won't grok '-c -o', but also, the minuso test has 5843 # not run yet. These depmodes are late enough in the game, and 5844 # so weak that their functioning should not be impacted. 5845 am__obj=conftest.${OBJEXT-o} 5846 am__minus_obj= 5847 ;; 5848 none) break ;; 5849 esac 5850 if depmode=$depmode \ 5851 source=sub/conftest.c object=$am__obj \ 5852 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5853 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5854 >/dev/null 2>conftest.err && 5855 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5856 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5857 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5858 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5859 # icc doesn't choke on unknown options, it will just issue warnings 5860 # or remarks (even with -Werror). So we grep stderr for any message 5861 # that says an option was ignored or not supported. 5862 # When given -MP, icc 7.0 and 7.1 complain thusly: 5863 # icc: Command line warning: ignoring option '-M'; no argument required 5864 # The diagnosis changed in icc 8.0: 5865 # icc: Command line remark: option '-MP' not supported 5866 if (grep 'ignoring option' conftest.err || 5867 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5868 am_cv_CXX_dependencies_compiler_type=$depmode 5869 break 5870 fi 5871 fi 5872 done 5873 5874 cd .. 5875 rm -rf conftest.dir 5876else 5877 am_cv_CXX_dependencies_compiler_type=none 5878fi 5879 5880fi 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5882$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5883CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5884 5885 if 5886 test "x$enable_dependency_tracking" != xno \ 5887 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5888 am__fastdepCXX_TRUE= 5889 am__fastdepCXX_FALSE='#' 5890else 5891 am__fastdepCXX_TRUE='#' 5892 am__fastdepCXX_FALSE= 5893fi 5894 5895 5896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5897$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5898set x ${MAKE-make} 5899ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5900if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5901 $as_echo_n "(cached) " >&6 5902else 5903 cat >conftest.make <<\_ACEOF 5904SHELL = /bin/sh 5905all: 5906 @echo '@@@%%%=$(MAKE)=@@@%%%' 5907_ACEOF 5908# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5909case `${MAKE-make} -f conftest.make 2>/dev/null` in 5910 *@@@%%%=?*=@@@%%%*) 5911 eval ac_cv_prog_make_${ac_make}_set=yes;; 5912 *) 5913 eval ac_cv_prog_make_${ac_make}_set=no;; 5914esac 5915rm -f conftest.make 5916fi 5917if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5919$as_echo "yes" >&6; } 5920 SET_MAKE= 5921else 5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5923$as_echo "no" >&6; } 5924 SET_MAKE="MAKE=${MAKE-make}" 5925fi 5926 5927 5928 5929case `pwd` in 5930 *\ * | *\ *) 5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5932$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5933esac 5934 5935 5936 5937macro_version='2.4.6' 5938macro_revision='2.4.6' 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952ltmain=$ac_aux_dir/ltmain.sh 5953 5954# Backslashify metacharacters that are still active within 5955# double-quoted strings. 5956sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5957 5958# Same as above, but do not quote variable references. 5959double_quote_subst='s/\(["`\\]\)/\\\1/g' 5960 5961# Sed substitution to delay expansion of an escaped shell variable in a 5962# double_quote_subst'ed string. 5963delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5964 5965# Sed substitution to delay expansion of an escaped single quote. 5966delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5967 5968# Sed substitution to avoid accidental globbing in evaled expressions 5969no_glob_subst='s/\*/\\\*/g' 5970 5971ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5972ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5973ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5974 5975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5976$as_echo_n "checking how to print strings... " >&6; } 5977# Test print first, because it will be a builtin if present. 5978if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5979 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5980 ECHO='print -r --' 5981elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5982 ECHO='printf %s\n' 5983else 5984 # Use this function as a fallback that always works. 5985 func_fallback_echo () 5986 { 5987 eval 'cat <<_LTECHO_EOF 5988$1 5989_LTECHO_EOF' 5990 } 5991 ECHO='func_fallback_echo' 5992fi 5993 5994# func_echo_all arg... 5995# Invoke $ECHO with all args, space-separated. 5996func_echo_all () 5997{ 5998 $ECHO "" 5999} 6000 6001case $ECHO in 6002 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6003$as_echo "printf" >&6; } ;; 6004 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6005$as_echo "print -r" >&6; } ;; 6006 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6007$as_echo "cat" >&6; } ;; 6008esac 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6024$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6025if ${ac_cv_path_SED+:} false; then : 6026 $as_echo_n "(cached) " >&6 6027else 6028 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6029 for ac_i in 1 2 3 4 5 6 7; do 6030 ac_script="$ac_script$as_nl$ac_script" 6031 done 6032 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6033 { ac_script=; unset ac_script;} 6034 if test -z "$SED"; then 6035 ac_path_SED_found=false 6036 # Loop through the user's path and test for each of PROGNAME-LIST 6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6038for as_dir in $PATH 6039do 6040 IFS=$as_save_IFS 6041 test -z "$as_dir" && as_dir=. 6042 for ac_prog in sed gsed; do 6043 for ac_exec_ext in '' $ac_executable_extensions; do 6044 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6045 as_fn_executable_p "$ac_path_SED" || continue 6046# Check for GNU ac_path_SED and select it if it is found. 6047 # Check for GNU $ac_path_SED 6048case `"$ac_path_SED" --version 2>&1` in 6049*GNU*) 6050 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6051*) 6052 ac_count=0 6053 $as_echo_n 0123456789 >"conftest.in" 6054 while : 6055 do 6056 cat "conftest.in" "conftest.in" >"conftest.tmp" 6057 mv "conftest.tmp" "conftest.in" 6058 cp "conftest.in" "conftest.nl" 6059 $as_echo '' >> "conftest.nl" 6060 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6061 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6062 as_fn_arith $ac_count + 1 && ac_count=$as_val 6063 if test $ac_count -gt ${ac_path_SED_max-0}; then 6064 # Best one so far, save it but keep looking for a better one 6065 ac_cv_path_SED="$ac_path_SED" 6066 ac_path_SED_max=$ac_count 6067 fi 6068 # 10*(2^10) chars as input seems more than enough 6069 test $ac_count -gt 10 && break 6070 done 6071 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6072esac 6073 6074 $ac_path_SED_found && break 3 6075 done 6076 done 6077 done 6078IFS=$as_save_IFS 6079 if test -z "$ac_cv_path_SED"; then 6080 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6081 fi 6082else 6083 ac_cv_path_SED=$SED 6084fi 6085 6086fi 6087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6088$as_echo "$ac_cv_path_SED" >&6; } 6089 SED="$ac_cv_path_SED" 6090 rm -f conftest.sed 6091 6092test -z "$SED" && SED=sed 6093Xsed="$SED -e 1s/^X//" 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6106$as_echo_n "checking for fgrep... " >&6; } 6107if ${ac_cv_path_FGREP+:} false; then : 6108 $as_echo_n "(cached) " >&6 6109else 6110 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6111 then ac_cv_path_FGREP="$GREP -F" 6112 else 6113 if test -z "$FGREP"; then 6114 ac_path_FGREP_found=false 6115 # Loop through the user's path and test for each of PROGNAME-LIST 6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6117for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6118do 6119 IFS=$as_save_IFS 6120 test -z "$as_dir" && as_dir=. 6121 for ac_prog in fgrep; do 6122 for ac_exec_ext in '' $ac_executable_extensions; do 6123 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6124 as_fn_executable_p "$ac_path_FGREP" || continue 6125# Check for GNU ac_path_FGREP and select it if it is found. 6126 # Check for GNU $ac_path_FGREP 6127case `"$ac_path_FGREP" --version 2>&1` in 6128*GNU*) 6129 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6130*) 6131 ac_count=0 6132 $as_echo_n 0123456789 >"conftest.in" 6133 while : 6134 do 6135 cat "conftest.in" "conftest.in" >"conftest.tmp" 6136 mv "conftest.tmp" "conftest.in" 6137 cp "conftest.in" "conftest.nl" 6138 $as_echo 'FGREP' >> "conftest.nl" 6139 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6141 as_fn_arith $ac_count + 1 && ac_count=$as_val 6142 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6143 # Best one so far, save it but keep looking for a better one 6144 ac_cv_path_FGREP="$ac_path_FGREP" 6145 ac_path_FGREP_max=$ac_count 6146 fi 6147 # 10*(2^10) chars as input seems more than enough 6148 test $ac_count -gt 10 && break 6149 done 6150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6151esac 6152 6153 $ac_path_FGREP_found && break 3 6154 done 6155 done 6156 done 6157IFS=$as_save_IFS 6158 if test -z "$ac_cv_path_FGREP"; then 6159 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6160 fi 6161else 6162 ac_cv_path_FGREP=$FGREP 6163fi 6164 6165 fi 6166fi 6167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6168$as_echo "$ac_cv_path_FGREP" >&6; } 6169 FGREP="$ac_cv_path_FGREP" 6170 6171 6172test -z "$GREP" && GREP=grep 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192# Check whether --with-gnu-ld was given. 6193if test "${with_gnu_ld+set}" = set; then : 6194 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6195else 6196 with_gnu_ld=no 6197fi 6198 6199ac_prog=ld 6200if test yes = "$GCC"; then 6201 # Check if gcc -print-prog-name=ld gives a path. 6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6203$as_echo_n "checking for ld used by $CC... " >&6; } 6204 case $host in 6205 *-*-mingw*) 6206 # gcc leaves a trailing carriage return, which upsets mingw 6207 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6208 *) 6209 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6210 esac 6211 case $ac_prog in 6212 # Accept absolute paths. 6213 [\\/]* | ?:[\\/]*) 6214 re_direlt='/[^/][^/]*/\.\./' 6215 # Canonicalize the pathname of ld 6216 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6217 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6218 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6219 done 6220 test -z "$LD" && LD=$ac_prog 6221 ;; 6222 "") 6223 # If it fails, then pretend we aren't using GCC. 6224 ac_prog=ld 6225 ;; 6226 *) 6227 # If it is relative, then search for the first ld in PATH. 6228 with_gnu_ld=unknown 6229 ;; 6230 esac 6231elif test yes = "$with_gnu_ld"; then 6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6233$as_echo_n "checking for GNU ld... " >&6; } 6234else 6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6236$as_echo_n "checking for non-GNU ld... " >&6; } 6237fi 6238if ${lt_cv_path_LD+:} false; then : 6239 $as_echo_n "(cached) " >&6 6240else 6241 if test -z "$LD"; then 6242 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6243 for ac_dir in $PATH; do 6244 IFS=$lt_save_ifs 6245 test -z "$ac_dir" && ac_dir=. 6246 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6247 lt_cv_path_LD=$ac_dir/$ac_prog 6248 # Check to see if the program is GNU ld. I'd rather use --version, 6249 # but apparently some variants of GNU ld only accept -v. 6250 # Break only if it was the GNU/non-GNU ld that we prefer. 6251 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6252 *GNU* | *'with BFD'*) 6253 test no != "$with_gnu_ld" && break 6254 ;; 6255 *) 6256 test yes != "$with_gnu_ld" && break 6257 ;; 6258 esac 6259 fi 6260 done 6261 IFS=$lt_save_ifs 6262else 6263 lt_cv_path_LD=$LD # Let the user override the test with a path. 6264fi 6265fi 6266 6267LD=$lt_cv_path_LD 6268if test -n "$LD"; then 6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6270$as_echo "$LD" >&6; } 6271else 6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6273$as_echo "no" >&6; } 6274fi 6275test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6277$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6278if ${lt_cv_prog_gnu_ld+:} false; then : 6279 $as_echo_n "(cached) " >&6 6280else 6281 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6282case `$LD -v 2>&1 </dev/null` in 6283*GNU* | *'with BFD'*) 6284 lt_cv_prog_gnu_ld=yes 6285 ;; 6286*) 6287 lt_cv_prog_gnu_ld=no 6288 ;; 6289esac 6290fi 6291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6292$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6293with_gnu_ld=$lt_cv_prog_gnu_ld 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6304$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6305if ${lt_cv_path_NM+:} false; then : 6306 $as_echo_n "(cached) " >&6 6307else 6308 if test -n "$NM"; then 6309 # Let the user override the test. 6310 lt_cv_path_NM=$NM 6311else 6312 lt_nm_to_check=${ac_tool_prefix}nm 6313 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6314 lt_nm_to_check="$lt_nm_to_check nm" 6315 fi 6316 for lt_tmp_nm in $lt_nm_to_check; do 6317 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6318 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6319 IFS=$lt_save_ifs 6320 test -z "$ac_dir" && ac_dir=. 6321 tmp_nm=$ac_dir/$lt_tmp_nm 6322 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6323 # Check to see if the nm accepts a BSD-compat flag. 6324 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6325 # nm: unknown option "B" ignored 6326 # Tru64's nm complains that /dev/null is an invalid object file 6327 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6328 case $build_os in 6329 mingw*) lt_bad_file=conftest.nm/nofile ;; 6330 *) lt_bad_file=/dev/null ;; 6331 esac 6332 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6333 *$lt_bad_file* | *'Invalid file or object type'*) 6334 lt_cv_path_NM="$tmp_nm -B" 6335 break 2 6336 ;; 6337 *) 6338 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6339 */dev/null*) 6340 lt_cv_path_NM="$tmp_nm -p" 6341 break 2 6342 ;; 6343 *) 6344 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6345 continue # so that we can try to find one that supports BSD flags 6346 ;; 6347 esac 6348 ;; 6349 esac 6350 fi 6351 done 6352 IFS=$lt_save_ifs 6353 done 6354 : ${lt_cv_path_NM=no} 6355fi 6356fi 6357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6358$as_echo "$lt_cv_path_NM" >&6; } 6359if test no != "$lt_cv_path_NM"; then 6360 NM=$lt_cv_path_NM 6361else 6362 # Didn't find any BSD compatible name lister, look for dumpbin. 6363 if test -n "$DUMPBIN"; then : 6364 # Let the user override the test. 6365 else 6366 if test -n "$ac_tool_prefix"; then 6367 for ac_prog in dumpbin "link -dump" 6368 do 6369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6370set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6372$as_echo_n "checking for $ac_word... " >&6; } 6373if ${ac_cv_prog_DUMPBIN+:} false; then : 6374 $as_echo_n "(cached) " >&6 6375else 6376 if test -n "$DUMPBIN"; then 6377 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6378else 6379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6380for as_dir in $PATH 6381do 6382 IFS=$as_save_IFS 6383 test -z "$as_dir" && as_dir=. 6384 for ac_exec_ext in '' $ac_executable_extensions; do 6385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6386 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6388 break 2 6389 fi 6390done 6391 done 6392IFS=$as_save_IFS 6393 6394fi 6395fi 6396DUMPBIN=$ac_cv_prog_DUMPBIN 6397if test -n "$DUMPBIN"; then 6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6399$as_echo "$DUMPBIN" >&6; } 6400else 6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6402$as_echo "no" >&6; } 6403fi 6404 6405 6406 test -n "$DUMPBIN" && break 6407 done 6408fi 6409if test -z "$DUMPBIN"; then 6410 ac_ct_DUMPBIN=$DUMPBIN 6411 for ac_prog in dumpbin "link -dump" 6412do 6413 # Extract the first word of "$ac_prog", so it can be a program name with args. 6414set dummy $ac_prog; ac_word=$2 6415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6416$as_echo_n "checking for $ac_word... " >&6; } 6417if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6418 $as_echo_n "(cached) " >&6 6419else 6420 if test -n "$ac_ct_DUMPBIN"; then 6421 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6422else 6423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6424for as_dir in $PATH 6425do 6426 IFS=$as_save_IFS 6427 test -z "$as_dir" && as_dir=. 6428 for ac_exec_ext in '' $ac_executable_extensions; do 6429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6430 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6432 break 2 6433 fi 6434done 6435 done 6436IFS=$as_save_IFS 6437 6438fi 6439fi 6440ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6441if test -n "$ac_ct_DUMPBIN"; then 6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6443$as_echo "$ac_ct_DUMPBIN" >&6; } 6444else 6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6446$as_echo "no" >&6; } 6447fi 6448 6449 6450 test -n "$ac_ct_DUMPBIN" && break 6451done 6452 6453 if test "x$ac_ct_DUMPBIN" = x; then 6454 DUMPBIN=":" 6455 else 6456 case $cross_compiling:$ac_tool_warned in 6457yes:) 6458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6460ac_tool_warned=yes ;; 6461esac 6462 DUMPBIN=$ac_ct_DUMPBIN 6463 fi 6464fi 6465 6466 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6467 *COFF*) 6468 DUMPBIN="$DUMPBIN -symbols -headers" 6469 ;; 6470 *) 6471 DUMPBIN=: 6472 ;; 6473 esac 6474 fi 6475 6476 if test : != "$DUMPBIN"; then 6477 NM=$DUMPBIN 6478 fi 6479fi 6480test -z "$NM" && NM=nm 6481 6482 6483 6484 6485 6486 6487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6488$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6489if ${lt_cv_nm_interface+:} false; then : 6490 $as_echo_n "(cached) " >&6 6491else 6492 lt_cv_nm_interface="BSD nm" 6493 echo "int some_variable = 0;" > conftest.$ac_ext 6494 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6495 (eval "$ac_compile" 2>conftest.err) 6496 cat conftest.err >&5 6497 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6498 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6499 cat conftest.err >&5 6500 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6501 cat conftest.out >&5 6502 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6503 lt_cv_nm_interface="MS dumpbin" 6504 fi 6505 rm -f conftest* 6506fi 6507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6508$as_echo "$lt_cv_nm_interface" >&6; } 6509 6510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6511$as_echo_n "checking whether ln -s works... " >&6; } 6512LN_S=$as_ln_s 6513if test "$LN_S" = "ln -s"; then 6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6515$as_echo "yes" >&6; } 6516else 6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6518$as_echo "no, using $LN_S" >&6; } 6519fi 6520 6521# find the maximum length of command line arguments 6522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6523$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6524if ${lt_cv_sys_max_cmd_len+:} false; then : 6525 $as_echo_n "(cached) " >&6 6526else 6527 i=0 6528 teststring=ABCD 6529 6530 case $build_os in 6531 msdosdjgpp*) 6532 # On DJGPP, this test can blow up pretty badly due to problems in libc 6533 # (any single argument exceeding 2000 bytes causes a buffer overrun 6534 # during glob expansion). Even if it were fixed, the result of this 6535 # check would be larger than it should be. 6536 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6537 ;; 6538 6539 gnu*) 6540 # Under GNU Hurd, this test is not required because there is 6541 # no limit to the length of command line arguments. 6542 # Libtool will interpret -1 as no limit whatsoever 6543 lt_cv_sys_max_cmd_len=-1; 6544 ;; 6545 6546 cygwin* | mingw* | cegcc*) 6547 # On Win9x/ME, this test blows up -- it succeeds, but takes 6548 # about 5 minutes as the teststring grows exponentially. 6549 # Worse, since 9x/ME are not pre-emptively multitasking, 6550 # you end up with a "frozen" computer, even though with patience 6551 # the test eventually succeeds (with a max line length of 256k). 6552 # Instead, let's just punt: use the minimum linelength reported by 6553 # all of the supported platforms: 8192 (on NT/2K/XP). 6554 lt_cv_sys_max_cmd_len=8192; 6555 ;; 6556 6557 mint*) 6558 # On MiNT this can take a long time and run out of memory. 6559 lt_cv_sys_max_cmd_len=8192; 6560 ;; 6561 6562 amigaos*) 6563 # On AmigaOS with pdksh, this test takes hours, literally. 6564 # So we just punt and use a minimum line length of 8192. 6565 lt_cv_sys_max_cmd_len=8192; 6566 ;; 6567 6568 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6569 # This has been around since 386BSD, at least. Likely further. 6570 if test -x /sbin/sysctl; then 6571 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6572 elif test -x /usr/sbin/sysctl; then 6573 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6574 else 6575 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6576 fi 6577 # And add a safety zone 6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6580 ;; 6581 6582 interix*) 6583 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6584 lt_cv_sys_max_cmd_len=196608 6585 ;; 6586 6587 os2*) 6588 # The test takes a long time on OS/2. 6589 lt_cv_sys_max_cmd_len=8192 6590 ;; 6591 6592 osf*) 6593 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6594 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6595 # nice to cause kernel panics so lets avoid the loop below. 6596 # First set a reasonable default. 6597 lt_cv_sys_max_cmd_len=16384 6598 # 6599 if test -x /sbin/sysconfig; then 6600 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6601 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6602 esac 6603 fi 6604 ;; 6605 sco3.2v5*) 6606 lt_cv_sys_max_cmd_len=102400 6607 ;; 6608 sysv5* | sco5v6* | sysv4.2uw2*) 6609 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6610 if test -n "$kargmax"; then 6611 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6612 else 6613 lt_cv_sys_max_cmd_len=32768 6614 fi 6615 ;; 6616 *) 6617 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6618 if test -n "$lt_cv_sys_max_cmd_len" && \ 6619 test undefined != "$lt_cv_sys_max_cmd_len"; then 6620 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6622 else 6623 # Make teststring a little bigger before we do anything with it. 6624 # a 1K string should be a reasonable start. 6625 for i in 1 2 3 4 5 6 7 8; do 6626 teststring=$teststring$teststring 6627 done 6628 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6629 # If test is not a shell built-in, we'll probably end up computing a 6630 # maximum length that is only half of the actual maximum length, but 6631 # we can't tell. 6632 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6633 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6634 test 17 != "$i" # 1/2 MB should be enough 6635 do 6636 i=`expr $i + 1` 6637 teststring=$teststring$teststring 6638 done 6639 # Only check the string length outside the loop. 6640 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6641 teststring= 6642 # Add a significant safety factor because C++ compilers can tack on 6643 # massive amounts of additional arguments before passing them to the 6644 # linker. It appears as though 1/2 is a usable value. 6645 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6646 fi 6647 ;; 6648 esac 6649 6650fi 6651 6652if test -n "$lt_cv_sys_max_cmd_len"; then 6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6654$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6655else 6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6657$as_echo "none" >&6; } 6658fi 6659max_cmd_len=$lt_cv_sys_max_cmd_len 6660 6661 6662 6663 6664 6665 6666: ${CP="cp -f"} 6667: ${MV="mv -f"} 6668: ${RM="rm -f"} 6669 6670if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6671 lt_unset=unset 6672else 6673 lt_unset=false 6674fi 6675 6676 6677 6678 6679 6680# test EBCDIC or ASCII 6681case `echo X|tr X '\101'` in 6682 A) # ASCII based system 6683 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6684 lt_SP2NL='tr \040 \012' 6685 lt_NL2SP='tr \015\012 \040\040' 6686 ;; 6687 *) # EBCDIC based system 6688 lt_SP2NL='tr \100 \n' 6689 lt_NL2SP='tr \r\n \100\100' 6690 ;; 6691esac 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6702$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6703if ${lt_cv_to_host_file_cmd+:} false; then : 6704 $as_echo_n "(cached) " >&6 6705else 6706 case $host in 6707 *-*-mingw* ) 6708 case $build in 6709 *-*-mingw* ) # actually msys 6710 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6711 ;; 6712 *-*-cygwin* ) 6713 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6714 ;; 6715 * ) # otherwise, assume *nix 6716 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6717 ;; 6718 esac 6719 ;; 6720 *-*-cygwin* ) 6721 case $build in 6722 *-*-mingw* ) # actually msys 6723 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6724 ;; 6725 *-*-cygwin* ) 6726 lt_cv_to_host_file_cmd=func_convert_file_noop 6727 ;; 6728 * ) # otherwise, assume *nix 6729 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6730 ;; 6731 esac 6732 ;; 6733 * ) # unhandled hosts (and "normal" native builds) 6734 lt_cv_to_host_file_cmd=func_convert_file_noop 6735 ;; 6736esac 6737 6738fi 6739 6740to_host_file_cmd=$lt_cv_to_host_file_cmd 6741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6742$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6743 6744 6745 6746 6747 6748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6749$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6750if ${lt_cv_to_tool_file_cmd+:} false; then : 6751 $as_echo_n "(cached) " >&6 6752else 6753 #assume ordinary cross tools, or native build. 6754lt_cv_to_tool_file_cmd=func_convert_file_noop 6755case $host in 6756 *-*-mingw* ) 6757 case $build in 6758 *-*-mingw* ) # actually msys 6759 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6760 ;; 6761 esac 6762 ;; 6763esac 6764 6765fi 6766 6767to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6769$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6770 6771 6772 6773 6774 6775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6776$as_echo_n "checking for $LD option to reload object files... " >&6; } 6777if ${lt_cv_ld_reload_flag+:} false; then : 6778 $as_echo_n "(cached) " >&6 6779else 6780 lt_cv_ld_reload_flag='-r' 6781fi 6782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6783$as_echo "$lt_cv_ld_reload_flag" >&6; } 6784reload_flag=$lt_cv_ld_reload_flag 6785case $reload_flag in 6786"" | " "*) ;; 6787*) reload_flag=" $reload_flag" ;; 6788esac 6789reload_cmds='$LD$reload_flag -o $output$reload_objs' 6790case $host_os in 6791 cygwin* | mingw* | pw32* | cegcc*) 6792 if test yes != "$GCC"; then 6793 reload_cmds=false 6794 fi 6795 ;; 6796 darwin*) 6797 if test yes = "$GCC"; then 6798 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6799 else 6800 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6801 fi 6802 ;; 6803esac 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813if test -n "$ac_tool_prefix"; then 6814 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6815set dummy ${ac_tool_prefix}objdump; ac_word=$2 6816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6817$as_echo_n "checking for $ac_word... " >&6; } 6818if ${ac_cv_prog_OBJDUMP+:} false; then : 6819 $as_echo_n "(cached) " >&6 6820else 6821 if test -n "$OBJDUMP"; then 6822 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6823else 6824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6825for as_dir in $PATH 6826do 6827 IFS=$as_save_IFS 6828 test -z "$as_dir" && as_dir=. 6829 for ac_exec_ext in '' $ac_executable_extensions; do 6830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6831 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6833 break 2 6834 fi 6835done 6836 done 6837IFS=$as_save_IFS 6838 6839fi 6840fi 6841OBJDUMP=$ac_cv_prog_OBJDUMP 6842if test -n "$OBJDUMP"; then 6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6844$as_echo "$OBJDUMP" >&6; } 6845else 6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6847$as_echo "no" >&6; } 6848fi 6849 6850 6851fi 6852if test -z "$ac_cv_prog_OBJDUMP"; then 6853 ac_ct_OBJDUMP=$OBJDUMP 6854 # Extract the first word of "objdump", so it can be a program name with args. 6855set dummy objdump; ac_word=$2 6856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6857$as_echo_n "checking for $ac_word... " >&6; } 6858if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6859 $as_echo_n "(cached) " >&6 6860else 6861 if test -n "$ac_ct_OBJDUMP"; then 6862 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6863else 6864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6865for as_dir in $PATH 6866do 6867 IFS=$as_save_IFS 6868 test -z "$as_dir" && as_dir=. 6869 for ac_exec_ext in '' $ac_executable_extensions; do 6870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6871 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6873 break 2 6874 fi 6875done 6876 done 6877IFS=$as_save_IFS 6878 6879fi 6880fi 6881ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6882if test -n "$ac_ct_OBJDUMP"; then 6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6884$as_echo "$ac_ct_OBJDUMP" >&6; } 6885else 6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6887$as_echo "no" >&6; } 6888fi 6889 6890 if test "x$ac_ct_OBJDUMP" = x; then 6891 OBJDUMP="false" 6892 else 6893 case $cross_compiling:$ac_tool_warned in 6894yes:) 6895{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6896$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6897ac_tool_warned=yes ;; 6898esac 6899 OBJDUMP=$ac_ct_OBJDUMP 6900 fi 6901else 6902 OBJDUMP="$ac_cv_prog_OBJDUMP" 6903fi 6904 6905test -z "$OBJDUMP" && OBJDUMP=objdump 6906 6907 6908 6909 6910 6911 6912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6913$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6914if ${lt_cv_deplibs_check_method+:} false; then : 6915 $as_echo_n "(cached) " >&6 6916else 6917 lt_cv_file_magic_cmd='$MAGIC_CMD' 6918lt_cv_file_magic_test_file= 6919lt_cv_deplibs_check_method='unknown' 6920# Need to set the preceding variable on all platforms that support 6921# interlibrary dependencies. 6922# 'none' -- dependencies not supported. 6923# 'unknown' -- same as none, but documents that we really don't know. 6924# 'pass_all' -- all dependencies passed with no checks. 6925# 'test_compile' -- check by making test program. 6926# 'file_magic [[regex]]' -- check by looking for files in library path 6927# that responds to the $file_magic_cmd with a given extended regex. 6928# If you have 'file' or equivalent on your system and you're not sure 6929# whether 'pass_all' will *always* work, you probably want this one. 6930 6931case $host_os in 6932aix[4-9]*) 6933 lt_cv_deplibs_check_method=pass_all 6934 ;; 6935 6936beos*) 6937 lt_cv_deplibs_check_method=pass_all 6938 ;; 6939 6940bsdi[45]*) 6941 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6942 lt_cv_file_magic_cmd='/usr/bin/file -L' 6943 lt_cv_file_magic_test_file=/shlib/libc.so 6944 ;; 6945 6946cygwin*) 6947 # func_win32_libid is a shell function defined in ltmain.sh 6948 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6949 lt_cv_file_magic_cmd='func_win32_libid' 6950 ;; 6951 6952mingw* | pw32*) 6953 # Base MSYS/MinGW do not provide the 'file' command needed by 6954 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6955 # unless we find 'file', for example because we are cross-compiling. 6956 if ( file / ) >/dev/null 2>&1; then 6957 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6958 lt_cv_file_magic_cmd='func_win32_libid' 6959 else 6960 # Keep this pattern in sync with the one in func_win32_libid. 6961 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6962 lt_cv_file_magic_cmd='$OBJDUMP -f' 6963 fi 6964 ;; 6965 6966cegcc*) 6967 # use the weaker test based on 'objdump'. See mingw*. 6968 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6969 lt_cv_file_magic_cmd='$OBJDUMP -f' 6970 ;; 6971 6972darwin* | rhapsody*) 6973 lt_cv_deplibs_check_method=pass_all 6974 ;; 6975 6976freebsd* | dragonfly*) 6977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6978 case $host_cpu in 6979 i*86 ) 6980 # Not sure whether the presence of OpenBSD here was a mistake. 6981 # Let's accept both of them until this is cleared up. 6982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6983 lt_cv_file_magic_cmd=/usr/bin/file 6984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6985 ;; 6986 esac 6987 else 6988 lt_cv_deplibs_check_method=pass_all 6989 fi 6990 ;; 6991 6992haiku*) 6993 lt_cv_deplibs_check_method=pass_all 6994 ;; 6995 6996hpux10.20* | hpux11*) 6997 lt_cv_file_magic_cmd=/usr/bin/file 6998 case $host_cpu in 6999 ia64*) 7000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7002 ;; 7003 hppa*64*) 7004 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]' 7005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7006 ;; 7007 *) 7008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7009 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7010 ;; 7011 esac 7012 ;; 7013 7014interix[3-9]*) 7015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7017 ;; 7018 7019irix5* | irix6* | nonstopux*) 7020 case $LD in 7021 *-32|*"-32 ") libmagic=32-bit;; 7022 *-n32|*"-n32 ") libmagic=N32;; 7023 *-64|*"-64 ") libmagic=64-bit;; 7024 *) libmagic=never-match;; 7025 esac 7026 lt_cv_deplibs_check_method=pass_all 7027 ;; 7028 7029# This must be glibc/ELF. 7030linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7031 lt_cv_deplibs_check_method=pass_all 7032 ;; 7033 7034netbsd*) 7035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7037 else 7038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7039 fi 7040 ;; 7041 7042newos6*) 7043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7044 lt_cv_file_magic_cmd=/usr/bin/file 7045 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7046 ;; 7047 7048*nto* | *qnx*) 7049 lt_cv_deplibs_check_method=pass_all 7050 ;; 7051 7052openbsd* | bitrig*) 7053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7055 else 7056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7057 fi 7058 ;; 7059 7060osf3* | osf4* | osf5*) 7061 lt_cv_deplibs_check_method=pass_all 7062 ;; 7063 7064rdos*) 7065 lt_cv_deplibs_check_method=pass_all 7066 ;; 7067 7068solaris*) 7069 lt_cv_deplibs_check_method=pass_all 7070 ;; 7071 7072sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7073 lt_cv_deplibs_check_method=pass_all 7074 ;; 7075 7076sysv4 | sysv4.3*) 7077 case $host_vendor in 7078 motorola) 7079 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]' 7080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7081 ;; 7082 ncr) 7083 lt_cv_deplibs_check_method=pass_all 7084 ;; 7085 sequent) 7086 lt_cv_file_magic_cmd='/bin/file' 7087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7088 ;; 7089 sni) 7090 lt_cv_file_magic_cmd='/bin/file' 7091 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7092 lt_cv_file_magic_test_file=/lib/libc.so 7093 ;; 7094 siemens) 7095 lt_cv_deplibs_check_method=pass_all 7096 ;; 7097 pc) 7098 lt_cv_deplibs_check_method=pass_all 7099 ;; 7100 esac 7101 ;; 7102 7103tpf*) 7104 lt_cv_deplibs_check_method=pass_all 7105 ;; 7106os2*) 7107 lt_cv_deplibs_check_method=pass_all 7108 ;; 7109esac 7110 7111fi 7112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7113$as_echo "$lt_cv_deplibs_check_method" >&6; } 7114 7115file_magic_glob= 7116want_nocaseglob=no 7117if test "$build" = "$host"; then 7118 case $host_os in 7119 mingw* | pw32*) 7120 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7121 want_nocaseglob=yes 7122 else 7123 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7124 fi 7125 ;; 7126 esac 7127fi 7128 7129file_magic_cmd=$lt_cv_file_magic_cmd 7130deplibs_check_method=$lt_cv_deplibs_check_method 7131test -z "$deplibs_check_method" && deplibs_check_method=unknown 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154if test -n "$ac_tool_prefix"; then 7155 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7156set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7158$as_echo_n "checking for $ac_word... " >&6; } 7159if ${ac_cv_prog_DLLTOOL+:} false; then : 7160 $as_echo_n "(cached) " >&6 7161else 7162 if test -n "$DLLTOOL"; then 7163 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7164else 7165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7166for as_dir in $PATH 7167do 7168 IFS=$as_save_IFS 7169 test -z "$as_dir" && as_dir=. 7170 for ac_exec_ext in '' $ac_executable_extensions; do 7171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7172 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7174 break 2 7175 fi 7176done 7177 done 7178IFS=$as_save_IFS 7179 7180fi 7181fi 7182DLLTOOL=$ac_cv_prog_DLLTOOL 7183if test -n "$DLLTOOL"; then 7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7185$as_echo "$DLLTOOL" >&6; } 7186else 7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7188$as_echo "no" >&6; } 7189fi 7190 7191 7192fi 7193if test -z "$ac_cv_prog_DLLTOOL"; then 7194 ac_ct_DLLTOOL=$DLLTOOL 7195 # Extract the first word of "dlltool", so it can be a program name with args. 7196set dummy dlltool; ac_word=$2 7197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7198$as_echo_n "checking for $ac_word... " >&6; } 7199if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7200 $as_echo_n "(cached) " >&6 7201else 7202 if test -n "$ac_ct_DLLTOOL"; then 7203 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7204else 7205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7206for as_dir in $PATH 7207do 7208 IFS=$as_save_IFS 7209 test -z "$as_dir" && as_dir=. 7210 for ac_exec_ext in '' $ac_executable_extensions; do 7211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7212 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7214 break 2 7215 fi 7216done 7217 done 7218IFS=$as_save_IFS 7219 7220fi 7221fi 7222ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7223if test -n "$ac_ct_DLLTOOL"; then 7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7225$as_echo "$ac_ct_DLLTOOL" >&6; } 7226else 7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7228$as_echo "no" >&6; } 7229fi 7230 7231 if test "x$ac_ct_DLLTOOL" = x; then 7232 DLLTOOL="false" 7233 else 7234 case $cross_compiling:$ac_tool_warned in 7235yes:) 7236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7238ac_tool_warned=yes ;; 7239esac 7240 DLLTOOL=$ac_ct_DLLTOOL 7241 fi 7242else 7243 DLLTOOL="$ac_cv_prog_DLLTOOL" 7244fi 7245 7246test -z "$DLLTOOL" && DLLTOOL=dlltool 7247 7248 7249 7250 7251 7252 7253 7254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7255$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7256if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7257 $as_echo_n "(cached) " >&6 7258else 7259 lt_cv_sharedlib_from_linklib_cmd='unknown' 7260 7261case $host_os in 7262cygwin* | mingw* | pw32* | cegcc*) 7263 # two different shell functions defined in ltmain.sh; 7264 # decide which one to use based on capabilities of $DLLTOOL 7265 case `$DLLTOOL --help 2>&1` in 7266 *--identify-strict*) 7267 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7268 ;; 7269 *) 7270 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7271 ;; 7272 esac 7273 ;; 7274*) 7275 # fallback: assume linklib IS sharedlib 7276 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7277 ;; 7278esac 7279 7280fi 7281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7282$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7283sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7284test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7285 7286 7287 7288 7289 7290 7291 7292if test -n "$ac_tool_prefix"; then 7293 for ac_prog in ar 7294 do 7295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7296set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7298$as_echo_n "checking for $ac_word... " >&6; } 7299if ${ac_cv_prog_AR+:} false; then : 7300 $as_echo_n "(cached) " >&6 7301else 7302 if test -n "$AR"; then 7303 ac_cv_prog_AR="$AR" # Let the user override the test. 7304else 7305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7306for as_dir in $PATH 7307do 7308 IFS=$as_save_IFS 7309 test -z "$as_dir" && as_dir=. 7310 for ac_exec_ext in '' $ac_executable_extensions; do 7311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7312 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7314 break 2 7315 fi 7316done 7317 done 7318IFS=$as_save_IFS 7319 7320fi 7321fi 7322AR=$ac_cv_prog_AR 7323if test -n "$AR"; then 7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7325$as_echo "$AR" >&6; } 7326else 7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7328$as_echo "no" >&6; } 7329fi 7330 7331 7332 test -n "$AR" && break 7333 done 7334fi 7335if test -z "$AR"; then 7336 ac_ct_AR=$AR 7337 for ac_prog in ar 7338do 7339 # Extract the first word of "$ac_prog", so it can be a program name with args. 7340set dummy $ac_prog; ac_word=$2 7341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7342$as_echo_n "checking for $ac_word... " >&6; } 7343if ${ac_cv_prog_ac_ct_AR+:} false; then : 7344 $as_echo_n "(cached) " >&6 7345else 7346 if test -n "$ac_ct_AR"; then 7347 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7348else 7349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7350for as_dir in $PATH 7351do 7352 IFS=$as_save_IFS 7353 test -z "$as_dir" && as_dir=. 7354 for ac_exec_ext in '' $ac_executable_extensions; do 7355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7356 ac_cv_prog_ac_ct_AR="$ac_prog" 7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7358 break 2 7359 fi 7360done 7361 done 7362IFS=$as_save_IFS 7363 7364fi 7365fi 7366ac_ct_AR=$ac_cv_prog_ac_ct_AR 7367if test -n "$ac_ct_AR"; then 7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7369$as_echo "$ac_ct_AR" >&6; } 7370else 7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7372$as_echo "no" >&6; } 7373fi 7374 7375 7376 test -n "$ac_ct_AR" && break 7377done 7378 7379 if test "x$ac_ct_AR" = x; then 7380 AR="false" 7381 else 7382 case $cross_compiling:$ac_tool_warned in 7383yes:) 7384{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7385$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7386ac_tool_warned=yes ;; 7387esac 7388 AR=$ac_ct_AR 7389 fi 7390fi 7391 7392: ${AR=ar} 7393: ${AR_FLAGS=cru} 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7406$as_echo_n "checking for archiver @FILE support... " >&6; } 7407if ${lt_cv_ar_at_file+:} false; then : 7408 $as_echo_n "(cached) " >&6 7409else 7410 lt_cv_ar_at_file=no 7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7412/* end confdefs.h. */ 7413 7414int 7415main () 7416{ 7417 7418 ; 7419 return 0; 7420} 7421_ACEOF 7422if ac_fn_c_try_compile "$LINENO"; then : 7423 echo conftest.$ac_objext > conftest.lst 7424 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7425 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7426 (eval $lt_ar_try) 2>&5 7427 ac_status=$? 7428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7429 test $ac_status = 0; } 7430 if test 0 -eq "$ac_status"; then 7431 # Ensure the archiver fails upon bogus file names. 7432 rm -f conftest.$ac_objext libconftest.a 7433 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7434 (eval $lt_ar_try) 2>&5 7435 ac_status=$? 7436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7437 test $ac_status = 0; } 7438 if test 0 -ne "$ac_status"; then 7439 lt_cv_ar_at_file=@ 7440 fi 7441 fi 7442 rm -f conftest.* libconftest.a 7443 7444fi 7445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7446 7447fi 7448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7449$as_echo "$lt_cv_ar_at_file" >&6; } 7450 7451if test no = "$lt_cv_ar_at_file"; then 7452 archiver_list_spec= 7453else 7454 archiver_list_spec=$lt_cv_ar_at_file 7455fi 7456 7457 7458 7459 7460 7461 7462 7463if test -n "$ac_tool_prefix"; then 7464 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7465set dummy ${ac_tool_prefix}strip; ac_word=$2 7466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7467$as_echo_n "checking for $ac_word... " >&6; } 7468if ${ac_cv_prog_STRIP+:} false; then : 7469 $as_echo_n "(cached) " >&6 7470else 7471 if test -n "$STRIP"; then 7472 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7473else 7474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7475for as_dir in $PATH 7476do 7477 IFS=$as_save_IFS 7478 test -z "$as_dir" && as_dir=. 7479 for ac_exec_ext in '' $ac_executable_extensions; do 7480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7481 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7483 break 2 7484 fi 7485done 7486 done 7487IFS=$as_save_IFS 7488 7489fi 7490fi 7491STRIP=$ac_cv_prog_STRIP 7492if test -n "$STRIP"; then 7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7494$as_echo "$STRIP" >&6; } 7495else 7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7497$as_echo "no" >&6; } 7498fi 7499 7500 7501fi 7502if test -z "$ac_cv_prog_STRIP"; then 7503 ac_ct_STRIP=$STRIP 7504 # Extract the first word of "strip", so it can be a program name with args. 7505set dummy strip; ac_word=$2 7506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7507$as_echo_n "checking for $ac_word... " >&6; } 7508if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7509 $as_echo_n "(cached) " >&6 7510else 7511 if test -n "$ac_ct_STRIP"; then 7512 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7513else 7514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7515for as_dir in $PATH 7516do 7517 IFS=$as_save_IFS 7518 test -z "$as_dir" && as_dir=. 7519 for ac_exec_ext in '' $ac_executable_extensions; do 7520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7521 ac_cv_prog_ac_ct_STRIP="strip" 7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7523 break 2 7524 fi 7525done 7526 done 7527IFS=$as_save_IFS 7528 7529fi 7530fi 7531ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7532if test -n "$ac_ct_STRIP"; then 7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7534$as_echo "$ac_ct_STRIP" >&6; } 7535else 7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7537$as_echo "no" >&6; } 7538fi 7539 7540 if test "x$ac_ct_STRIP" = x; then 7541 STRIP=":" 7542 else 7543 case $cross_compiling:$ac_tool_warned in 7544yes:) 7545{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7546$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7547ac_tool_warned=yes ;; 7548esac 7549 STRIP=$ac_ct_STRIP 7550 fi 7551else 7552 STRIP="$ac_cv_prog_STRIP" 7553fi 7554 7555test -z "$STRIP" && STRIP=: 7556 7557 7558 7559 7560 7561 7562if test -n "$ac_tool_prefix"; then 7563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7564set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7566$as_echo_n "checking for $ac_word... " >&6; } 7567if ${ac_cv_prog_RANLIB+:} false; then : 7568 $as_echo_n "(cached) " >&6 7569else 7570 if test -n "$RANLIB"; then 7571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7572else 7573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7574for as_dir in $PATH 7575do 7576 IFS=$as_save_IFS 7577 test -z "$as_dir" && as_dir=. 7578 for ac_exec_ext in '' $ac_executable_extensions; do 7579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7582 break 2 7583 fi 7584done 7585 done 7586IFS=$as_save_IFS 7587 7588fi 7589fi 7590RANLIB=$ac_cv_prog_RANLIB 7591if test -n "$RANLIB"; then 7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7593$as_echo "$RANLIB" >&6; } 7594else 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7596$as_echo "no" >&6; } 7597fi 7598 7599 7600fi 7601if test -z "$ac_cv_prog_RANLIB"; then 7602 ac_ct_RANLIB=$RANLIB 7603 # Extract the first word of "ranlib", so it can be a program name with args. 7604set dummy ranlib; ac_word=$2 7605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7606$as_echo_n "checking for $ac_word... " >&6; } 7607if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7608 $as_echo_n "(cached) " >&6 7609else 7610 if test -n "$ac_ct_RANLIB"; then 7611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7612else 7613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7614for as_dir in $PATH 7615do 7616 IFS=$as_save_IFS 7617 test -z "$as_dir" && as_dir=. 7618 for ac_exec_ext in '' $ac_executable_extensions; do 7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7620 ac_cv_prog_ac_ct_RANLIB="ranlib" 7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7622 break 2 7623 fi 7624done 7625 done 7626IFS=$as_save_IFS 7627 7628fi 7629fi 7630ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7631if test -n "$ac_ct_RANLIB"; then 7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7633$as_echo "$ac_ct_RANLIB" >&6; } 7634else 7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7636$as_echo "no" >&6; } 7637fi 7638 7639 if test "x$ac_ct_RANLIB" = x; then 7640 RANLIB=":" 7641 else 7642 case $cross_compiling:$ac_tool_warned in 7643yes:) 7644{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7645$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7646ac_tool_warned=yes ;; 7647esac 7648 RANLIB=$ac_ct_RANLIB 7649 fi 7650else 7651 RANLIB="$ac_cv_prog_RANLIB" 7652fi 7653 7654test -z "$RANLIB" && RANLIB=: 7655 7656 7657 7658 7659 7660 7661# Determine commands to create old-style static archives. 7662old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7663old_postinstall_cmds='chmod 644 $oldlib' 7664old_postuninstall_cmds= 7665 7666if test -n "$RANLIB"; then 7667 case $host_os in 7668 bitrig* | openbsd*) 7669 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7670 ;; 7671 *) 7672 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7673 ;; 7674 esac 7675 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7676fi 7677 7678case $host_os in 7679 darwin*) 7680 lock_old_archive_extraction=yes ;; 7681 *) 7682 lock_old_archive_extraction=no ;; 7683esac 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723# If no C compiler was specified, use CC. 7724LTCC=${LTCC-"$CC"} 7725 7726# If no C compiler flags were specified, use CFLAGS. 7727LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7728 7729# Allow CC to be a program name with arguments. 7730compiler=$CC 7731 7732 7733# Check for command to grab the raw symbol name followed by C symbol from nm. 7734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7735$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7736if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7737 $as_echo_n "(cached) " >&6 7738else 7739 7740# These are sane defaults that work on at least a few old systems. 7741# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7742 7743# Character class describing NM global symbol codes. 7744symcode='[BCDEGRST]' 7745 7746# Regexp to match symbols that can be accessed directly from C. 7747sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7748 7749# Define system-specific variables. 7750case $host_os in 7751aix*) 7752 symcode='[BCDT]' 7753 ;; 7754cygwin* | mingw* | pw32* | cegcc*) 7755 symcode='[ABCDGISTW]' 7756 ;; 7757hpux*) 7758 if test ia64 = "$host_cpu"; then 7759 symcode='[ABCDEGRST]' 7760 fi 7761 ;; 7762irix* | nonstopux*) 7763 symcode='[BCDEGRST]' 7764 ;; 7765osf*) 7766 symcode='[BCDEGQRST]' 7767 ;; 7768solaris*) 7769 symcode='[BDRT]' 7770 ;; 7771sco3.2v5*) 7772 symcode='[DT]' 7773 ;; 7774sysv4.2uw2*) 7775 symcode='[DT]' 7776 ;; 7777sysv5* | sco5v6* | unixware* | OpenUNIX*) 7778 symcode='[ABDT]' 7779 ;; 7780sysv4) 7781 symcode='[DFNSTU]' 7782 ;; 7783esac 7784 7785# If we're using GNU nm, then use its standard symbol codes. 7786case `$NM -V 2>&1` in 7787*GNU* | *'with BFD'*) 7788 symcode='[ABCDGIRSTW]' ;; 7789esac 7790 7791if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7792 # Gets list of data symbols to import. 7793 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7794 # Adjust the below global symbol transforms to fixup imported variables. 7795 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7796 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7797 lt_c_name_lib_hook="\ 7798 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7799 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7800else 7801 # Disable hooks by default. 7802 lt_cv_sys_global_symbol_to_import= 7803 lt_cdecl_hook= 7804 lt_c_name_hook= 7805 lt_c_name_lib_hook= 7806fi 7807 7808# Transform an extracted symbol line into a proper C declaration. 7809# Some systems (esp. on ia64) link data and code symbols differently, 7810# so use this general approach. 7811lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7812$lt_cdecl_hook\ 7813" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7814" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7815 7816# Transform an extracted symbol line into symbol name and symbol address 7817lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7818$lt_c_name_hook\ 7819" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7820" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7821 7822# Transform an extracted symbol line into symbol name with lib prefix and 7823# symbol address. 7824lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7825$lt_c_name_lib_hook\ 7826" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7827" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7828" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7829 7830# Handle CRLF in mingw tool chain 7831opt_cr= 7832case $build_os in 7833mingw*) 7834 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7835 ;; 7836esac 7837 7838# Try without a prefix underscore, then with it. 7839for ac_symprfx in "" "_"; do 7840 7841 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7842 symxfrm="\\1 $ac_symprfx\\2 \\2" 7843 7844 # Write the raw and C identifiers. 7845 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7846 # Fake it for dumpbin and say T for any non-static function, 7847 # D for any global variable and I for any imported variable. 7848 # Also find C++ and __fastcall symbols from MSVC++, 7849 # which start with @ or ?. 7850 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7851" {last_section=section; section=\$ 3};"\ 7852" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7853" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7854" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7855" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7856" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7857" \$ 0!~/External *\|/{next};"\ 7858" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7859" {if(hide[section]) next};"\ 7860" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7861" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7862" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7863" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7864" ' prfx=^$ac_symprfx" 7865 else 7866 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7867 fi 7868 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7869 7870 # Check to see that the pipe works correctly. 7871 pipe_works=no 7872 7873 rm -f conftest* 7874 cat > conftest.$ac_ext <<_LT_EOF 7875#ifdef __cplusplus 7876extern "C" { 7877#endif 7878char nm_test_var; 7879void nm_test_func(void); 7880void nm_test_func(void){} 7881#ifdef __cplusplus 7882} 7883#endif 7884int main(){nm_test_var='a';nm_test_func();return(0);} 7885_LT_EOF 7886 7887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7888 (eval $ac_compile) 2>&5 7889 ac_status=$? 7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7891 test $ac_status = 0; }; then 7892 # Now try to grab the symbols. 7893 nlist=conftest.nm 7894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7895 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7896 ac_status=$? 7897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7898 test $ac_status = 0; } && test -s "$nlist"; then 7899 # Try sorting and uniquifying the output. 7900 if sort "$nlist" | uniq > "$nlist"T; then 7901 mv -f "$nlist"T "$nlist" 7902 else 7903 rm -f "$nlist"T 7904 fi 7905 7906 # Make sure that we snagged all the symbols we need. 7907 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7908 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7909 cat <<_LT_EOF > conftest.$ac_ext 7910/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7911#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7912/* DATA imports from DLLs on WIN32 can't be const, because runtime 7913 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7914# define LT_DLSYM_CONST 7915#elif defined __osf__ 7916/* This system does not cope well with relocations in const data. */ 7917# define LT_DLSYM_CONST 7918#else 7919# define LT_DLSYM_CONST const 7920#endif 7921 7922#ifdef __cplusplus 7923extern "C" { 7924#endif 7925 7926_LT_EOF 7927 # Now generate the symbol file. 7928 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7929 7930 cat <<_LT_EOF >> conftest.$ac_ext 7931 7932/* The mapping between symbol names and symbols. */ 7933LT_DLSYM_CONST struct { 7934 const char *name; 7935 void *address; 7936} 7937lt__PROGRAM__LTX_preloaded_symbols[] = 7938{ 7939 { "@PROGRAM@", (void *) 0 }, 7940_LT_EOF 7941 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7942 cat <<\_LT_EOF >> conftest.$ac_ext 7943 {0, (void *) 0} 7944}; 7945 7946/* This works around a problem in FreeBSD linker */ 7947#ifdef FREEBSD_WORKAROUND 7948static const void *lt_preloaded_setup() { 7949 return lt__PROGRAM__LTX_preloaded_symbols; 7950} 7951#endif 7952 7953#ifdef __cplusplus 7954} 7955#endif 7956_LT_EOF 7957 # Now try linking the two files. 7958 mv conftest.$ac_objext conftstm.$ac_objext 7959 lt_globsym_save_LIBS=$LIBS 7960 lt_globsym_save_CFLAGS=$CFLAGS 7961 LIBS=conftstm.$ac_objext 7962 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7964 (eval $ac_link) 2>&5 7965 ac_status=$? 7966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7967 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7968 pipe_works=yes 7969 fi 7970 LIBS=$lt_globsym_save_LIBS 7971 CFLAGS=$lt_globsym_save_CFLAGS 7972 else 7973 echo "cannot find nm_test_func in $nlist" >&5 7974 fi 7975 else 7976 echo "cannot find nm_test_var in $nlist" >&5 7977 fi 7978 else 7979 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7980 fi 7981 else 7982 echo "$progname: failed program was:" >&5 7983 cat conftest.$ac_ext >&5 7984 fi 7985 rm -rf conftest* conftst* 7986 7987 # Do not use the global_symbol_pipe unless it works. 7988 if test yes = "$pipe_works"; then 7989 break 7990 else 7991 lt_cv_sys_global_symbol_pipe= 7992 fi 7993done 7994 7995fi 7996 7997if test -z "$lt_cv_sys_global_symbol_pipe"; then 7998 lt_cv_sys_global_symbol_to_cdecl= 7999fi 8000if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8002$as_echo "failed" >&6; } 8003else 8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8005$as_echo "ok" >&6; } 8006fi 8007 8008# Response file support. 8009if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8010 nm_file_list_spec='@' 8011elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8012 nm_file_list_spec='@' 8013fi 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8052$as_echo_n "checking for sysroot... " >&6; } 8053 8054# Check whether --with-sysroot was given. 8055if test "${with_sysroot+set}" = set; then : 8056 withval=$with_sysroot; 8057else 8058 with_sysroot=no 8059fi 8060 8061 8062lt_sysroot= 8063case $with_sysroot in #( 8064 yes) 8065 if test yes = "$GCC"; then 8066 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8067 fi 8068 ;; #( 8069 /*) 8070 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8071 ;; #( 8072 no|'') 8073 ;; #( 8074 *) 8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8076$as_echo "$with_sysroot" >&6; } 8077 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8078 ;; 8079esac 8080 8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8082$as_echo "${lt_sysroot:-no}" >&6; } 8083 8084 8085 8086 8087 8088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8089$as_echo_n "checking for a working dd... " >&6; } 8090if ${ac_cv_path_lt_DD+:} false; then : 8091 $as_echo_n "(cached) " >&6 8092else 8093 printf 0123456789abcdef0123456789abcdef >conftest.i 8094cat conftest.i conftest.i >conftest2.i 8095: ${lt_DD:=$DD} 8096if test -z "$lt_DD"; then 8097 ac_path_lt_DD_found=false 8098 # Loop through the user's path and test for each of PROGNAME-LIST 8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8100for as_dir in $PATH 8101do 8102 IFS=$as_save_IFS 8103 test -z "$as_dir" && as_dir=. 8104 for ac_prog in dd; do 8105 for ac_exec_ext in '' $ac_executable_extensions; do 8106 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8107 as_fn_executable_p "$ac_path_lt_DD" || continue 8108if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8109 cmp -s conftest.i conftest.out \ 8110 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8111fi 8112 $ac_path_lt_DD_found && break 3 8113 done 8114 done 8115 done 8116IFS=$as_save_IFS 8117 if test -z "$ac_cv_path_lt_DD"; then 8118 : 8119 fi 8120else 8121 ac_cv_path_lt_DD=$lt_DD 8122fi 8123 8124rm -f conftest.i conftest2.i conftest.out 8125fi 8126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8127$as_echo "$ac_cv_path_lt_DD" >&6; } 8128 8129 8130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8131$as_echo_n "checking how to truncate binary pipes... " >&6; } 8132if ${lt_cv_truncate_bin+:} false; then : 8133 $as_echo_n "(cached) " >&6 8134else 8135 printf 0123456789abcdef0123456789abcdef >conftest.i 8136cat conftest.i conftest.i >conftest2.i 8137lt_cv_truncate_bin= 8138if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8139 cmp -s conftest.i conftest.out \ 8140 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8141fi 8142rm -f conftest.i conftest2.i conftest.out 8143test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8144fi 8145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8146$as_echo "$lt_cv_truncate_bin" >&6; } 8147 8148 8149 8150 8151 8152 8153 8154# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8155func_cc_basename () 8156{ 8157 for cc_temp in $*""; do 8158 case $cc_temp in 8159 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8160 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8161 \-*) ;; 8162 *) break;; 8163 esac 8164 done 8165 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8166} 8167 8168# Check whether --enable-libtool-lock was given. 8169if test "${enable_libtool_lock+set}" = set; then : 8170 enableval=$enable_libtool_lock; 8171fi 8172 8173test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8174 8175# Some flags need to be propagated to the compiler or linker for good 8176# libtool support. 8177case $host in 8178ia64-*-hpux*) 8179 # Find out what ABI is being produced by ac_compile, and set mode 8180 # options accordingly. 8181 echo 'int i;' > conftest.$ac_ext 8182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8183 (eval $ac_compile) 2>&5 8184 ac_status=$? 8185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8186 test $ac_status = 0; }; then 8187 case `/usr/bin/file conftest.$ac_objext` in 8188 *ELF-32*) 8189 HPUX_IA64_MODE=32 8190 ;; 8191 *ELF-64*) 8192 HPUX_IA64_MODE=64 8193 ;; 8194 esac 8195 fi 8196 rm -rf conftest* 8197 ;; 8198*-*-irix6*) 8199 # Find out what ABI is being produced by ac_compile, and set linker 8200 # options accordingly. 8201 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8203 (eval $ac_compile) 2>&5 8204 ac_status=$? 8205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8206 test $ac_status = 0; }; then 8207 if test yes = "$lt_cv_prog_gnu_ld"; then 8208 case `/usr/bin/file conftest.$ac_objext` in 8209 *32-bit*) 8210 LD="${LD-ld} -melf32bsmip" 8211 ;; 8212 *N32*) 8213 LD="${LD-ld} -melf32bmipn32" 8214 ;; 8215 *64-bit*) 8216 LD="${LD-ld} -melf64bmip" 8217 ;; 8218 esac 8219 else 8220 case `/usr/bin/file conftest.$ac_objext` in 8221 *32-bit*) 8222 LD="${LD-ld} -32" 8223 ;; 8224 *N32*) 8225 LD="${LD-ld} -n32" 8226 ;; 8227 *64-bit*) 8228 LD="${LD-ld} -64" 8229 ;; 8230 esac 8231 fi 8232 fi 8233 rm -rf conftest* 8234 ;; 8235 8236mips64*-*linux*) 8237 # Find out what ABI is being produced by ac_compile, and set linker 8238 # options accordingly. 8239 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8241 (eval $ac_compile) 2>&5 8242 ac_status=$? 8243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8244 test $ac_status = 0; }; then 8245 emul=elf 8246 case `/usr/bin/file conftest.$ac_objext` in 8247 *32-bit*) 8248 emul="${emul}32" 8249 ;; 8250 *64-bit*) 8251 emul="${emul}64" 8252 ;; 8253 esac 8254 case `/usr/bin/file conftest.$ac_objext` in 8255 *MSB*) 8256 emul="${emul}btsmip" 8257 ;; 8258 *LSB*) 8259 emul="${emul}ltsmip" 8260 ;; 8261 esac 8262 case `/usr/bin/file conftest.$ac_objext` in 8263 *N32*) 8264 emul="${emul}n32" 8265 ;; 8266 esac 8267 LD="${LD-ld} -m $emul" 8268 fi 8269 rm -rf conftest* 8270 ;; 8271 8272x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8273s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8274 # Find out what ABI is being produced by ac_compile, and set linker 8275 # options accordingly. Note that the listed cases only cover the 8276 # situations where additional linker options are needed (such as when 8277 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8278 # vice versa); the common cases where no linker options are needed do 8279 # not appear in the list. 8280 echo 'int i;' > conftest.$ac_ext 8281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8282 (eval $ac_compile) 2>&5 8283 ac_status=$? 8284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8285 test $ac_status = 0; }; then 8286 case `/usr/bin/file conftest.o` in 8287 *32-bit*) 8288 case $host in 8289 x86_64-*kfreebsd*-gnu) 8290 LD="${LD-ld} -m elf_i386_fbsd" 8291 ;; 8292 x86_64-*linux*) 8293 case `/usr/bin/file conftest.o` in 8294 *x86-64*) 8295 LD="${LD-ld} -m elf32_x86_64" 8296 ;; 8297 *) 8298 LD="${LD-ld} -m elf_i386" 8299 ;; 8300 esac 8301 ;; 8302 powerpc64le-*linux*) 8303 LD="${LD-ld} -m elf32lppclinux" 8304 ;; 8305 powerpc64-*linux*) 8306 LD="${LD-ld} -m elf32ppclinux" 8307 ;; 8308 s390x-*linux*) 8309 LD="${LD-ld} -m elf_s390" 8310 ;; 8311 sparc64-*linux*) 8312 LD="${LD-ld} -m elf32_sparc" 8313 ;; 8314 esac 8315 ;; 8316 *64-bit*) 8317 case $host in 8318 x86_64-*kfreebsd*-gnu) 8319 LD="${LD-ld} -m elf_x86_64_fbsd" 8320 ;; 8321 x86_64-*linux*) 8322 LD="${LD-ld} -m elf_x86_64" 8323 ;; 8324 powerpcle-*linux*) 8325 LD="${LD-ld} -m elf64lppc" 8326 ;; 8327 powerpc-*linux*) 8328 LD="${LD-ld} -m elf64ppc" 8329 ;; 8330 s390*-*linux*|s390*-*tpf*) 8331 LD="${LD-ld} -m elf64_s390" 8332 ;; 8333 sparc*-*linux*) 8334 LD="${LD-ld} -m elf64_sparc" 8335 ;; 8336 esac 8337 ;; 8338 esac 8339 fi 8340 rm -rf conftest* 8341 ;; 8342 8343*-*-sco3.2v5*) 8344 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8345 SAVE_CFLAGS=$CFLAGS 8346 CFLAGS="$CFLAGS -belf" 8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8348$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8349if ${lt_cv_cc_needs_belf+:} false; then : 8350 $as_echo_n "(cached) " >&6 8351else 8352 ac_ext=c 8353ac_cpp='$CPP $CPPFLAGS' 8354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8356ac_compiler_gnu=$ac_cv_c_compiler_gnu 8357 8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8359/* end confdefs.h. */ 8360 8361int 8362main () 8363{ 8364 8365 ; 8366 return 0; 8367} 8368_ACEOF 8369if ac_fn_c_try_link "$LINENO"; then : 8370 lt_cv_cc_needs_belf=yes 8371else 8372 lt_cv_cc_needs_belf=no 8373fi 8374rm -f core conftest.err conftest.$ac_objext \ 8375 conftest$ac_exeext conftest.$ac_ext 8376 ac_ext=c 8377ac_cpp='$CPP $CPPFLAGS' 8378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8380ac_compiler_gnu=$ac_cv_c_compiler_gnu 8381 8382fi 8383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8384$as_echo "$lt_cv_cc_needs_belf" >&6; } 8385 if test yes != "$lt_cv_cc_needs_belf"; then 8386 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8387 CFLAGS=$SAVE_CFLAGS 8388 fi 8389 ;; 8390*-*solaris*) 8391 # Find out what ABI is being produced by ac_compile, and set linker 8392 # options accordingly. 8393 echo 'int i;' > conftest.$ac_ext 8394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8395 (eval $ac_compile) 2>&5 8396 ac_status=$? 8397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8398 test $ac_status = 0; }; then 8399 case `/usr/bin/file conftest.o` in 8400 *64-bit*) 8401 case $lt_cv_prog_gnu_ld in 8402 yes*) 8403 case $host in 8404 i?86-*-solaris*|x86_64-*-solaris*) 8405 LD="${LD-ld} -m elf_x86_64" 8406 ;; 8407 sparc*-*-solaris*) 8408 LD="${LD-ld} -m elf64_sparc" 8409 ;; 8410 esac 8411 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8412 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8413 LD=${LD-ld}_sol2 8414 fi 8415 ;; 8416 *) 8417 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8418 LD="${LD-ld} -64" 8419 fi 8420 ;; 8421 esac 8422 ;; 8423 esac 8424 fi 8425 rm -rf conftest* 8426 ;; 8427esac 8428 8429need_locks=$enable_libtool_lock 8430 8431if test -n "$ac_tool_prefix"; then 8432 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8433set dummy ${ac_tool_prefix}mt; ac_word=$2 8434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8435$as_echo_n "checking for $ac_word... " >&6; } 8436if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8437 $as_echo_n "(cached) " >&6 8438else 8439 if test -n "$MANIFEST_TOOL"; then 8440 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8441else 8442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8443for as_dir in $PATH 8444do 8445 IFS=$as_save_IFS 8446 test -z "$as_dir" && as_dir=. 8447 for ac_exec_ext in '' $ac_executable_extensions; do 8448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8449 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8451 break 2 8452 fi 8453done 8454 done 8455IFS=$as_save_IFS 8456 8457fi 8458fi 8459MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8460if test -n "$MANIFEST_TOOL"; then 8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8462$as_echo "$MANIFEST_TOOL" >&6; } 8463else 8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8465$as_echo "no" >&6; } 8466fi 8467 8468 8469fi 8470if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8471 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8472 # Extract the first word of "mt", so it can be a program name with args. 8473set dummy mt; ac_word=$2 8474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8475$as_echo_n "checking for $ac_word... " >&6; } 8476if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8477 $as_echo_n "(cached) " >&6 8478else 8479 if test -n "$ac_ct_MANIFEST_TOOL"; then 8480 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8481else 8482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8483for as_dir in $PATH 8484do 8485 IFS=$as_save_IFS 8486 test -z "$as_dir" && as_dir=. 8487 for ac_exec_ext in '' $ac_executable_extensions; do 8488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8489 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8491 break 2 8492 fi 8493done 8494 done 8495IFS=$as_save_IFS 8496 8497fi 8498fi 8499ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8500if test -n "$ac_ct_MANIFEST_TOOL"; then 8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8502$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8503else 8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8505$as_echo "no" >&6; } 8506fi 8507 8508 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8509 MANIFEST_TOOL=":" 8510 else 8511 case $cross_compiling:$ac_tool_warned in 8512yes:) 8513{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8514$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8515ac_tool_warned=yes ;; 8516esac 8517 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8518 fi 8519else 8520 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8521fi 8522 8523test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8525$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8526if ${lt_cv_path_mainfest_tool+:} false; then : 8527 $as_echo_n "(cached) " >&6 8528else 8529 lt_cv_path_mainfest_tool=no 8530 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8531 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8532 cat conftest.err >&5 8533 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8534 lt_cv_path_mainfest_tool=yes 8535 fi 8536 rm -f conftest* 8537fi 8538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8539$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8540if test yes != "$lt_cv_path_mainfest_tool"; then 8541 MANIFEST_TOOL=: 8542fi 8543 8544 8545 8546 8547 8548 8549 case $host_os in 8550 rhapsody* | darwin*) 8551 if test -n "$ac_tool_prefix"; then 8552 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8553set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8555$as_echo_n "checking for $ac_word... " >&6; } 8556if ${ac_cv_prog_DSYMUTIL+:} false; then : 8557 $as_echo_n "(cached) " >&6 8558else 8559 if test -n "$DSYMUTIL"; then 8560 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8561else 8562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8563for as_dir in $PATH 8564do 8565 IFS=$as_save_IFS 8566 test -z "$as_dir" && as_dir=. 8567 for ac_exec_ext in '' $ac_executable_extensions; do 8568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8569 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8571 break 2 8572 fi 8573done 8574 done 8575IFS=$as_save_IFS 8576 8577fi 8578fi 8579DSYMUTIL=$ac_cv_prog_DSYMUTIL 8580if test -n "$DSYMUTIL"; then 8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8582$as_echo "$DSYMUTIL" >&6; } 8583else 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8585$as_echo "no" >&6; } 8586fi 8587 8588 8589fi 8590if test -z "$ac_cv_prog_DSYMUTIL"; then 8591 ac_ct_DSYMUTIL=$DSYMUTIL 8592 # Extract the first word of "dsymutil", so it can be a program name with args. 8593set dummy dsymutil; ac_word=$2 8594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8595$as_echo_n "checking for $ac_word... " >&6; } 8596if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8597 $as_echo_n "(cached) " >&6 8598else 8599 if test -n "$ac_ct_DSYMUTIL"; then 8600 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8601else 8602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8603for as_dir in $PATH 8604do 8605 IFS=$as_save_IFS 8606 test -z "$as_dir" && as_dir=. 8607 for ac_exec_ext in '' $ac_executable_extensions; do 8608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8609 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8611 break 2 8612 fi 8613done 8614 done 8615IFS=$as_save_IFS 8616 8617fi 8618fi 8619ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8620if test -n "$ac_ct_DSYMUTIL"; then 8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8622$as_echo "$ac_ct_DSYMUTIL" >&6; } 8623else 8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8625$as_echo "no" >&6; } 8626fi 8627 8628 if test "x$ac_ct_DSYMUTIL" = x; then 8629 DSYMUTIL=":" 8630 else 8631 case $cross_compiling:$ac_tool_warned in 8632yes:) 8633{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8634$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8635ac_tool_warned=yes ;; 8636esac 8637 DSYMUTIL=$ac_ct_DSYMUTIL 8638 fi 8639else 8640 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8641fi 8642 8643 if test -n "$ac_tool_prefix"; then 8644 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8645set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8647$as_echo_n "checking for $ac_word... " >&6; } 8648if ${ac_cv_prog_NMEDIT+:} false; then : 8649 $as_echo_n "(cached) " >&6 8650else 8651 if test -n "$NMEDIT"; then 8652 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8653else 8654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8655for as_dir in $PATH 8656do 8657 IFS=$as_save_IFS 8658 test -z "$as_dir" && as_dir=. 8659 for ac_exec_ext in '' $ac_executable_extensions; do 8660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8661 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8663 break 2 8664 fi 8665done 8666 done 8667IFS=$as_save_IFS 8668 8669fi 8670fi 8671NMEDIT=$ac_cv_prog_NMEDIT 8672if test -n "$NMEDIT"; then 8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8674$as_echo "$NMEDIT" >&6; } 8675else 8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8677$as_echo "no" >&6; } 8678fi 8679 8680 8681fi 8682if test -z "$ac_cv_prog_NMEDIT"; then 8683 ac_ct_NMEDIT=$NMEDIT 8684 # Extract the first word of "nmedit", so it can be a program name with args. 8685set dummy nmedit; ac_word=$2 8686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8687$as_echo_n "checking for $ac_word... " >&6; } 8688if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8689 $as_echo_n "(cached) " >&6 8690else 8691 if test -n "$ac_ct_NMEDIT"; then 8692 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8693else 8694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8695for as_dir in $PATH 8696do 8697 IFS=$as_save_IFS 8698 test -z "$as_dir" && as_dir=. 8699 for ac_exec_ext in '' $ac_executable_extensions; do 8700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8701 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8703 break 2 8704 fi 8705done 8706 done 8707IFS=$as_save_IFS 8708 8709fi 8710fi 8711ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8712if test -n "$ac_ct_NMEDIT"; then 8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8714$as_echo "$ac_ct_NMEDIT" >&6; } 8715else 8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8717$as_echo "no" >&6; } 8718fi 8719 8720 if test "x$ac_ct_NMEDIT" = x; then 8721 NMEDIT=":" 8722 else 8723 case $cross_compiling:$ac_tool_warned in 8724yes:) 8725{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8726$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8727ac_tool_warned=yes ;; 8728esac 8729 NMEDIT=$ac_ct_NMEDIT 8730 fi 8731else 8732 NMEDIT="$ac_cv_prog_NMEDIT" 8733fi 8734 8735 if test -n "$ac_tool_prefix"; then 8736 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8737set dummy ${ac_tool_prefix}lipo; ac_word=$2 8738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8739$as_echo_n "checking for $ac_word... " >&6; } 8740if ${ac_cv_prog_LIPO+:} false; then : 8741 $as_echo_n "(cached) " >&6 8742else 8743 if test -n "$LIPO"; then 8744 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8745else 8746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8747for as_dir in $PATH 8748do 8749 IFS=$as_save_IFS 8750 test -z "$as_dir" && as_dir=. 8751 for ac_exec_ext in '' $ac_executable_extensions; do 8752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8753 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8755 break 2 8756 fi 8757done 8758 done 8759IFS=$as_save_IFS 8760 8761fi 8762fi 8763LIPO=$ac_cv_prog_LIPO 8764if test -n "$LIPO"; then 8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8766$as_echo "$LIPO" >&6; } 8767else 8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8769$as_echo "no" >&6; } 8770fi 8771 8772 8773fi 8774if test -z "$ac_cv_prog_LIPO"; then 8775 ac_ct_LIPO=$LIPO 8776 # Extract the first word of "lipo", so it can be a program name with args. 8777set dummy lipo; ac_word=$2 8778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8779$as_echo_n "checking for $ac_word... " >&6; } 8780if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8781 $as_echo_n "(cached) " >&6 8782else 8783 if test -n "$ac_ct_LIPO"; then 8784 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8785else 8786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8787for as_dir in $PATH 8788do 8789 IFS=$as_save_IFS 8790 test -z "$as_dir" && as_dir=. 8791 for ac_exec_ext in '' $ac_executable_extensions; do 8792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8793 ac_cv_prog_ac_ct_LIPO="lipo" 8794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8795 break 2 8796 fi 8797done 8798 done 8799IFS=$as_save_IFS 8800 8801fi 8802fi 8803ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8804if test -n "$ac_ct_LIPO"; then 8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8806$as_echo "$ac_ct_LIPO" >&6; } 8807else 8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8809$as_echo "no" >&6; } 8810fi 8811 8812 if test "x$ac_ct_LIPO" = x; then 8813 LIPO=":" 8814 else 8815 case $cross_compiling:$ac_tool_warned in 8816yes:) 8817{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8818$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8819ac_tool_warned=yes ;; 8820esac 8821 LIPO=$ac_ct_LIPO 8822 fi 8823else 8824 LIPO="$ac_cv_prog_LIPO" 8825fi 8826 8827 if test -n "$ac_tool_prefix"; then 8828 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8829set dummy ${ac_tool_prefix}otool; ac_word=$2 8830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8831$as_echo_n "checking for $ac_word... " >&6; } 8832if ${ac_cv_prog_OTOOL+:} false; then : 8833 $as_echo_n "(cached) " >&6 8834else 8835 if test -n "$OTOOL"; then 8836 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8837else 8838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8839for as_dir in $PATH 8840do 8841 IFS=$as_save_IFS 8842 test -z "$as_dir" && as_dir=. 8843 for ac_exec_ext in '' $ac_executable_extensions; do 8844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8845 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8847 break 2 8848 fi 8849done 8850 done 8851IFS=$as_save_IFS 8852 8853fi 8854fi 8855OTOOL=$ac_cv_prog_OTOOL 8856if test -n "$OTOOL"; then 8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8858$as_echo "$OTOOL" >&6; } 8859else 8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8861$as_echo "no" >&6; } 8862fi 8863 8864 8865fi 8866if test -z "$ac_cv_prog_OTOOL"; then 8867 ac_ct_OTOOL=$OTOOL 8868 # Extract the first word of "otool", so it can be a program name with args. 8869set dummy otool; ac_word=$2 8870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8871$as_echo_n "checking for $ac_word... " >&6; } 8872if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8873 $as_echo_n "(cached) " >&6 8874else 8875 if test -n "$ac_ct_OTOOL"; then 8876 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8877else 8878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8879for as_dir in $PATH 8880do 8881 IFS=$as_save_IFS 8882 test -z "$as_dir" && as_dir=. 8883 for ac_exec_ext in '' $ac_executable_extensions; do 8884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8885 ac_cv_prog_ac_ct_OTOOL="otool" 8886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8887 break 2 8888 fi 8889done 8890 done 8891IFS=$as_save_IFS 8892 8893fi 8894fi 8895ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8896if test -n "$ac_ct_OTOOL"; then 8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8898$as_echo "$ac_ct_OTOOL" >&6; } 8899else 8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8901$as_echo "no" >&6; } 8902fi 8903 8904 if test "x$ac_ct_OTOOL" = x; then 8905 OTOOL=":" 8906 else 8907 case $cross_compiling:$ac_tool_warned in 8908yes:) 8909{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8910$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8911ac_tool_warned=yes ;; 8912esac 8913 OTOOL=$ac_ct_OTOOL 8914 fi 8915else 8916 OTOOL="$ac_cv_prog_OTOOL" 8917fi 8918 8919 if test -n "$ac_tool_prefix"; then 8920 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8921set dummy ${ac_tool_prefix}otool64; ac_word=$2 8922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8923$as_echo_n "checking for $ac_word... " >&6; } 8924if ${ac_cv_prog_OTOOL64+:} false; then : 8925 $as_echo_n "(cached) " >&6 8926else 8927 if test -n "$OTOOL64"; then 8928 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8929else 8930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8931for as_dir in $PATH 8932do 8933 IFS=$as_save_IFS 8934 test -z "$as_dir" && as_dir=. 8935 for ac_exec_ext in '' $ac_executable_extensions; do 8936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8937 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8939 break 2 8940 fi 8941done 8942 done 8943IFS=$as_save_IFS 8944 8945fi 8946fi 8947OTOOL64=$ac_cv_prog_OTOOL64 8948if test -n "$OTOOL64"; then 8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8950$as_echo "$OTOOL64" >&6; } 8951else 8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8953$as_echo "no" >&6; } 8954fi 8955 8956 8957fi 8958if test -z "$ac_cv_prog_OTOOL64"; then 8959 ac_ct_OTOOL64=$OTOOL64 8960 # Extract the first word of "otool64", so it can be a program name with args. 8961set dummy otool64; ac_word=$2 8962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8963$as_echo_n "checking for $ac_word... " >&6; } 8964if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8965 $as_echo_n "(cached) " >&6 8966else 8967 if test -n "$ac_ct_OTOOL64"; then 8968 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8969else 8970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8971for as_dir in $PATH 8972do 8973 IFS=$as_save_IFS 8974 test -z "$as_dir" && as_dir=. 8975 for ac_exec_ext in '' $ac_executable_extensions; do 8976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8977 ac_cv_prog_ac_ct_OTOOL64="otool64" 8978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8979 break 2 8980 fi 8981done 8982 done 8983IFS=$as_save_IFS 8984 8985fi 8986fi 8987ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8988if test -n "$ac_ct_OTOOL64"; then 8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8990$as_echo "$ac_ct_OTOOL64" >&6; } 8991else 8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8993$as_echo "no" >&6; } 8994fi 8995 8996 if test "x$ac_ct_OTOOL64" = x; then 8997 OTOOL64=":" 8998 else 8999 case $cross_compiling:$ac_tool_warned in 9000yes:) 9001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9003ac_tool_warned=yes ;; 9004esac 9005 OTOOL64=$ac_ct_OTOOL64 9006 fi 9007else 9008 OTOOL64="$ac_cv_prog_OTOOL64" 9009fi 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9038$as_echo_n "checking for -single_module linker flag... " >&6; } 9039if ${lt_cv_apple_cc_single_mod+:} false; then : 9040 $as_echo_n "(cached) " >&6 9041else 9042 lt_cv_apple_cc_single_mod=no 9043 if test -z "$LT_MULTI_MODULE"; then 9044 # By default we will add the -single_module flag. You can override 9045 # by either setting the environment variable LT_MULTI_MODULE 9046 # non-empty at configure time, or by adding -multi_module to the 9047 # link flags. 9048 rm -rf libconftest.dylib* 9049 echo "int foo(void){return 1;}" > conftest.c 9050 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9051-dynamiclib -Wl,-single_module conftest.c" >&5 9052 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9053 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9054 _lt_result=$? 9055 # If there is a non-empty error log, and "single_module" 9056 # appears in it, assume the flag caused a linker warning 9057 if test -s conftest.err && $GREP single_module conftest.err; then 9058 cat conftest.err >&5 9059 # Otherwise, if the output was created with a 0 exit code from 9060 # the compiler, it worked. 9061 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9062 lt_cv_apple_cc_single_mod=yes 9063 else 9064 cat conftest.err >&5 9065 fi 9066 rm -rf libconftest.dylib* 9067 rm -f conftest.* 9068 fi 9069fi 9070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9071$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9072 9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9074$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9075if ${lt_cv_ld_exported_symbols_list+:} false; then : 9076 $as_echo_n "(cached) " >&6 9077else 9078 lt_cv_ld_exported_symbols_list=no 9079 save_LDFLAGS=$LDFLAGS 9080 echo "_main" > conftest.sym 9081 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9083/* end confdefs.h. */ 9084 9085int 9086main () 9087{ 9088 9089 ; 9090 return 0; 9091} 9092_ACEOF 9093if ac_fn_c_try_link "$LINENO"; then : 9094 lt_cv_ld_exported_symbols_list=yes 9095else 9096 lt_cv_ld_exported_symbols_list=no 9097fi 9098rm -f core conftest.err conftest.$ac_objext \ 9099 conftest$ac_exeext conftest.$ac_ext 9100 LDFLAGS=$save_LDFLAGS 9101 9102fi 9103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9104$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9105 9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9107$as_echo_n "checking for -force_load linker flag... " >&6; } 9108if ${lt_cv_ld_force_load+:} false; then : 9109 $as_echo_n "(cached) " >&6 9110else 9111 lt_cv_ld_force_load=no 9112 cat > conftest.c << _LT_EOF 9113int forced_loaded() { return 2;} 9114_LT_EOF 9115 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9116 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9117 echo "$AR cru libconftest.a conftest.o" >&5 9118 $AR cru libconftest.a conftest.o 2>&5 9119 echo "$RANLIB libconftest.a" >&5 9120 $RANLIB libconftest.a 2>&5 9121 cat > conftest.c << _LT_EOF 9122int main() { return 0;} 9123_LT_EOF 9124 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9125 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9126 _lt_result=$? 9127 if test -s conftest.err && $GREP force_load conftest.err; then 9128 cat conftest.err >&5 9129 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9130 lt_cv_ld_force_load=yes 9131 else 9132 cat conftest.err >&5 9133 fi 9134 rm -f conftest.err libconftest.a conftest conftest.c 9135 rm -rf conftest.dSYM 9136 9137fi 9138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9139$as_echo "$lt_cv_ld_force_load" >&6; } 9140 case $host_os in 9141 rhapsody* | darwin1.[012]) 9142 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9143 darwin1.*) 9144 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9145 darwin*) # darwin 5.x on 9146 # if running on 10.5 or later, the deployment target defaults 9147 # to the OS version, if on x86, and 10.4, the deployment 9148 # target defaults to 10.4. Don't you love it? 9149 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9150 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9151 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9152 10.[012][,.]*) 9153 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9154 10.*) 9155 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9156 esac 9157 ;; 9158 esac 9159 if test yes = "$lt_cv_apple_cc_single_mod"; then 9160 _lt_dar_single_mod='$single_module' 9161 fi 9162 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9163 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9164 else 9165 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9166 fi 9167 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9168 _lt_dsymutil='~$DSYMUTIL $lib || :' 9169 else 9170 _lt_dsymutil= 9171 fi 9172 ;; 9173 esac 9174 9175# func_munge_path_list VARIABLE PATH 9176# ----------------------------------- 9177# VARIABLE is name of variable containing _space_ separated list of 9178# directories to be munged by the contents of PATH, which is string 9179# having a format: 9180# "DIR[:DIR]:" 9181# string "DIR[ DIR]" will be prepended to VARIABLE 9182# ":DIR[:DIR]" 9183# string "DIR[ DIR]" will be appended to VARIABLE 9184# "DIRP[:DIRP]::[DIRA:]DIRA" 9185# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9186# "DIRA[ DIRA]" will be appended to VARIABLE 9187# "DIR[:DIR]" 9188# VARIABLE will be replaced by "DIR[ DIR]" 9189func_munge_path_list () 9190{ 9191 case x$2 in 9192 x) 9193 ;; 9194 *:) 9195 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9196 ;; 9197 x:*) 9198 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9199 ;; 9200 *::*) 9201 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9202 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9203 ;; 9204 *) 9205 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9206 ;; 9207 esac 9208} 9209 9210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9211$as_echo_n "checking for ANSI C header files... " >&6; } 9212if ${ac_cv_header_stdc+:} false; then : 9213 $as_echo_n "(cached) " >&6 9214else 9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9216/* end confdefs.h. */ 9217#include <stdlib.h> 9218#include <stdarg.h> 9219#include <string.h> 9220#include <float.h> 9221 9222int 9223main () 9224{ 9225 9226 ; 9227 return 0; 9228} 9229_ACEOF 9230if ac_fn_c_try_compile "$LINENO"; then : 9231 ac_cv_header_stdc=yes 9232else 9233 ac_cv_header_stdc=no 9234fi 9235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9236 9237if test $ac_cv_header_stdc = yes; then 9238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9240/* end confdefs.h. */ 9241#include <string.h> 9242 9243_ACEOF 9244if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9245 $EGREP "memchr" >/dev/null 2>&1; then : 9246 9247else 9248 ac_cv_header_stdc=no 9249fi 9250rm -f conftest* 9251 9252fi 9253 9254if test $ac_cv_header_stdc = yes; then 9255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9257/* end confdefs.h. */ 9258#include <stdlib.h> 9259 9260_ACEOF 9261if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9262 $EGREP "free" >/dev/null 2>&1; then : 9263 9264else 9265 ac_cv_header_stdc=no 9266fi 9267rm -f conftest* 9268 9269fi 9270 9271if test $ac_cv_header_stdc = yes; then 9272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9273 if test "$cross_compiling" = yes; then : 9274 : 9275else 9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9277/* end confdefs.h. */ 9278#include <ctype.h> 9279#include <stdlib.h> 9280#if ((' ' & 0x0FF) == 0x020) 9281# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9282# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9283#else 9284# define ISLOWER(c) \ 9285 (('a' <= (c) && (c) <= 'i') \ 9286 || ('j' <= (c) && (c) <= 'r') \ 9287 || ('s' <= (c) && (c) <= 'z')) 9288# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9289#endif 9290 9291#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9292int 9293main () 9294{ 9295 int i; 9296 for (i = 0; i < 256; i++) 9297 if (XOR (islower (i), ISLOWER (i)) 9298 || toupper (i) != TOUPPER (i)) 9299 return 2; 9300 return 0; 9301} 9302_ACEOF 9303if ac_fn_c_try_run "$LINENO"; then : 9304 9305else 9306 ac_cv_header_stdc=no 9307fi 9308rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9309 conftest.$ac_objext conftest.beam conftest.$ac_ext 9310fi 9311 9312fi 9313fi 9314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9315$as_echo "$ac_cv_header_stdc" >&6; } 9316if test $ac_cv_header_stdc = yes; then 9317 9318$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9319 9320fi 9321 9322# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9323for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9324 inttypes.h stdint.h unistd.h 9325do : 9326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9327ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9328" 9329if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9330 cat >>confdefs.h <<_ACEOF 9331#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9332_ACEOF 9333 9334fi 9335 9336done 9337 9338 9339for ac_header in dlfcn.h 9340do : 9341 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9342" 9343if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9344 cat >>confdefs.h <<_ACEOF 9345#define HAVE_DLFCN_H 1 9346_ACEOF 9347 9348fi 9349 9350done 9351 9352 9353 9354 9355func_stripname_cnf () 9356{ 9357 case $2 in 9358 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9359 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9360 esac 9361} # func_stripname_cnf 9362 9363 9364 9365 9366 9367# Set options 9368 9369 9370 9371 enable_dlopen=no 9372 9373 9374 9375 # Check whether --enable-shared was given. 9376if test "${enable_shared+set}" = set; then : 9377 enableval=$enable_shared; p=${PACKAGE-default} 9378 case $enableval in 9379 yes) enable_shared=yes ;; 9380 no) enable_shared=no ;; 9381 *) 9382 enable_shared=no 9383 # Look at the argument we got. We use all the common list separators. 9384 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9385 for pkg in $enableval; do 9386 IFS=$lt_save_ifs 9387 if test "X$pkg" = "X$p"; then 9388 enable_shared=yes 9389 fi 9390 done 9391 IFS=$lt_save_ifs 9392 ;; 9393 esac 9394else 9395 enable_shared=yes 9396fi 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 # Check whether --enable-static was given. 9407if test "${enable_static+set}" = set; then : 9408 enableval=$enable_static; p=${PACKAGE-default} 9409 case $enableval in 9410 yes) enable_static=yes ;; 9411 no) enable_static=no ;; 9412 *) 9413 enable_static=no 9414 # Look at the argument we got. We use all the common list separators. 9415 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9416 for pkg in $enableval; do 9417 IFS=$lt_save_ifs 9418 if test "X$pkg" = "X$p"; then 9419 enable_static=yes 9420 fi 9421 done 9422 IFS=$lt_save_ifs 9423 ;; 9424 esac 9425else 9426 enable_static=yes 9427fi 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438# Check whether --with-pic was given. 9439if test "${with_pic+set}" = set; then : 9440 withval=$with_pic; lt_p=${PACKAGE-default} 9441 case $withval in 9442 yes|no) pic_mode=$withval ;; 9443 *) 9444 pic_mode=default 9445 # Look at the argument we got. We use all the common list separators. 9446 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9447 for lt_pkg in $withval; do 9448 IFS=$lt_save_ifs 9449 if test "X$lt_pkg" = "X$lt_p"; then 9450 pic_mode=yes 9451 fi 9452 done 9453 IFS=$lt_save_ifs 9454 ;; 9455 esac 9456else 9457 pic_mode=default 9458fi 9459 9460 9461 9462 9463 9464 9465 9466 9467 # Check whether --enable-fast-install was given. 9468if test "${enable_fast_install+set}" = set; then : 9469 enableval=$enable_fast_install; p=${PACKAGE-default} 9470 case $enableval in 9471 yes) enable_fast_install=yes ;; 9472 no) enable_fast_install=no ;; 9473 *) 9474 enable_fast_install=no 9475 # Look at the argument we got. We use all the common list separators. 9476 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9477 for pkg in $enableval; do 9478 IFS=$lt_save_ifs 9479 if test "X$pkg" = "X$p"; then 9480 enable_fast_install=yes 9481 fi 9482 done 9483 IFS=$lt_save_ifs 9484 ;; 9485 esac 9486else 9487 enable_fast_install=yes 9488fi 9489 9490 9491 9492 9493 9494 9495 9496 9497 shared_archive_member_spec= 9498case $host,$enable_shared in 9499power*-*-aix[5-9]*,yes) 9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9501$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9502 9503# Check whether --with-aix-soname was given. 9504if test "${with_aix_soname+set}" = set; then : 9505 withval=$with_aix_soname; case $withval in 9506 aix|svr4|both) 9507 ;; 9508 *) 9509 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9510 ;; 9511 esac 9512 lt_cv_with_aix_soname=$with_aix_soname 9513else 9514 if ${lt_cv_with_aix_soname+:} false; then : 9515 $as_echo_n "(cached) " >&6 9516else 9517 lt_cv_with_aix_soname=aix 9518fi 9519 9520 with_aix_soname=$lt_cv_with_aix_soname 9521fi 9522 9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9524$as_echo "$with_aix_soname" >&6; } 9525 if test aix != "$with_aix_soname"; then 9526 # For the AIX way of multilib, we name the shared archive member 9527 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9528 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9529 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9530 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9531 if test 64 = "${OBJECT_MODE-32}"; then 9532 shared_archive_member_spec=shr_64 9533 else 9534 shared_archive_member_spec=shr 9535 fi 9536 fi 9537 ;; 9538*) 9539 with_aix_soname=aix 9540 ;; 9541esac 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552# This can be used to rebuild libtool when needed 9553LIBTOOL_DEPS=$ltmain 9554 9555# Always use our own libtool. 9556LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587test -z "$LN_S" && LN_S="ln -s" 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602if test -n "${ZSH_VERSION+set}"; then 9603 setopt NO_GLOB_SUBST 9604fi 9605 9606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9607$as_echo_n "checking for objdir... " >&6; } 9608if ${lt_cv_objdir+:} false; then : 9609 $as_echo_n "(cached) " >&6 9610else 9611 rm -f .libs 2>/dev/null 9612mkdir .libs 2>/dev/null 9613if test -d .libs; then 9614 lt_cv_objdir=.libs 9615else 9616 # MS-DOS does not allow filenames that begin with a dot. 9617 lt_cv_objdir=_libs 9618fi 9619rmdir .libs 2>/dev/null 9620fi 9621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9622$as_echo "$lt_cv_objdir" >&6; } 9623objdir=$lt_cv_objdir 9624 9625 9626 9627 9628 9629cat >>confdefs.h <<_ACEOF 9630#define LT_OBJDIR "$lt_cv_objdir/" 9631_ACEOF 9632 9633 9634 9635 9636case $host_os in 9637aix3*) 9638 # AIX sometimes has problems with the GCC collect2 program. For some 9639 # reason, if we set the COLLECT_NAMES environment variable, the problems 9640 # vanish in a puff of smoke. 9641 if test set != "${COLLECT_NAMES+set}"; then 9642 COLLECT_NAMES= 9643 export COLLECT_NAMES 9644 fi 9645 ;; 9646esac 9647 9648# Global variables: 9649ofile=libtool 9650can_build_shared=yes 9651 9652# All known linkers require a '.a' archive for static linking (except MSVC, 9653# which needs '.lib'). 9654libext=a 9655 9656with_gnu_ld=$lt_cv_prog_gnu_ld 9657 9658old_CC=$CC 9659old_CFLAGS=$CFLAGS 9660 9661# Set sane defaults for various variables 9662test -z "$CC" && CC=cc 9663test -z "$LTCC" && LTCC=$CC 9664test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9665test -z "$LD" && LD=ld 9666test -z "$ac_objext" && ac_objext=o 9667 9668func_cc_basename $compiler 9669cc_basename=$func_cc_basename_result 9670 9671 9672# Only perform the check for file, if the check method requires it 9673test -z "$MAGIC_CMD" && MAGIC_CMD=file 9674case $deplibs_check_method in 9675file_magic*) 9676 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9678$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9679if ${lt_cv_path_MAGIC_CMD+:} false; then : 9680 $as_echo_n "(cached) " >&6 9681else 9682 case $MAGIC_CMD in 9683[\\/*] | ?:[\\/]*) 9684 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9685 ;; 9686*) 9687 lt_save_MAGIC_CMD=$MAGIC_CMD 9688 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9689 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9690 for ac_dir in $ac_dummy; do 9691 IFS=$lt_save_ifs 9692 test -z "$ac_dir" && ac_dir=. 9693 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9694 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9695 if test -n "$file_magic_test_file"; then 9696 case $deplibs_check_method in 9697 "file_magic "*) 9698 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9699 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9700 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9701 $EGREP "$file_magic_regex" > /dev/null; then 9702 : 9703 else 9704 cat <<_LT_EOF 1>&2 9705 9706*** Warning: the command libtool uses to detect shared libraries, 9707*** $file_magic_cmd, produces output that libtool cannot recognize. 9708*** The result is that libtool may fail to recognize shared libraries 9709*** as such. This will affect the creation of libtool libraries that 9710*** depend on shared libraries, but programs linked with such libtool 9711*** libraries will work regardless of this problem. Nevertheless, you 9712*** may want to report the problem to your system manager and/or to 9713*** bug-libtool@gnu.org 9714 9715_LT_EOF 9716 fi ;; 9717 esac 9718 fi 9719 break 9720 fi 9721 done 9722 IFS=$lt_save_ifs 9723 MAGIC_CMD=$lt_save_MAGIC_CMD 9724 ;; 9725esac 9726fi 9727 9728MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9729if test -n "$MAGIC_CMD"; then 9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9731$as_echo "$MAGIC_CMD" >&6; } 9732else 9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9734$as_echo "no" >&6; } 9735fi 9736 9737 9738 9739 9740 9741if test -z "$lt_cv_path_MAGIC_CMD"; then 9742 if test -n "$ac_tool_prefix"; then 9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9744$as_echo_n "checking for file... " >&6; } 9745if ${lt_cv_path_MAGIC_CMD+:} false; then : 9746 $as_echo_n "(cached) " >&6 9747else 9748 case $MAGIC_CMD in 9749[\\/*] | ?:[\\/]*) 9750 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9751 ;; 9752*) 9753 lt_save_MAGIC_CMD=$MAGIC_CMD 9754 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9755 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9756 for ac_dir in $ac_dummy; do 9757 IFS=$lt_save_ifs 9758 test -z "$ac_dir" && ac_dir=. 9759 if test -f "$ac_dir/file"; then 9760 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9761 if test -n "$file_magic_test_file"; then 9762 case $deplibs_check_method in 9763 "file_magic "*) 9764 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9765 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9766 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9767 $EGREP "$file_magic_regex" > /dev/null; then 9768 : 9769 else 9770 cat <<_LT_EOF 1>&2 9771 9772*** Warning: the command libtool uses to detect shared libraries, 9773*** $file_magic_cmd, produces output that libtool cannot recognize. 9774*** The result is that libtool may fail to recognize shared libraries 9775*** as such. This will affect the creation of libtool libraries that 9776*** depend on shared libraries, but programs linked with such libtool 9777*** libraries will work regardless of this problem. Nevertheless, you 9778*** may want to report the problem to your system manager and/or to 9779*** bug-libtool@gnu.org 9780 9781_LT_EOF 9782 fi ;; 9783 esac 9784 fi 9785 break 9786 fi 9787 done 9788 IFS=$lt_save_ifs 9789 MAGIC_CMD=$lt_save_MAGIC_CMD 9790 ;; 9791esac 9792fi 9793 9794MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9795if test -n "$MAGIC_CMD"; then 9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9797$as_echo "$MAGIC_CMD" >&6; } 9798else 9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9800$as_echo "no" >&6; } 9801fi 9802 9803 9804 else 9805 MAGIC_CMD=: 9806 fi 9807fi 9808 9809 fi 9810 ;; 9811esac 9812 9813# Use C for the default configuration in the libtool script 9814 9815lt_save_CC=$CC 9816ac_ext=c 9817ac_cpp='$CPP $CPPFLAGS' 9818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9820ac_compiler_gnu=$ac_cv_c_compiler_gnu 9821 9822 9823# Source file extension for C test sources. 9824ac_ext=c 9825 9826# Object file extension for compiled C test sources. 9827objext=o 9828objext=$objext 9829 9830# Code to be used in simple compile tests 9831lt_simple_compile_test_code="int some_variable = 0;" 9832 9833# Code to be used in simple link tests 9834lt_simple_link_test_code='int main(){return(0);}' 9835 9836 9837 9838 9839 9840 9841 9842# If no C compiler was specified, use CC. 9843LTCC=${LTCC-"$CC"} 9844 9845# If no C compiler flags were specified, use CFLAGS. 9846LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9847 9848# Allow CC to be a program name with arguments. 9849compiler=$CC 9850 9851# Save the default compiler, since it gets overwritten when the other 9852# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9853compiler_DEFAULT=$CC 9854 9855# save warnings/boilerplate of simple test code 9856ac_outfile=conftest.$ac_objext 9857echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9858eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9859_lt_compiler_boilerplate=`cat conftest.err` 9860$RM conftest* 9861 9862ac_outfile=conftest.$ac_objext 9863echo "$lt_simple_link_test_code" >conftest.$ac_ext 9864eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9865_lt_linker_boilerplate=`cat conftest.err` 9866$RM -r conftest* 9867 9868 9869## CAVEAT EMPTOR: 9870## There is no encapsulation within the following macros, do not change 9871## the running order or otherwise move them around unless you know exactly 9872## what you are doing... 9873if test -n "$compiler"; then 9874 9875lt_prog_compiler_no_builtin_flag= 9876 9877if test yes = "$GCC"; then 9878 case $cc_basename in 9879 nvcc*) 9880 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9881 *) 9882 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9883 esac 9884 9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9886$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9887if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9888 $as_echo_n "(cached) " >&6 9889else 9890 lt_cv_prog_compiler_rtti_exceptions=no 9891 ac_outfile=conftest.$ac_objext 9892 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9893 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9894 # Insert the option either (1) after the last *FLAGS variable, or 9895 # (2) before a word containing "conftest.", or (3) at the end. 9896 # Note that $ac_compile itself does not contain backslashes and begins 9897 # with a dollar sign (not a hyphen), so the echo should work correctly. 9898 # The option is referenced via a variable to avoid confusing sed. 9899 lt_compile=`echo "$ac_compile" | $SED \ 9900 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9902 -e 's:$: $lt_compiler_flag:'` 9903 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9904 (eval "$lt_compile" 2>conftest.err) 9905 ac_status=$? 9906 cat conftest.err >&5 9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9908 if (exit $ac_status) && test -s "$ac_outfile"; then 9909 # The compiler can only warn and ignore the option if not recognized 9910 # So say no if there are warnings other than the usual output. 9911 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9912 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9913 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9914 lt_cv_prog_compiler_rtti_exceptions=yes 9915 fi 9916 fi 9917 $RM conftest* 9918 9919fi 9920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9921$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9922 9923if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9924 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9925else 9926 : 9927fi 9928 9929fi 9930 9931 9932 9933 9934 9935 9936 lt_prog_compiler_wl= 9937lt_prog_compiler_pic= 9938lt_prog_compiler_static= 9939 9940 9941 if test yes = "$GCC"; then 9942 lt_prog_compiler_wl='-Wl,' 9943 lt_prog_compiler_static='-static' 9944 9945 case $host_os in 9946 aix*) 9947 # All AIX code is PIC. 9948 if test ia64 = "$host_cpu"; then 9949 # AIX 5 now supports IA64 processor 9950 lt_prog_compiler_static='-Bstatic' 9951 fi 9952 lt_prog_compiler_pic='-fPIC' 9953 ;; 9954 9955 amigaos*) 9956 case $host_cpu in 9957 powerpc) 9958 # see comment about AmigaOS4 .so support 9959 lt_prog_compiler_pic='-fPIC' 9960 ;; 9961 m68k) 9962 # FIXME: we need at least 68020 code to build shared libraries, but 9963 # adding the '-m68020' flag to GCC prevents building anything better, 9964 # like '-m68040'. 9965 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9966 ;; 9967 esac 9968 ;; 9969 9970 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9971 # PIC is the default for these OSes. 9972 ;; 9973 9974 mingw* | cygwin* | pw32* | os2* | cegcc*) 9975 # This hack is so that the source file can tell whether it is being 9976 # built for inclusion in a dll (and should export symbols for example). 9977 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9978 # (--disable-auto-import) libraries 9979 lt_prog_compiler_pic='-DDLL_EXPORT' 9980 case $host_os in 9981 os2*) 9982 lt_prog_compiler_static='$wl-static' 9983 ;; 9984 esac 9985 ;; 9986 9987 darwin* | rhapsody*) 9988 # PIC is the default on this platform 9989 # Common symbols not allowed in MH_DYLIB files 9990 lt_prog_compiler_pic='-fno-common' 9991 ;; 9992 9993 haiku*) 9994 # PIC is the default for Haiku. 9995 # The "-static" flag exists, but is broken. 9996 lt_prog_compiler_static= 9997 ;; 9998 9999 hpux*) 10000 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10001 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10002 # sets the default TLS model and affects inlining. 10003 case $host_cpu in 10004 hppa*64*) 10005 # +Z the default 10006 ;; 10007 *) 10008 lt_prog_compiler_pic='-fPIC' 10009 ;; 10010 esac 10011 ;; 10012 10013 interix[3-9]*) 10014 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10015 # Instead, we relocate shared libraries at runtime. 10016 ;; 10017 10018 msdosdjgpp*) 10019 # Just because we use GCC doesn't mean we suddenly get shared libraries 10020 # on systems that don't support them. 10021 lt_prog_compiler_can_build_shared=no 10022 enable_shared=no 10023 ;; 10024 10025 *nto* | *qnx*) 10026 # QNX uses GNU C++, but need to define -shared option too, otherwise 10027 # it will coredump. 10028 lt_prog_compiler_pic='-fPIC -shared' 10029 ;; 10030 10031 sysv4*MP*) 10032 if test -d /usr/nec; then 10033 lt_prog_compiler_pic=-Kconform_pic 10034 fi 10035 ;; 10036 10037 *) 10038 lt_prog_compiler_pic='-fPIC' 10039 ;; 10040 esac 10041 10042 case $cc_basename in 10043 nvcc*) # Cuda Compiler Driver 2.2 10044 lt_prog_compiler_wl='-Xlinker ' 10045 if test -n "$lt_prog_compiler_pic"; then 10046 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10047 fi 10048 ;; 10049 esac 10050 else 10051 # PORTME Check for flag to pass linker flags through the system compiler. 10052 case $host_os in 10053 aix*) 10054 lt_prog_compiler_wl='-Wl,' 10055 if test ia64 = "$host_cpu"; then 10056 # AIX 5 now supports IA64 processor 10057 lt_prog_compiler_static='-Bstatic' 10058 else 10059 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10060 fi 10061 ;; 10062 10063 darwin* | rhapsody*) 10064 # PIC is the default on this platform 10065 # Common symbols not allowed in MH_DYLIB files 10066 lt_prog_compiler_pic='-fno-common' 10067 case $cc_basename in 10068 nagfor*) 10069 # NAG Fortran compiler 10070 lt_prog_compiler_wl='-Wl,-Wl,,' 10071 lt_prog_compiler_pic='-PIC' 10072 lt_prog_compiler_static='-Bstatic' 10073 ;; 10074 esac 10075 ;; 10076 10077 mingw* | cygwin* | pw32* | os2* | cegcc*) 10078 # This hack is so that the source file can tell whether it is being 10079 # built for inclusion in a dll (and should export symbols for example). 10080 lt_prog_compiler_pic='-DDLL_EXPORT' 10081 case $host_os in 10082 os2*) 10083 lt_prog_compiler_static='$wl-static' 10084 ;; 10085 esac 10086 ;; 10087 10088 hpux9* | hpux10* | hpux11*) 10089 lt_prog_compiler_wl='-Wl,' 10090 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10091 # not for PA HP-UX. 10092 case $host_cpu in 10093 hppa*64*|ia64*) 10094 # +Z the default 10095 ;; 10096 *) 10097 lt_prog_compiler_pic='+Z' 10098 ;; 10099 esac 10100 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10101 lt_prog_compiler_static='$wl-a ${wl}archive' 10102 ;; 10103 10104 irix5* | irix6* | nonstopux*) 10105 lt_prog_compiler_wl='-Wl,' 10106 # PIC (with -KPIC) is the default. 10107 lt_prog_compiler_static='-non_shared' 10108 ;; 10109 10110 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10111 case $cc_basename in 10112 # old Intel for x86_64, which still supported -KPIC. 10113 ecc*) 10114 lt_prog_compiler_wl='-Wl,' 10115 lt_prog_compiler_pic='-KPIC' 10116 lt_prog_compiler_static='-static' 10117 ;; 10118 # icc used to be incompatible with GCC. 10119 # ICC 10 doesn't accept -KPIC any more. 10120 icc* | ifort*) 10121 lt_prog_compiler_wl='-Wl,' 10122 lt_prog_compiler_pic='-fPIC' 10123 lt_prog_compiler_static='-static' 10124 ;; 10125 # Lahey Fortran 8.1. 10126 lf95*) 10127 lt_prog_compiler_wl='-Wl,' 10128 lt_prog_compiler_pic='--shared' 10129 lt_prog_compiler_static='--static' 10130 ;; 10131 nagfor*) 10132 # NAG Fortran compiler 10133 lt_prog_compiler_wl='-Wl,-Wl,,' 10134 lt_prog_compiler_pic='-PIC' 10135 lt_prog_compiler_static='-Bstatic' 10136 ;; 10137 tcc*) 10138 # Fabrice Bellard et al's Tiny C Compiler 10139 lt_prog_compiler_wl='-Wl,' 10140 lt_prog_compiler_pic='-fPIC' 10141 lt_prog_compiler_static='-static' 10142 ;; 10143 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10144 # Portland Group compilers (*not* the Pentium gcc compiler, 10145 # which looks to be a dead project) 10146 lt_prog_compiler_wl='-Wl,' 10147 lt_prog_compiler_pic='-fpic' 10148 lt_prog_compiler_static='-Bstatic' 10149 ;; 10150 ccc*) 10151 lt_prog_compiler_wl='-Wl,' 10152 # All Alpha code is PIC. 10153 lt_prog_compiler_static='-non_shared' 10154 ;; 10155 xl* | bgxl* | bgf* | mpixl*) 10156 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10157 lt_prog_compiler_wl='-Wl,' 10158 lt_prog_compiler_pic='-qpic' 10159 lt_prog_compiler_static='-qstaticlink' 10160 ;; 10161 *) 10162 case `$CC -V 2>&1 | sed 5q` in 10163 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10164 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10165 lt_prog_compiler_pic='-KPIC' 10166 lt_prog_compiler_static='-Bstatic' 10167 lt_prog_compiler_wl='' 10168 ;; 10169 *Sun\ F* | *Sun*Fortran*) 10170 lt_prog_compiler_pic='-KPIC' 10171 lt_prog_compiler_static='-Bstatic' 10172 lt_prog_compiler_wl='-Qoption ld ' 10173 ;; 10174 *Sun\ C*) 10175 # Sun C 5.9 10176 lt_prog_compiler_pic='-KPIC' 10177 lt_prog_compiler_static='-Bstatic' 10178 lt_prog_compiler_wl='-Wl,' 10179 ;; 10180 *Intel*\ [CF]*Compiler*) 10181 lt_prog_compiler_wl='-Wl,' 10182 lt_prog_compiler_pic='-fPIC' 10183 lt_prog_compiler_static='-static' 10184 ;; 10185 *Portland\ Group*) 10186 lt_prog_compiler_wl='-Wl,' 10187 lt_prog_compiler_pic='-fpic' 10188 lt_prog_compiler_static='-Bstatic' 10189 ;; 10190 esac 10191 ;; 10192 esac 10193 ;; 10194 10195 newsos6) 10196 lt_prog_compiler_pic='-KPIC' 10197 lt_prog_compiler_static='-Bstatic' 10198 ;; 10199 10200 *nto* | *qnx*) 10201 # QNX uses GNU C++, but need to define -shared option too, otherwise 10202 # it will coredump. 10203 lt_prog_compiler_pic='-fPIC -shared' 10204 ;; 10205 10206 osf3* | osf4* | osf5*) 10207 lt_prog_compiler_wl='-Wl,' 10208 # All OSF/1 code is PIC. 10209 lt_prog_compiler_static='-non_shared' 10210 ;; 10211 10212 rdos*) 10213 lt_prog_compiler_static='-non_shared' 10214 ;; 10215 10216 solaris*) 10217 lt_prog_compiler_pic='-KPIC' 10218 lt_prog_compiler_static='-Bstatic' 10219 case $cc_basename in 10220 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10221 lt_prog_compiler_wl='-Qoption ld ';; 10222 *) 10223 lt_prog_compiler_wl='-Wl,';; 10224 esac 10225 ;; 10226 10227 sunos4*) 10228 lt_prog_compiler_wl='-Qoption ld ' 10229 lt_prog_compiler_pic='-PIC' 10230 lt_prog_compiler_static='-Bstatic' 10231 ;; 10232 10233 sysv4 | sysv4.2uw2* | sysv4.3*) 10234 lt_prog_compiler_wl='-Wl,' 10235 lt_prog_compiler_pic='-KPIC' 10236 lt_prog_compiler_static='-Bstatic' 10237 ;; 10238 10239 sysv4*MP*) 10240 if test -d /usr/nec; then 10241 lt_prog_compiler_pic='-Kconform_pic' 10242 lt_prog_compiler_static='-Bstatic' 10243 fi 10244 ;; 10245 10246 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10247 lt_prog_compiler_wl='-Wl,' 10248 lt_prog_compiler_pic='-KPIC' 10249 lt_prog_compiler_static='-Bstatic' 10250 ;; 10251 10252 unicos*) 10253 lt_prog_compiler_wl='-Wl,' 10254 lt_prog_compiler_can_build_shared=no 10255 ;; 10256 10257 uts4*) 10258 lt_prog_compiler_pic='-pic' 10259 lt_prog_compiler_static='-Bstatic' 10260 ;; 10261 10262 *) 10263 lt_prog_compiler_can_build_shared=no 10264 ;; 10265 esac 10266 fi 10267 10268case $host_os in 10269 # For platforms that do not support PIC, -DPIC is meaningless: 10270 *djgpp*) 10271 lt_prog_compiler_pic= 10272 ;; 10273 *) 10274 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10275 ;; 10276esac 10277 10278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10279$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10280if ${lt_cv_prog_compiler_pic+:} false; then : 10281 $as_echo_n "(cached) " >&6 10282else 10283 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10284fi 10285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10286$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10287lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10288 10289# 10290# Check to make sure the PIC flag actually works. 10291# 10292if test -n "$lt_prog_compiler_pic"; then 10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10294$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10295if ${lt_cv_prog_compiler_pic_works+:} false; then : 10296 $as_echo_n "(cached) " >&6 10297else 10298 lt_cv_prog_compiler_pic_works=no 10299 ac_outfile=conftest.$ac_objext 10300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10301 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10302 # Insert the option either (1) after the last *FLAGS variable, or 10303 # (2) before a word containing "conftest.", or (3) at the end. 10304 # Note that $ac_compile itself does not contain backslashes and begins 10305 # with a dollar sign (not a hyphen), so the echo should work correctly. 10306 # The option is referenced via a variable to avoid confusing sed. 10307 lt_compile=`echo "$ac_compile" | $SED \ 10308 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10310 -e 's:$: $lt_compiler_flag:'` 10311 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10312 (eval "$lt_compile" 2>conftest.err) 10313 ac_status=$? 10314 cat conftest.err >&5 10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10316 if (exit $ac_status) && test -s "$ac_outfile"; then 10317 # The compiler can only warn and ignore the option if not recognized 10318 # So say no if there are warnings other than the usual output. 10319 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10320 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10321 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10322 lt_cv_prog_compiler_pic_works=yes 10323 fi 10324 fi 10325 $RM conftest* 10326 10327fi 10328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10329$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10330 10331if test yes = "$lt_cv_prog_compiler_pic_works"; then 10332 case $lt_prog_compiler_pic in 10333 "" | " "*) ;; 10334 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10335 esac 10336else 10337 lt_prog_compiler_pic= 10338 lt_prog_compiler_can_build_shared=no 10339fi 10340 10341fi 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353# 10354# Check to make sure the static flag actually works. 10355# 10356wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10358$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10359if ${lt_cv_prog_compiler_static_works+:} false; then : 10360 $as_echo_n "(cached) " >&6 10361else 10362 lt_cv_prog_compiler_static_works=no 10363 save_LDFLAGS=$LDFLAGS 10364 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10365 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10366 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10367 # The linker can only warn and ignore the option if not recognized 10368 # So say no if there are warnings 10369 if test -s conftest.err; then 10370 # Append any errors to the config.log. 10371 cat conftest.err 1>&5 10372 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10373 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10374 if diff conftest.exp conftest.er2 >/dev/null; then 10375 lt_cv_prog_compiler_static_works=yes 10376 fi 10377 else 10378 lt_cv_prog_compiler_static_works=yes 10379 fi 10380 fi 10381 $RM -r conftest* 10382 LDFLAGS=$save_LDFLAGS 10383 10384fi 10385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10386$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10387 10388if test yes = "$lt_cv_prog_compiler_static_works"; then 10389 : 10390else 10391 lt_prog_compiler_static= 10392fi 10393 10394 10395 10396 10397 10398 10399 10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10401$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10402if ${lt_cv_prog_compiler_c_o+:} false; then : 10403 $as_echo_n "(cached) " >&6 10404else 10405 lt_cv_prog_compiler_c_o=no 10406 $RM -r conftest 2>/dev/null 10407 mkdir conftest 10408 cd conftest 10409 mkdir out 10410 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10411 10412 lt_compiler_flag="-o out/conftest2.$ac_objext" 10413 # Insert the option either (1) after the last *FLAGS variable, or 10414 # (2) before a word containing "conftest.", or (3) at the end. 10415 # Note that $ac_compile itself does not contain backslashes and begins 10416 # with a dollar sign (not a hyphen), so the echo should work correctly. 10417 lt_compile=`echo "$ac_compile" | $SED \ 10418 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10419 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10420 -e 's:$: $lt_compiler_flag:'` 10421 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10422 (eval "$lt_compile" 2>out/conftest.err) 10423 ac_status=$? 10424 cat out/conftest.err >&5 10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10426 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10427 then 10428 # The compiler can only warn and ignore the option if not recognized 10429 # So say no if there are warnings 10430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10431 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10432 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10433 lt_cv_prog_compiler_c_o=yes 10434 fi 10435 fi 10436 chmod u+w . 2>&5 10437 $RM conftest* 10438 # SGI C++ compiler will create directory out/ii_files/ for 10439 # template instantiation 10440 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10441 $RM out/* && rmdir out 10442 cd .. 10443 $RM -r conftest 10444 $RM conftest* 10445 10446fi 10447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10448$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10449 10450 10451 10452 10453 10454 10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10456$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10457if ${lt_cv_prog_compiler_c_o+:} false; then : 10458 $as_echo_n "(cached) " >&6 10459else 10460 lt_cv_prog_compiler_c_o=no 10461 $RM -r conftest 2>/dev/null 10462 mkdir conftest 10463 cd conftest 10464 mkdir out 10465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10466 10467 lt_compiler_flag="-o out/conftest2.$ac_objext" 10468 # Insert the option either (1) after the last *FLAGS variable, or 10469 # (2) before a word containing "conftest.", or (3) at the end. 10470 # Note that $ac_compile itself does not contain backslashes and begins 10471 # with a dollar sign (not a hyphen), so the echo should work correctly. 10472 lt_compile=`echo "$ac_compile" | $SED \ 10473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10475 -e 's:$: $lt_compiler_flag:'` 10476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10477 (eval "$lt_compile" 2>out/conftest.err) 10478 ac_status=$? 10479 cat out/conftest.err >&5 10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10481 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10482 then 10483 # The compiler can only warn and ignore the option if not recognized 10484 # So say no if there are warnings 10485 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10486 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10487 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10488 lt_cv_prog_compiler_c_o=yes 10489 fi 10490 fi 10491 chmod u+w . 2>&5 10492 $RM conftest* 10493 # SGI C++ compiler will create directory out/ii_files/ for 10494 # template instantiation 10495 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10496 $RM out/* && rmdir out 10497 cd .. 10498 $RM -r conftest 10499 $RM conftest* 10500 10501fi 10502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10503$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10504 10505 10506 10507 10508hard_links=nottested 10509if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10510 # do not overwrite the value of need_locks provided by the user 10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10512$as_echo_n "checking if we can lock with hard links... " >&6; } 10513 hard_links=yes 10514 $RM conftest* 10515 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10516 touch conftest.a 10517 ln conftest.a conftest.b 2>&5 || hard_links=no 10518 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10520$as_echo "$hard_links" >&6; } 10521 if test no = "$hard_links"; then 10522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10523$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10524 need_locks=warn 10525 fi 10526else 10527 need_locks=no 10528fi 10529 10530 10531 10532 10533 10534 10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10536$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10537 10538 runpath_var= 10539 allow_undefined_flag= 10540 always_export_symbols=no 10541 archive_cmds= 10542 archive_expsym_cmds= 10543 compiler_needs_object=no 10544 enable_shared_with_static_runtimes=no 10545 export_dynamic_flag_spec= 10546 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10547 hardcode_automatic=no 10548 hardcode_direct=no 10549 hardcode_direct_absolute=no 10550 hardcode_libdir_flag_spec= 10551 hardcode_libdir_separator= 10552 hardcode_minus_L=no 10553 hardcode_shlibpath_var=unsupported 10554 inherit_rpath=no 10555 link_all_deplibs=unknown 10556 module_cmds= 10557 module_expsym_cmds= 10558 old_archive_from_new_cmds= 10559 old_archive_from_expsyms_cmds= 10560 thread_safe_flag_spec= 10561 whole_archive_flag_spec= 10562 # include_expsyms should be a list of space-separated symbols to be *always* 10563 # included in the symbol list 10564 include_expsyms= 10565 # exclude_expsyms can be an extended regexp of symbols to exclude 10566 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10567 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10568 # as well as any symbol that contains 'd'. 10569 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10570 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10571 # platforms (ab)use it in PIC code, but their linkers get confused if 10572 # the symbol is explicitly referenced. Since portable code cannot 10573 # rely on this symbol name, it's probably fine to never include it in 10574 # preloaded symbol tables. 10575 # Exclude shared library initialization/finalization symbols. 10576 extract_expsyms_cmds= 10577 10578 case $host_os in 10579 cygwin* | mingw* | pw32* | cegcc*) 10580 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10581 # When not using gcc, we currently assume that we are using 10582 # Microsoft Visual C++. 10583 if test yes != "$GCC"; then 10584 with_gnu_ld=no 10585 fi 10586 ;; 10587 interix*) 10588 # we just hope/assume this is gcc and not c89 (= MSVC++) 10589 with_gnu_ld=yes 10590 ;; 10591 openbsd* | bitrig*) 10592 with_gnu_ld=no 10593 ;; 10594 esac 10595 10596 ld_shlibs=yes 10597 10598 # On some targets, GNU ld is compatible enough with the native linker 10599 # that we're better off using the native interface for both. 10600 lt_use_gnu_ld_interface=no 10601 if test yes = "$with_gnu_ld"; then 10602 case $host_os in 10603 aix*) 10604 # The AIX port of GNU ld has always aspired to compatibility 10605 # with the native linker. However, as the warning in the GNU ld 10606 # block says, versions before 2.19.5* couldn't really create working 10607 # shared libraries, regardless of the interface used. 10608 case `$LD -v 2>&1` in 10609 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10610 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10611 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10612 *) 10613 lt_use_gnu_ld_interface=yes 10614 ;; 10615 esac 10616 ;; 10617 *) 10618 lt_use_gnu_ld_interface=yes 10619 ;; 10620 esac 10621 fi 10622 10623 if test yes = "$lt_use_gnu_ld_interface"; then 10624 # If archive_cmds runs LD, not CC, wlarc should be empty 10625 wlarc='$wl' 10626 10627 # Set some defaults for GNU ld with shared library support. These 10628 # are reset later if shared libraries are not supported. Putting them 10629 # here allows them to be overridden if necessary. 10630 runpath_var=LD_RUN_PATH 10631 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10632 export_dynamic_flag_spec='$wl--export-dynamic' 10633 # ancient GNU ld didn't support --whole-archive et. al. 10634 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10635 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10636 else 10637 whole_archive_flag_spec= 10638 fi 10639 supports_anon_versioning=no 10640 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10641 *GNU\ gold*) supports_anon_versioning=yes ;; 10642 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10643 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10644 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10645 *\ 2.11.*) ;; # other 2.11 versions 10646 *) supports_anon_versioning=yes ;; 10647 esac 10648 10649 # See if GNU ld supports shared libraries. 10650 case $host_os in 10651 aix[3-9]*) 10652 # On AIX/PPC, the GNU linker is very broken 10653 if test ia64 != "$host_cpu"; then 10654 ld_shlibs=no 10655 cat <<_LT_EOF 1>&2 10656 10657*** Warning: the GNU linker, at least up to release 2.19, is reported 10658*** to be unable to reliably create shared libraries on AIX. 10659*** Therefore, libtool is disabling shared libraries support. If you 10660*** really care for shared libraries, you may want to install binutils 10661*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10662*** You will then need to restart the configuration process. 10663 10664_LT_EOF 10665 fi 10666 ;; 10667 10668 amigaos*) 10669 case $host_cpu in 10670 powerpc) 10671 # see comment about AmigaOS4 .so support 10672 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10673 archive_expsym_cmds='' 10674 ;; 10675 m68k) 10676 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)' 10677 hardcode_libdir_flag_spec='-L$libdir' 10678 hardcode_minus_L=yes 10679 ;; 10680 esac 10681 ;; 10682 10683 beos*) 10684 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10685 allow_undefined_flag=unsupported 10686 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10687 # support --undefined. This deserves some investigation. FIXME 10688 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10689 else 10690 ld_shlibs=no 10691 fi 10692 ;; 10693 10694 cygwin* | mingw* | pw32* | cegcc*) 10695 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10696 # as there is no search path for DLLs. 10697 hardcode_libdir_flag_spec='-L$libdir' 10698 export_dynamic_flag_spec='$wl--export-all-symbols' 10699 allow_undefined_flag=unsupported 10700 always_export_symbols=no 10701 enable_shared_with_static_runtimes=yes 10702 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' 10703 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10704 10705 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10707 # If the export-symbols file already is a .def file, use it as 10708 # is; otherwise, prepend EXPORTS... 10709 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10710 cp $export_symbols $output_objdir/$soname.def; 10711 else 10712 echo EXPORTS > $output_objdir/$soname.def; 10713 cat $export_symbols >> $output_objdir/$soname.def; 10714 fi~ 10715 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10716 else 10717 ld_shlibs=no 10718 fi 10719 ;; 10720 10721 haiku*) 10722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10723 link_all_deplibs=yes 10724 ;; 10725 10726 os2*) 10727 hardcode_libdir_flag_spec='-L$libdir' 10728 hardcode_minus_L=yes 10729 allow_undefined_flag=unsupported 10730 shrext_cmds=.dll 10731 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10732 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10733 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10734 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10735 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10736 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10737 emximp -o $lib $output_objdir/$libname.def' 10738 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10739 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10740 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10741 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10742 prefix_cmds="$SED"~ 10743 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10744 prefix_cmds="$prefix_cmds -e 1d"; 10745 fi~ 10746 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10747 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10748 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10749 emximp -o $lib $output_objdir/$libname.def' 10750 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10751 enable_shared_with_static_runtimes=yes 10752 ;; 10753 10754 interix[3-9]*) 10755 hardcode_direct=no 10756 hardcode_shlibpath_var=no 10757 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10758 export_dynamic_flag_spec='$wl-E' 10759 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10760 # Instead, shared libraries are loaded at an image base (0x10000000 by 10761 # default) and relocated if they conflict, which is a slow very memory 10762 # consuming and fragmenting process. To avoid this, we pick a random, 10763 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10764 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10765 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10766 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' 10767 ;; 10768 10769 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10770 tmp_diet=no 10771 if test linux-dietlibc = "$host_os"; then 10772 case $cc_basename in 10773 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10774 esac 10775 fi 10776 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10777 && test no = "$tmp_diet" 10778 then 10779 tmp_addflag=' $pic_flag' 10780 tmp_sharedflag='-shared' 10781 case $cc_basename,$host_cpu in 10782 pgcc*) # Portland Group C compiler 10783 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' 10784 tmp_addflag=' $pic_flag' 10785 ;; 10786 pgf77* | pgf90* | pgf95* | pgfortran*) 10787 # Portland Group f77 and f90 compilers 10788 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' 10789 tmp_addflag=' $pic_flag -Mnomain' ;; 10790 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10791 tmp_addflag=' -i_dynamic' ;; 10792 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10793 tmp_addflag=' -i_dynamic -nofor_main' ;; 10794 ifc* | ifort*) # Intel Fortran compiler 10795 tmp_addflag=' -nofor_main' ;; 10796 lf95*) # Lahey Fortran 8.1 10797 whole_archive_flag_spec= 10798 tmp_sharedflag='--shared' ;; 10799 nagfor*) # NAGFOR 5.3 10800 tmp_sharedflag='-Wl,-shared' ;; 10801 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10802 tmp_sharedflag='-qmkshrobj' 10803 tmp_addflag= ;; 10804 nvcc*) # Cuda Compiler Driver 2.2 10805 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' 10806 compiler_needs_object=yes 10807 ;; 10808 esac 10809 case `$CC -V 2>&1 | sed 5q` in 10810 *Sun\ C*) # Sun C 5.9 10811 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' 10812 compiler_needs_object=yes 10813 tmp_sharedflag='-G' ;; 10814 *Sun\ F*) # Sun Fortran 8.3 10815 tmp_sharedflag='-G' ;; 10816 esac 10817 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10818 10819 if test yes = "$supports_anon_versioning"; then 10820 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10821 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10822 echo "local: *; };" >> $output_objdir/$libname.ver~ 10823 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10824 fi 10825 10826 case $cc_basename in 10827 tcc*) 10828 export_dynamic_flag_spec='-rdynamic' 10829 ;; 10830 xlf* | bgf* | bgxlf* | mpixlf*) 10831 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10832 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10833 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10834 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10835 if test yes = "$supports_anon_versioning"; then 10836 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10837 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10838 echo "local: *; };" >> $output_objdir/$libname.ver~ 10839 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10840 fi 10841 ;; 10842 esac 10843 else 10844 ld_shlibs=no 10845 fi 10846 ;; 10847 10848 netbsd*) 10849 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10850 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10851 wlarc= 10852 else 10853 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10854 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10855 fi 10856 ;; 10857 10858 solaris*) 10859 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10860 ld_shlibs=no 10861 cat <<_LT_EOF 1>&2 10862 10863*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10864*** create shared libraries on Solaris systems. Therefore, libtool 10865*** is disabling shared libraries support. We urge you to upgrade GNU 10866*** binutils to release 2.9.1 or newer. Another option is to modify 10867*** your PATH or compiler configuration so that the native linker is 10868*** used, and then restart. 10869 10870_LT_EOF 10871 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10872 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10873 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10874 else 10875 ld_shlibs=no 10876 fi 10877 ;; 10878 10879 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10880 case `$LD -v 2>&1` in 10881 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10882 ld_shlibs=no 10883 cat <<_LT_EOF 1>&2 10884 10885*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10886*** reliably create shared libraries on SCO systems. Therefore, libtool 10887*** is disabling shared libraries support. We urge you to upgrade GNU 10888*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10889*** your PATH or compiler configuration so that the native linker is 10890*** used, and then restart. 10891 10892_LT_EOF 10893 ;; 10894 *) 10895 # For security reasons, it is highly recommended that you always 10896 # use absolute paths for naming shared libraries, and exclude the 10897 # DT_RUNPATH tag from executables and libraries. But doing so 10898 # requires that you compile everything twice, which is a pain. 10899 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10900 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10901 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10902 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10903 else 10904 ld_shlibs=no 10905 fi 10906 ;; 10907 esac 10908 ;; 10909 10910 sunos4*) 10911 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10912 wlarc= 10913 hardcode_direct=yes 10914 hardcode_shlibpath_var=no 10915 ;; 10916 10917 *) 10918 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10919 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10920 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10921 else 10922 ld_shlibs=no 10923 fi 10924 ;; 10925 esac 10926 10927 if test no = "$ld_shlibs"; then 10928 runpath_var= 10929 hardcode_libdir_flag_spec= 10930 export_dynamic_flag_spec= 10931 whole_archive_flag_spec= 10932 fi 10933 else 10934 # PORTME fill in a description of your system's linker (not GNU ld) 10935 case $host_os in 10936 aix3*) 10937 allow_undefined_flag=unsupported 10938 always_export_symbols=yes 10939 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' 10940 # Note: this linker hardcodes the directories in LIBPATH if there 10941 # are no directories specified by -L. 10942 hardcode_minus_L=yes 10943 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10944 # Neither direct hardcoding nor static linking is supported with a 10945 # broken collect2. 10946 hardcode_direct=unsupported 10947 fi 10948 ;; 10949 10950 aix[4-9]*) 10951 if test ia64 = "$host_cpu"; then 10952 # On IA64, the linker does run time linking by default, so we don't 10953 # have to do anything special. 10954 aix_use_runtimelinking=no 10955 exp_sym_flag='-Bexport' 10956 no_entry_flag= 10957 else 10958 # If we're using GNU nm, then we don't want the "-C" option. 10959 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10960 # Without the "-l" option, or with the "-B" option, AIX nm treats 10961 # weak defined symbols like other global defined symbols, whereas 10962 # GNU nm marks them as "W". 10963 # While the 'weak' keyword is ignored in the Export File, we need 10964 # it in the Import File for the 'aix-soname' feature, so we have 10965 # to replace the "-B" option with "-P" for AIX nm. 10966 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10967 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' 10968 else 10969 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' 10970 fi 10971 aix_use_runtimelinking=no 10972 10973 # Test if we are trying to use run time linking or normal 10974 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10975 # have runtime linking enabled, and use it for executables. 10976 # For shared libraries, we enable/disable runtime linking 10977 # depending on the kind of the shared library created - 10978 # when "with_aix_soname,aix_use_runtimelinking" is: 10979 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10980 # "aix,yes" lib.so shared, rtl:yes, for executables 10981 # lib.a static archive 10982 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10983 # lib.a(lib.so.V) shared, rtl:no, for executables 10984 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10985 # lib.a(lib.so.V) shared, rtl:no 10986 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10987 # lib.a static archive 10988 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10989 for ld_flag in $LDFLAGS; do 10990 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10991 aix_use_runtimelinking=yes 10992 break 10993 fi 10994 done 10995 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10996 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10997 # so we don't have lib.a shared libs to link our executables. 10998 # We have to force runtime linking in this case. 10999 aix_use_runtimelinking=yes 11000 LDFLAGS="$LDFLAGS -Wl,-brtl" 11001 fi 11002 ;; 11003 esac 11004 11005 exp_sym_flag='-bexport' 11006 no_entry_flag='-bnoentry' 11007 fi 11008 11009 # When large executables or shared objects are built, AIX ld can 11010 # have problems creating the table of contents. If linking a library 11011 # or program results in "error TOC overflow" add -mminimal-toc to 11012 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11013 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11014 11015 archive_cmds='' 11016 hardcode_direct=yes 11017 hardcode_direct_absolute=yes 11018 hardcode_libdir_separator=':' 11019 link_all_deplibs=yes 11020 file_list_spec='$wl-f,' 11021 case $with_aix_soname,$aix_use_runtimelinking in 11022 aix,*) ;; # traditional, no import file 11023 svr4,* | *,yes) # use import file 11024 # The Import File defines what to hardcode. 11025 hardcode_direct=no 11026 hardcode_direct_absolute=no 11027 ;; 11028 esac 11029 11030 if test yes = "$GCC"; then 11031 case $host_os in aix4.[012]|aix4.[012].*) 11032 # We only want to do this on AIX 4.2 and lower, the check 11033 # below for broken collect2 doesn't work under 4.3+ 11034 collect2name=`$CC -print-prog-name=collect2` 11035 if test -f "$collect2name" && 11036 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11037 then 11038 # We have reworked collect2 11039 : 11040 else 11041 # We have old collect2 11042 hardcode_direct=unsupported 11043 # It fails to find uninstalled libraries when the uninstalled 11044 # path is not listed in the libpath. Setting hardcode_minus_L 11045 # to unsupported forces relinking 11046 hardcode_minus_L=yes 11047 hardcode_libdir_flag_spec='-L$libdir' 11048 hardcode_libdir_separator= 11049 fi 11050 ;; 11051 esac 11052 shared_flag='-shared' 11053 if test yes = "$aix_use_runtimelinking"; then 11054 shared_flag="$shared_flag "'$wl-G' 11055 fi 11056 # Need to ensure runtime linking is disabled for the traditional 11057 # shared library, or the linker may eventually find shared libraries 11058 # /with/ Import File - we do not want to mix them. 11059 shared_flag_aix='-shared' 11060 shared_flag_svr4='-shared $wl-G' 11061 else 11062 # not using gcc 11063 if test ia64 = "$host_cpu"; then 11064 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11065 # chokes on -Wl,-G. The following line is correct: 11066 shared_flag='-G' 11067 else 11068 if test yes = "$aix_use_runtimelinking"; then 11069 shared_flag='$wl-G' 11070 else 11071 shared_flag='$wl-bM:SRE' 11072 fi 11073 shared_flag_aix='$wl-bM:SRE' 11074 shared_flag_svr4='$wl-G' 11075 fi 11076 fi 11077 11078 export_dynamic_flag_spec='$wl-bexpall' 11079 # It seems that -bexpall does not export symbols beginning with 11080 # underscore (_), so it is better to generate a list of symbols to export. 11081 always_export_symbols=yes 11082 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11083 # Warning - without using the other runtime loading flags (-brtl), 11084 # -berok will link without error, but may produce a broken library. 11085 allow_undefined_flag='-berok' 11086 # Determine the default libpath from the value encoded in an 11087 # empty executable. 11088 if test set = "${lt_cv_aix_libpath+set}"; then 11089 aix_libpath=$lt_cv_aix_libpath 11090else 11091 if ${lt_cv_aix_libpath_+:} false; then : 11092 $as_echo_n "(cached) " >&6 11093else 11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11095/* end confdefs.h. */ 11096 11097int 11098main () 11099{ 11100 11101 ; 11102 return 0; 11103} 11104_ACEOF 11105if ac_fn_c_try_link "$LINENO"; then : 11106 11107 lt_aix_libpath_sed=' 11108 /Import File Strings/,/^$/ { 11109 /^0/ { 11110 s/^0 *\([^ ]*\) *$/\1/ 11111 p 11112 } 11113 }' 11114 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11115 # Check for a 64-bit object if we didn't find anything. 11116 if test -z "$lt_cv_aix_libpath_"; then 11117 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11118 fi 11119fi 11120rm -f core conftest.err conftest.$ac_objext \ 11121 conftest$ac_exeext conftest.$ac_ext 11122 if test -z "$lt_cv_aix_libpath_"; then 11123 lt_cv_aix_libpath_=/usr/lib:/lib 11124 fi 11125 11126fi 11127 11128 aix_libpath=$lt_cv_aix_libpath_ 11129fi 11130 11131 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11132 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 11133 else 11134 if test ia64 = "$host_cpu"; then 11135 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11136 allow_undefined_flag="-z nodefs" 11137 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" 11138 else 11139 # Determine the default libpath from the value encoded in an 11140 # empty executable. 11141 if test set = "${lt_cv_aix_libpath+set}"; then 11142 aix_libpath=$lt_cv_aix_libpath 11143else 11144 if ${lt_cv_aix_libpath_+:} false; then : 11145 $as_echo_n "(cached) " >&6 11146else 11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11148/* end confdefs.h. */ 11149 11150int 11151main () 11152{ 11153 11154 ; 11155 return 0; 11156} 11157_ACEOF 11158if ac_fn_c_try_link "$LINENO"; then : 11159 11160 lt_aix_libpath_sed=' 11161 /Import File Strings/,/^$/ { 11162 /^0/ { 11163 s/^0 *\([^ ]*\) *$/\1/ 11164 p 11165 } 11166 }' 11167 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11168 # Check for a 64-bit object if we didn't find anything. 11169 if test -z "$lt_cv_aix_libpath_"; then 11170 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11171 fi 11172fi 11173rm -f core conftest.err conftest.$ac_objext \ 11174 conftest$ac_exeext conftest.$ac_ext 11175 if test -z "$lt_cv_aix_libpath_"; then 11176 lt_cv_aix_libpath_=/usr/lib:/lib 11177 fi 11178 11179fi 11180 11181 aix_libpath=$lt_cv_aix_libpath_ 11182fi 11183 11184 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11185 # Warning - without using the other run time loading flags, 11186 # -berok will link without error, but may produce a broken library. 11187 no_undefined_flag=' $wl-bernotok' 11188 allow_undefined_flag=' $wl-berok' 11189 if test yes = "$with_gnu_ld"; then 11190 # We only use this code for GNU lds that support --whole-archive. 11191 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11192 else 11193 # Exported symbols can be pulled into shared objects from archives 11194 whole_archive_flag_spec='$convenience' 11195 fi 11196 archive_cmds_need_lc=yes 11197 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11198 # -brtl affects multiple linker settings, -berok does not and is overridden later 11199 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11200 if test svr4 != "$with_aix_soname"; then 11201 # This is similar to how AIX traditionally builds its shared libraries. 11202 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' 11203 fi 11204 if test aix != "$with_aix_soname"; then 11205 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' 11206 else 11207 # used by -dlpreopen to get the symbols 11208 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11209 fi 11210 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11211 fi 11212 fi 11213 ;; 11214 11215 amigaos*) 11216 case $host_cpu in 11217 powerpc) 11218 # see comment about AmigaOS4 .so support 11219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11220 archive_expsym_cmds='' 11221 ;; 11222 m68k) 11223 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)' 11224 hardcode_libdir_flag_spec='-L$libdir' 11225 hardcode_minus_L=yes 11226 ;; 11227 esac 11228 ;; 11229 11230 bsdi[45]*) 11231 export_dynamic_flag_spec=-rdynamic 11232 ;; 11233 11234 cygwin* | mingw* | pw32* | cegcc*) 11235 # When not using gcc, we currently assume that we are using 11236 # Microsoft Visual C++. 11237 # hardcode_libdir_flag_spec is actually meaningless, as there is 11238 # no search path for DLLs. 11239 case $cc_basename in 11240 cl*) 11241 # Native MSVC 11242 hardcode_libdir_flag_spec=' ' 11243 allow_undefined_flag=unsupported 11244 always_export_symbols=yes 11245 file_list_spec='@' 11246 # Tell ltmain to make .lib files, not .a files. 11247 libext=lib 11248 # Tell ltmain to make .dll files, not .so files. 11249 shrext_cmds=.dll 11250 # FIXME: Setting linknames here is a bad hack. 11251 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11252 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11253 cp "$export_symbols" "$output_objdir/$soname.def"; 11254 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11255 else 11256 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11257 fi~ 11258 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11259 linknames=' 11260 # The linker will not automatically build a static lib if we build a DLL. 11261 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11262 enable_shared_with_static_runtimes=yes 11263 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11264 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11265 # Don't use ranlib 11266 old_postinstall_cmds='chmod 644 $oldlib' 11267 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11268 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11269 case $lt_outputfile in 11270 *.exe|*.EXE) ;; 11271 *) 11272 lt_outputfile=$lt_outputfile.exe 11273 lt_tool_outputfile=$lt_tool_outputfile.exe 11274 ;; 11275 esac~ 11276 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11277 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11278 $RM "$lt_outputfile.manifest"; 11279 fi' 11280 ;; 11281 *) 11282 # Assume MSVC wrapper 11283 hardcode_libdir_flag_spec=' ' 11284 allow_undefined_flag=unsupported 11285 # Tell ltmain to make .lib files, not .a files. 11286 libext=lib 11287 # Tell ltmain to make .dll files, not .so files. 11288 shrext_cmds=.dll 11289 # FIXME: Setting linknames here is a bad hack. 11290 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11291 # The linker will automatically build a .lib file if we build a DLL. 11292 old_archive_from_new_cmds='true' 11293 # FIXME: Should let the user specify the lib program. 11294 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11295 enable_shared_with_static_runtimes=yes 11296 ;; 11297 esac 11298 ;; 11299 11300 darwin* | rhapsody*) 11301 11302 11303 archive_cmds_need_lc=no 11304 hardcode_direct=no 11305 hardcode_automatic=yes 11306 hardcode_shlibpath_var=unsupported 11307 if test yes = "$lt_cv_ld_force_load"; then 11308 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\"`' 11309 11310 else 11311 whole_archive_flag_spec='' 11312 fi 11313 link_all_deplibs=yes 11314 allow_undefined_flag=$_lt_dar_allow_undefined 11315 case $cc_basename in 11316 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11317 *) _lt_dar_can_shared=$GCC ;; 11318 esac 11319 if test yes = "$_lt_dar_can_shared"; then 11320 output_verbose_link_cmd=func_echo_all 11321 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11322 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11323 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" 11324 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" 11325 11326 else 11327 ld_shlibs=no 11328 fi 11329 11330 ;; 11331 11332 dgux*) 11333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11334 hardcode_libdir_flag_spec='-L$libdir' 11335 hardcode_shlibpath_var=no 11336 ;; 11337 11338 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11339 # support. Future versions do this automatically, but an explicit c++rt0.o 11340 # does not break anything, and helps significantly (at the cost of a little 11341 # extra space). 11342 freebsd2.2*) 11343 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11344 hardcode_libdir_flag_spec='-R$libdir' 11345 hardcode_direct=yes 11346 hardcode_shlibpath_var=no 11347 ;; 11348 11349 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11350 freebsd2.*) 11351 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11352 hardcode_direct=yes 11353 hardcode_minus_L=yes 11354 hardcode_shlibpath_var=no 11355 ;; 11356 11357 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11358 freebsd* | dragonfly*) 11359 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11360 hardcode_libdir_flag_spec='-R$libdir' 11361 hardcode_direct=yes 11362 hardcode_shlibpath_var=no 11363 ;; 11364 11365 hpux9*) 11366 if test yes = "$GCC"; then 11367 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' 11368 else 11369 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' 11370 fi 11371 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11372 hardcode_libdir_separator=: 11373 hardcode_direct=yes 11374 11375 # hardcode_minus_L: Not really in the search PATH, 11376 # but as the default location of the library. 11377 hardcode_minus_L=yes 11378 export_dynamic_flag_spec='$wl-E' 11379 ;; 11380 11381 hpux10*) 11382 if test yes,no = "$GCC,$with_gnu_ld"; then 11383 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11384 else 11385 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11386 fi 11387 if test no = "$with_gnu_ld"; then 11388 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11389 hardcode_libdir_separator=: 11390 hardcode_direct=yes 11391 hardcode_direct_absolute=yes 11392 export_dynamic_flag_spec='$wl-E' 11393 # hardcode_minus_L: Not really in the search PATH, 11394 # but as the default location of the library. 11395 hardcode_minus_L=yes 11396 fi 11397 ;; 11398 11399 hpux11*) 11400 if test yes,no = "$GCC,$with_gnu_ld"; then 11401 case $host_cpu in 11402 hppa*64*) 11403 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11404 ;; 11405 ia64*) 11406 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11407 ;; 11408 *) 11409 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11410 ;; 11411 esac 11412 else 11413 case $host_cpu in 11414 hppa*64*) 11415 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11416 ;; 11417 ia64*) 11418 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11419 ;; 11420 *) 11421 11422 # Older versions of the 11.00 compiler do not understand -b yet 11423 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11425$as_echo_n "checking if $CC understands -b... " >&6; } 11426if ${lt_cv_prog_compiler__b+:} false; then : 11427 $as_echo_n "(cached) " >&6 11428else 11429 lt_cv_prog_compiler__b=no 11430 save_LDFLAGS=$LDFLAGS 11431 LDFLAGS="$LDFLAGS -b" 11432 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11433 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11434 # The linker can only warn and ignore the option if not recognized 11435 # So say no if there are warnings 11436 if test -s conftest.err; then 11437 # Append any errors to the config.log. 11438 cat conftest.err 1>&5 11439 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11440 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11441 if diff conftest.exp conftest.er2 >/dev/null; then 11442 lt_cv_prog_compiler__b=yes 11443 fi 11444 else 11445 lt_cv_prog_compiler__b=yes 11446 fi 11447 fi 11448 $RM -r conftest* 11449 LDFLAGS=$save_LDFLAGS 11450 11451fi 11452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11453$as_echo "$lt_cv_prog_compiler__b" >&6; } 11454 11455if test yes = "$lt_cv_prog_compiler__b"; then 11456 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11457else 11458 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11459fi 11460 11461 ;; 11462 esac 11463 fi 11464 if test no = "$with_gnu_ld"; then 11465 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11466 hardcode_libdir_separator=: 11467 11468 case $host_cpu in 11469 hppa*64*|ia64*) 11470 hardcode_direct=no 11471 hardcode_shlibpath_var=no 11472 ;; 11473 *) 11474 hardcode_direct=yes 11475 hardcode_direct_absolute=yes 11476 export_dynamic_flag_spec='$wl-E' 11477 11478 # hardcode_minus_L: Not really in the search PATH, 11479 # but as the default location of the library. 11480 hardcode_minus_L=yes 11481 ;; 11482 esac 11483 fi 11484 ;; 11485 11486 irix5* | irix6* | nonstopux*) 11487 if test yes = "$GCC"; then 11488 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' 11489 # Try to use the -exported_symbol ld option, if it does not 11490 # work, assume that -exports_file does not work either and 11491 # implicitly export all symbols. 11492 # This should be the same for all languages, so no per-tag cache variable. 11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11494$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11495if ${lt_cv_irix_exported_symbol+:} false; then : 11496 $as_echo_n "(cached) " >&6 11497else 11498 save_LDFLAGS=$LDFLAGS 11499 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11501/* end confdefs.h. */ 11502int foo (void) { return 0; } 11503_ACEOF 11504if ac_fn_c_try_link "$LINENO"; then : 11505 lt_cv_irix_exported_symbol=yes 11506else 11507 lt_cv_irix_exported_symbol=no 11508fi 11509rm -f core conftest.err conftest.$ac_objext \ 11510 conftest$ac_exeext conftest.$ac_ext 11511 LDFLAGS=$save_LDFLAGS 11512fi 11513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11514$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11515 if test yes = "$lt_cv_irix_exported_symbol"; then 11516 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' 11517 fi 11518 else 11519 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' 11520 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' 11521 fi 11522 archive_cmds_need_lc='no' 11523 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11524 hardcode_libdir_separator=: 11525 inherit_rpath=yes 11526 link_all_deplibs=yes 11527 ;; 11528 11529 linux*) 11530 case $cc_basename in 11531 tcc*) 11532 # Fabrice Bellard et al's Tiny C Compiler 11533 ld_shlibs=yes 11534 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11535 ;; 11536 esac 11537 ;; 11538 11539 netbsd*) 11540 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11541 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11542 else 11543 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11544 fi 11545 hardcode_libdir_flag_spec='-R$libdir' 11546 hardcode_direct=yes 11547 hardcode_shlibpath_var=no 11548 ;; 11549 11550 newsos6) 11551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11552 hardcode_direct=yes 11553 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11554 hardcode_libdir_separator=: 11555 hardcode_shlibpath_var=no 11556 ;; 11557 11558 *nto* | *qnx*) 11559 ;; 11560 11561 openbsd* | bitrig*) 11562 if test -f /usr/libexec/ld.so; then 11563 hardcode_direct=yes 11564 hardcode_shlibpath_var=no 11565 hardcode_direct_absolute=yes 11566 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11567 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11568 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11569 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11570 export_dynamic_flag_spec='$wl-E' 11571 else 11572 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11573 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11574 fi 11575 else 11576 ld_shlibs=no 11577 fi 11578 ;; 11579 11580 os2*) 11581 hardcode_libdir_flag_spec='-L$libdir' 11582 hardcode_minus_L=yes 11583 allow_undefined_flag=unsupported 11584 shrext_cmds=.dll 11585 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11586 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11587 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11588 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11589 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11590 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11591 emximp -o $lib $output_objdir/$libname.def' 11592 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11593 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11594 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11595 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11596 prefix_cmds="$SED"~ 11597 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11598 prefix_cmds="$prefix_cmds -e 1d"; 11599 fi~ 11600 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11601 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11602 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11603 emximp -o $lib $output_objdir/$libname.def' 11604 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11605 enable_shared_with_static_runtimes=yes 11606 ;; 11607 11608 osf3*) 11609 if test yes = "$GCC"; then 11610 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11611 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' 11612 else 11613 allow_undefined_flag=' -expect_unresolved \*' 11614 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' 11615 fi 11616 archive_cmds_need_lc='no' 11617 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11618 hardcode_libdir_separator=: 11619 ;; 11620 11621 osf4* | osf5*) # as osf3* with the addition of -msym flag 11622 if test yes = "$GCC"; then 11623 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11624 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' 11625 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11626 else 11627 allow_undefined_flag=' -expect_unresolved \*' 11628 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' 11629 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~ 11630 $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' 11631 11632 # Both c and cxx compiler support -rpath directly 11633 hardcode_libdir_flag_spec='-rpath $libdir' 11634 fi 11635 archive_cmds_need_lc='no' 11636 hardcode_libdir_separator=: 11637 ;; 11638 11639 solaris*) 11640 no_undefined_flag=' -z defs' 11641 if test yes = "$GCC"; then 11642 wlarc='$wl' 11643 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11645 $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' 11646 else 11647 case `$CC -V 2>&1` in 11648 *"Compilers 5.0"*) 11649 wlarc='' 11650 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11652 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11653 ;; 11654 *) 11655 wlarc='$wl' 11656 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11658 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11659 ;; 11660 esac 11661 fi 11662 hardcode_libdir_flag_spec='-R$libdir' 11663 hardcode_shlibpath_var=no 11664 case $host_os in 11665 solaris2.[0-5] | solaris2.[0-5].*) ;; 11666 *) 11667 # The compiler driver will combine and reorder linker options, 11668 # but understands '-z linker_flag'. GCC discards it without '$wl', 11669 # but is careful enough not to reorder. 11670 # Supported since Solaris 2.6 (maybe 2.5.1?) 11671 if test yes = "$GCC"; then 11672 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11673 else 11674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11675 fi 11676 ;; 11677 esac 11678 link_all_deplibs=yes 11679 ;; 11680 11681 sunos4*) 11682 if test sequent = "$host_vendor"; then 11683 # Use $CC to link under sequent, because it throws in some extra .o 11684 # files that make .init and .fini sections work. 11685 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11686 else 11687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11688 fi 11689 hardcode_libdir_flag_spec='-L$libdir' 11690 hardcode_direct=yes 11691 hardcode_minus_L=yes 11692 hardcode_shlibpath_var=no 11693 ;; 11694 11695 sysv4) 11696 case $host_vendor in 11697 sni) 11698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11699 hardcode_direct=yes # is this really true??? 11700 ;; 11701 siemens) 11702 ## LD is ld it makes a PLAMLIB 11703 ## CC just makes a GrossModule. 11704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11705 reload_cmds='$CC -r -o $output$reload_objs' 11706 hardcode_direct=no 11707 ;; 11708 motorola) 11709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11711 ;; 11712 esac 11713 runpath_var='LD_RUN_PATH' 11714 hardcode_shlibpath_var=no 11715 ;; 11716 11717 sysv4.3*) 11718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11719 hardcode_shlibpath_var=no 11720 export_dynamic_flag_spec='-Bexport' 11721 ;; 11722 11723 sysv4*MP*) 11724 if test -d /usr/nec; then 11725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11726 hardcode_shlibpath_var=no 11727 runpath_var=LD_RUN_PATH 11728 hardcode_runpath_var=yes 11729 ld_shlibs=yes 11730 fi 11731 ;; 11732 11733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11734 no_undefined_flag='$wl-z,text' 11735 archive_cmds_need_lc=no 11736 hardcode_shlibpath_var=no 11737 runpath_var='LD_RUN_PATH' 11738 11739 if test yes = "$GCC"; then 11740 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11741 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11742 else 11743 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11744 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11745 fi 11746 ;; 11747 11748 sysv5* | sco3.2v5* | sco5v6*) 11749 # Note: We CANNOT use -z defs as we might desire, because we do not 11750 # link with -lc, and that would cause any symbols used from libc to 11751 # always be unresolved, which means just about no library would 11752 # ever link correctly. If we're not using GNU ld we use -z text 11753 # though, which does catch some bad symbols but isn't as heavy-handed 11754 # as -z defs. 11755 no_undefined_flag='$wl-z,text' 11756 allow_undefined_flag='$wl-z,nodefs' 11757 archive_cmds_need_lc=no 11758 hardcode_shlibpath_var=no 11759 hardcode_libdir_flag_spec='$wl-R,$libdir' 11760 hardcode_libdir_separator=':' 11761 link_all_deplibs=yes 11762 export_dynamic_flag_spec='$wl-Bexport' 11763 runpath_var='LD_RUN_PATH' 11764 11765 if test yes = "$GCC"; then 11766 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11767 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11768 else 11769 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11770 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11771 fi 11772 ;; 11773 11774 uts4*) 11775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11776 hardcode_libdir_flag_spec='-L$libdir' 11777 hardcode_shlibpath_var=no 11778 ;; 11779 11780 *) 11781 ld_shlibs=no 11782 ;; 11783 esac 11784 11785 if test sni = "$host_vendor"; then 11786 case $host in 11787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11788 export_dynamic_flag_spec='$wl-Blargedynsym' 11789 ;; 11790 esac 11791 fi 11792 fi 11793 11794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11795$as_echo "$ld_shlibs" >&6; } 11796test no = "$ld_shlibs" && can_build_shared=no 11797 11798with_gnu_ld=$with_gnu_ld 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814# 11815# Do we need to explicitly link libc? 11816# 11817case "x$archive_cmds_need_lc" in 11818x|xyes) 11819 # Assume -lc should be added 11820 archive_cmds_need_lc=yes 11821 11822 if test yes,yes = "$GCC,$enable_shared"; then 11823 case $archive_cmds in 11824 *'~'*) 11825 # FIXME: we may have to deal with multi-command sequences. 11826 ;; 11827 '$CC '*) 11828 # Test whether the compiler implicitly links with -lc since on some 11829 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11830 # to ld, don't add -lc before -lgcc. 11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11832$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11833if ${lt_cv_archive_cmds_need_lc+:} false; then : 11834 $as_echo_n "(cached) " >&6 11835else 11836 $RM conftest* 11837 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11838 11839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11840 (eval $ac_compile) 2>&5 11841 ac_status=$? 11842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11843 test $ac_status = 0; } 2>conftest.err; then 11844 soname=conftest 11845 lib=conftest 11846 libobjs=conftest.$ac_objext 11847 deplibs= 11848 wl=$lt_prog_compiler_wl 11849 pic_flag=$lt_prog_compiler_pic 11850 compiler_flags=-v 11851 linker_flags=-v 11852 verstring= 11853 output_objdir=. 11854 libname=conftest 11855 lt_save_allow_undefined_flag=$allow_undefined_flag 11856 allow_undefined_flag= 11857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11858 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11859 ac_status=$? 11860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11861 test $ac_status = 0; } 11862 then 11863 lt_cv_archive_cmds_need_lc=no 11864 else 11865 lt_cv_archive_cmds_need_lc=yes 11866 fi 11867 allow_undefined_flag=$lt_save_allow_undefined_flag 11868 else 11869 cat conftest.err 1>&5 11870 fi 11871 $RM conftest* 11872 11873fi 11874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11875$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11876 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11877 ;; 11878 esac 11879 fi 11880 ;; 11881esac 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12035$as_echo_n "checking dynamic linker characteristics... " >&6; } 12036 12037if test yes = "$GCC"; then 12038 case $host_os in 12039 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12040 *) lt_awk_arg='/^libraries:/' ;; 12041 esac 12042 case $host_os in 12043 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12044 *) lt_sed_strip_eq='s|=/|/|g' ;; 12045 esac 12046 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12047 case $lt_search_path_spec in 12048 *\;*) 12049 # if the path contains ";" then we assume it to be the separator 12050 # otherwise default to the standard path separator (i.e. ":") - it is 12051 # assumed that no part of a normal pathname contains ";" but that should 12052 # okay in the real world where ";" in dirpaths is itself problematic. 12053 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12054 ;; 12055 *) 12056 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12057 ;; 12058 esac 12059 # Ok, now we have the path, separated by spaces, we can step through it 12060 # and add multilib dir if necessary... 12061 lt_tmp_lt_search_path_spec= 12062 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12063 # ...but if some path component already ends with the multilib dir we assume 12064 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12065 case "$lt_multi_os_dir; $lt_search_path_spec " in 12066 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12067 lt_multi_os_dir= 12068 ;; 12069 esac 12070 for lt_sys_path in $lt_search_path_spec; do 12071 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12072 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12073 elif test -n "$lt_multi_os_dir"; then 12074 test -d "$lt_sys_path" && \ 12075 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12076 fi 12077 done 12078 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12079BEGIN {RS = " "; FS = "/|\n";} { 12080 lt_foo = ""; 12081 lt_count = 0; 12082 for (lt_i = NF; lt_i > 0; lt_i--) { 12083 if ($lt_i != "" && $lt_i != ".") { 12084 if ($lt_i == "..") { 12085 lt_count++; 12086 } else { 12087 if (lt_count == 0) { 12088 lt_foo = "/" $lt_i lt_foo; 12089 } else { 12090 lt_count--; 12091 } 12092 } 12093 } 12094 } 12095 if (lt_foo != "") { lt_freq[lt_foo]++; } 12096 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12097}'` 12098 # AWK program above erroneously prepends '/' to C:/dos/paths 12099 # for these hosts. 12100 case $host_os in 12101 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12102 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12103 esac 12104 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12105else 12106 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12107fi 12108library_names_spec= 12109libname_spec='lib$name' 12110soname_spec= 12111shrext_cmds=.so 12112postinstall_cmds= 12113postuninstall_cmds= 12114finish_cmds= 12115finish_eval= 12116shlibpath_var= 12117shlibpath_overrides_runpath=unknown 12118version_type=none 12119dynamic_linker="$host_os ld.so" 12120sys_lib_dlsearch_path_spec="/lib /usr/lib" 12121need_lib_prefix=unknown 12122hardcode_into_libs=no 12123 12124# when you set need_version to no, make sure it does not cause -set_version 12125# flags to be left without arguments 12126need_version=unknown 12127 12128 12129 12130case $host_os in 12131aix3*) 12132 version_type=linux # correct to gnu/linux during the next big refactor 12133 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12134 shlibpath_var=LIBPATH 12135 12136 # AIX 3 has no versioning support, so we append a major version to the name. 12137 soname_spec='$libname$release$shared_ext$major' 12138 ;; 12139 12140aix[4-9]*) 12141 version_type=linux # correct to gnu/linux during the next big refactor 12142 need_lib_prefix=no 12143 need_version=no 12144 hardcode_into_libs=yes 12145 if test ia64 = "$host_cpu"; then 12146 # AIX 5 supports IA64 12147 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12148 shlibpath_var=LD_LIBRARY_PATH 12149 else 12150 # With GCC up to 2.95.x, collect2 would create an import file 12151 # for dependence libraries. The import file would start with 12152 # the line '#! .'. This would cause the generated library to 12153 # depend on '.', always an invalid library. This was fixed in 12154 # development snapshots of GCC prior to 3.0. 12155 case $host_os in 12156 aix4 | aix4.[01] | aix4.[01].*) 12157 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12158 echo ' yes ' 12159 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12160 : 12161 else 12162 can_build_shared=no 12163 fi 12164 ;; 12165 esac 12166 # Using Import Files as archive members, it is possible to support 12167 # filename-based versioning of shared library archives on AIX. While 12168 # this would work for both with and without runtime linking, it will 12169 # prevent static linking of such archives. So we do filename-based 12170 # shared library versioning with .so extension only, which is used 12171 # when both runtime linking and shared linking is enabled. 12172 # Unfortunately, runtime linking may impact performance, so we do 12173 # not want this to be the default eventually. Also, we use the 12174 # versioned .so libs for executables only if there is the -brtl 12175 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12176 # To allow for filename-based versioning support, we need to create 12177 # libNAME.so.V as an archive file, containing: 12178 # *) an Import File, referring to the versioned filename of the 12179 # archive as well as the shared archive member, telling the 12180 # bitwidth (32 or 64) of that shared object, and providing the 12181 # list of exported symbols of that shared object, eventually 12182 # decorated with the 'weak' keyword 12183 # *) the shared object with the F_LOADONLY flag set, to really avoid 12184 # it being seen by the linker. 12185 # At run time we better use the real file rather than another symlink, 12186 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12187 12188 case $with_aix_soname,$aix_use_runtimelinking in 12189 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12190 # soname into executable. Probably we can add versioning support to 12191 # collect2, so additional links can be useful in future. 12192 aix,yes) # traditional libtool 12193 dynamic_linker='AIX unversionable lib.so' 12194 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12195 # instead of lib<name>.a to let people know that these are not 12196 # typical AIX shared libraries. 12197 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12198 ;; 12199 aix,no) # traditional AIX only 12200 dynamic_linker='AIX lib.a(lib.so.V)' 12201 # We preserve .a as extension for shared libraries through AIX4.2 12202 # and later when we are not doing run time linking. 12203 library_names_spec='$libname$release.a $libname.a' 12204 soname_spec='$libname$release$shared_ext$major' 12205 ;; 12206 svr4,*) # full svr4 only 12207 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12208 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12209 # We do not specify a path in Import Files, so LIBPATH fires. 12210 shlibpath_overrides_runpath=yes 12211 ;; 12212 *,yes) # both, prefer svr4 12213 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12214 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12215 # unpreferred sharedlib libNAME.a needs extra handling 12216 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"' 12217 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"' 12218 # We do not specify a path in Import Files, so LIBPATH fires. 12219 shlibpath_overrides_runpath=yes 12220 ;; 12221 *,no) # both, prefer aix 12222 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12223 library_names_spec='$libname$release.a $libname.a' 12224 soname_spec='$libname$release$shared_ext$major' 12225 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12226 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)' 12227 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"' 12228 ;; 12229 esac 12230 shlibpath_var=LIBPATH 12231 fi 12232 ;; 12233 12234amigaos*) 12235 case $host_cpu in 12236 powerpc) 12237 # Since July 2007 AmigaOS4 officially supports .so libraries. 12238 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12239 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12240 ;; 12241 m68k) 12242 library_names_spec='$libname.ixlibrary $libname.a' 12243 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12244 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' 12245 ;; 12246 esac 12247 ;; 12248 12249beos*) 12250 library_names_spec='$libname$shared_ext' 12251 dynamic_linker="$host_os ld.so" 12252 shlibpath_var=LIBRARY_PATH 12253 ;; 12254 12255bsdi[45]*) 12256 version_type=linux # correct to gnu/linux during the next big refactor 12257 need_version=no 12258 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12259 soname_spec='$libname$release$shared_ext$major' 12260 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12261 shlibpath_var=LD_LIBRARY_PATH 12262 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12263 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12264 # the default ld.so.conf also contains /usr/contrib/lib and 12265 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12266 # libtool to hard-code these into programs 12267 ;; 12268 12269cygwin* | mingw* | pw32* | cegcc*) 12270 version_type=windows 12271 shrext_cmds=.dll 12272 need_version=no 12273 need_lib_prefix=no 12274 12275 case $GCC,$cc_basename in 12276 yes,*) 12277 # gcc 12278 library_names_spec='$libname.dll.a' 12279 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12280 postinstall_cmds='base_file=`basename \$file`~ 12281 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12282 dldir=$destdir/`dirname \$dlpath`~ 12283 test -d \$dldir || mkdir -p \$dldir~ 12284 $install_prog $dir/$dlname \$dldir/$dlname~ 12285 chmod a+x \$dldir/$dlname~ 12286 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12287 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12288 fi' 12289 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12290 dlpath=$dir/\$dldll~ 12291 $RM \$dlpath' 12292 shlibpath_overrides_runpath=yes 12293 12294 case $host_os in 12295 cygwin*) 12296 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12297 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12298 12299 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12300 ;; 12301 mingw* | cegcc*) 12302 # MinGW DLLs use traditional 'lib' prefix 12303 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12304 ;; 12305 pw32*) 12306 # pw32 DLLs use 'pw' prefix rather than 'lib' 12307 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12308 ;; 12309 esac 12310 dynamic_linker='Win32 ld.exe' 12311 ;; 12312 12313 *,cl*) 12314 # Native MSVC 12315 libname_spec='$name' 12316 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12317 library_names_spec='$libname.dll.lib' 12318 12319 case $build_os in 12320 mingw*) 12321 sys_lib_search_path_spec= 12322 lt_save_ifs=$IFS 12323 IFS=';' 12324 for lt_path in $LIB 12325 do 12326 IFS=$lt_save_ifs 12327 # Let DOS variable expansion print the short 8.3 style file name. 12328 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12329 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12330 done 12331 IFS=$lt_save_ifs 12332 # Convert to MSYS style. 12333 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12334 ;; 12335 cygwin*) 12336 # Convert to unix form, then to dos form, then back to unix form 12337 # but this time dos style (no spaces!) so that the unix form looks 12338 # like /cygdrive/c/PROGRA~1:/cygdr... 12339 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12340 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12341 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12342 ;; 12343 *) 12344 sys_lib_search_path_spec=$LIB 12345 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12346 # It is most probably a Windows format PATH. 12347 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12348 else 12349 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12350 fi 12351 # FIXME: find the short name or the path components, as spaces are 12352 # common. (e.g. "Program Files" -> "PROGRA~1") 12353 ;; 12354 esac 12355 12356 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12357 postinstall_cmds='base_file=`basename \$file`~ 12358 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12359 dldir=$destdir/`dirname \$dlpath`~ 12360 test -d \$dldir || mkdir -p \$dldir~ 12361 $install_prog $dir/$dlname \$dldir/$dlname' 12362 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12363 dlpath=$dir/\$dldll~ 12364 $RM \$dlpath' 12365 shlibpath_overrides_runpath=yes 12366 dynamic_linker='Win32 link.exe' 12367 ;; 12368 12369 *) 12370 # Assume MSVC wrapper 12371 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12372 dynamic_linker='Win32 ld.exe' 12373 ;; 12374 esac 12375 # FIXME: first we should search . and the directory the executable is in 12376 shlibpath_var=PATH 12377 ;; 12378 12379darwin* | rhapsody*) 12380 dynamic_linker="$host_os dyld" 12381 version_type=darwin 12382 need_lib_prefix=no 12383 need_version=no 12384 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12385 soname_spec='$libname$release$major$shared_ext' 12386 shlibpath_overrides_runpath=yes 12387 shlibpath_var=DYLD_LIBRARY_PATH 12388 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12389 12390 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12391 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12392 ;; 12393 12394dgux*) 12395 version_type=linux # correct to gnu/linux during the next big refactor 12396 need_lib_prefix=no 12397 need_version=no 12398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12399 soname_spec='$libname$release$shared_ext$major' 12400 shlibpath_var=LD_LIBRARY_PATH 12401 ;; 12402 12403freebsd* | dragonfly*) 12404 # DragonFly does not have aout. When/if they implement a new 12405 # versioning mechanism, adjust this. 12406 if test -x /usr/bin/objformat; then 12407 objformat=`/usr/bin/objformat` 12408 else 12409 case $host_os in 12410 freebsd[23].*) objformat=aout ;; 12411 *) objformat=elf ;; 12412 esac 12413 fi 12414 version_type=freebsd-$objformat 12415 case $version_type in 12416 freebsd-elf*) 12417 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12418 soname_spec='$libname$release$shared_ext$major' 12419 need_version=no 12420 need_lib_prefix=no 12421 ;; 12422 freebsd-*) 12423 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12424 need_version=yes 12425 ;; 12426 esac 12427 shlibpath_var=LD_LIBRARY_PATH 12428 case $host_os in 12429 freebsd2.*) 12430 shlibpath_overrides_runpath=yes 12431 ;; 12432 freebsd3.[01]* | freebsdelf3.[01]*) 12433 shlibpath_overrides_runpath=yes 12434 hardcode_into_libs=yes 12435 ;; 12436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12438 shlibpath_overrides_runpath=no 12439 hardcode_into_libs=yes 12440 ;; 12441 *) # from 4.6 on, and DragonFly 12442 shlibpath_overrides_runpath=yes 12443 hardcode_into_libs=yes 12444 ;; 12445 esac 12446 ;; 12447 12448haiku*) 12449 version_type=linux # correct to gnu/linux during the next big refactor 12450 need_lib_prefix=no 12451 need_version=no 12452 dynamic_linker="$host_os runtime_loader" 12453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12454 soname_spec='$libname$release$shared_ext$major' 12455 shlibpath_var=LIBRARY_PATH 12456 shlibpath_overrides_runpath=no 12457 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12458 hardcode_into_libs=yes 12459 ;; 12460 12461hpux9* | hpux10* | hpux11*) 12462 # Give a soname corresponding to the major version so that dld.sl refuses to 12463 # link against other versions. 12464 version_type=sunos 12465 need_lib_prefix=no 12466 need_version=no 12467 case $host_cpu in 12468 ia64*) 12469 shrext_cmds='.so' 12470 hardcode_into_libs=yes 12471 dynamic_linker="$host_os dld.so" 12472 shlibpath_var=LD_LIBRARY_PATH 12473 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12474 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12475 soname_spec='$libname$release$shared_ext$major' 12476 if test 32 = "$HPUX_IA64_MODE"; then 12477 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12478 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12479 else 12480 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12481 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12482 fi 12483 ;; 12484 hppa*64*) 12485 shrext_cmds='.sl' 12486 hardcode_into_libs=yes 12487 dynamic_linker="$host_os dld.sl" 12488 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12489 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12490 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12491 soname_spec='$libname$release$shared_ext$major' 12492 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12494 ;; 12495 *) 12496 shrext_cmds='.sl' 12497 dynamic_linker="$host_os dld.sl" 12498 shlibpath_var=SHLIB_PATH 12499 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12500 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12501 soname_spec='$libname$release$shared_ext$major' 12502 ;; 12503 esac 12504 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12505 postinstall_cmds='chmod 555 $lib' 12506 # or fails outright, so override atomically: 12507 install_override_mode=555 12508 ;; 12509 12510interix[3-9]*) 12511 version_type=linux # correct to gnu/linux during the next big refactor 12512 need_lib_prefix=no 12513 need_version=no 12514 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12515 soname_spec='$libname$release$shared_ext$major' 12516 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12517 shlibpath_var=LD_LIBRARY_PATH 12518 shlibpath_overrides_runpath=no 12519 hardcode_into_libs=yes 12520 ;; 12521 12522irix5* | irix6* | nonstopux*) 12523 case $host_os in 12524 nonstopux*) version_type=nonstopux ;; 12525 *) 12526 if test yes = "$lt_cv_prog_gnu_ld"; then 12527 version_type=linux # correct to gnu/linux during the next big refactor 12528 else 12529 version_type=irix 12530 fi ;; 12531 esac 12532 need_lib_prefix=no 12533 need_version=no 12534 soname_spec='$libname$release$shared_ext$major' 12535 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12536 case $host_os in 12537 irix5* | nonstopux*) 12538 libsuff= shlibsuff= 12539 ;; 12540 *) 12541 case $LD in # libtool.m4 will add one of these switches to LD 12542 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12543 libsuff= shlibsuff= libmagic=32-bit;; 12544 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12545 libsuff=32 shlibsuff=N32 libmagic=N32;; 12546 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12547 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12548 *) libsuff= shlibsuff= libmagic=never-match;; 12549 esac 12550 ;; 12551 esac 12552 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12553 shlibpath_overrides_runpath=no 12554 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12555 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12556 hardcode_into_libs=yes 12557 ;; 12558 12559# No shared lib support for Linux oldld, aout, or coff. 12560linux*oldld* | linux*aout* | linux*coff*) 12561 dynamic_linker=no 12562 ;; 12563 12564linux*android*) 12565 version_type=none # Android doesn't support versioned libraries. 12566 need_lib_prefix=no 12567 need_version=no 12568 library_names_spec='$libname$release$shared_ext' 12569 soname_spec='$libname$release$shared_ext' 12570 finish_cmds= 12571 shlibpath_var=LD_LIBRARY_PATH 12572 shlibpath_overrides_runpath=yes 12573 12574 # This implies no fast_install, which is unacceptable. 12575 # Some rework will be needed to allow for fast_install 12576 # before this can be enabled. 12577 hardcode_into_libs=yes 12578 12579 dynamic_linker='Android linker' 12580 # Don't embed -rpath directories since the linker doesn't support them. 12581 hardcode_libdir_flag_spec='-L$libdir' 12582 ;; 12583 12584# This must be glibc/ELF. 12585linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12586 version_type=linux # correct to gnu/linux during the next big refactor 12587 need_lib_prefix=no 12588 need_version=no 12589 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12590 soname_spec='$libname$release$shared_ext$major' 12591 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12592 shlibpath_var=LD_LIBRARY_PATH 12593 shlibpath_overrides_runpath=no 12594 12595 # Some binutils ld are patched to set DT_RUNPATH 12596 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12597 $as_echo_n "(cached) " >&6 12598else 12599 lt_cv_shlibpath_overrides_runpath=no 12600 save_LDFLAGS=$LDFLAGS 12601 save_libdir=$libdir 12602 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12603 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12605/* end confdefs.h. */ 12606 12607int 12608main () 12609{ 12610 12611 ; 12612 return 0; 12613} 12614_ACEOF 12615if ac_fn_c_try_link "$LINENO"; then : 12616 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12617 lt_cv_shlibpath_overrides_runpath=yes 12618fi 12619fi 12620rm -f core conftest.err conftest.$ac_objext \ 12621 conftest$ac_exeext conftest.$ac_ext 12622 LDFLAGS=$save_LDFLAGS 12623 libdir=$save_libdir 12624 12625fi 12626 12627 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12628 12629 # This implies no fast_install, which is unacceptable. 12630 # Some rework will be needed to allow for fast_install 12631 # before this can be enabled. 12632 hardcode_into_libs=yes 12633 12634 # Add ABI-specific directories to the system library path. 12635 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12636 12637 # Ideally, we could use ldconfig to report *all* directores which are 12638 # searched for libraries, however this is still not possible. Aside from not 12639 # being certain /sbin/ldconfig is available, command 12640 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12641 # even though it is searched at run-time. Try to do the best guess by 12642 # appending ld.so.conf contents (and includes) to the search path. 12643 if test -f /etc/ld.so.conf; then 12644 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' ' '` 12645 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12646 fi 12647 12648 # We used to test for /lib/ld.so.1 and disable shared libraries on 12649 # powerpc, because MkLinux only supported shared libraries with the 12650 # GNU dynamic linker. Since this was broken with cross compilers, 12651 # most powerpc-linux boxes support dynamic linking these days and 12652 # people can always --disable-shared, the test was removed, and we 12653 # assume the GNU/Linux dynamic linker is in use. 12654 dynamic_linker='GNU/Linux ld.so' 12655 ;; 12656 12657netbsd*) 12658 version_type=sunos 12659 need_lib_prefix=no 12660 need_version=no 12661 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12662 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12663 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12664 dynamic_linker='NetBSD (a.out) ld.so' 12665 else 12666 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12667 soname_spec='$libname$release$shared_ext$major' 12668 dynamic_linker='NetBSD ld.elf_so' 12669 fi 12670 shlibpath_var=LD_LIBRARY_PATH 12671 shlibpath_overrides_runpath=yes 12672 hardcode_into_libs=yes 12673 ;; 12674 12675newsos6) 12676 version_type=linux # correct to gnu/linux during the next big refactor 12677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12678 shlibpath_var=LD_LIBRARY_PATH 12679 shlibpath_overrides_runpath=yes 12680 ;; 12681 12682*nto* | *qnx*) 12683 version_type=qnx 12684 need_lib_prefix=no 12685 need_version=no 12686 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12687 soname_spec='$libname$release$shared_ext$major' 12688 shlibpath_var=LD_LIBRARY_PATH 12689 shlibpath_overrides_runpath=no 12690 hardcode_into_libs=yes 12691 dynamic_linker='ldqnx.so' 12692 ;; 12693 12694openbsd* | bitrig*) 12695 version_type=sunos 12696 sys_lib_dlsearch_path_spec=/usr/lib 12697 need_lib_prefix=no 12698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12699 need_version=no 12700 else 12701 need_version=yes 12702 fi 12703 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12704 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12705 shlibpath_var=LD_LIBRARY_PATH 12706 shlibpath_overrides_runpath=yes 12707 ;; 12708 12709os2*) 12710 libname_spec='$name' 12711 version_type=windows 12712 shrext_cmds=.dll 12713 need_version=no 12714 need_lib_prefix=no 12715 # OS/2 can only load a DLL with a base name of 8 characters or less. 12716 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12717 v=$($ECHO $release$versuffix | tr -d .-); 12718 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12719 $ECHO $n$v`$shared_ext' 12720 library_names_spec='${libname}_dll.$libext' 12721 dynamic_linker='OS/2 ld.exe' 12722 shlibpath_var=BEGINLIBPATH 12723 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12724 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12725 postinstall_cmds='base_file=`basename \$file`~ 12726 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12727 dldir=$destdir/`dirname \$dlpath`~ 12728 test -d \$dldir || mkdir -p \$dldir~ 12729 $install_prog $dir/$dlname \$dldir/$dlname~ 12730 chmod a+x \$dldir/$dlname~ 12731 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12732 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12733 fi' 12734 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12735 dlpath=$dir/\$dldll~ 12736 $RM \$dlpath' 12737 ;; 12738 12739osf3* | osf4* | osf5*) 12740 version_type=osf 12741 need_lib_prefix=no 12742 need_version=no 12743 soname_spec='$libname$release$shared_ext$major' 12744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12745 shlibpath_var=LD_LIBRARY_PATH 12746 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12747 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12748 ;; 12749 12750rdos*) 12751 dynamic_linker=no 12752 ;; 12753 12754solaris*) 12755 version_type=linux # correct to gnu/linux during the next big refactor 12756 need_lib_prefix=no 12757 need_version=no 12758 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12759 soname_spec='$libname$release$shared_ext$major' 12760 shlibpath_var=LD_LIBRARY_PATH 12761 shlibpath_overrides_runpath=yes 12762 hardcode_into_libs=yes 12763 # ldd complains unless libraries are executable 12764 postinstall_cmds='chmod +x $lib' 12765 ;; 12766 12767sunos4*) 12768 version_type=sunos 12769 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12770 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12771 shlibpath_var=LD_LIBRARY_PATH 12772 shlibpath_overrides_runpath=yes 12773 if test yes = "$with_gnu_ld"; then 12774 need_lib_prefix=no 12775 fi 12776 need_version=yes 12777 ;; 12778 12779sysv4 | sysv4.3*) 12780 version_type=linux # correct to gnu/linux during the next big refactor 12781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12782 soname_spec='$libname$release$shared_ext$major' 12783 shlibpath_var=LD_LIBRARY_PATH 12784 case $host_vendor in 12785 sni) 12786 shlibpath_overrides_runpath=no 12787 need_lib_prefix=no 12788 runpath_var=LD_RUN_PATH 12789 ;; 12790 siemens) 12791 need_lib_prefix=no 12792 ;; 12793 motorola) 12794 need_lib_prefix=no 12795 need_version=no 12796 shlibpath_overrides_runpath=no 12797 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12798 ;; 12799 esac 12800 ;; 12801 12802sysv4*MP*) 12803 if test -d /usr/nec; then 12804 version_type=linux # correct to gnu/linux during the next big refactor 12805 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12806 soname_spec='$libname$shared_ext.$major' 12807 shlibpath_var=LD_LIBRARY_PATH 12808 fi 12809 ;; 12810 12811sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12812 version_type=sco 12813 need_lib_prefix=no 12814 need_version=no 12815 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12816 soname_spec='$libname$release$shared_ext$major' 12817 shlibpath_var=LD_LIBRARY_PATH 12818 shlibpath_overrides_runpath=yes 12819 hardcode_into_libs=yes 12820 if test yes = "$with_gnu_ld"; then 12821 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12822 else 12823 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12824 case $host_os in 12825 sco3.2v5*) 12826 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12827 ;; 12828 esac 12829 fi 12830 sys_lib_dlsearch_path_spec='/usr/lib' 12831 ;; 12832 12833tpf*) 12834 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12835 version_type=linux # correct to gnu/linux during the next big refactor 12836 need_lib_prefix=no 12837 need_version=no 12838 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12839 shlibpath_var=LD_LIBRARY_PATH 12840 shlibpath_overrides_runpath=no 12841 hardcode_into_libs=yes 12842 ;; 12843 12844uts4*) 12845 version_type=linux # correct to gnu/linux during the next big refactor 12846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12847 soname_spec='$libname$release$shared_ext$major' 12848 shlibpath_var=LD_LIBRARY_PATH 12849 ;; 12850 12851*) 12852 dynamic_linker=no 12853 ;; 12854esac 12855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12856$as_echo "$dynamic_linker" >&6; } 12857test no = "$dynamic_linker" && can_build_shared=no 12858 12859variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12860if test yes = "$GCC"; then 12861 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12862fi 12863 12864if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12865 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12866fi 12867 12868if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12869 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12870fi 12871 12872# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12873configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12874 12875# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12876func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12877 12878# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12879configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12978$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12979hardcode_action= 12980if test -n "$hardcode_libdir_flag_spec" || 12981 test -n "$runpath_var" || 12982 test yes = "$hardcode_automatic"; then 12983 12984 # We can hardcode non-existent directories. 12985 if test no != "$hardcode_direct" && 12986 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12987 # have to relink, otherwise we might link with an installed library 12988 # when we should be linking with a yet-to-be-installed one 12989 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12990 test no != "$hardcode_minus_L"; then 12991 # Linking always hardcodes the temporary library directory. 12992 hardcode_action=relink 12993 else 12994 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12995 hardcode_action=immediate 12996 fi 12997else 12998 # We cannot hardcode anything, or else we can only hardcode existing 12999 # directories. 13000 hardcode_action=unsupported 13001fi 13002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13003$as_echo "$hardcode_action" >&6; } 13004 13005if test relink = "$hardcode_action" || 13006 test yes = "$inherit_rpath"; then 13007 # Fast installation is not supported 13008 enable_fast_install=no 13009elif test yes = "$shlibpath_overrides_runpath" || 13010 test no = "$enable_shared"; then 13011 # Fast installation is not necessary 13012 enable_fast_install=needless 13013fi 13014 13015 13016 13017 13018 13019 13020 if test yes != "$enable_dlopen"; then 13021 enable_dlopen=unknown 13022 enable_dlopen_self=unknown 13023 enable_dlopen_self_static=unknown 13024else 13025 lt_cv_dlopen=no 13026 lt_cv_dlopen_libs= 13027 13028 case $host_os in 13029 beos*) 13030 lt_cv_dlopen=load_add_on 13031 lt_cv_dlopen_libs= 13032 lt_cv_dlopen_self=yes 13033 ;; 13034 13035 mingw* | pw32* | cegcc*) 13036 lt_cv_dlopen=LoadLibrary 13037 lt_cv_dlopen_libs= 13038 ;; 13039 13040 cygwin*) 13041 lt_cv_dlopen=dlopen 13042 lt_cv_dlopen_libs= 13043 ;; 13044 13045 darwin*) 13046 # if libdl is installed we need to link against it 13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13048$as_echo_n "checking for dlopen in -ldl... " >&6; } 13049if ${ac_cv_lib_dl_dlopen+:} false; then : 13050 $as_echo_n "(cached) " >&6 13051else 13052 ac_check_lib_save_LIBS=$LIBS 13053LIBS="-ldl $LIBS" 13054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13055/* end confdefs.h. */ 13056 13057/* Override any GCC internal prototype to avoid an error. 13058 Use char because int might match the return type of a GCC 13059 builtin and then its argument prototype would still apply. */ 13060#ifdef __cplusplus 13061extern "C" 13062#endif 13063char dlopen (); 13064int 13065main () 13066{ 13067return dlopen (); 13068 ; 13069 return 0; 13070} 13071_ACEOF 13072if ac_fn_c_try_link "$LINENO"; then : 13073 ac_cv_lib_dl_dlopen=yes 13074else 13075 ac_cv_lib_dl_dlopen=no 13076fi 13077rm -f core conftest.err conftest.$ac_objext \ 13078 conftest$ac_exeext conftest.$ac_ext 13079LIBS=$ac_check_lib_save_LIBS 13080fi 13081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13082$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13083if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13084 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13085else 13086 13087 lt_cv_dlopen=dyld 13088 lt_cv_dlopen_libs= 13089 lt_cv_dlopen_self=yes 13090 13091fi 13092 13093 ;; 13094 13095 tpf*) 13096 # Don't try to run any link tests for TPF. We know it's impossible 13097 # because TPF is a cross-compiler, and we know how we open DSOs. 13098 lt_cv_dlopen=dlopen 13099 lt_cv_dlopen_libs= 13100 lt_cv_dlopen_self=no 13101 ;; 13102 13103 *) 13104 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13105if test "x$ac_cv_func_shl_load" = xyes; then : 13106 lt_cv_dlopen=shl_load 13107else 13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13109$as_echo_n "checking for shl_load in -ldld... " >&6; } 13110if ${ac_cv_lib_dld_shl_load+:} false; then : 13111 $as_echo_n "(cached) " >&6 13112else 13113 ac_check_lib_save_LIBS=$LIBS 13114LIBS="-ldld $LIBS" 13115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13116/* end confdefs.h. */ 13117 13118/* Override any GCC internal prototype to avoid an error. 13119 Use char because int might match the return type of a GCC 13120 builtin and then its argument prototype would still apply. */ 13121#ifdef __cplusplus 13122extern "C" 13123#endif 13124char shl_load (); 13125int 13126main () 13127{ 13128return shl_load (); 13129 ; 13130 return 0; 13131} 13132_ACEOF 13133if ac_fn_c_try_link "$LINENO"; then : 13134 ac_cv_lib_dld_shl_load=yes 13135else 13136 ac_cv_lib_dld_shl_load=no 13137fi 13138rm -f core conftest.err conftest.$ac_objext \ 13139 conftest$ac_exeext conftest.$ac_ext 13140LIBS=$ac_check_lib_save_LIBS 13141fi 13142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13143$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13144if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13145 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13146else 13147 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13148if test "x$ac_cv_func_dlopen" = xyes; then : 13149 lt_cv_dlopen=dlopen 13150else 13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13152$as_echo_n "checking for dlopen in -ldl... " >&6; } 13153if ${ac_cv_lib_dl_dlopen+:} false; then : 13154 $as_echo_n "(cached) " >&6 13155else 13156 ac_check_lib_save_LIBS=$LIBS 13157LIBS="-ldl $LIBS" 13158cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13159/* end confdefs.h. */ 13160 13161/* Override any GCC internal prototype to avoid an error. 13162 Use char because int might match the return type of a GCC 13163 builtin and then its argument prototype would still apply. */ 13164#ifdef __cplusplus 13165extern "C" 13166#endif 13167char dlopen (); 13168int 13169main () 13170{ 13171return dlopen (); 13172 ; 13173 return 0; 13174} 13175_ACEOF 13176if ac_fn_c_try_link "$LINENO"; then : 13177 ac_cv_lib_dl_dlopen=yes 13178else 13179 ac_cv_lib_dl_dlopen=no 13180fi 13181rm -f core conftest.err conftest.$ac_objext \ 13182 conftest$ac_exeext conftest.$ac_ext 13183LIBS=$ac_check_lib_save_LIBS 13184fi 13185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13186$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13187if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13188 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13189else 13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13191$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13192if ${ac_cv_lib_svld_dlopen+:} false; then : 13193 $as_echo_n "(cached) " >&6 13194else 13195 ac_check_lib_save_LIBS=$LIBS 13196LIBS="-lsvld $LIBS" 13197cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13198/* end confdefs.h. */ 13199 13200/* Override any GCC internal prototype to avoid an error. 13201 Use char because int might match the return type of a GCC 13202 builtin and then its argument prototype would still apply. */ 13203#ifdef __cplusplus 13204extern "C" 13205#endif 13206char dlopen (); 13207int 13208main () 13209{ 13210return dlopen (); 13211 ; 13212 return 0; 13213} 13214_ACEOF 13215if ac_fn_c_try_link "$LINENO"; then : 13216 ac_cv_lib_svld_dlopen=yes 13217else 13218 ac_cv_lib_svld_dlopen=no 13219fi 13220rm -f core conftest.err conftest.$ac_objext \ 13221 conftest$ac_exeext conftest.$ac_ext 13222LIBS=$ac_check_lib_save_LIBS 13223fi 13224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13225$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13226if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13227 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13228else 13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13230$as_echo_n "checking for dld_link in -ldld... " >&6; } 13231if ${ac_cv_lib_dld_dld_link+:} false; then : 13232 $as_echo_n "(cached) " >&6 13233else 13234 ac_check_lib_save_LIBS=$LIBS 13235LIBS="-ldld $LIBS" 13236cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13237/* end confdefs.h. */ 13238 13239/* Override any GCC internal prototype to avoid an error. 13240 Use char because int might match the return type of a GCC 13241 builtin and then its argument prototype would still apply. */ 13242#ifdef __cplusplus 13243extern "C" 13244#endif 13245char dld_link (); 13246int 13247main () 13248{ 13249return dld_link (); 13250 ; 13251 return 0; 13252} 13253_ACEOF 13254if ac_fn_c_try_link "$LINENO"; then : 13255 ac_cv_lib_dld_dld_link=yes 13256else 13257 ac_cv_lib_dld_dld_link=no 13258fi 13259rm -f core conftest.err conftest.$ac_objext \ 13260 conftest$ac_exeext conftest.$ac_ext 13261LIBS=$ac_check_lib_save_LIBS 13262fi 13263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13264$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13265if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13266 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13267fi 13268 13269 13270fi 13271 13272 13273fi 13274 13275 13276fi 13277 13278 13279fi 13280 13281 13282fi 13283 13284 ;; 13285 esac 13286 13287 if test no = "$lt_cv_dlopen"; then 13288 enable_dlopen=no 13289 else 13290 enable_dlopen=yes 13291 fi 13292 13293 case $lt_cv_dlopen in 13294 dlopen) 13295 save_CPPFLAGS=$CPPFLAGS 13296 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13297 13298 save_LDFLAGS=$LDFLAGS 13299 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13300 13301 save_LIBS=$LIBS 13302 LIBS="$lt_cv_dlopen_libs $LIBS" 13303 13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13305$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13306if ${lt_cv_dlopen_self+:} false; then : 13307 $as_echo_n "(cached) " >&6 13308else 13309 if test yes = "$cross_compiling"; then : 13310 lt_cv_dlopen_self=cross 13311else 13312 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13313 lt_status=$lt_dlunknown 13314 cat > conftest.$ac_ext <<_LT_EOF 13315#line $LINENO "configure" 13316#include "confdefs.h" 13317 13318#if HAVE_DLFCN_H 13319#include <dlfcn.h> 13320#endif 13321 13322#include <stdio.h> 13323 13324#ifdef RTLD_GLOBAL 13325# define LT_DLGLOBAL RTLD_GLOBAL 13326#else 13327# ifdef DL_GLOBAL 13328# define LT_DLGLOBAL DL_GLOBAL 13329# else 13330# define LT_DLGLOBAL 0 13331# endif 13332#endif 13333 13334/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13335 find out it does not work in some platform. */ 13336#ifndef LT_DLLAZY_OR_NOW 13337# ifdef RTLD_LAZY 13338# define LT_DLLAZY_OR_NOW RTLD_LAZY 13339# else 13340# ifdef DL_LAZY 13341# define LT_DLLAZY_OR_NOW DL_LAZY 13342# else 13343# ifdef RTLD_NOW 13344# define LT_DLLAZY_OR_NOW RTLD_NOW 13345# else 13346# ifdef DL_NOW 13347# define LT_DLLAZY_OR_NOW DL_NOW 13348# else 13349# define LT_DLLAZY_OR_NOW 0 13350# endif 13351# endif 13352# endif 13353# endif 13354#endif 13355 13356/* When -fvisibility=hidden is used, assume the code has been annotated 13357 correspondingly for the symbols needed. */ 13358#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13359int fnord () __attribute__((visibility("default"))); 13360#endif 13361 13362int fnord () { return 42; } 13363int main () 13364{ 13365 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13366 int status = $lt_dlunknown; 13367 13368 if (self) 13369 { 13370 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13371 else 13372 { 13373 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13374 else puts (dlerror ()); 13375 } 13376 /* dlclose (self); */ 13377 } 13378 else 13379 puts (dlerror ()); 13380 13381 return status; 13382} 13383_LT_EOF 13384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13385 (eval $ac_link) 2>&5 13386 ac_status=$? 13387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13388 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13389 (./conftest; exit; ) >&5 2>/dev/null 13390 lt_status=$? 13391 case x$lt_status in 13392 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13393 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13394 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13395 esac 13396 else : 13397 # compilation failed 13398 lt_cv_dlopen_self=no 13399 fi 13400fi 13401rm -fr conftest* 13402 13403 13404fi 13405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13406$as_echo "$lt_cv_dlopen_self" >&6; } 13407 13408 if test yes = "$lt_cv_dlopen_self"; then 13409 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13411$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13412if ${lt_cv_dlopen_self_static+:} false; then : 13413 $as_echo_n "(cached) " >&6 13414else 13415 if test yes = "$cross_compiling"; then : 13416 lt_cv_dlopen_self_static=cross 13417else 13418 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13419 lt_status=$lt_dlunknown 13420 cat > conftest.$ac_ext <<_LT_EOF 13421#line $LINENO "configure" 13422#include "confdefs.h" 13423 13424#if HAVE_DLFCN_H 13425#include <dlfcn.h> 13426#endif 13427 13428#include <stdio.h> 13429 13430#ifdef RTLD_GLOBAL 13431# define LT_DLGLOBAL RTLD_GLOBAL 13432#else 13433# ifdef DL_GLOBAL 13434# define LT_DLGLOBAL DL_GLOBAL 13435# else 13436# define LT_DLGLOBAL 0 13437# endif 13438#endif 13439 13440/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13441 find out it does not work in some platform. */ 13442#ifndef LT_DLLAZY_OR_NOW 13443# ifdef RTLD_LAZY 13444# define LT_DLLAZY_OR_NOW RTLD_LAZY 13445# else 13446# ifdef DL_LAZY 13447# define LT_DLLAZY_OR_NOW DL_LAZY 13448# else 13449# ifdef RTLD_NOW 13450# define LT_DLLAZY_OR_NOW RTLD_NOW 13451# else 13452# ifdef DL_NOW 13453# define LT_DLLAZY_OR_NOW DL_NOW 13454# else 13455# define LT_DLLAZY_OR_NOW 0 13456# endif 13457# endif 13458# endif 13459# endif 13460#endif 13461 13462/* When -fvisibility=hidden is used, assume the code has been annotated 13463 correspondingly for the symbols needed. */ 13464#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13465int fnord () __attribute__((visibility("default"))); 13466#endif 13467 13468int fnord () { return 42; } 13469int main () 13470{ 13471 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13472 int status = $lt_dlunknown; 13473 13474 if (self) 13475 { 13476 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13477 else 13478 { 13479 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13480 else puts (dlerror ()); 13481 } 13482 /* dlclose (self); */ 13483 } 13484 else 13485 puts (dlerror ()); 13486 13487 return status; 13488} 13489_LT_EOF 13490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13491 (eval $ac_link) 2>&5 13492 ac_status=$? 13493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13494 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13495 (./conftest; exit; ) >&5 2>/dev/null 13496 lt_status=$? 13497 case x$lt_status in 13498 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13499 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13500 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13501 esac 13502 else : 13503 # compilation failed 13504 lt_cv_dlopen_self_static=no 13505 fi 13506fi 13507rm -fr conftest* 13508 13509 13510fi 13511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13512$as_echo "$lt_cv_dlopen_self_static" >&6; } 13513 fi 13514 13515 CPPFLAGS=$save_CPPFLAGS 13516 LDFLAGS=$save_LDFLAGS 13517 LIBS=$save_LIBS 13518 ;; 13519 esac 13520 13521 case $lt_cv_dlopen_self in 13522 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13523 *) enable_dlopen_self=unknown ;; 13524 esac 13525 13526 case $lt_cv_dlopen_self_static in 13527 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13528 *) enable_dlopen_self_static=unknown ;; 13529 esac 13530fi 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548striplib= 13549old_striplib= 13550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13551$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13552if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13553 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13554 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13556$as_echo "yes" >&6; } 13557else 13558# FIXME - insert some real tests, host_os isn't really good enough 13559 case $host_os in 13560 darwin*) 13561 if test -n "$STRIP"; then 13562 striplib="$STRIP -x" 13563 old_striplib="$STRIP -S" 13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13565$as_echo "yes" >&6; } 13566 else 13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13568$as_echo "no" >&6; } 13569 fi 13570 ;; 13571 *) 13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13573$as_echo "no" >&6; } 13574 ;; 13575 esac 13576fi 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 # Report what library types will actually be built 13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13591$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13593$as_echo "$can_build_shared" >&6; } 13594 13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13596$as_echo_n "checking whether to build shared libraries... " >&6; } 13597 test no = "$can_build_shared" && enable_shared=no 13598 13599 # On AIX, shared libraries and static libraries use the same namespace, and 13600 # are all built from PIC. 13601 case $host_os in 13602 aix3*) 13603 test yes = "$enable_shared" && enable_static=no 13604 if test -n "$RANLIB"; then 13605 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13606 postinstall_cmds='$RANLIB $lib' 13607 fi 13608 ;; 13609 13610 aix[4-9]*) 13611 if test ia64 != "$host_cpu"; then 13612 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13613 yes,aix,yes) ;; # shared object as lib.so file only 13614 yes,svr4,*) ;; # shared object as lib.so archive member only 13615 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13616 esac 13617 fi 13618 ;; 13619 esac 13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13621$as_echo "$enable_shared" >&6; } 13622 13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13624$as_echo_n "checking whether to build static libraries... " >&6; } 13625 # Make sure either enable_shared or enable_static is yes. 13626 test yes = "$enable_shared" || enable_static=yes 13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13628$as_echo "$enable_static" >&6; } 13629 13630 13631 13632 13633fi 13634ac_ext=c 13635ac_cpp='$CPP $CPPFLAGS' 13636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13638ac_compiler_gnu=$ac_cv_c_compiler_gnu 13639 13640CC=$lt_save_CC 13641 13642 if test -n "$CXX" && ( test no != "$CXX" && 13643 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13644 (test g++ != "$CXX"))); then 13645 ac_ext=cpp 13646ac_cpp='$CXXCPP $CPPFLAGS' 13647ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13648ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13649ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13651$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13652if test -z "$CXXCPP"; then 13653 if ${ac_cv_prog_CXXCPP+:} false; then : 13654 $as_echo_n "(cached) " >&6 13655else 13656 # Double quotes because CXXCPP needs to be expanded 13657 for CXXCPP in "$CXX -E" "/lib/cpp" 13658 do 13659 ac_preproc_ok=false 13660for ac_cxx_preproc_warn_flag in '' yes 13661do 13662 # Use a header file that comes with gcc, so configuring glibc 13663 # with a fresh cross-compiler works. 13664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13665 # <limits.h> exists even on freestanding compilers. 13666 # On the NeXT, cc -E runs the code through the compiler's parser, 13667 # not just through cpp. "Syntax error" is here to catch this case. 13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13669/* end confdefs.h. */ 13670#ifdef __STDC__ 13671# include <limits.h> 13672#else 13673# include <assert.h> 13674#endif 13675 Syntax error 13676_ACEOF 13677if ac_fn_cxx_try_cpp "$LINENO"; then : 13678 13679else 13680 # Broken: fails on valid input. 13681continue 13682fi 13683rm -f conftest.err conftest.i conftest.$ac_ext 13684 13685 # OK, works on sane cases. Now check whether nonexistent headers 13686 # can be detected and how. 13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13688/* end confdefs.h. */ 13689#include <ac_nonexistent.h> 13690_ACEOF 13691if ac_fn_cxx_try_cpp "$LINENO"; then : 13692 # Broken: success on invalid input. 13693continue 13694else 13695 # Passes both tests. 13696ac_preproc_ok=: 13697break 13698fi 13699rm -f conftest.err conftest.i conftest.$ac_ext 13700 13701done 13702# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13703rm -f conftest.i conftest.err conftest.$ac_ext 13704if $ac_preproc_ok; then : 13705 break 13706fi 13707 13708 done 13709 ac_cv_prog_CXXCPP=$CXXCPP 13710 13711fi 13712 CXXCPP=$ac_cv_prog_CXXCPP 13713else 13714 ac_cv_prog_CXXCPP=$CXXCPP 13715fi 13716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13717$as_echo "$CXXCPP" >&6; } 13718ac_preproc_ok=false 13719for ac_cxx_preproc_warn_flag in '' yes 13720do 13721 # Use a header file that comes with gcc, so configuring glibc 13722 # with a fresh cross-compiler works. 13723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13724 # <limits.h> exists even on freestanding compilers. 13725 # On the NeXT, cc -E runs the code through the compiler's parser, 13726 # not just through cpp. "Syntax error" is here to catch this case. 13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13728/* end confdefs.h. */ 13729#ifdef __STDC__ 13730# include <limits.h> 13731#else 13732# include <assert.h> 13733#endif 13734 Syntax error 13735_ACEOF 13736if ac_fn_cxx_try_cpp "$LINENO"; then : 13737 13738else 13739 # Broken: fails on valid input. 13740continue 13741fi 13742rm -f conftest.err conftest.i conftest.$ac_ext 13743 13744 # OK, works on sane cases. Now check whether nonexistent headers 13745 # can be detected and how. 13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13747/* end confdefs.h. */ 13748#include <ac_nonexistent.h> 13749_ACEOF 13750if ac_fn_cxx_try_cpp "$LINENO"; then : 13751 # Broken: success on invalid input. 13752continue 13753else 13754 # Passes both tests. 13755ac_preproc_ok=: 13756break 13757fi 13758rm -f conftest.err conftest.i conftest.$ac_ext 13759 13760done 13761# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13762rm -f conftest.i conftest.err conftest.$ac_ext 13763if $ac_preproc_ok; then : 13764 13765else 13766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13767$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13768as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13769See \`config.log' for more details" "$LINENO" 5; } 13770fi 13771 13772ac_ext=c 13773ac_cpp='$CPP $CPPFLAGS' 13774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13776ac_compiler_gnu=$ac_cv_c_compiler_gnu 13777 13778else 13779 _lt_caught_CXX_error=yes 13780fi 13781 13782ac_ext=cpp 13783ac_cpp='$CXXCPP $CPPFLAGS' 13784ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13785ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13786ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13787 13788archive_cmds_need_lc_CXX=no 13789allow_undefined_flag_CXX= 13790always_export_symbols_CXX=no 13791archive_expsym_cmds_CXX= 13792compiler_needs_object_CXX=no 13793export_dynamic_flag_spec_CXX= 13794hardcode_direct_CXX=no 13795hardcode_direct_absolute_CXX=no 13796hardcode_libdir_flag_spec_CXX= 13797hardcode_libdir_separator_CXX= 13798hardcode_minus_L_CXX=no 13799hardcode_shlibpath_var_CXX=unsupported 13800hardcode_automatic_CXX=no 13801inherit_rpath_CXX=no 13802module_cmds_CXX= 13803module_expsym_cmds_CXX= 13804link_all_deplibs_CXX=unknown 13805old_archive_cmds_CXX=$old_archive_cmds 13806reload_flag_CXX=$reload_flag 13807reload_cmds_CXX=$reload_cmds 13808no_undefined_flag_CXX= 13809whole_archive_flag_spec_CXX= 13810enable_shared_with_static_runtimes_CXX=no 13811 13812# Source file extension for C++ test sources. 13813ac_ext=cpp 13814 13815# Object file extension for compiled C++ test sources. 13816objext=o 13817objext_CXX=$objext 13818 13819# No sense in running all these tests if we already determined that 13820# the CXX compiler isn't working. Some variables (like enable_shared) 13821# are currently assumed to apply to all compilers on this platform, 13822# and will be corrupted by setting them based on a non-working compiler. 13823if test yes != "$_lt_caught_CXX_error"; then 13824 # Code to be used in simple compile tests 13825 lt_simple_compile_test_code="int some_variable = 0;" 13826 13827 # Code to be used in simple link tests 13828 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13829 13830 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13831 13832 13833 13834 13835 13836 13837# If no C compiler was specified, use CC. 13838LTCC=${LTCC-"$CC"} 13839 13840# If no C compiler flags were specified, use CFLAGS. 13841LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13842 13843# Allow CC to be a program name with arguments. 13844compiler=$CC 13845 13846 13847 # save warnings/boilerplate of simple test code 13848 ac_outfile=conftest.$ac_objext 13849echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13850eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13851_lt_compiler_boilerplate=`cat conftest.err` 13852$RM conftest* 13853 13854 ac_outfile=conftest.$ac_objext 13855echo "$lt_simple_link_test_code" >conftest.$ac_ext 13856eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13857_lt_linker_boilerplate=`cat conftest.err` 13858$RM -r conftest* 13859 13860 13861 # Allow CC to be a program name with arguments. 13862 lt_save_CC=$CC 13863 lt_save_CFLAGS=$CFLAGS 13864 lt_save_LD=$LD 13865 lt_save_GCC=$GCC 13866 GCC=$GXX 13867 lt_save_with_gnu_ld=$with_gnu_ld 13868 lt_save_path_LD=$lt_cv_path_LD 13869 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13870 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13871 else 13872 $as_unset lt_cv_prog_gnu_ld 13873 fi 13874 if test -n "${lt_cv_path_LDCXX+set}"; then 13875 lt_cv_path_LD=$lt_cv_path_LDCXX 13876 else 13877 $as_unset lt_cv_path_LD 13878 fi 13879 test -z "${LDCXX+set}" || LD=$LDCXX 13880 CC=${CXX-"c++"} 13881 CFLAGS=$CXXFLAGS 13882 compiler=$CC 13883 compiler_CXX=$CC 13884 func_cc_basename $compiler 13885cc_basename=$func_cc_basename_result 13886 13887 13888 if test -n "$compiler"; then 13889 # We don't want -fno-exception when compiling C++ code, so set the 13890 # no_builtin_flag separately 13891 if test yes = "$GXX"; then 13892 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13893 else 13894 lt_prog_compiler_no_builtin_flag_CXX= 13895 fi 13896 13897 if test yes = "$GXX"; then 13898 # Set up default GNU C++ configuration 13899 13900 13901 13902# Check whether --with-gnu-ld was given. 13903if test "${with_gnu_ld+set}" = set; then : 13904 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13905else 13906 with_gnu_ld=no 13907fi 13908 13909ac_prog=ld 13910if test yes = "$GCC"; then 13911 # Check if gcc -print-prog-name=ld gives a path. 13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13913$as_echo_n "checking for ld used by $CC... " >&6; } 13914 case $host in 13915 *-*-mingw*) 13916 # gcc leaves a trailing carriage return, which upsets mingw 13917 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13918 *) 13919 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13920 esac 13921 case $ac_prog in 13922 # Accept absolute paths. 13923 [\\/]* | ?:[\\/]*) 13924 re_direlt='/[^/][^/]*/\.\./' 13925 # Canonicalize the pathname of ld 13926 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13927 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13928 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13929 done 13930 test -z "$LD" && LD=$ac_prog 13931 ;; 13932 "") 13933 # If it fails, then pretend we aren't using GCC. 13934 ac_prog=ld 13935 ;; 13936 *) 13937 # If it is relative, then search for the first ld in PATH. 13938 with_gnu_ld=unknown 13939 ;; 13940 esac 13941elif test yes = "$with_gnu_ld"; then 13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13943$as_echo_n "checking for GNU ld... " >&6; } 13944else 13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13946$as_echo_n "checking for non-GNU ld... " >&6; } 13947fi 13948if ${lt_cv_path_LD+:} false; then : 13949 $as_echo_n "(cached) " >&6 13950else 13951 if test -z "$LD"; then 13952 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13953 for ac_dir in $PATH; do 13954 IFS=$lt_save_ifs 13955 test -z "$ac_dir" && ac_dir=. 13956 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13957 lt_cv_path_LD=$ac_dir/$ac_prog 13958 # Check to see if the program is GNU ld. I'd rather use --version, 13959 # but apparently some variants of GNU ld only accept -v. 13960 # Break only if it was the GNU/non-GNU ld that we prefer. 13961 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13962 *GNU* | *'with BFD'*) 13963 test no != "$with_gnu_ld" && break 13964 ;; 13965 *) 13966 test yes != "$with_gnu_ld" && break 13967 ;; 13968 esac 13969 fi 13970 done 13971 IFS=$lt_save_ifs 13972else 13973 lt_cv_path_LD=$LD # Let the user override the test with a path. 13974fi 13975fi 13976 13977LD=$lt_cv_path_LD 13978if test -n "$LD"; then 13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13980$as_echo "$LD" >&6; } 13981else 13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13983$as_echo "no" >&6; } 13984fi 13985test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13987$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13988if ${lt_cv_prog_gnu_ld+:} false; then : 13989 $as_echo_n "(cached) " >&6 13990else 13991 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13992case `$LD -v 2>&1 </dev/null` in 13993*GNU* | *'with BFD'*) 13994 lt_cv_prog_gnu_ld=yes 13995 ;; 13996*) 13997 lt_cv_prog_gnu_ld=no 13998 ;; 13999esac 14000fi 14001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14002$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14003with_gnu_ld=$lt_cv_prog_gnu_ld 14004 14005 14006 14007 14008 14009 14010 14011 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14012 # archiving commands below assume that GNU ld is being used. 14013 if test yes = "$with_gnu_ld"; then 14014 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14015 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' 14016 14017 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14018 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14019 14020 # If archive_cmds runs LD, not CC, wlarc should be empty 14021 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14022 # investigate it a little bit more. (MM) 14023 wlarc='$wl' 14024 14025 # ancient GNU ld didn't support --whole-archive et. al. 14026 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14027 $GREP 'no-whole-archive' > /dev/null; then 14028 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14029 else 14030 whole_archive_flag_spec_CXX= 14031 fi 14032 else 14033 with_gnu_ld=no 14034 wlarc= 14035 14036 # A generic and very simple default shared library creation 14037 # command for GNU C++ for the case where it uses the native 14038 # linker, instead of GNU ld. If possible, this setting should 14039 # overridden to take advantage of the native linker features on 14040 # the platform it is being used on. 14041 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14042 fi 14043 14044 # Commands to make compiler produce verbose output that lists 14045 # what "hidden" libraries, object files and flags are used when 14046 # linking a shared library. 14047 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14048 14049 else 14050 GXX=no 14051 with_gnu_ld=no 14052 wlarc= 14053 fi 14054 14055 # PORTME: fill in a description of your system's C++ link characteristics 14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14057$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14058 ld_shlibs_CXX=yes 14059 case $host_os in 14060 aix3*) 14061 # FIXME: insert proper C++ library support 14062 ld_shlibs_CXX=no 14063 ;; 14064 aix[4-9]*) 14065 if test ia64 = "$host_cpu"; then 14066 # On IA64, the linker does run time linking by default, so we don't 14067 # have to do anything special. 14068 aix_use_runtimelinking=no 14069 exp_sym_flag='-Bexport' 14070 no_entry_flag= 14071 else 14072 aix_use_runtimelinking=no 14073 14074 # Test if we are trying to use run time linking or normal 14075 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14076 # have runtime linking enabled, and use it for executables. 14077 # For shared libraries, we enable/disable runtime linking 14078 # depending on the kind of the shared library created - 14079 # when "with_aix_soname,aix_use_runtimelinking" is: 14080 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14081 # "aix,yes" lib.so shared, rtl:yes, for executables 14082 # lib.a static archive 14083 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14084 # lib.a(lib.so.V) shared, rtl:no, for executables 14085 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14086 # lib.a(lib.so.V) shared, rtl:no 14087 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14088 # lib.a static archive 14089 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14090 for ld_flag in $LDFLAGS; do 14091 case $ld_flag in 14092 *-brtl*) 14093 aix_use_runtimelinking=yes 14094 break 14095 ;; 14096 esac 14097 done 14098 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14099 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14100 # so we don't have lib.a shared libs to link our executables. 14101 # We have to force runtime linking in this case. 14102 aix_use_runtimelinking=yes 14103 LDFLAGS="$LDFLAGS -Wl,-brtl" 14104 fi 14105 ;; 14106 esac 14107 14108 exp_sym_flag='-bexport' 14109 no_entry_flag='-bnoentry' 14110 fi 14111 14112 # When large executables or shared objects are built, AIX ld can 14113 # have problems creating the table of contents. If linking a library 14114 # or program results in "error TOC overflow" add -mminimal-toc to 14115 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14116 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14117 14118 archive_cmds_CXX='' 14119 hardcode_direct_CXX=yes 14120 hardcode_direct_absolute_CXX=yes 14121 hardcode_libdir_separator_CXX=':' 14122 link_all_deplibs_CXX=yes 14123 file_list_spec_CXX='$wl-f,' 14124 case $with_aix_soname,$aix_use_runtimelinking in 14125 aix,*) ;; # no import file 14126 svr4,* | *,yes) # use import file 14127 # The Import File defines what to hardcode. 14128 hardcode_direct_CXX=no 14129 hardcode_direct_absolute_CXX=no 14130 ;; 14131 esac 14132 14133 if test yes = "$GXX"; then 14134 case $host_os in aix4.[012]|aix4.[012].*) 14135 # We only want to do this on AIX 4.2 and lower, the check 14136 # below for broken collect2 doesn't work under 4.3+ 14137 collect2name=`$CC -print-prog-name=collect2` 14138 if test -f "$collect2name" && 14139 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14140 then 14141 # We have reworked collect2 14142 : 14143 else 14144 # We have old collect2 14145 hardcode_direct_CXX=unsupported 14146 # It fails to find uninstalled libraries when the uninstalled 14147 # path is not listed in the libpath. Setting hardcode_minus_L 14148 # to unsupported forces relinking 14149 hardcode_minus_L_CXX=yes 14150 hardcode_libdir_flag_spec_CXX='-L$libdir' 14151 hardcode_libdir_separator_CXX= 14152 fi 14153 esac 14154 shared_flag='-shared' 14155 if test yes = "$aix_use_runtimelinking"; then 14156 shared_flag=$shared_flag' $wl-G' 14157 fi 14158 # Need to ensure runtime linking is disabled for the traditional 14159 # shared library, or the linker may eventually find shared libraries 14160 # /with/ Import File - we do not want to mix them. 14161 shared_flag_aix='-shared' 14162 shared_flag_svr4='-shared $wl-G' 14163 else 14164 # not using gcc 14165 if test ia64 = "$host_cpu"; then 14166 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14167 # chokes on -Wl,-G. The following line is correct: 14168 shared_flag='-G' 14169 else 14170 if test yes = "$aix_use_runtimelinking"; then 14171 shared_flag='$wl-G' 14172 else 14173 shared_flag='$wl-bM:SRE' 14174 fi 14175 shared_flag_aix='$wl-bM:SRE' 14176 shared_flag_svr4='$wl-G' 14177 fi 14178 fi 14179 14180 export_dynamic_flag_spec_CXX='$wl-bexpall' 14181 # It seems that -bexpall does not export symbols beginning with 14182 # underscore (_), so it is better to generate a list of symbols to 14183 # export. 14184 always_export_symbols_CXX=yes 14185 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14186 # Warning - without using the other runtime loading flags (-brtl), 14187 # -berok will link without error, but may produce a broken library. 14188 # The "-G" linker flag allows undefined symbols. 14189 no_undefined_flag_CXX='-bernotok' 14190 # Determine the default libpath from the value encoded in an empty 14191 # executable. 14192 if test set = "${lt_cv_aix_libpath+set}"; then 14193 aix_libpath=$lt_cv_aix_libpath 14194else 14195 if ${lt_cv_aix_libpath__CXX+:} false; then : 14196 $as_echo_n "(cached) " >&6 14197else 14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14199/* end confdefs.h. */ 14200 14201int 14202main () 14203{ 14204 14205 ; 14206 return 0; 14207} 14208_ACEOF 14209if ac_fn_cxx_try_link "$LINENO"; then : 14210 14211 lt_aix_libpath_sed=' 14212 /Import File Strings/,/^$/ { 14213 /^0/ { 14214 s/^0 *\([^ ]*\) *$/\1/ 14215 p 14216 } 14217 }' 14218 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14219 # Check for a 64-bit object if we didn't find anything. 14220 if test -z "$lt_cv_aix_libpath__CXX"; then 14221 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14222 fi 14223fi 14224rm -f core conftest.err conftest.$ac_objext \ 14225 conftest$ac_exeext conftest.$ac_ext 14226 if test -z "$lt_cv_aix_libpath__CXX"; then 14227 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14228 fi 14229 14230fi 14231 14232 aix_libpath=$lt_cv_aix_libpath__CXX 14233fi 14234 14235 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14236 14237 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 14238 else 14239 if test ia64 = "$host_cpu"; then 14240 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14241 allow_undefined_flag_CXX="-z nodefs" 14242 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" 14243 else 14244 # Determine the default libpath from the value encoded in an 14245 # empty executable. 14246 if test set = "${lt_cv_aix_libpath+set}"; then 14247 aix_libpath=$lt_cv_aix_libpath 14248else 14249 if ${lt_cv_aix_libpath__CXX+:} false; then : 14250 $as_echo_n "(cached) " >&6 14251else 14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14253/* end confdefs.h. */ 14254 14255int 14256main () 14257{ 14258 14259 ; 14260 return 0; 14261} 14262_ACEOF 14263if ac_fn_cxx_try_link "$LINENO"; then : 14264 14265 lt_aix_libpath_sed=' 14266 /Import File Strings/,/^$/ { 14267 /^0/ { 14268 s/^0 *\([^ ]*\) *$/\1/ 14269 p 14270 } 14271 }' 14272 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14273 # Check for a 64-bit object if we didn't find anything. 14274 if test -z "$lt_cv_aix_libpath__CXX"; then 14275 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14276 fi 14277fi 14278rm -f core conftest.err conftest.$ac_objext \ 14279 conftest$ac_exeext conftest.$ac_ext 14280 if test -z "$lt_cv_aix_libpath__CXX"; then 14281 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14282 fi 14283 14284fi 14285 14286 aix_libpath=$lt_cv_aix_libpath__CXX 14287fi 14288 14289 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14290 # Warning - without using the other run time loading flags, 14291 # -berok will link without error, but may produce a broken library. 14292 no_undefined_flag_CXX=' $wl-bernotok' 14293 allow_undefined_flag_CXX=' $wl-berok' 14294 if test yes = "$with_gnu_ld"; then 14295 # We only use this code for GNU lds that support --whole-archive. 14296 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14297 else 14298 # Exported symbols can be pulled into shared objects from archives 14299 whole_archive_flag_spec_CXX='$convenience' 14300 fi 14301 archive_cmds_need_lc_CXX=yes 14302 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14303 # -brtl affects multiple linker settings, -berok does not and is overridden later 14304 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14305 if test svr4 != "$with_aix_soname"; then 14306 # This is similar to how AIX traditionally builds its shared 14307 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14308 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' 14309 fi 14310 if test aix != "$with_aix_soname"; then 14311 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' 14312 else 14313 # used by -dlpreopen to get the symbols 14314 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14315 fi 14316 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14317 fi 14318 fi 14319 ;; 14320 14321 beos*) 14322 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14323 allow_undefined_flag_CXX=unsupported 14324 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14325 # support --undefined. This deserves some investigation. FIXME 14326 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14327 else 14328 ld_shlibs_CXX=no 14329 fi 14330 ;; 14331 14332 chorus*) 14333 case $cc_basename in 14334 *) 14335 # FIXME: insert proper C++ library support 14336 ld_shlibs_CXX=no 14337 ;; 14338 esac 14339 ;; 14340 14341 cygwin* | mingw* | pw32* | cegcc*) 14342 case $GXX,$cc_basename in 14343 ,cl* | no,cl*) 14344 # Native MSVC 14345 # hardcode_libdir_flag_spec is actually meaningless, as there is 14346 # no search path for DLLs. 14347 hardcode_libdir_flag_spec_CXX=' ' 14348 allow_undefined_flag_CXX=unsupported 14349 always_export_symbols_CXX=yes 14350 file_list_spec_CXX='@' 14351 # Tell ltmain to make .lib files, not .a files. 14352 libext=lib 14353 # Tell ltmain to make .dll files, not .so files. 14354 shrext_cmds=.dll 14355 # FIXME: Setting linknames here is a bad hack. 14356 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14357 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14358 cp "$export_symbols" "$output_objdir/$soname.def"; 14359 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14360 else 14361 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14362 fi~ 14363 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14364 linknames=' 14365 # The linker will not automatically build a static lib if we build a DLL. 14366 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14367 enable_shared_with_static_runtimes_CXX=yes 14368 # Don't use ranlib 14369 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14370 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14371 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14372 case $lt_outputfile in 14373 *.exe|*.EXE) ;; 14374 *) 14375 lt_outputfile=$lt_outputfile.exe 14376 lt_tool_outputfile=$lt_tool_outputfile.exe 14377 ;; 14378 esac~ 14379 func_to_tool_file "$lt_outputfile"~ 14380 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14381 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14382 $RM "$lt_outputfile.manifest"; 14383 fi' 14384 ;; 14385 *) 14386 # g++ 14387 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14388 # as there is no search path for DLLs. 14389 hardcode_libdir_flag_spec_CXX='-L$libdir' 14390 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14391 allow_undefined_flag_CXX=unsupported 14392 always_export_symbols_CXX=no 14393 enable_shared_with_static_runtimes_CXX=yes 14394 14395 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14396 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' 14397 # If the export-symbols file already is a .def file, use it as 14398 # is; otherwise, prepend EXPORTS... 14399 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14400 cp $export_symbols $output_objdir/$soname.def; 14401 else 14402 echo EXPORTS > $output_objdir/$soname.def; 14403 cat $export_symbols >> $output_objdir/$soname.def; 14404 fi~ 14405 $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' 14406 else 14407 ld_shlibs_CXX=no 14408 fi 14409 ;; 14410 esac 14411 ;; 14412 darwin* | rhapsody*) 14413 14414 14415 archive_cmds_need_lc_CXX=no 14416 hardcode_direct_CXX=no 14417 hardcode_automatic_CXX=yes 14418 hardcode_shlibpath_var_CXX=unsupported 14419 if test yes = "$lt_cv_ld_force_load"; then 14420 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\"`' 14421 14422 else 14423 whole_archive_flag_spec_CXX='' 14424 fi 14425 link_all_deplibs_CXX=yes 14426 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14427 case $cc_basename in 14428 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14429 *) _lt_dar_can_shared=$GCC ;; 14430 esac 14431 if test yes = "$_lt_dar_can_shared"; then 14432 output_verbose_link_cmd=func_echo_all 14433 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" 14434 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14435 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" 14436 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" 14437 if test yes != "$lt_cv_apple_cc_single_mod"; then 14438 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" 14439 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" 14440 fi 14441 14442 else 14443 ld_shlibs_CXX=no 14444 fi 14445 14446 ;; 14447 14448 os2*) 14449 hardcode_libdir_flag_spec_CXX='-L$libdir' 14450 hardcode_minus_L_CXX=yes 14451 allow_undefined_flag_CXX=unsupported 14452 shrext_cmds=.dll 14453 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14454 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14455 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14456 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14457 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14458 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14459 emximp -o $lib $output_objdir/$libname.def' 14460 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14461 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14462 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14463 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14464 prefix_cmds="$SED"~ 14465 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14466 prefix_cmds="$prefix_cmds -e 1d"; 14467 fi~ 14468 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14469 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14470 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14471 emximp -o $lib $output_objdir/$libname.def' 14472 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14473 enable_shared_with_static_runtimes_CXX=yes 14474 ;; 14475 14476 dgux*) 14477 case $cc_basename in 14478 ec++*) 14479 # FIXME: insert proper C++ library support 14480 ld_shlibs_CXX=no 14481 ;; 14482 ghcx*) 14483 # Green Hills C++ Compiler 14484 # FIXME: insert proper C++ library support 14485 ld_shlibs_CXX=no 14486 ;; 14487 *) 14488 # FIXME: insert proper C++ library support 14489 ld_shlibs_CXX=no 14490 ;; 14491 esac 14492 ;; 14493 14494 freebsd2.*) 14495 # C++ shared libraries reported to be fairly broken before 14496 # switch to ELF 14497 ld_shlibs_CXX=no 14498 ;; 14499 14500 freebsd-elf*) 14501 archive_cmds_need_lc_CXX=no 14502 ;; 14503 14504 freebsd* | dragonfly*) 14505 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14506 # conventions 14507 ld_shlibs_CXX=yes 14508 ;; 14509 14510 haiku*) 14511 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14512 link_all_deplibs_CXX=yes 14513 ;; 14514 14515 hpux9*) 14516 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14517 hardcode_libdir_separator_CXX=: 14518 export_dynamic_flag_spec_CXX='$wl-E' 14519 hardcode_direct_CXX=yes 14520 hardcode_minus_L_CXX=yes # Not in the search PATH, 14521 # but as the default 14522 # location of the library. 14523 14524 case $cc_basename in 14525 CC*) 14526 # FIXME: insert proper C++ library support 14527 ld_shlibs_CXX=no 14528 ;; 14529 aCC*) 14530 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' 14531 # Commands to make compiler produce verbose output that lists 14532 # what "hidden" libraries, object files and flags are used when 14533 # linking a shared library. 14534 # 14535 # There doesn't appear to be a way to prevent this compiler from 14536 # explicitly linking system object files so we need to strip them 14537 # from the output so that they don't get included in the library 14538 # dependencies. 14539 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"' 14540 ;; 14541 *) 14542 if test yes = "$GXX"; then 14543 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' 14544 else 14545 # FIXME: insert proper C++ library support 14546 ld_shlibs_CXX=no 14547 fi 14548 ;; 14549 esac 14550 ;; 14551 14552 hpux10*|hpux11*) 14553 if test no = "$with_gnu_ld"; then 14554 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14555 hardcode_libdir_separator_CXX=: 14556 14557 case $host_cpu in 14558 hppa*64*|ia64*) 14559 ;; 14560 *) 14561 export_dynamic_flag_spec_CXX='$wl-E' 14562 ;; 14563 esac 14564 fi 14565 case $host_cpu in 14566 hppa*64*|ia64*) 14567 hardcode_direct_CXX=no 14568 hardcode_shlibpath_var_CXX=no 14569 ;; 14570 *) 14571 hardcode_direct_CXX=yes 14572 hardcode_direct_absolute_CXX=yes 14573 hardcode_minus_L_CXX=yes # Not in the search PATH, 14574 # but as the default 14575 # location of the library. 14576 ;; 14577 esac 14578 14579 case $cc_basename in 14580 CC*) 14581 # FIXME: insert proper C++ library support 14582 ld_shlibs_CXX=no 14583 ;; 14584 aCC*) 14585 case $host_cpu in 14586 hppa*64*) 14587 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14588 ;; 14589 ia64*) 14590 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14591 ;; 14592 *) 14593 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14594 ;; 14595 esac 14596 # Commands to make compiler produce verbose output that lists 14597 # what "hidden" libraries, object files and flags are used when 14598 # linking a shared library. 14599 # 14600 # There doesn't appear to be a way to prevent this compiler from 14601 # explicitly linking system object files so we need to strip them 14602 # from the output so that they don't get included in the library 14603 # dependencies. 14604 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"' 14605 ;; 14606 *) 14607 if test yes = "$GXX"; then 14608 if test no = "$with_gnu_ld"; then 14609 case $host_cpu in 14610 hppa*64*) 14611 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14612 ;; 14613 ia64*) 14614 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14615 ;; 14616 *) 14617 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' 14618 ;; 14619 esac 14620 fi 14621 else 14622 # FIXME: insert proper C++ library support 14623 ld_shlibs_CXX=no 14624 fi 14625 ;; 14626 esac 14627 ;; 14628 14629 interix[3-9]*) 14630 hardcode_direct_CXX=no 14631 hardcode_shlibpath_var_CXX=no 14632 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14633 export_dynamic_flag_spec_CXX='$wl-E' 14634 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14635 # Instead, shared libraries are loaded at an image base (0x10000000 by 14636 # default) and relocated if they conflict, which is a slow very memory 14637 # consuming and fragmenting process. To avoid this, we pick a random, 14638 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14639 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14640 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' 14641 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' 14642 ;; 14643 irix5* | irix6*) 14644 case $cc_basename in 14645 CC*) 14646 # SGI C++ 14647 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' 14648 14649 # Archives containing C++ object files must be created using 14650 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14651 # necessary to make sure instantiated templates are included 14652 # in the archive. 14653 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14654 ;; 14655 *) 14656 if test yes = "$GXX"; then 14657 if test no = "$with_gnu_ld"; then 14658 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' 14659 else 14660 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' 14661 fi 14662 fi 14663 link_all_deplibs_CXX=yes 14664 ;; 14665 esac 14666 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14667 hardcode_libdir_separator_CXX=: 14668 inherit_rpath_CXX=yes 14669 ;; 14670 14671 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14672 case $cc_basename in 14673 KCC*) 14674 # Kuck and Associates, Inc. (KAI) C++ Compiler 14675 14676 # KCC will only create a shared library if the output file 14677 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14678 # to its proper name (with version) after linking. 14679 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' 14680 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' 14681 # Commands to make compiler produce verbose output that lists 14682 # what "hidden" libraries, object files and flags are used when 14683 # linking a shared library. 14684 # 14685 # There doesn't appear to be a way to prevent this compiler from 14686 # explicitly linking system object files so we need to strip them 14687 # from the output so that they don't get included in the library 14688 # dependencies. 14689 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"' 14690 14691 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14692 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14693 14694 # Archives containing C++ object files must be created using 14695 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14696 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14697 ;; 14698 icpc* | ecpc* ) 14699 # Intel C++ 14700 with_gnu_ld=yes 14701 # version 8.0 and above of icpc choke on multiply defined symbols 14702 # if we add $predep_objects and $postdep_objects, however 7.1 and 14703 # earlier do not add the objects themselves. 14704 case `$CC -V 2>&1` in 14705 *"Version 7."*) 14706 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14707 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' 14708 ;; 14709 *) # Version 8.0 or newer 14710 tmp_idyn= 14711 case $host_cpu in 14712 ia64*) tmp_idyn=' -i_dynamic';; 14713 esac 14714 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14715 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' 14716 ;; 14717 esac 14718 archive_cmds_need_lc_CXX=no 14719 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14720 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14721 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14722 ;; 14723 pgCC* | pgcpp*) 14724 # Portland Group C++ compiler 14725 case `$CC -V` in 14726 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14727 prelink_cmds_CXX='tpldir=Template.dir~ 14728 rm -rf $tpldir~ 14729 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14730 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14731 old_archive_cmds_CXX='tpldir=Template.dir~ 14732 rm -rf $tpldir~ 14733 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14734 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14735 $RANLIB $oldlib' 14736 archive_cmds_CXX='tpldir=Template.dir~ 14737 rm -rf $tpldir~ 14738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14739 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14740 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14741 rm -rf $tpldir~ 14742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14743 $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' 14744 ;; 14745 *) # Version 6 and above use weak symbols 14746 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14747 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' 14748 ;; 14749 esac 14750 14751 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14752 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14753 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' 14754 ;; 14755 cxx*) 14756 # Compaq C++ 14757 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14758 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' 14759 14760 runpath_var=LD_RUN_PATH 14761 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14762 hardcode_libdir_separator_CXX=: 14763 14764 # Commands to make compiler produce verbose output that lists 14765 # what "hidden" libraries, object files and flags are used when 14766 # linking a shared library. 14767 # 14768 # There doesn't appear to be a way to prevent this compiler from 14769 # explicitly linking system object files so we need to strip them 14770 # from the output so that they don't get included in the library 14771 # dependencies. 14772 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' 14773 ;; 14774 xl* | mpixl* | bgxl*) 14775 # IBM XL 8.0 on PPC, with GNU ld 14776 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14777 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14778 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14779 if test yes = "$supports_anon_versioning"; then 14780 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14782 echo "local: *; };" >> $output_objdir/$libname.ver~ 14783 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14784 fi 14785 ;; 14786 *) 14787 case `$CC -V 2>&1 | sed 5q` in 14788 *Sun\ C*) 14789 # Sun C++ 5.9 14790 no_undefined_flag_CXX=' -zdefs' 14791 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14792 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' 14793 hardcode_libdir_flag_spec_CXX='-R$libdir' 14794 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' 14795 compiler_needs_object_CXX=yes 14796 14797 # Not sure whether something based on 14798 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14799 # would be better. 14800 output_verbose_link_cmd='func_echo_all' 14801 14802 # Archives containing C++ object files must be created using 14803 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14804 # necessary to make sure instantiated templates are included 14805 # in the archive. 14806 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14807 ;; 14808 esac 14809 ;; 14810 esac 14811 ;; 14812 14813 lynxos*) 14814 # FIXME: insert proper C++ library support 14815 ld_shlibs_CXX=no 14816 ;; 14817 14818 m88k*) 14819 # FIXME: insert proper C++ library support 14820 ld_shlibs_CXX=no 14821 ;; 14822 14823 mvs*) 14824 case $cc_basename in 14825 cxx*) 14826 # FIXME: insert proper C++ library support 14827 ld_shlibs_CXX=no 14828 ;; 14829 *) 14830 # FIXME: insert proper C++ library support 14831 ld_shlibs_CXX=no 14832 ;; 14833 esac 14834 ;; 14835 14836 netbsd*) 14837 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14838 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14839 wlarc= 14840 hardcode_libdir_flag_spec_CXX='-R$libdir' 14841 hardcode_direct_CXX=yes 14842 hardcode_shlibpath_var_CXX=no 14843 fi 14844 # Workaround some broken pre-1.5 toolchains 14845 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14846 ;; 14847 14848 *nto* | *qnx*) 14849 ld_shlibs_CXX=yes 14850 ;; 14851 14852 openbsd* | bitrig*) 14853 if test -f /usr/libexec/ld.so; then 14854 hardcode_direct_CXX=yes 14855 hardcode_shlibpath_var_CXX=no 14856 hardcode_direct_absolute_CXX=yes 14857 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14858 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14859 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14860 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14861 export_dynamic_flag_spec_CXX='$wl-E' 14862 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14863 fi 14864 output_verbose_link_cmd=func_echo_all 14865 else 14866 ld_shlibs_CXX=no 14867 fi 14868 ;; 14869 14870 osf3* | osf4* | osf5*) 14871 case $cc_basename in 14872 KCC*) 14873 # Kuck and Associates, Inc. (KAI) C++ Compiler 14874 14875 # KCC will only create a shared library if the output file 14876 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14877 # to its proper name (with version) after linking. 14878 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' 14879 14880 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14881 hardcode_libdir_separator_CXX=: 14882 14883 # Archives containing C++ object files must be created using 14884 # the KAI C++ compiler. 14885 case $host in 14886 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14887 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14888 esac 14889 ;; 14890 RCC*) 14891 # Rational C++ 2.4.1 14892 # FIXME: insert proper C++ library support 14893 ld_shlibs_CXX=no 14894 ;; 14895 cxx*) 14896 case $host in 14897 osf3*) 14898 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14899 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' 14900 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14901 ;; 14902 *) 14903 allow_undefined_flag_CXX=' -expect_unresolved \*' 14904 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' 14905 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14906 echo "-hidden">> $lib.exp~ 14907 $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~ 14908 $RM $lib.exp' 14909 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14910 ;; 14911 esac 14912 14913 hardcode_libdir_separator_CXX=: 14914 14915 # Commands to make compiler produce verbose output that lists 14916 # what "hidden" libraries, object files and flags are used when 14917 # linking a shared library. 14918 # 14919 # There doesn't appear to be a way to prevent this compiler from 14920 # explicitly linking system object files so we need to strip them 14921 # from the output so that they don't get included in the library 14922 # dependencies. 14923 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"' 14924 ;; 14925 *) 14926 if test yes,no = "$GXX,$with_gnu_ld"; then 14927 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14928 case $host in 14929 osf3*) 14930 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' 14931 ;; 14932 *) 14933 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' 14934 ;; 14935 esac 14936 14937 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14938 hardcode_libdir_separator_CXX=: 14939 14940 # Commands to make compiler produce verbose output that lists 14941 # what "hidden" libraries, object files and flags are used when 14942 # linking a shared library. 14943 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14944 14945 else 14946 # FIXME: insert proper C++ library support 14947 ld_shlibs_CXX=no 14948 fi 14949 ;; 14950 esac 14951 ;; 14952 14953 psos*) 14954 # FIXME: insert proper C++ library support 14955 ld_shlibs_CXX=no 14956 ;; 14957 14958 sunos4*) 14959 case $cc_basename in 14960 CC*) 14961 # Sun C++ 4.x 14962 # FIXME: insert proper C++ library support 14963 ld_shlibs_CXX=no 14964 ;; 14965 lcc*) 14966 # Lucid 14967 # FIXME: insert proper C++ library support 14968 ld_shlibs_CXX=no 14969 ;; 14970 *) 14971 # FIXME: insert proper C++ library support 14972 ld_shlibs_CXX=no 14973 ;; 14974 esac 14975 ;; 14976 14977 solaris*) 14978 case $cc_basename in 14979 CC* | sunCC*) 14980 # Sun C++ 4.2, 5.x and Centerline C++ 14981 archive_cmds_need_lc_CXX=yes 14982 no_undefined_flag_CXX=' -zdefs' 14983 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14984 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14985 $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' 14986 14987 hardcode_libdir_flag_spec_CXX='-R$libdir' 14988 hardcode_shlibpath_var_CXX=no 14989 case $host_os in 14990 solaris2.[0-5] | solaris2.[0-5].*) ;; 14991 *) 14992 # The compiler driver will combine and reorder linker options, 14993 # but understands '-z linker_flag'. 14994 # Supported since Solaris 2.6 (maybe 2.5.1?) 14995 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14996 ;; 14997 esac 14998 link_all_deplibs_CXX=yes 14999 15000 output_verbose_link_cmd='func_echo_all' 15001 15002 # Archives containing C++ object files must be created using 15003 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15004 # necessary to make sure instantiated templates are included 15005 # in the archive. 15006 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15007 ;; 15008 gcx*) 15009 # Green Hills C++ Compiler 15010 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15011 15012 # The C++ compiler must be used to create the archive. 15013 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15014 ;; 15015 *) 15016 # GNU C++ compiler with Solaris linker 15017 if test yes,no = "$GXX,$with_gnu_ld"; then 15018 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15019 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15020 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15021 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15022 $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' 15023 15024 # Commands to make compiler produce verbose output that lists 15025 # what "hidden" libraries, object files and flags are used when 15026 # linking a shared library. 15027 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15028 else 15029 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15030 # platform. 15031 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15032 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15033 $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' 15034 15035 # Commands to make compiler produce verbose output that lists 15036 # what "hidden" libraries, object files and flags are used when 15037 # linking a shared library. 15038 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15039 fi 15040 15041 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15042 case $host_os in 15043 solaris2.[0-5] | solaris2.[0-5].*) ;; 15044 *) 15045 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15046 ;; 15047 esac 15048 fi 15049 ;; 15050 esac 15051 ;; 15052 15053 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15054 no_undefined_flag_CXX='$wl-z,text' 15055 archive_cmds_need_lc_CXX=no 15056 hardcode_shlibpath_var_CXX=no 15057 runpath_var='LD_RUN_PATH' 15058 15059 case $cc_basename in 15060 CC*) 15061 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15062 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15063 ;; 15064 *) 15065 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15066 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15067 ;; 15068 esac 15069 ;; 15070 15071 sysv5* | sco3.2v5* | sco5v6*) 15072 # Note: We CANNOT use -z defs as we might desire, because we do not 15073 # link with -lc, and that would cause any symbols used from libc to 15074 # always be unresolved, which means just about no library would 15075 # ever link correctly. If we're not using GNU ld we use -z text 15076 # though, which does catch some bad symbols but isn't as heavy-handed 15077 # as -z defs. 15078 no_undefined_flag_CXX='$wl-z,text' 15079 allow_undefined_flag_CXX='$wl-z,nodefs' 15080 archive_cmds_need_lc_CXX=no 15081 hardcode_shlibpath_var_CXX=no 15082 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15083 hardcode_libdir_separator_CXX=':' 15084 link_all_deplibs_CXX=yes 15085 export_dynamic_flag_spec_CXX='$wl-Bexport' 15086 runpath_var='LD_RUN_PATH' 15087 15088 case $cc_basename in 15089 CC*) 15090 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15091 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15092 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15093 '"$old_archive_cmds_CXX" 15094 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15095 '"$reload_cmds_CXX" 15096 ;; 15097 *) 15098 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15099 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15100 ;; 15101 esac 15102 ;; 15103 15104 tandem*) 15105 case $cc_basename in 15106 NCC*) 15107 # NonStop-UX NCC 3.20 15108 # FIXME: insert proper C++ library support 15109 ld_shlibs_CXX=no 15110 ;; 15111 *) 15112 # FIXME: insert proper C++ library support 15113 ld_shlibs_CXX=no 15114 ;; 15115 esac 15116 ;; 15117 15118 vxworks*) 15119 # FIXME: insert proper C++ library support 15120 ld_shlibs_CXX=no 15121 ;; 15122 15123 *) 15124 # FIXME: insert proper C++ library support 15125 ld_shlibs_CXX=no 15126 ;; 15127 esac 15128 15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15130$as_echo "$ld_shlibs_CXX" >&6; } 15131 test no = "$ld_shlibs_CXX" && can_build_shared=no 15132 15133 GCC_CXX=$GXX 15134 LD_CXX=$LD 15135 15136 ## CAVEAT EMPTOR: 15137 ## There is no encapsulation within the following macros, do not change 15138 ## the running order or otherwise move them around unless you know exactly 15139 ## what you are doing... 15140 # Dependencies to place before and after the object being linked: 15141predep_objects_CXX= 15142postdep_objects_CXX= 15143predeps_CXX= 15144postdeps_CXX= 15145compiler_lib_search_path_CXX= 15146 15147cat > conftest.$ac_ext <<_LT_EOF 15148class Foo 15149{ 15150public: 15151 Foo (void) { a = 0; } 15152private: 15153 int a; 15154}; 15155_LT_EOF 15156 15157 15158_lt_libdeps_save_CFLAGS=$CFLAGS 15159case "$CC $CFLAGS " in #( 15160*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15161*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15162*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15163esac 15164 15165if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15166 (eval $ac_compile) 2>&5 15167 ac_status=$? 15168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15169 test $ac_status = 0; }; then 15170 # Parse the compiler output and extract the necessary 15171 # objects, libraries and library flags. 15172 15173 # Sentinel used to keep track of whether or not we are before 15174 # the conftest object file. 15175 pre_test_object_deps_done=no 15176 15177 for p in `eval "$output_verbose_link_cmd"`; do 15178 case $prev$p in 15179 15180 -L* | -R* | -l*) 15181 # Some compilers place space between "-{L,R}" and the path. 15182 # Remove the space. 15183 if test x-L = "$p" || 15184 test x-R = "$p"; then 15185 prev=$p 15186 continue 15187 fi 15188 15189 # Expand the sysroot to ease extracting the directories later. 15190 if test -z "$prev"; then 15191 case $p in 15192 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15193 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15194 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15195 esac 15196 fi 15197 case $p in 15198 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15199 esac 15200 if test no = "$pre_test_object_deps_done"; then 15201 case $prev in 15202 -L | -R) 15203 # Internal compiler library paths should come after those 15204 # provided the user. The postdeps already come after the 15205 # user supplied libs so there is no need to process them. 15206 if test -z "$compiler_lib_search_path_CXX"; then 15207 compiler_lib_search_path_CXX=$prev$p 15208 else 15209 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15210 fi 15211 ;; 15212 # The "-l" case would never come before the object being 15213 # linked, so don't bother handling this case. 15214 esac 15215 else 15216 if test -z "$postdeps_CXX"; then 15217 postdeps_CXX=$prev$p 15218 else 15219 postdeps_CXX="${postdeps_CXX} $prev$p" 15220 fi 15221 fi 15222 prev= 15223 ;; 15224 15225 *.lto.$objext) ;; # Ignore GCC LTO objects 15226 *.$objext) 15227 # This assumes that the test object file only shows up 15228 # once in the compiler output. 15229 if test "$p" = "conftest.$objext"; then 15230 pre_test_object_deps_done=yes 15231 continue 15232 fi 15233 15234 if test no = "$pre_test_object_deps_done"; then 15235 if test -z "$predep_objects_CXX"; then 15236 predep_objects_CXX=$p 15237 else 15238 predep_objects_CXX="$predep_objects_CXX $p" 15239 fi 15240 else 15241 if test -z "$postdep_objects_CXX"; then 15242 postdep_objects_CXX=$p 15243 else 15244 postdep_objects_CXX="$postdep_objects_CXX $p" 15245 fi 15246 fi 15247 ;; 15248 15249 *) ;; # Ignore the rest. 15250 15251 esac 15252 done 15253 15254 # Clean up. 15255 rm -f a.out a.exe 15256else 15257 echo "libtool.m4: error: problem compiling CXX test program" 15258fi 15259 15260$RM -f confest.$objext 15261CFLAGS=$_lt_libdeps_save_CFLAGS 15262 15263# PORTME: override above test on systems where it is broken 15264case $host_os in 15265interix[3-9]*) 15266 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15267 # hack all around it, let's just trust "g++" to DTRT. 15268 predep_objects_CXX= 15269 postdep_objects_CXX= 15270 postdeps_CXX= 15271 ;; 15272esac 15273 15274 15275case " $postdeps_CXX " in 15276*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15277esac 15278 compiler_lib_search_dirs_CXX= 15279if test -n "${compiler_lib_search_path_CXX}"; then 15280 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15281fi 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 lt_prog_compiler_wl_CXX= 15314lt_prog_compiler_pic_CXX= 15315lt_prog_compiler_static_CXX= 15316 15317 15318 # C++ specific cases for pic, static, wl, etc. 15319 if test yes = "$GXX"; then 15320 lt_prog_compiler_wl_CXX='-Wl,' 15321 lt_prog_compiler_static_CXX='-static' 15322 15323 case $host_os in 15324 aix*) 15325 # All AIX code is PIC. 15326 if test ia64 = "$host_cpu"; then 15327 # AIX 5 now supports IA64 processor 15328 lt_prog_compiler_static_CXX='-Bstatic' 15329 fi 15330 lt_prog_compiler_pic_CXX='-fPIC' 15331 ;; 15332 15333 amigaos*) 15334 case $host_cpu in 15335 powerpc) 15336 # see comment about AmigaOS4 .so support 15337 lt_prog_compiler_pic_CXX='-fPIC' 15338 ;; 15339 m68k) 15340 # FIXME: we need at least 68020 code to build shared libraries, but 15341 # adding the '-m68020' flag to GCC prevents building anything better, 15342 # like '-m68040'. 15343 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15344 ;; 15345 esac 15346 ;; 15347 15348 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15349 # PIC is the default for these OSes. 15350 ;; 15351 mingw* | cygwin* | os2* | pw32* | cegcc*) 15352 # This hack is so that the source file can tell whether it is being 15353 # built for inclusion in a dll (and should export symbols for example). 15354 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15355 # (--disable-auto-import) libraries 15356 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15357 case $host_os in 15358 os2*) 15359 lt_prog_compiler_static_CXX='$wl-static' 15360 ;; 15361 esac 15362 ;; 15363 darwin* | rhapsody*) 15364 # PIC is the default on this platform 15365 # Common symbols not allowed in MH_DYLIB files 15366 lt_prog_compiler_pic_CXX='-fno-common' 15367 ;; 15368 *djgpp*) 15369 # DJGPP does not support shared libraries at all 15370 lt_prog_compiler_pic_CXX= 15371 ;; 15372 haiku*) 15373 # PIC is the default for Haiku. 15374 # The "-static" flag exists, but is broken. 15375 lt_prog_compiler_static_CXX= 15376 ;; 15377 interix[3-9]*) 15378 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15379 # Instead, we relocate shared libraries at runtime. 15380 ;; 15381 sysv4*MP*) 15382 if test -d /usr/nec; then 15383 lt_prog_compiler_pic_CXX=-Kconform_pic 15384 fi 15385 ;; 15386 hpux*) 15387 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15388 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15389 # sets the default TLS model and affects inlining. 15390 case $host_cpu in 15391 hppa*64*) 15392 ;; 15393 *) 15394 lt_prog_compiler_pic_CXX='-fPIC' 15395 ;; 15396 esac 15397 ;; 15398 *qnx* | *nto*) 15399 # QNX uses GNU C++, but need to define -shared option too, otherwise 15400 # it will coredump. 15401 lt_prog_compiler_pic_CXX='-fPIC -shared' 15402 ;; 15403 *) 15404 lt_prog_compiler_pic_CXX='-fPIC' 15405 ;; 15406 esac 15407 else 15408 case $host_os in 15409 aix[4-9]*) 15410 # All AIX code is PIC. 15411 if test ia64 = "$host_cpu"; then 15412 # AIX 5 now supports IA64 processor 15413 lt_prog_compiler_static_CXX='-Bstatic' 15414 else 15415 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15416 fi 15417 ;; 15418 chorus*) 15419 case $cc_basename in 15420 cxch68*) 15421 # Green Hills C++ Compiler 15422 # _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" 15423 ;; 15424 esac 15425 ;; 15426 mingw* | cygwin* | os2* | pw32* | cegcc*) 15427 # This hack is so that the source file can tell whether it is being 15428 # built for inclusion in a dll (and should export symbols for example). 15429 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15430 ;; 15431 dgux*) 15432 case $cc_basename in 15433 ec++*) 15434 lt_prog_compiler_pic_CXX='-KPIC' 15435 ;; 15436 ghcx*) 15437 # Green Hills C++ Compiler 15438 lt_prog_compiler_pic_CXX='-pic' 15439 ;; 15440 *) 15441 ;; 15442 esac 15443 ;; 15444 freebsd* | dragonfly*) 15445 # FreeBSD uses GNU C++ 15446 ;; 15447 hpux9* | hpux10* | hpux11*) 15448 case $cc_basename in 15449 CC*) 15450 lt_prog_compiler_wl_CXX='-Wl,' 15451 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15452 if test ia64 != "$host_cpu"; then 15453 lt_prog_compiler_pic_CXX='+Z' 15454 fi 15455 ;; 15456 aCC*) 15457 lt_prog_compiler_wl_CXX='-Wl,' 15458 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15459 case $host_cpu in 15460 hppa*64*|ia64*) 15461 # +Z the default 15462 ;; 15463 *) 15464 lt_prog_compiler_pic_CXX='+Z' 15465 ;; 15466 esac 15467 ;; 15468 *) 15469 ;; 15470 esac 15471 ;; 15472 interix*) 15473 # This is c89, which is MS Visual C++ (no shared libs) 15474 # Anyone wants to do a port? 15475 ;; 15476 irix5* | irix6* | nonstopux*) 15477 case $cc_basename in 15478 CC*) 15479 lt_prog_compiler_wl_CXX='-Wl,' 15480 lt_prog_compiler_static_CXX='-non_shared' 15481 # CC pic flag -KPIC is the default. 15482 ;; 15483 *) 15484 ;; 15485 esac 15486 ;; 15487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15488 case $cc_basename in 15489 KCC*) 15490 # KAI C++ Compiler 15491 lt_prog_compiler_wl_CXX='--backend -Wl,' 15492 lt_prog_compiler_pic_CXX='-fPIC' 15493 ;; 15494 ecpc* ) 15495 # old Intel C++ for x86_64, which still supported -KPIC. 15496 lt_prog_compiler_wl_CXX='-Wl,' 15497 lt_prog_compiler_pic_CXX='-KPIC' 15498 lt_prog_compiler_static_CXX='-static' 15499 ;; 15500 icpc* ) 15501 # Intel C++, used to be incompatible with GCC. 15502 # ICC 10 doesn't accept -KPIC any more. 15503 lt_prog_compiler_wl_CXX='-Wl,' 15504 lt_prog_compiler_pic_CXX='-fPIC' 15505 lt_prog_compiler_static_CXX='-static' 15506 ;; 15507 pgCC* | pgcpp*) 15508 # Portland Group C++ compiler 15509 lt_prog_compiler_wl_CXX='-Wl,' 15510 lt_prog_compiler_pic_CXX='-fpic' 15511 lt_prog_compiler_static_CXX='-Bstatic' 15512 ;; 15513 cxx*) 15514 # Compaq C++ 15515 # Make sure the PIC flag is empty. It appears that all Alpha 15516 # Linux and Compaq Tru64 Unix objects are PIC. 15517 lt_prog_compiler_pic_CXX= 15518 lt_prog_compiler_static_CXX='-non_shared' 15519 ;; 15520 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15521 # IBM XL 8.0, 9.0 on PPC and BlueGene 15522 lt_prog_compiler_wl_CXX='-Wl,' 15523 lt_prog_compiler_pic_CXX='-qpic' 15524 lt_prog_compiler_static_CXX='-qstaticlink' 15525 ;; 15526 *) 15527 case `$CC -V 2>&1 | sed 5q` in 15528 *Sun\ C*) 15529 # Sun C++ 5.9 15530 lt_prog_compiler_pic_CXX='-KPIC' 15531 lt_prog_compiler_static_CXX='-Bstatic' 15532 lt_prog_compiler_wl_CXX='-Qoption ld ' 15533 ;; 15534 esac 15535 ;; 15536 esac 15537 ;; 15538 lynxos*) 15539 ;; 15540 m88k*) 15541 ;; 15542 mvs*) 15543 case $cc_basename in 15544 cxx*) 15545 lt_prog_compiler_pic_CXX='-W c,exportall' 15546 ;; 15547 *) 15548 ;; 15549 esac 15550 ;; 15551 netbsd*) 15552 ;; 15553 *qnx* | *nto*) 15554 # QNX uses GNU C++, but need to define -shared option too, otherwise 15555 # it will coredump. 15556 lt_prog_compiler_pic_CXX='-fPIC -shared' 15557 ;; 15558 osf3* | osf4* | osf5*) 15559 case $cc_basename in 15560 KCC*) 15561 lt_prog_compiler_wl_CXX='--backend -Wl,' 15562 ;; 15563 RCC*) 15564 # Rational C++ 2.4.1 15565 lt_prog_compiler_pic_CXX='-pic' 15566 ;; 15567 cxx*) 15568 # Digital/Compaq C++ 15569 lt_prog_compiler_wl_CXX='-Wl,' 15570 # Make sure the PIC flag is empty. It appears that all Alpha 15571 # Linux and Compaq Tru64 Unix objects are PIC. 15572 lt_prog_compiler_pic_CXX= 15573 lt_prog_compiler_static_CXX='-non_shared' 15574 ;; 15575 *) 15576 ;; 15577 esac 15578 ;; 15579 psos*) 15580 ;; 15581 solaris*) 15582 case $cc_basename in 15583 CC* | sunCC*) 15584 # Sun C++ 4.2, 5.x and Centerline C++ 15585 lt_prog_compiler_pic_CXX='-KPIC' 15586 lt_prog_compiler_static_CXX='-Bstatic' 15587 lt_prog_compiler_wl_CXX='-Qoption ld ' 15588 ;; 15589 gcx*) 15590 # Green Hills C++ Compiler 15591 lt_prog_compiler_pic_CXX='-PIC' 15592 ;; 15593 *) 15594 ;; 15595 esac 15596 ;; 15597 sunos4*) 15598 case $cc_basename in 15599 CC*) 15600 # Sun C++ 4.x 15601 lt_prog_compiler_pic_CXX='-pic' 15602 lt_prog_compiler_static_CXX='-Bstatic' 15603 ;; 15604 lcc*) 15605 # Lucid 15606 lt_prog_compiler_pic_CXX='-pic' 15607 ;; 15608 *) 15609 ;; 15610 esac 15611 ;; 15612 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15613 case $cc_basename in 15614 CC*) 15615 lt_prog_compiler_wl_CXX='-Wl,' 15616 lt_prog_compiler_pic_CXX='-KPIC' 15617 lt_prog_compiler_static_CXX='-Bstatic' 15618 ;; 15619 esac 15620 ;; 15621 tandem*) 15622 case $cc_basename in 15623 NCC*) 15624 # NonStop-UX NCC 3.20 15625 lt_prog_compiler_pic_CXX='-KPIC' 15626 ;; 15627 *) 15628 ;; 15629 esac 15630 ;; 15631 vxworks*) 15632 ;; 15633 *) 15634 lt_prog_compiler_can_build_shared_CXX=no 15635 ;; 15636 esac 15637 fi 15638 15639case $host_os in 15640 # For platforms that do not support PIC, -DPIC is meaningless: 15641 *djgpp*) 15642 lt_prog_compiler_pic_CXX= 15643 ;; 15644 *) 15645 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15646 ;; 15647esac 15648 15649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15650$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15651if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15652 $as_echo_n "(cached) " >&6 15653else 15654 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15655fi 15656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15657$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15658lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15659 15660# 15661# Check to make sure the PIC flag actually works. 15662# 15663if test -n "$lt_prog_compiler_pic_CXX"; then 15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15665$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15666if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15667 $as_echo_n "(cached) " >&6 15668else 15669 lt_cv_prog_compiler_pic_works_CXX=no 15670 ac_outfile=conftest.$ac_objext 15671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15672 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15673 # Insert the option either (1) after the last *FLAGS variable, or 15674 # (2) before a word containing "conftest.", or (3) at the end. 15675 # Note that $ac_compile itself does not contain backslashes and begins 15676 # with a dollar sign (not a hyphen), so the echo should work correctly. 15677 # The option is referenced via a variable to avoid confusing sed. 15678 lt_compile=`echo "$ac_compile" | $SED \ 15679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15681 -e 's:$: $lt_compiler_flag:'` 15682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15683 (eval "$lt_compile" 2>conftest.err) 15684 ac_status=$? 15685 cat conftest.err >&5 15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15687 if (exit $ac_status) && test -s "$ac_outfile"; then 15688 # The compiler can only warn and ignore the option if not recognized 15689 # So say no if there are warnings other than the usual output. 15690 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15691 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15692 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15693 lt_cv_prog_compiler_pic_works_CXX=yes 15694 fi 15695 fi 15696 $RM conftest* 15697 15698fi 15699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15700$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15701 15702if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15703 case $lt_prog_compiler_pic_CXX in 15704 "" | " "*) ;; 15705 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15706 esac 15707else 15708 lt_prog_compiler_pic_CXX= 15709 lt_prog_compiler_can_build_shared_CXX=no 15710fi 15711 15712fi 15713 15714 15715 15716 15717 15718# 15719# Check to make sure the static flag actually works. 15720# 15721wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15723$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15724if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15725 $as_echo_n "(cached) " >&6 15726else 15727 lt_cv_prog_compiler_static_works_CXX=no 15728 save_LDFLAGS=$LDFLAGS 15729 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15730 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15731 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15732 # The linker can only warn and ignore the option if not recognized 15733 # So say no if there are warnings 15734 if test -s conftest.err; then 15735 # Append any errors to the config.log. 15736 cat conftest.err 1>&5 15737 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15738 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15739 if diff conftest.exp conftest.er2 >/dev/null; then 15740 lt_cv_prog_compiler_static_works_CXX=yes 15741 fi 15742 else 15743 lt_cv_prog_compiler_static_works_CXX=yes 15744 fi 15745 fi 15746 $RM -r conftest* 15747 LDFLAGS=$save_LDFLAGS 15748 15749fi 15750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15751$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15752 15753if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15754 : 15755else 15756 lt_prog_compiler_static_CXX= 15757fi 15758 15759 15760 15761 15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15763$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15764if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15765 $as_echo_n "(cached) " >&6 15766else 15767 lt_cv_prog_compiler_c_o_CXX=no 15768 $RM -r conftest 2>/dev/null 15769 mkdir conftest 15770 cd conftest 15771 mkdir out 15772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15773 15774 lt_compiler_flag="-o out/conftest2.$ac_objext" 15775 # Insert the option either (1) after the last *FLAGS variable, or 15776 # (2) before a word containing "conftest.", or (3) at the end. 15777 # Note that $ac_compile itself does not contain backslashes and begins 15778 # with a dollar sign (not a hyphen), so the echo should work correctly. 15779 lt_compile=`echo "$ac_compile" | $SED \ 15780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15782 -e 's:$: $lt_compiler_flag:'` 15783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15784 (eval "$lt_compile" 2>out/conftest.err) 15785 ac_status=$? 15786 cat out/conftest.err >&5 15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15788 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15789 then 15790 # The compiler can only warn and ignore the option if not recognized 15791 # So say no if there are warnings 15792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15793 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15794 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15795 lt_cv_prog_compiler_c_o_CXX=yes 15796 fi 15797 fi 15798 chmod u+w . 2>&5 15799 $RM conftest* 15800 # SGI C++ compiler will create directory out/ii_files/ for 15801 # template instantiation 15802 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15803 $RM out/* && rmdir out 15804 cd .. 15805 $RM -r conftest 15806 $RM conftest* 15807 15808fi 15809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15810$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15811 15812 15813 15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15815$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15816if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15817 $as_echo_n "(cached) " >&6 15818else 15819 lt_cv_prog_compiler_c_o_CXX=no 15820 $RM -r conftest 2>/dev/null 15821 mkdir conftest 15822 cd conftest 15823 mkdir out 15824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15825 15826 lt_compiler_flag="-o out/conftest2.$ac_objext" 15827 # Insert the option either (1) after the last *FLAGS variable, or 15828 # (2) before a word containing "conftest.", or (3) at the end. 15829 # Note that $ac_compile itself does not contain backslashes and begins 15830 # with a dollar sign (not a hyphen), so the echo should work correctly. 15831 lt_compile=`echo "$ac_compile" | $SED \ 15832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15834 -e 's:$: $lt_compiler_flag:'` 15835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15836 (eval "$lt_compile" 2>out/conftest.err) 15837 ac_status=$? 15838 cat out/conftest.err >&5 15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15840 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15841 then 15842 # The compiler can only warn and ignore the option if not recognized 15843 # So say no if there are warnings 15844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15845 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15846 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15847 lt_cv_prog_compiler_c_o_CXX=yes 15848 fi 15849 fi 15850 chmod u+w . 2>&5 15851 $RM conftest* 15852 # SGI C++ compiler will create directory out/ii_files/ for 15853 # template instantiation 15854 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15855 $RM out/* && rmdir out 15856 cd .. 15857 $RM -r conftest 15858 $RM conftest* 15859 15860fi 15861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15862$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15863 15864 15865 15866 15867hard_links=nottested 15868if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15869 # do not overwrite the value of need_locks provided by the user 15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15871$as_echo_n "checking if we can lock with hard links... " >&6; } 15872 hard_links=yes 15873 $RM conftest* 15874 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15875 touch conftest.a 15876 ln conftest.a conftest.b 2>&5 || hard_links=no 15877 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15879$as_echo "$hard_links" >&6; } 15880 if test no = "$hard_links"; then 15881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15882$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15883 need_locks=warn 15884 fi 15885else 15886 need_locks=no 15887fi 15888 15889 15890 15891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15892$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15893 15894 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15895 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15896 case $host_os in 15897 aix[4-9]*) 15898 # If we're using GNU nm, then we don't want the "-C" option. 15899 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15900 # Without the "-l" option, or with the "-B" option, AIX nm treats 15901 # weak defined symbols like other global defined symbols, whereas 15902 # GNU nm marks them as "W". 15903 # While the 'weak' keyword is ignored in the Export File, we need 15904 # it in the Import File for the 'aix-soname' feature, so we have 15905 # to replace the "-B" option with "-P" for AIX nm. 15906 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15907 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' 15908 else 15909 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' 15910 fi 15911 ;; 15912 pw32*) 15913 export_symbols_cmds_CXX=$ltdll_cmds 15914 ;; 15915 cygwin* | mingw* | cegcc*) 15916 case $cc_basename in 15917 cl*) 15918 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15919 ;; 15920 *) 15921 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' 15922 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15923 ;; 15924 esac 15925 ;; 15926 *) 15927 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15928 ;; 15929 esac 15930 15931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15932$as_echo "$ld_shlibs_CXX" >&6; } 15933test no = "$ld_shlibs_CXX" && can_build_shared=no 15934 15935with_gnu_ld_CXX=$with_gnu_ld 15936 15937 15938 15939 15940 15941 15942# 15943# Do we need to explicitly link libc? 15944# 15945case "x$archive_cmds_need_lc_CXX" in 15946x|xyes) 15947 # Assume -lc should be added 15948 archive_cmds_need_lc_CXX=yes 15949 15950 if test yes,yes = "$GCC,$enable_shared"; then 15951 case $archive_cmds_CXX in 15952 *'~'*) 15953 # FIXME: we may have to deal with multi-command sequences. 15954 ;; 15955 '$CC '*) 15956 # Test whether the compiler implicitly links with -lc since on some 15957 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15958 # to ld, don't add -lc before -lgcc. 15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15960$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15961if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15962 $as_echo_n "(cached) " >&6 15963else 15964 $RM conftest* 15965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15966 15967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15968 (eval $ac_compile) 2>&5 15969 ac_status=$? 15970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15971 test $ac_status = 0; } 2>conftest.err; then 15972 soname=conftest 15973 lib=conftest 15974 libobjs=conftest.$ac_objext 15975 deplibs= 15976 wl=$lt_prog_compiler_wl_CXX 15977 pic_flag=$lt_prog_compiler_pic_CXX 15978 compiler_flags=-v 15979 linker_flags=-v 15980 verstring= 15981 output_objdir=. 15982 libname=conftest 15983 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15984 allow_undefined_flag_CXX= 15985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15986 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15987 ac_status=$? 15988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15989 test $ac_status = 0; } 15990 then 15991 lt_cv_archive_cmds_need_lc_CXX=no 15992 else 15993 lt_cv_archive_cmds_need_lc_CXX=yes 15994 fi 15995 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15996 else 15997 cat conftest.err 1>&5 15998 fi 15999 $RM conftest* 16000 16001fi 16002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16003$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16004 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16005 ;; 16006 esac 16007 fi 16008 ;; 16009esac 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16073$as_echo_n "checking dynamic linker characteristics... " >&6; } 16074 16075library_names_spec= 16076libname_spec='lib$name' 16077soname_spec= 16078shrext_cmds=.so 16079postinstall_cmds= 16080postuninstall_cmds= 16081finish_cmds= 16082finish_eval= 16083shlibpath_var= 16084shlibpath_overrides_runpath=unknown 16085version_type=none 16086dynamic_linker="$host_os ld.so" 16087sys_lib_dlsearch_path_spec="/lib /usr/lib" 16088need_lib_prefix=unknown 16089hardcode_into_libs=no 16090 16091# when you set need_version to no, make sure it does not cause -set_version 16092# flags to be left without arguments 16093need_version=unknown 16094 16095 16096 16097case $host_os in 16098aix3*) 16099 version_type=linux # correct to gnu/linux during the next big refactor 16100 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16101 shlibpath_var=LIBPATH 16102 16103 # AIX 3 has no versioning support, so we append a major version to the name. 16104 soname_spec='$libname$release$shared_ext$major' 16105 ;; 16106 16107aix[4-9]*) 16108 version_type=linux # correct to gnu/linux during the next big refactor 16109 need_lib_prefix=no 16110 need_version=no 16111 hardcode_into_libs=yes 16112 if test ia64 = "$host_cpu"; then 16113 # AIX 5 supports IA64 16114 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16115 shlibpath_var=LD_LIBRARY_PATH 16116 else 16117 # With GCC up to 2.95.x, collect2 would create an import file 16118 # for dependence libraries. The import file would start with 16119 # the line '#! .'. This would cause the generated library to 16120 # depend on '.', always an invalid library. This was fixed in 16121 # development snapshots of GCC prior to 3.0. 16122 case $host_os in 16123 aix4 | aix4.[01] | aix4.[01].*) 16124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16125 echo ' yes ' 16126 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16127 : 16128 else 16129 can_build_shared=no 16130 fi 16131 ;; 16132 esac 16133 # Using Import Files as archive members, it is possible to support 16134 # filename-based versioning of shared library archives on AIX. While 16135 # this would work for both with and without runtime linking, it will 16136 # prevent static linking of such archives. So we do filename-based 16137 # shared library versioning with .so extension only, which is used 16138 # when both runtime linking and shared linking is enabled. 16139 # Unfortunately, runtime linking may impact performance, so we do 16140 # not want this to be the default eventually. Also, we use the 16141 # versioned .so libs for executables only if there is the -brtl 16142 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16143 # To allow for filename-based versioning support, we need to create 16144 # libNAME.so.V as an archive file, containing: 16145 # *) an Import File, referring to the versioned filename of the 16146 # archive as well as the shared archive member, telling the 16147 # bitwidth (32 or 64) of that shared object, and providing the 16148 # list of exported symbols of that shared object, eventually 16149 # decorated with the 'weak' keyword 16150 # *) the shared object with the F_LOADONLY flag set, to really avoid 16151 # it being seen by the linker. 16152 # At run time we better use the real file rather than another symlink, 16153 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16154 16155 case $with_aix_soname,$aix_use_runtimelinking in 16156 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16157 # soname into executable. Probably we can add versioning support to 16158 # collect2, so additional links can be useful in future. 16159 aix,yes) # traditional libtool 16160 dynamic_linker='AIX unversionable lib.so' 16161 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16162 # instead of lib<name>.a to let people know that these are not 16163 # typical AIX shared libraries. 16164 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16165 ;; 16166 aix,no) # traditional AIX only 16167 dynamic_linker='AIX lib.a(lib.so.V)' 16168 # We preserve .a as extension for shared libraries through AIX4.2 16169 # and later when we are not doing run time linking. 16170 library_names_spec='$libname$release.a $libname.a' 16171 soname_spec='$libname$release$shared_ext$major' 16172 ;; 16173 svr4,*) # full svr4 only 16174 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16175 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16176 # We do not specify a path in Import Files, so LIBPATH fires. 16177 shlibpath_overrides_runpath=yes 16178 ;; 16179 *,yes) # both, prefer svr4 16180 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16181 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16182 # unpreferred sharedlib libNAME.a needs extra handling 16183 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"' 16184 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"' 16185 # We do not specify a path in Import Files, so LIBPATH fires. 16186 shlibpath_overrides_runpath=yes 16187 ;; 16188 *,no) # both, prefer aix 16189 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16190 library_names_spec='$libname$release.a $libname.a' 16191 soname_spec='$libname$release$shared_ext$major' 16192 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16193 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)' 16194 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"' 16195 ;; 16196 esac 16197 shlibpath_var=LIBPATH 16198 fi 16199 ;; 16200 16201amigaos*) 16202 case $host_cpu in 16203 powerpc) 16204 # Since July 2007 AmigaOS4 officially supports .so libraries. 16205 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16206 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16207 ;; 16208 m68k) 16209 library_names_spec='$libname.ixlibrary $libname.a' 16210 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16211 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' 16212 ;; 16213 esac 16214 ;; 16215 16216beos*) 16217 library_names_spec='$libname$shared_ext' 16218 dynamic_linker="$host_os ld.so" 16219 shlibpath_var=LIBRARY_PATH 16220 ;; 16221 16222bsdi[45]*) 16223 version_type=linux # correct to gnu/linux during the next big refactor 16224 need_version=no 16225 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16226 soname_spec='$libname$release$shared_ext$major' 16227 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16228 shlibpath_var=LD_LIBRARY_PATH 16229 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16230 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16231 # the default ld.so.conf also contains /usr/contrib/lib and 16232 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16233 # libtool to hard-code these into programs 16234 ;; 16235 16236cygwin* | mingw* | pw32* | cegcc*) 16237 version_type=windows 16238 shrext_cmds=.dll 16239 need_version=no 16240 need_lib_prefix=no 16241 16242 case $GCC,$cc_basename in 16243 yes,*) 16244 # gcc 16245 library_names_spec='$libname.dll.a' 16246 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16247 postinstall_cmds='base_file=`basename \$file`~ 16248 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16249 dldir=$destdir/`dirname \$dlpath`~ 16250 test -d \$dldir || mkdir -p \$dldir~ 16251 $install_prog $dir/$dlname \$dldir/$dlname~ 16252 chmod a+x \$dldir/$dlname~ 16253 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16254 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16255 fi' 16256 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16257 dlpath=$dir/\$dldll~ 16258 $RM \$dlpath' 16259 shlibpath_overrides_runpath=yes 16260 16261 case $host_os in 16262 cygwin*) 16263 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16264 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16265 16266 ;; 16267 mingw* | cegcc*) 16268 # MinGW DLLs use traditional 'lib' prefix 16269 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16270 ;; 16271 pw32*) 16272 # pw32 DLLs use 'pw' prefix rather than 'lib' 16273 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16274 ;; 16275 esac 16276 dynamic_linker='Win32 ld.exe' 16277 ;; 16278 16279 *,cl*) 16280 # Native MSVC 16281 libname_spec='$name' 16282 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16283 library_names_spec='$libname.dll.lib' 16284 16285 case $build_os in 16286 mingw*) 16287 sys_lib_search_path_spec= 16288 lt_save_ifs=$IFS 16289 IFS=';' 16290 for lt_path in $LIB 16291 do 16292 IFS=$lt_save_ifs 16293 # Let DOS variable expansion print the short 8.3 style file name. 16294 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16295 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16296 done 16297 IFS=$lt_save_ifs 16298 # Convert to MSYS style. 16299 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16300 ;; 16301 cygwin*) 16302 # Convert to unix form, then to dos form, then back to unix form 16303 # but this time dos style (no spaces!) so that the unix form looks 16304 # like /cygdrive/c/PROGRA~1:/cygdr... 16305 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16306 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16307 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16308 ;; 16309 *) 16310 sys_lib_search_path_spec=$LIB 16311 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16312 # It is most probably a Windows format PATH. 16313 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16314 else 16315 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16316 fi 16317 # FIXME: find the short name or the path components, as spaces are 16318 # common. (e.g. "Program Files" -> "PROGRA~1") 16319 ;; 16320 esac 16321 16322 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16323 postinstall_cmds='base_file=`basename \$file`~ 16324 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16325 dldir=$destdir/`dirname \$dlpath`~ 16326 test -d \$dldir || mkdir -p \$dldir~ 16327 $install_prog $dir/$dlname \$dldir/$dlname' 16328 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16329 dlpath=$dir/\$dldll~ 16330 $RM \$dlpath' 16331 shlibpath_overrides_runpath=yes 16332 dynamic_linker='Win32 link.exe' 16333 ;; 16334 16335 *) 16336 # Assume MSVC wrapper 16337 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16338 dynamic_linker='Win32 ld.exe' 16339 ;; 16340 esac 16341 # FIXME: first we should search . and the directory the executable is in 16342 shlibpath_var=PATH 16343 ;; 16344 16345darwin* | rhapsody*) 16346 dynamic_linker="$host_os dyld" 16347 version_type=darwin 16348 need_lib_prefix=no 16349 need_version=no 16350 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16351 soname_spec='$libname$release$major$shared_ext' 16352 shlibpath_overrides_runpath=yes 16353 shlibpath_var=DYLD_LIBRARY_PATH 16354 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16355 16356 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16357 ;; 16358 16359dgux*) 16360 version_type=linux # correct to gnu/linux during the next big refactor 16361 need_lib_prefix=no 16362 need_version=no 16363 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16364 soname_spec='$libname$release$shared_ext$major' 16365 shlibpath_var=LD_LIBRARY_PATH 16366 ;; 16367 16368freebsd* | dragonfly*) 16369 # DragonFly does not have aout. When/if they implement a new 16370 # versioning mechanism, adjust this. 16371 if test -x /usr/bin/objformat; then 16372 objformat=`/usr/bin/objformat` 16373 else 16374 case $host_os in 16375 freebsd[23].*) objformat=aout ;; 16376 *) objformat=elf ;; 16377 esac 16378 fi 16379 version_type=freebsd-$objformat 16380 case $version_type in 16381 freebsd-elf*) 16382 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16383 soname_spec='$libname$release$shared_ext$major' 16384 need_version=no 16385 need_lib_prefix=no 16386 ;; 16387 freebsd-*) 16388 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16389 need_version=yes 16390 ;; 16391 esac 16392 shlibpath_var=LD_LIBRARY_PATH 16393 case $host_os in 16394 freebsd2.*) 16395 shlibpath_overrides_runpath=yes 16396 ;; 16397 freebsd3.[01]* | freebsdelf3.[01]*) 16398 shlibpath_overrides_runpath=yes 16399 hardcode_into_libs=yes 16400 ;; 16401 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16402 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16403 shlibpath_overrides_runpath=no 16404 hardcode_into_libs=yes 16405 ;; 16406 *) # from 4.6 on, and DragonFly 16407 shlibpath_overrides_runpath=yes 16408 hardcode_into_libs=yes 16409 ;; 16410 esac 16411 ;; 16412 16413haiku*) 16414 version_type=linux # correct to gnu/linux during the next big refactor 16415 need_lib_prefix=no 16416 need_version=no 16417 dynamic_linker="$host_os runtime_loader" 16418 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16419 soname_spec='$libname$release$shared_ext$major' 16420 shlibpath_var=LIBRARY_PATH 16421 shlibpath_overrides_runpath=no 16422 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16423 hardcode_into_libs=yes 16424 ;; 16425 16426hpux9* | hpux10* | hpux11*) 16427 # Give a soname corresponding to the major version so that dld.sl refuses to 16428 # link against other versions. 16429 version_type=sunos 16430 need_lib_prefix=no 16431 need_version=no 16432 case $host_cpu in 16433 ia64*) 16434 shrext_cmds='.so' 16435 hardcode_into_libs=yes 16436 dynamic_linker="$host_os dld.so" 16437 shlibpath_var=LD_LIBRARY_PATH 16438 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16439 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16440 soname_spec='$libname$release$shared_ext$major' 16441 if test 32 = "$HPUX_IA64_MODE"; then 16442 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16443 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16444 else 16445 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16446 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16447 fi 16448 ;; 16449 hppa*64*) 16450 shrext_cmds='.sl' 16451 hardcode_into_libs=yes 16452 dynamic_linker="$host_os dld.sl" 16453 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16454 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16455 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16456 soname_spec='$libname$release$shared_ext$major' 16457 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16458 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16459 ;; 16460 *) 16461 shrext_cmds='.sl' 16462 dynamic_linker="$host_os dld.sl" 16463 shlibpath_var=SHLIB_PATH 16464 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16465 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16466 soname_spec='$libname$release$shared_ext$major' 16467 ;; 16468 esac 16469 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16470 postinstall_cmds='chmod 555 $lib' 16471 # or fails outright, so override atomically: 16472 install_override_mode=555 16473 ;; 16474 16475interix[3-9]*) 16476 version_type=linux # correct to gnu/linux during the next big refactor 16477 need_lib_prefix=no 16478 need_version=no 16479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16480 soname_spec='$libname$release$shared_ext$major' 16481 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16482 shlibpath_var=LD_LIBRARY_PATH 16483 shlibpath_overrides_runpath=no 16484 hardcode_into_libs=yes 16485 ;; 16486 16487irix5* | irix6* | nonstopux*) 16488 case $host_os in 16489 nonstopux*) version_type=nonstopux ;; 16490 *) 16491 if test yes = "$lt_cv_prog_gnu_ld"; then 16492 version_type=linux # correct to gnu/linux during the next big refactor 16493 else 16494 version_type=irix 16495 fi ;; 16496 esac 16497 need_lib_prefix=no 16498 need_version=no 16499 soname_spec='$libname$release$shared_ext$major' 16500 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16501 case $host_os in 16502 irix5* | nonstopux*) 16503 libsuff= shlibsuff= 16504 ;; 16505 *) 16506 case $LD in # libtool.m4 will add one of these switches to LD 16507 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16508 libsuff= shlibsuff= libmagic=32-bit;; 16509 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16510 libsuff=32 shlibsuff=N32 libmagic=N32;; 16511 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16512 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16513 *) libsuff= shlibsuff= libmagic=never-match;; 16514 esac 16515 ;; 16516 esac 16517 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16518 shlibpath_overrides_runpath=no 16519 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16520 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16521 hardcode_into_libs=yes 16522 ;; 16523 16524# No shared lib support for Linux oldld, aout, or coff. 16525linux*oldld* | linux*aout* | linux*coff*) 16526 dynamic_linker=no 16527 ;; 16528 16529linux*android*) 16530 version_type=none # Android doesn't support versioned libraries. 16531 need_lib_prefix=no 16532 need_version=no 16533 library_names_spec='$libname$release$shared_ext' 16534 soname_spec='$libname$release$shared_ext' 16535 finish_cmds= 16536 shlibpath_var=LD_LIBRARY_PATH 16537 shlibpath_overrides_runpath=yes 16538 16539 # This implies no fast_install, which is unacceptable. 16540 # Some rework will be needed to allow for fast_install 16541 # before this can be enabled. 16542 hardcode_into_libs=yes 16543 16544 dynamic_linker='Android linker' 16545 # Don't embed -rpath directories since the linker doesn't support them. 16546 hardcode_libdir_flag_spec_CXX='-L$libdir' 16547 ;; 16548 16549# This must be glibc/ELF. 16550linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16551 version_type=linux # correct to gnu/linux during the next big refactor 16552 need_lib_prefix=no 16553 need_version=no 16554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16555 soname_spec='$libname$release$shared_ext$major' 16556 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16557 shlibpath_var=LD_LIBRARY_PATH 16558 shlibpath_overrides_runpath=no 16559 16560 # Some binutils ld are patched to set DT_RUNPATH 16561 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16562 $as_echo_n "(cached) " >&6 16563else 16564 lt_cv_shlibpath_overrides_runpath=no 16565 save_LDFLAGS=$LDFLAGS 16566 save_libdir=$libdir 16567 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16568 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16570/* end confdefs.h. */ 16571 16572int 16573main () 16574{ 16575 16576 ; 16577 return 0; 16578} 16579_ACEOF 16580if ac_fn_cxx_try_link "$LINENO"; then : 16581 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16582 lt_cv_shlibpath_overrides_runpath=yes 16583fi 16584fi 16585rm -f core conftest.err conftest.$ac_objext \ 16586 conftest$ac_exeext conftest.$ac_ext 16587 LDFLAGS=$save_LDFLAGS 16588 libdir=$save_libdir 16589 16590fi 16591 16592 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16593 16594 # This implies no fast_install, which is unacceptable. 16595 # Some rework will be needed to allow for fast_install 16596 # before this can be enabled. 16597 hardcode_into_libs=yes 16598 16599 # Add ABI-specific directories to the system library path. 16600 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16601 16602 # Ideally, we could use ldconfig to report *all* directores which are 16603 # searched for libraries, however this is still not possible. Aside from not 16604 # being certain /sbin/ldconfig is available, command 16605 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16606 # even though it is searched at run-time. Try to do the best guess by 16607 # appending ld.so.conf contents (and includes) to the search path. 16608 if test -f /etc/ld.so.conf; then 16609 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' ' '` 16610 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16611 fi 16612 16613 # We used to test for /lib/ld.so.1 and disable shared libraries on 16614 # powerpc, because MkLinux only supported shared libraries with the 16615 # GNU dynamic linker. Since this was broken with cross compilers, 16616 # most powerpc-linux boxes support dynamic linking these days and 16617 # people can always --disable-shared, the test was removed, and we 16618 # assume the GNU/Linux dynamic linker is in use. 16619 dynamic_linker='GNU/Linux ld.so' 16620 ;; 16621 16622netbsd*) 16623 version_type=sunos 16624 need_lib_prefix=no 16625 need_version=no 16626 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16627 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16628 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16629 dynamic_linker='NetBSD (a.out) ld.so' 16630 else 16631 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16632 soname_spec='$libname$release$shared_ext$major' 16633 dynamic_linker='NetBSD ld.elf_so' 16634 fi 16635 shlibpath_var=LD_LIBRARY_PATH 16636 shlibpath_overrides_runpath=yes 16637 hardcode_into_libs=yes 16638 ;; 16639 16640newsos6) 16641 version_type=linux # correct to gnu/linux during the next big refactor 16642 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16643 shlibpath_var=LD_LIBRARY_PATH 16644 shlibpath_overrides_runpath=yes 16645 ;; 16646 16647*nto* | *qnx*) 16648 version_type=qnx 16649 need_lib_prefix=no 16650 need_version=no 16651 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16652 soname_spec='$libname$release$shared_ext$major' 16653 shlibpath_var=LD_LIBRARY_PATH 16654 shlibpath_overrides_runpath=no 16655 hardcode_into_libs=yes 16656 dynamic_linker='ldqnx.so' 16657 ;; 16658 16659openbsd* | bitrig*) 16660 version_type=sunos 16661 sys_lib_dlsearch_path_spec=/usr/lib 16662 need_lib_prefix=no 16663 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16664 need_version=no 16665 else 16666 need_version=yes 16667 fi 16668 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16670 shlibpath_var=LD_LIBRARY_PATH 16671 shlibpath_overrides_runpath=yes 16672 ;; 16673 16674os2*) 16675 libname_spec='$name' 16676 version_type=windows 16677 shrext_cmds=.dll 16678 need_version=no 16679 need_lib_prefix=no 16680 # OS/2 can only load a DLL with a base name of 8 characters or less. 16681 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16682 v=$($ECHO $release$versuffix | tr -d .-); 16683 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16684 $ECHO $n$v`$shared_ext' 16685 library_names_spec='${libname}_dll.$libext' 16686 dynamic_linker='OS/2 ld.exe' 16687 shlibpath_var=BEGINLIBPATH 16688 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16689 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16690 postinstall_cmds='base_file=`basename \$file`~ 16691 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16692 dldir=$destdir/`dirname \$dlpath`~ 16693 test -d \$dldir || mkdir -p \$dldir~ 16694 $install_prog $dir/$dlname \$dldir/$dlname~ 16695 chmod a+x \$dldir/$dlname~ 16696 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16697 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16698 fi' 16699 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16700 dlpath=$dir/\$dldll~ 16701 $RM \$dlpath' 16702 ;; 16703 16704osf3* | osf4* | osf5*) 16705 version_type=osf 16706 need_lib_prefix=no 16707 need_version=no 16708 soname_spec='$libname$release$shared_ext$major' 16709 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16710 shlibpath_var=LD_LIBRARY_PATH 16711 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16713 ;; 16714 16715rdos*) 16716 dynamic_linker=no 16717 ;; 16718 16719solaris*) 16720 version_type=linux # correct to gnu/linux during the next big refactor 16721 need_lib_prefix=no 16722 need_version=no 16723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16724 soname_spec='$libname$release$shared_ext$major' 16725 shlibpath_var=LD_LIBRARY_PATH 16726 shlibpath_overrides_runpath=yes 16727 hardcode_into_libs=yes 16728 # ldd complains unless libraries are executable 16729 postinstall_cmds='chmod +x $lib' 16730 ;; 16731 16732sunos4*) 16733 version_type=sunos 16734 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16735 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16736 shlibpath_var=LD_LIBRARY_PATH 16737 shlibpath_overrides_runpath=yes 16738 if test yes = "$with_gnu_ld"; then 16739 need_lib_prefix=no 16740 fi 16741 need_version=yes 16742 ;; 16743 16744sysv4 | sysv4.3*) 16745 version_type=linux # correct to gnu/linux during the next big refactor 16746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16747 soname_spec='$libname$release$shared_ext$major' 16748 shlibpath_var=LD_LIBRARY_PATH 16749 case $host_vendor in 16750 sni) 16751 shlibpath_overrides_runpath=no 16752 need_lib_prefix=no 16753 runpath_var=LD_RUN_PATH 16754 ;; 16755 siemens) 16756 need_lib_prefix=no 16757 ;; 16758 motorola) 16759 need_lib_prefix=no 16760 need_version=no 16761 shlibpath_overrides_runpath=no 16762 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16763 ;; 16764 esac 16765 ;; 16766 16767sysv4*MP*) 16768 if test -d /usr/nec; then 16769 version_type=linux # correct to gnu/linux during the next big refactor 16770 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16771 soname_spec='$libname$shared_ext.$major' 16772 shlibpath_var=LD_LIBRARY_PATH 16773 fi 16774 ;; 16775 16776sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16777 version_type=sco 16778 need_lib_prefix=no 16779 need_version=no 16780 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16781 soname_spec='$libname$release$shared_ext$major' 16782 shlibpath_var=LD_LIBRARY_PATH 16783 shlibpath_overrides_runpath=yes 16784 hardcode_into_libs=yes 16785 if test yes = "$with_gnu_ld"; then 16786 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16787 else 16788 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16789 case $host_os in 16790 sco3.2v5*) 16791 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16792 ;; 16793 esac 16794 fi 16795 sys_lib_dlsearch_path_spec='/usr/lib' 16796 ;; 16797 16798tpf*) 16799 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16800 version_type=linux # correct to gnu/linux during the next big refactor 16801 need_lib_prefix=no 16802 need_version=no 16803 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16804 shlibpath_var=LD_LIBRARY_PATH 16805 shlibpath_overrides_runpath=no 16806 hardcode_into_libs=yes 16807 ;; 16808 16809uts4*) 16810 version_type=linux # correct to gnu/linux during the next big refactor 16811 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16812 soname_spec='$libname$release$shared_ext$major' 16813 shlibpath_var=LD_LIBRARY_PATH 16814 ;; 16815 16816*) 16817 dynamic_linker=no 16818 ;; 16819esac 16820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16821$as_echo "$dynamic_linker" >&6; } 16822test no = "$dynamic_linker" && can_build_shared=no 16823 16824variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16825if test yes = "$GCC"; then 16826 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16827fi 16828 16829if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16830 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16831fi 16832 16833if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16834 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16835fi 16836 16837# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16838configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16839 16840# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16841func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16842 16843# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16844configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16886$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16887hardcode_action_CXX= 16888if test -n "$hardcode_libdir_flag_spec_CXX" || 16889 test -n "$runpath_var_CXX" || 16890 test yes = "$hardcode_automatic_CXX"; then 16891 16892 # We can hardcode non-existent directories. 16893 if test no != "$hardcode_direct_CXX" && 16894 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16895 # have to relink, otherwise we might link with an installed library 16896 # when we should be linking with a yet-to-be-installed one 16897 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16898 test no != "$hardcode_minus_L_CXX"; then 16899 # Linking always hardcodes the temporary library directory. 16900 hardcode_action_CXX=relink 16901 else 16902 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16903 hardcode_action_CXX=immediate 16904 fi 16905else 16906 # We cannot hardcode anything, or else we can only hardcode existing 16907 # directories. 16908 hardcode_action_CXX=unsupported 16909fi 16910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16911$as_echo "$hardcode_action_CXX" >&6; } 16912 16913if test relink = "$hardcode_action_CXX" || 16914 test yes = "$inherit_rpath_CXX"; then 16915 # Fast installation is not supported 16916 enable_fast_install=no 16917elif test yes = "$shlibpath_overrides_runpath" || 16918 test no = "$enable_shared"; then 16919 # Fast installation is not necessary 16920 enable_fast_install=needless 16921fi 16922 16923 16924 16925 16926 16927 16928 16929 fi # test -n "$compiler" 16930 16931 CC=$lt_save_CC 16932 CFLAGS=$lt_save_CFLAGS 16933 LDCXX=$LD 16934 LD=$lt_save_LD 16935 GCC=$lt_save_GCC 16936 with_gnu_ld=$lt_save_with_gnu_ld 16937 lt_cv_path_LDCXX=$lt_cv_path_LD 16938 lt_cv_path_LD=$lt_save_path_LD 16939 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16940 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16941fi # test yes != "$_lt_caught_CXX_error" 16942 16943ac_ext=c 16944ac_cpp='$CPP $CPPFLAGS' 16945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16947ac_compiler_gnu=$ac_cv_c_compiler_gnu 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 ac_config_commands="$ac_config_commands libtool" 16964 16965 16966 16967 16968# Only expand once: 16969 16970 16971 16972 16973# Extract the first word of "pkg-config", so it can be a program name with args. 16974set dummy pkg-config; ac_word=$2 16975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16976$as_echo_n "checking for $ac_word... " >&6; } 16977if ${ac_cv_path_PKGCONFIG+:} false; then : 16978 $as_echo_n "(cached) " >&6 16979else 16980 case $PKGCONFIG in 16981 [\\/]* | ?:[\\/]*) 16982 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 16983 ;; 16984 *) 16985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16986for as_dir in $PATH 16987do 16988 IFS=$as_save_IFS 16989 test -z "$as_dir" && as_dir=. 16990 for ac_exec_ext in '' $ac_executable_extensions; do 16991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16992 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 16993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16994 break 2 16995 fi 16996done 16997 done 16998IFS=$as_save_IFS 16999 17000 ;; 17001esac 17002fi 17003PKGCONFIG=$ac_cv_path_PKGCONFIG 17004if test -n "$PKGCONFIG"; then 17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17006$as_echo "$PKGCONFIG" >&6; } 17007else 17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17009$as_echo "no" >&6; } 17010fi 17011 17012 17013 17014 17015mkdir_p="$MKDIR_P" 17016case $mkdir_p in 17017 [\\/$]* | ?:[\\/]*) ;; 17018 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17019esac 17020 17021 17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17023$as_echo_n "checking whether NLS is requested... " >&6; } 17024 # Check whether --enable-nls was given. 17025if test "${enable_nls+set}" = set; then : 17026 enableval=$enable_nls; USE_NLS=$enableval 17027else 17028 USE_NLS=yes 17029fi 17030 17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17032$as_echo "$USE_NLS" >&6; } 17033 17034 17035 17036 17037 GETTEXT_MACRO_VERSION=0.18 17038 17039 17040 17041 17042# Prepare PATH_SEPARATOR. 17043# The user is always right. 17044if test "${PATH_SEPARATOR+set}" != set; then 17045 echo "#! /bin/sh" >conf$$.sh 17046 echo "exit 0" >>conf$$.sh 17047 chmod +x conf$$.sh 17048 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17049 PATH_SEPARATOR=';' 17050 else 17051 PATH_SEPARATOR=: 17052 fi 17053 rm -f conf$$.sh 17054fi 17055 17056# Find out how to test for executable files. Don't use a zero-byte file, 17057# as systems may use methods other than mode bits to determine executability. 17058cat >conf$$.file <<_ASEOF 17059#! /bin/sh 17060exit 0 17061_ASEOF 17062chmod +x conf$$.file 17063if test -x conf$$.file >/dev/null 2>&1; then 17064 ac_executable_p="test -x" 17065else 17066 ac_executable_p="test -f" 17067fi 17068rm -f conf$$.file 17069 17070# Extract the first word of "msgfmt", so it can be a program name with args. 17071set dummy msgfmt; ac_word=$2 17072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17073$as_echo_n "checking for $ac_word... " >&6; } 17074if ${ac_cv_path_MSGFMT+:} false; then : 17075 $as_echo_n "(cached) " >&6 17076else 17077 case "$MSGFMT" in 17078 [\\/]* | ?:[\\/]*) 17079 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17080 ;; 17081 *) 17082 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17083 for ac_dir in $PATH; do 17084 IFS="$ac_save_IFS" 17085 test -z "$ac_dir" && ac_dir=. 17086 for ac_exec_ext in '' $ac_executable_extensions; do 17087 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17088 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17089 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17090 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17091 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17092 break 2 17093 fi 17094 fi 17095 done 17096 done 17097 IFS="$ac_save_IFS" 17098 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17099 ;; 17100esac 17101fi 17102MSGFMT="$ac_cv_path_MSGFMT" 17103if test "$MSGFMT" != ":"; then 17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17105$as_echo "$MSGFMT" >&6; } 17106else 17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17108$as_echo "no" >&6; } 17109fi 17110 17111 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17112set dummy gmsgfmt; ac_word=$2 17113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17114$as_echo_n "checking for $ac_word... " >&6; } 17115if ${ac_cv_path_GMSGFMT+:} false; then : 17116 $as_echo_n "(cached) " >&6 17117else 17118 case $GMSGFMT in 17119 [\\/]* | ?:[\\/]*) 17120 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17121 ;; 17122 *) 17123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17124for as_dir in $PATH 17125do 17126 IFS=$as_save_IFS 17127 test -z "$as_dir" && as_dir=. 17128 for ac_exec_ext in '' $ac_executable_extensions; do 17129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17130 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17132 break 2 17133 fi 17134done 17135 done 17136IFS=$as_save_IFS 17137 17138 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17139 ;; 17140esac 17141fi 17142GMSGFMT=$ac_cv_path_GMSGFMT 17143if test -n "$GMSGFMT"; then 17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17145$as_echo "$GMSGFMT" >&6; } 17146else 17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17148$as_echo "no" >&6; } 17149fi 17150 17151 17152 17153 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17154 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17155 *) MSGFMT_015=$MSGFMT ;; 17156 esac 17157 17158 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17159 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17160 *) GMSGFMT_015=$GMSGFMT ;; 17161 esac 17162 17163 17164 17165# Prepare PATH_SEPARATOR. 17166# The user is always right. 17167if test "${PATH_SEPARATOR+set}" != set; then 17168 echo "#! /bin/sh" >conf$$.sh 17169 echo "exit 0" >>conf$$.sh 17170 chmod +x conf$$.sh 17171 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17172 PATH_SEPARATOR=';' 17173 else 17174 PATH_SEPARATOR=: 17175 fi 17176 rm -f conf$$.sh 17177fi 17178 17179# Find out how to test for executable files. Don't use a zero-byte file, 17180# as systems may use methods other than mode bits to determine executability. 17181cat >conf$$.file <<_ASEOF 17182#! /bin/sh 17183exit 0 17184_ASEOF 17185chmod +x conf$$.file 17186if test -x conf$$.file >/dev/null 2>&1; then 17187 ac_executable_p="test -x" 17188else 17189 ac_executable_p="test -f" 17190fi 17191rm -f conf$$.file 17192 17193# Extract the first word of "xgettext", so it can be a program name with args. 17194set dummy xgettext; ac_word=$2 17195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17196$as_echo_n "checking for $ac_word... " >&6; } 17197if ${ac_cv_path_XGETTEXT+:} false; then : 17198 $as_echo_n "(cached) " >&6 17199else 17200 case "$XGETTEXT" in 17201 [\\/]* | ?:[\\/]*) 17202 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17203 ;; 17204 *) 17205 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17206 for ac_dir in $PATH; do 17207 IFS="$ac_save_IFS" 17208 test -z "$ac_dir" && ac_dir=. 17209 for ac_exec_ext in '' $ac_executable_extensions; do 17210 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17211 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17212 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17213 (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 17214 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17215 break 2 17216 fi 17217 fi 17218 done 17219 done 17220 IFS="$ac_save_IFS" 17221 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17222 ;; 17223esac 17224fi 17225XGETTEXT="$ac_cv_path_XGETTEXT" 17226if test "$XGETTEXT" != ":"; then 17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17228$as_echo "$XGETTEXT" >&6; } 17229else 17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17231$as_echo "no" >&6; } 17232fi 17233 17234 rm -f messages.po 17235 17236 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17237 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17238 *) XGETTEXT_015=$XGETTEXT ;; 17239 esac 17240 17241 17242 17243# Prepare PATH_SEPARATOR. 17244# The user is always right. 17245if test "${PATH_SEPARATOR+set}" != set; then 17246 echo "#! /bin/sh" >conf$$.sh 17247 echo "exit 0" >>conf$$.sh 17248 chmod +x conf$$.sh 17249 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17250 PATH_SEPARATOR=';' 17251 else 17252 PATH_SEPARATOR=: 17253 fi 17254 rm -f conf$$.sh 17255fi 17256 17257# Find out how to test for executable files. Don't use a zero-byte file, 17258# as systems may use methods other than mode bits to determine executability. 17259cat >conf$$.file <<_ASEOF 17260#! /bin/sh 17261exit 0 17262_ASEOF 17263chmod +x conf$$.file 17264if test -x conf$$.file >/dev/null 2>&1; then 17265 ac_executable_p="test -x" 17266else 17267 ac_executable_p="test -f" 17268fi 17269rm -f conf$$.file 17270 17271# Extract the first word of "msgmerge", so it can be a program name with args. 17272set dummy msgmerge; ac_word=$2 17273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17274$as_echo_n "checking for $ac_word... " >&6; } 17275if ${ac_cv_path_MSGMERGE+:} false; then : 17276 $as_echo_n "(cached) " >&6 17277else 17278 case "$MSGMERGE" in 17279 [\\/]* | ?:[\\/]*) 17280 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17281 ;; 17282 *) 17283 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17284 for ac_dir in $PATH; do 17285 IFS="$ac_save_IFS" 17286 test -z "$ac_dir" && ac_dir=. 17287 for ac_exec_ext in '' $ac_executable_extensions; do 17288 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17289 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17290 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17291 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17292 break 2 17293 fi 17294 fi 17295 done 17296 done 17297 IFS="$ac_save_IFS" 17298 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17299 ;; 17300esac 17301fi 17302MSGMERGE="$ac_cv_path_MSGMERGE" 17303if test "$MSGMERGE" != ":"; then 17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17305$as_echo "$MSGMERGE" >&6; } 17306else 17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17308$as_echo "no" >&6; } 17309fi 17310 17311 17312 test -n "$localedir" || localedir='${datadir}/locale' 17313 17314 17315 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17316 17317 17318 ac_config_commands="$ac_config_commands po-directories" 17319 17320 17321 17322 if test "X$prefix" = "XNONE"; then 17323 acl_final_prefix="$ac_default_prefix" 17324 else 17325 acl_final_prefix="$prefix" 17326 fi 17327 if test "X$exec_prefix" = "XNONE"; then 17328 acl_final_exec_prefix='${prefix}' 17329 else 17330 acl_final_exec_prefix="$exec_prefix" 17331 fi 17332 acl_save_prefix="$prefix" 17333 prefix="$acl_final_prefix" 17334 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17335 prefix="$acl_save_prefix" 17336 17337 17338# Check whether --with-gnu-ld was given. 17339if test "${with_gnu_ld+set}" = set; then : 17340 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17341else 17342 with_gnu_ld=no 17343fi 17344 17345# Prepare PATH_SEPARATOR. 17346# The user is always right. 17347if test "${PATH_SEPARATOR+set}" != set; then 17348 echo "#! /bin/sh" >conf$$.sh 17349 echo "exit 0" >>conf$$.sh 17350 chmod +x conf$$.sh 17351 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17352 PATH_SEPARATOR=';' 17353 else 17354 PATH_SEPARATOR=: 17355 fi 17356 rm -f conf$$.sh 17357fi 17358ac_prog=ld 17359if test "$GCC" = yes; then 17360 # Check if gcc -print-prog-name=ld gives a path. 17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17362$as_echo_n "checking for ld used by GCC... " >&6; } 17363 case $host in 17364 *-*-mingw*) 17365 # gcc leaves a trailing carriage return which upsets mingw 17366 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17367 *) 17368 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17369 esac 17370 case $ac_prog in 17371 # Accept absolute paths. 17372 [\\/]* | [A-Za-z]:[\\/]*) 17373 re_direlt='/[^/][^/]*/\.\./' 17374 # Canonicalize the path of ld 17375 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17376 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17377 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17378 done 17379 test -z "$LD" && LD="$ac_prog" 17380 ;; 17381 "") 17382 # If it fails, then pretend we aren't using GCC. 17383 ac_prog=ld 17384 ;; 17385 *) 17386 # If it is relative, then search for the first ld in PATH. 17387 with_gnu_ld=unknown 17388 ;; 17389 esac 17390elif test "$with_gnu_ld" = yes; then 17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17392$as_echo_n "checking for GNU ld... " >&6; } 17393else 17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17395$as_echo_n "checking for non-GNU ld... " >&6; } 17396fi 17397if ${acl_cv_path_LD+:} false; then : 17398 $as_echo_n "(cached) " >&6 17399else 17400 if test -z "$LD"; then 17401 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17402 for ac_dir in $PATH; do 17403 test -z "$ac_dir" && ac_dir=. 17404 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17405 acl_cv_path_LD="$ac_dir/$ac_prog" 17406 # Check to see if the program is GNU ld. I'd rather use --version, 17407 # but apparently some GNU ld's only accept -v. 17408 # Break only if it was the GNU/non-GNU ld that we prefer. 17409 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17410 *GNU* | *'with BFD'*) 17411 test "$with_gnu_ld" != no && break ;; 17412 *) 17413 test "$with_gnu_ld" != yes && break ;; 17414 esac 17415 fi 17416 done 17417 IFS="$ac_save_ifs" 17418else 17419 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17420fi 17421fi 17422 17423LD="$acl_cv_path_LD" 17424if test -n "$LD"; then 17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17426$as_echo "$LD" >&6; } 17427else 17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17429$as_echo "no" >&6; } 17430fi 17431test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17433$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17434if ${acl_cv_prog_gnu_ld+:} false; then : 17435 $as_echo_n "(cached) " >&6 17436else 17437 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17438case `$LD -v 2>&1 </dev/null` in 17439*GNU* | *'with BFD'*) 17440 acl_cv_prog_gnu_ld=yes ;; 17441*) 17442 acl_cv_prog_gnu_ld=no ;; 17443esac 17444fi 17445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17446$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17447with_gnu_ld=$acl_cv_prog_gnu_ld 17448 17449 17450 17451 17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17453$as_echo_n "checking for shared library run path origin... " >&6; } 17454if ${acl_cv_rpath+:} false; then : 17455 $as_echo_n "(cached) " >&6 17456else 17457 17458 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17459 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17460 . ./conftest.sh 17461 rm -f ./conftest.sh 17462 acl_cv_rpath=done 17463 17464fi 17465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17466$as_echo "$acl_cv_rpath" >&6; } 17467 wl="$acl_cv_wl" 17468 acl_libext="$acl_cv_libext" 17469 acl_shlibext="$acl_cv_shlibext" 17470 acl_libname_spec="$acl_cv_libname_spec" 17471 acl_library_names_spec="$acl_cv_library_names_spec" 17472 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17473 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17474 acl_hardcode_direct="$acl_cv_hardcode_direct" 17475 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17476 # Check whether --enable-rpath was given. 17477if test "${enable_rpath+set}" = set; then : 17478 enableval=$enable_rpath; : 17479else 17480 enable_rpath=yes 17481fi 17482 17483 17484 17485 17486 acl_libdirstem=lib 17487 acl_libdirstem2= 17488 case "$host_os" in 17489 solaris*) 17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17491$as_echo_n "checking for 64-bit host... " >&6; } 17492if ${gl_cv_solaris_64bit+:} false; then : 17493 $as_echo_n "(cached) " >&6 17494else 17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17496/* end confdefs.h. */ 17497 17498#ifdef _LP64 17499sixtyfour bits 17500#endif 17501 17502_ACEOF 17503if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17504 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17505 gl_cv_solaris_64bit=yes 17506else 17507 gl_cv_solaris_64bit=no 17508fi 17509rm -f conftest* 17510 17511 17512fi 17513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17514$as_echo "$gl_cv_solaris_64bit" >&6; } 17515 if test $gl_cv_solaris_64bit = yes; then 17516 acl_libdirstem=lib/64 17517 case "$host_cpu" in 17518 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17519 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17520 esac 17521 fi 17522 ;; 17523 *) 17524 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17525 if test -n "$searchpath"; then 17526 acl_save_IFS="${IFS= }"; IFS=":" 17527 for searchdir in $searchpath; do 17528 if test -d "$searchdir"; then 17529 case "$searchdir" in 17530 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17531 */../ | */.. ) 17532 # Better ignore directories of this form. They are misleading. 17533 ;; 17534 *) searchdir=`cd "$searchdir" && pwd` 17535 case "$searchdir" in 17536 */lib64 ) acl_libdirstem=lib64 ;; 17537 esac ;; 17538 esac 17539 fi 17540 done 17541 IFS="$acl_save_IFS" 17542 fi 17543 ;; 17544 esac 17545 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 use_additional=yes 17559 17560 acl_save_prefix="$prefix" 17561 prefix="$acl_final_prefix" 17562 acl_save_exec_prefix="$exec_prefix" 17563 exec_prefix="$acl_final_exec_prefix" 17564 17565 eval additional_includedir=\"$includedir\" 17566 eval additional_libdir=\"$libdir\" 17567 17568 exec_prefix="$acl_save_exec_prefix" 17569 prefix="$acl_save_prefix" 17570 17571 17572# Check whether --with-libiconv-prefix was given. 17573if test "${with_libiconv_prefix+set}" = set; then : 17574 withval=$with_libiconv_prefix; 17575 if test "X$withval" = "Xno"; then 17576 use_additional=no 17577 else 17578 if test "X$withval" = "X"; then 17579 17580 acl_save_prefix="$prefix" 17581 prefix="$acl_final_prefix" 17582 acl_save_exec_prefix="$exec_prefix" 17583 exec_prefix="$acl_final_exec_prefix" 17584 17585 eval additional_includedir=\"$includedir\" 17586 eval additional_libdir=\"$libdir\" 17587 17588 exec_prefix="$acl_save_exec_prefix" 17589 prefix="$acl_save_prefix" 17590 17591 else 17592 additional_includedir="$withval/include" 17593 additional_libdir="$withval/$acl_libdirstem" 17594 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17595 && ! test -d "$withval/$acl_libdirstem"; then 17596 additional_libdir="$withval/$acl_libdirstem2" 17597 fi 17598 fi 17599 fi 17600 17601fi 17602 17603 LIBICONV= 17604 LTLIBICONV= 17605 INCICONV= 17606 LIBICONV_PREFIX= 17607 HAVE_LIBICONV= 17608 rpathdirs= 17609 ltrpathdirs= 17610 names_already_handled= 17611 names_next_round='iconv ' 17612 while test -n "$names_next_round"; do 17613 names_this_round="$names_next_round" 17614 names_next_round= 17615 for name in $names_this_round; do 17616 already_handled= 17617 for n in $names_already_handled; do 17618 if test "$n" = "$name"; then 17619 already_handled=yes 17620 break 17621 fi 17622 done 17623 if test -z "$already_handled"; then 17624 names_already_handled="$names_already_handled $name" 17625 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17626 eval value=\"\$HAVE_LIB$uppername\" 17627 if test -n "$value"; then 17628 if test "$value" = yes; then 17629 eval value=\"\$LIB$uppername\" 17630 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17631 eval value=\"\$LTLIB$uppername\" 17632 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17633 else 17634 : 17635 fi 17636 else 17637 found_dir= 17638 found_la= 17639 found_so= 17640 found_a= 17641 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17642 if test -n "$acl_shlibext"; then 17643 shrext=".$acl_shlibext" # typically: shrext=.so 17644 else 17645 shrext= 17646 fi 17647 if test $use_additional = yes; then 17648 dir="$additional_libdir" 17649 if test -n "$acl_shlibext"; then 17650 if test -f "$dir/$libname$shrext"; then 17651 found_dir="$dir" 17652 found_so="$dir/$libname$shrext" 17653 else 17654 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17655 ver=`(cd "$dir" && \ 17656 for f in "$libname$shrext".*; do echo "$f"; done \ 17657 | sed -e "s,^$libname$shrext\\\\.,," \ 17658 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17659 | sed 1q ) 2>/dev/null` 17660 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17661 found_dir="$dir" 17662 found_so="$dir/$libname$shrext.$ver" 17663 fi 17664 else 17665 eval library_names=\"$acl_library_names_spec\" 17666 for f in $library_names; do 17667 if test -f "$dir/$f"; then 17668 found_dir="$dir" 17669 found_so="$dir/$f" 17670 break 17671 fi 17672 done 17673 fi 17674 fi 17675 fi 17676 if test "X$found_dir" = "X"; then 17677 if test -f "$dir/$libname.$acl_libext"; then 17678 found_dir="$dir" 17679 found_a="$dir/$libname.$acl_libext" 17680 fi 17681 fi 17682 if test "X$found_dir" != "X"; then 17683 if test -f "$dir/$libname.la"; then 17684 found_la="$dir/$libname.la" 17685 fi 17686 fi 17687 fi 17688 if test "X$found_dir" = "X"; then 17689 for x in $LDFLAGS $LTLIBICONV; do 17690 17691 acl_save_prefix="$prefix" 17692 prefix="$acl_final_prefix" 17693 acl_save_exec_prefix="$exec_prefix" 17694 exec_prefix="$acl_final_exec_prefix" 17695 eval x=\"$x\" 17696 exec_prefix="$acl_save_exec_prefix" 17697 prefix="$acl_save_prefix" 17698 17699 case "$x" in 17700 -L*) 17701 dir=`echo "X$x" | sed -e 's/^X-L//'` 17702 if test -n "$acl_shlibext"; then 17703 if test -f "$dir/$libname$shrext"; then 17704 found_dir="$dir" 17705 found_so="$dir/$libname$shrext" 17706 else 17707 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17708 ver=`(cd "$dir" && \ 17709 for f in "$libname$shrext".*; do echo "$f"; done \ 17710 | sed -e "s,^$libname$shrext\\\\.,," \ 17711 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17712 | sed 1q ) 2>/dev/null` 17713 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17714 found_dir="$dir" 17715 found_so="$dir/$libname$shrext.$ver" 17716 fi 17717 else 17718 eval library_names=\"$acl_library_names_spec\" 17719 for f in $library_names; do 17720 if test -f "$dir/$f"; then 17721 found_dir="$dir" 17722 found_so="$dir/$f" 17723 break 17724 fi 17725 done 17726 fi 17727 fi 17728 fi 17729 if test "X$found_dir" = "X"; then 17730 if test -f "$dir/$libname.$acl_libext"; then 17731 found_dir="$dir" 17732 found_a="$dir/$libname.$acl_libext" 17733 fi 17734 fi 17735 if test "X$found_dir" != "X"; then 17736 if test -f "$dir/$libname.la"; then 17737 found_la="$dir/$libname.la" 17738 fi 17739 fi 17740 ;; 17741 esac 17742 if test "X$found_dir" != "X"; then 17743 break 17744 fi 17745 done 17746 fi 17747 if test "X$found_dir" != "X"; then 17748 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17749 if test "X$found_so" != "X"; then 17750 if test "$enable_rpath" = no \ 17751 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17752 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17753 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17754 else 17755 haveit= 17756 for x in $ltrpathdirs; do 17757 if test "X$x" = "X$found_dir"; then 17758 haveit=yes 17759 break 17760 fi 17761 done 17762 if test -z "$haveit"; then 17763 ltrpathdirs="$ltrpathdirs $found_dir" 17764 fi 17765 if test "$acl_hardcode_direct" = yes; then 17766 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17767 else 17768 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17769 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17770 haveit= 17771 for x in $rpathdirs; do 17772 if test "X$x" = "X$found_dir"; then 17773 haveit=yes 17774 break 17775 fi 17776 done 17777 if test -z "$haveit"; then 17778 rpathdirs="$rpathdirs $found_dir" 17779 fi 17780 else 17781 haveit= 17782 for x in $LDFLAGS $LIBICONV; do 17783 17784 acl_save_prefix="$prefix" 17785 prefix="$acl_final_prefix" 17786 acl_save_exec_prefix="$exec_prefix" 17787 exec_prefix="$acl_final_exec_prefix" 17788 eval x=\"$x\" 17789 exec_prefix="$acl_save_exec_prefix" 17790 prefix="$acl_save_prefix" 17791 17792 if test "X$x" = "X-L$found_dir"; then 17793 haveit=yes 17794 break 17795 fi 17796 done 17797 if test -z "$haveit"; then 17798 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17799 fi 17800 if test "$acl_hardcode_minus_L" != no; then 17801 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17802 else 17803 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17804 fi 17805 fi 17806 fi 17807 fi 17808 else 17809 if test "X$found_a" != "X"; then 17810 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17811 else 17812 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17813 fi 17814 fi 17815 additional_includedir= 17816 case "$found_dir" in 17817 */$acl_libdirstem | */$acl_libdirstem/) 17818 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17819 if test "$name" = 'iconv'; then 17820 LIBICONV_PREFIX="$basedir" 17821 fi 17822 additional_includedir="$basedir/include" 17823 ;; 17824 */$acl_libdirstem2 | */$acl_libdirstem2/) 17825 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17826 if test "$name" = 'iconv'; then 17827 LIBICONV_PREFIX="$basedir" 17828 fi 17829 additional_includedir="$basedir/include" 17830 ;; 17831 esac 17832 if test "X$additional_includedir" != "X"; then 17833 if test "X$additional_includedir" != "X/usr/include"; then 17834 haveit= 17835 if test "X$additional_includedir" = "X/usr/local/include"; then 17836 if test -n "$GCC"; then 17837 case $host_os in 17838 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17839 esac 17840 fi 17841 fi 17842 if test -z "$haveit"; then 17843 for x in $CPPFLAGS $INCICONV; do 17844 17845 acl_save_prefix="$prefix" 17846 prefix="$acl_final_prefix" 17847 acl_save_exec_prefix="$exec_prefix" 17848 exec_prefix="$acl_final_exec_prefix" 17849 eval x=\"$x\" 17850 exec_prefix="$acl_save_exec_prefix" 17851 prefix="$acl_save_prefix" 17852 17853 if test "X$x" = "X-I$additional_includedir"; then 17854 haveit=yes 17855 break 17856 fi 17857 done 17858 if test -z "$haveit"; then 17859 if test -d "$additional_includedir"; then 17860 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17861 fi 17862 fi 17863 fi 17864 fi 17865 fi 17866 if test -n "$found_la"; then 17867 save_libdir="$libdir" 17868 case "$found_la" in 17869 */* | *\\*) . "$found_la" ;; 17870 *) . "./$found_la" ;; 17871 esac 17872 libdir="$save_libdir" 17873 for dep in $dependency_libs; do 17874 case "$dep" in 17875 -L*) 17876 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17877 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17878 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17879 haveit= 17880 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17881 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; 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 haveit= 17890 for x in $LDFLAGS $LIBICONV; do 17891 17892 acl_save_prefix="$prefix" 17893 prefix="$acl_final_prefix" 17894 acl_save_exec_prefix="$exec_prefix" 17895 exec_prefix="$acl_final_exec_prefix" 17896 eval x=\"$x\" 17897 exec_prefix="$acl_save_exec_prefix" 17898 prefix="$acl_save_prefix" 17899 17900 if test "X$x" = "X-L$additional_libdir"; then 17901 haveit=yes 17902 break 17903 fi 17904 done 17905 if test -z "$haveit"; then 17906 if test -d "$additional_libdir"; then 17907 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17908 fi 17909 fi 17910 haveit= 17911 for x in $LDFLAGS $LTLIBICONV; do 17912 17913 acl_save_prefix="$prefix" 17914 prefix="$acl_final_prefix" 17915 acl_save_exec_prefix="$exec_prefix" 17916 exec_prefix="$acl_final_exec_prefix" 17917 eval x=\"$x\" 17918 exec_prefix="$acl_save_exec_prefix" 17919 prefix="$acl_save_prefix" 17920 17921 if test "X$x" = "X-L$additional_libdir"; then 17922 haveit=yes 17923 break 17924 fi 17925 done 17926 if test -z "$haveit"; then 17927 if test -d "$additional_libdir"; then 17928 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17929 fi 17930 fi 17931 fi 17932 fi 17933 ;; 17934 -R*) 17935 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17936 if test "$enable_rpath" != no; then 17937 haveit= 17938 for x in $rpathdirs; do 17939 if test "X$x" = "X$dir"; then 17940 haveit=yes 17941 break 17942 fi 17943 done 17944 if test -z "$haveit"; then 17945 rpathdirs="$rpathdirs $dir" 17946 fi 17947 haveit= 17948 for x in $ltrpathdirs; do 17949 if test "X$x" = "X$dir"; then 17950 haveit=yes 17951 break 17952 fi 17953 done 17954 if test -z "$haveit"; then 17955 ltrpathdirs="$ltrpathdirs $dir" 17956 fi 17957 fi 17958 ;; 17959 -l*) 17960 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 17961 ;; 17962 *.la) 17963 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 17964 ;; 17965 *) 17966 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 17967 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 17968 ;; 17969 esac 17970 done 17971 fi 17972 else 17973 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17974 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 17975 fi 17976 fi 17977 fi 17978 done 17979 done 17980 if test "X$rpathdirs" != "X"; then 17981 if test -n "$acl_hardcode_libdir_separator"; then 17982 alldirs= 17983 for found_dir in $rpathdirs; do 17984 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 17985 done 17986 acl_save_libdir="$libdir" 17987 libdir="$alldirs" 17988 eval flag=\"$acl_hardcode_libdir_flag_spec\" 17989 libdir="$acl_save_libdir" 17990 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 17991 else 17992 for found_dir in $rpathdirs; do 17993 acl_save_libdir="$libdir" 17994 libdir="$found_dir" 17995 eval flag=\"$acl_hardcode_libdir_flag_spec\" 17996 libdir="$acl_save_libdir" 17997 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 17998 done 17999 fi 18000 fi 18001 if test "X$ltrpathdirs" != "X"; then 18002 for found_dir in $ltrpathdirs; do 18003 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18004 done 18005 fi 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18038$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18039if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18040 $as_echo_n "(cached) " >&6 18041else 18042 gt_save_LIBS="$LIBS" 18043 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18045/* end confdefs.h. */ 18046#include <CoreFoundation/CFPreferences.h> 18047int 18048main () 18049{ 18050CFPreferencesCopyAppValue(NULL, NULL) 18051 ; 18052 return 0; 18053} 18054_ACEOF 18055if ac_fn_c_try_link "$LINENO"; then : 18056 gt_cv_func_CFPreferencesCopyAppValue=yes 18057else 18058 gt_cv_func_CFPreferencesCopyAppValue=no 18059fi 18060rm -f core conftest.err conftest.$ac_objext \ 18061 conftest$ac_exeext conftest.$ac_ext 18062 LIBS="$gt_save_LIBS" 18063fi 18064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18065$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18066 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18067 18068$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18069 18070 fi 18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18072$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18073if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18074 $as_echo_n "(cached) " >&6 18075else 18076 gt_save_LIBS="$LIBS" 18077 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18079/* end confdefs.h. */ 18080#include <CoreFoundation/CFLocale.h> 18081int 18082main () 18083{ 18084CFLocaleCopyCurrent(); 18085 ; 18086 return 0; 18087} 18088_ACEOF 18089if ac_fn_c_try_link "$LINENO"; then : 18090 gt_cv_func_CFLocaleCopyCurrent=yes 18091else 18092 gt_cv_func_CFLocaleCopyCurrent=no 18093fi 18094rm -f core conftest.err conftest.$ac_objext \ 18095 conftest$ac_exeext conftest.$ac_ext 18096 LIBS="$gt_save_LIBS" 18097fi 18098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18099$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18100 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18101 18102$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18103 18104 fi 18105 INTL_MACOSX_LIBS= 18106 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18107 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18108 fi 18109 18110 18111 18112 18113 18114 18115 LIBINTL= 18116 LTLIBINTL= 18117 POSUB= 18118 18119 case " $gt_needs " in 18120 *" need-formatstring-macros "*) gt_api_version=3 ;; 18121 *" need-ngettext "*) gt_api_version=2 ;; 18122 *) gt_api_version=1 ;; 18123 esac 18124 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18125 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18126 18127 if test "$USE_NLS" = "yes"; then 18128 gt_use_preinstalled_gnugettext=no 18129 18130 18131 if test $gt_api_version -ge 3; then 18132 gt_revision_test_code=' 18133#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18134#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18135#endif 18136typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18137' 18138 else 18139 gt_revision_test_code= 18140 fi 18141 if test $gt_api_version -ge 2; then 18142 gt_expression_test_code=' + * ngettext ("", "", 0)' 18143 else 18144 gt_expression_test_code= 18145 fi 18146 18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18148$as_echo_n "checking for GNU gettext in libc... " >&6; } 18149if eval \${$gt_func_gnugettext_libc+:} false; then : 18150 $as_echo_n "(cached) " >&6 18151else 18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18153/* end confdefs.h. */ 18154#include <libintl.h> 18155$gt_revision_test_code 18156extern int _nl_msg_cat_cntr; 18157extern int *_nl_domain_bindings; 18158int 18159main () 18160{ 18161bindtextdomain ("", ""); 18162return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18163 ; 18164 return 0; 18165} 18166_ACEOF 18167if ac_fn_c_try_link "$LINENO"; then : 18168 eval "$gt_func_gnugettext_libc=yes" 18169else 18170 eval "$gt_func_gnugettext_libc=no" 18171fi 18172rm -f core conftest.err conftest.$ac_objext \ 18173 conftest$ac_exeext conftest.$ac_ext 18174fi 18175eval ac_res=\$$gt_func_gnugettext_libc 18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18177$as_echo "$ac_res" >&6; } 18178 18179 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18180 18181 18182 18183 18184 18185 am_save_CPPFLAGS="$CPPFLAGS" 18186 18187 for element in $INCICONV; do 18188 haveit= 18189 for x in $CPPFLAGS; do 18190 18191 acl_save_prefix="$prefix" 18192 prefix="$acl_final_prefix" 18193 acl_save_exec_prefix="$exec_prefix" 18194 exec_prefix="$acl_final_exec_prefix" 18195 eval x=\"$x\" 18196 exec_prefix="$acl_save_exec_prefix" 18197 prefix="$acl_save_prefix" 18198 18199 if test "X$x" = "X$element"; then 18200 haveit=yes 18201 break 18202 fi 18203 done 18204 if test -z "$haveit"; then 18205 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18206 fi 18207 done 18208 18209 18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18211$as_echo_n "checking for iconv... " >&6; } 18212if ${am_cv_func_iconv+:} false; then : 18213 $as_echo_n "(cached) " >&6 18214else 18215 18216 am_cv_func_iconv="no, consider installing GNU libiconv" 18217 am_cv_lib_iconv=no 18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18219/* end confdefs.h. */ 18220#include <stdlib.h> 18221#include <iconv.h> 18222int 18223main () 18224{ 18225iconv_t cd = iconv_open("",""); 18226 iconv(cd,NULL,NULL,NULL,NULL); 18227 iconv_close(cd); 18228 ; 18229 return 0; 18230} 18231_ACEOF 18232if ac_fn_c_try_link "$LINENO"; then : 18233 am_cv_func_iconv=yes 18234fi 18235rm -f core conftest.err conftest.$ac_objext \ 18236 conftest$ac_exeext conftest.$ac_ext 18237 if test "$am_cv_func_iconv" != yes; then 18238 am_save_LIBS="$LIBS" 18239 LIBS="$LIBS $LIBICONV" 18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18241/* end confdefs.h. */ 18242#include <stdlib.h> 18243#include <iconv.h> 18244int 18245main () 18246{ 18247iconv_t cd = iconv_open("",""); 18248 iconv(cd,NULL,NULL,NULL,NULL); 18249 iconv_close(cd); 18250 ; 18251 return 0; 18252} 18253_ACEOF 18254if ac_fn_c_try_link "$LINENO"; then : 18255 am_cv_lib_iconv=yes 18256 am_cv_func_iconv=yes 18257fi 18258rm -f core conftest.err conftest.$ac_objext \ 18259 conftest$ac_exeext conftest.$ac_ext 18260 LIBS="$am_save_LIBS" 18261 fi 18262 18263fi 18264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18265$as_echo "$am_cv_func_iconv" >&6; } 18266 if test "$am_cv_func_iconv" = yes; then 18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18268$as_echo_n "checking for working iconv... " >&6; } 18269if ${am_cv_func_iconv_works+:} false; then : 18270 $as_echo_n "(cached) " >&6 18271else 18272 18273 am_save_LIBS="$LIBS" 18274 if test $am_cv_lib_iconv = yes; then 18275 LIBS="$LIBS $LIBICONV" 18276 fi 18277 if test "$cross_compiling" = yes; then : 18278 case "$host_os" in 18279 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18280 *) am_cv_func_iconv_works="guessing yes" ;; 18281 esac 18282else 18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18284/* end confdefs.h. */ 18285 18286#include <iconv.h> 18287#include <string.h> 18288int main () 18289{ 18290 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18291 returns. */ 18292 { 18293 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18294 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18295 { 18296 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18297 char buf[10]; 18298 const char *inptr = input; 18299 size_t inbytesleft = strlen (input); 18300 char *outptr = buf; 18301 size_t outbytesleft = sizeof (buf); 18302 size_t res = iconv (cd_utf8_to_88591, 18303 (char **) &inptr, &inbytesleft, 18304 &outptr, &outbytesleft); 18305 if (res == 0) 18306 return 1; 18307 } 18308 } 18309 /* Test against Solaris 10 bug: Failures are not distinguishable from 18310 successful returns. */ 18311 { 18312 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18313 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18314 { 18315 static const char input[] = "\263"; 18316 char buf[10]; 18317 const char *inptr = input; 18318 size_t inbytesleft = strlen (input); 18319 char *outptr = buf; 18320 size_t outbytesleft = sizeof (buf); 18321 size_t res = iconv (cd_ascii_to_88591, 18322 (char **) &inptr, &inbytesleft, 18323 &outptr, &outbytesleft); 18324 if (res == 0) 18325 return 1; 18326 } 18327 } 18328#if 0 /* This bug could be worked around by the caller. */ 18329 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18330 { 18331 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18332 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18333 { 18334 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18335 char buf[50]; 18336 const char *inptr = input; 18337 size_t inbytesleft = strlen (input); 18338 char *outptr = buf; 18339 size_t outbytesleft = sizeof (buf); 18340 size_t res = iconv (cd_88591_to_utf8, 18341 (char **) &inptr, &inbytesleft, 18342 &outptr, &outbytesleft); 18343 if ((int)res > 0) 18344 return 1; 18345 } 18346 } 18347#endif 18348 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18349 provided. */ 18350 if (/* Try standardized names. */ 18351 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18352 /* Try IRIX, OSF/1 names. */ 18353 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18354 /* Try AIX names. */ 18355 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18356 /* Try HP-UX names. */ 18357 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18358 return 1; 18359 return 0; 18360} 18361_ACEOF 18362if ac_fn_c_try_run "$LINENO"; then : 18363 am_cv_func_iconv_works=yes 18364else 18365 am_cv_func_iconv_works=no 18366fi 18367rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18368 conftest.$ac_objext conftest.beam conftest.$ac_ext 18369fi 18370 18371 LIBS="$am_save_LIBS" 18372 18373fi 18374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18375$as_echo "$am_cv_func_iconv_works" >&6; } 18376 case "$am_cv_func_iconv_works" in 18377 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18378 *) am_func_iconv=yes ;; 18379 esac 18380 else 18381 am_func_iconv=no am_cv_lib_iconv=no 18382 fi 18383 if test "$am_func_iconv" = yes; then 18384 18385$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18386 18387 fi 18388 if test "$am_cv_lib_iconv" = yes; then 18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18390$as_echo_n "checking how to link with libiconv... " >&6; } 18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18392$as_echo "$LIBICONV" >&6; } 18393 else 18394 CPPFLAGS="$am_save_CPPFLAGS" 18395 LIBICONV= 18396 LTLIBICONV= 18397 fi 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 use_additional=yes 18410 18411 acl_save_prefix="$prefix" 18412 prefix="$acl_final_prefix" 18413 acl_save_exec_prefix="$exec_prefix" 18414 exec_prefix="$acl_final_exec_prefix" 18415 18416 eval additional_includedir=\"$includedir\" 18417 eval additional_libdir=\"$libdir\" 18418 18419 exec_prefix="$acl_save_exec_prefix" 18420 prefix="$acl_save_prefix" 18421 18422 18423# Check whether --with-libintl-prefix was given. 18424if test "${with_libintl_prefix+set}" = set; then : 18425 withval=$with_libintl_prefix; 18426 if test "X$withval" = "Xno"; then 18427 use_additional=no 18428 else 18429 if test "X$withval" = "X"; then 18430 18431 acl_save_prefix="$prefix" 18432 prefix="$acl_final_prefix" 18433 acl_save_exec_prefix="$exec_prefix" 18434 exec_prefix="$acl_final_exec_prefix" 18435 18436 eval additional_includedir=\"$includedir\" 18437 eval additional_libdir=\"$libdir\" 18438 18439 exec_prefix="$acl_save_exec_prefix" 18440 prefix="$acl_save_prefix" 18441 18442 else 18443 additional_includedir="$withval/include" 18444 additional_libdir="$withval/$acl_libdirstem" 18445 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18446 && ! test -d "$withval/$acl_libdirstem"; then 18447 additional_libdir="$withval/$acl_libdirstem2" 18448 fi 18449 fi 18450 fi 18451 18452fi 18453 18454 LIBINTL= 18455 LTLIBINTL= 18456 INCINTL= 18457 LIBINTL_PREFIX= 18458 HAVE_LIBINTL= 18459 rpathdirs= 18460 ltrpathdirs= 18461 names_already_handled= 18462 names_next_round='intl ' 18463 while test -n "$names_next_round"; do 18464 names_this_round="$names_next_round" 18465 names_next_round= 18466 for name in $names_this_round; do 18467 already_handled= 18468 for n in $names_already_handled; do 18469 if test "$n" = "$name"; then 18470 already_handled=yes 18471 break 18472 fi 18473 done 18474 if test -z "$already_handled"; then 18475 names_already_handled="$names_already_handled $name" 18476 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18477 eval value=\"\$HAVE_LIB$uppername\" 18478 if test -n "$value"; then 18479 if test "$value" = yes; then 18480 eval value=\"\$LIB$uppername\" 18481 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18482 eval value=\"\$LTLIB$uppername\" 18483 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18484 else 18485 : 18486 fi 18487 else 18488 found_dir= 18489 found_la= 18490 found_so= 18491 found_a= 18492 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18493 if test -n "$acl_shlibext"; then 18494 shrext=".$acl_shlibext" # typically: shrext=.so 18495 else 18496 shrext= 18497 fi 18498 if test $use_additional = yes; then 18499 dir="$additional_libdir" 18500 if test -n "$acl_shlibext"; then 18501 if test -f "$dir/$libname$shrext"; then 18502 found_dir="$dir" 18503 found_so="$dir/$libname$shrext" 18504 else 18505 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18506 ver=`(cd "$dir" && \ 18507 for f in "$libname$shrext".*; do echo "$f"; done \ 18508 | sed -e "s,^$libname$shrext\\\\.,," \ 18509 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18510 | sed 1q ) 2>/dev/null` 18511 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18512 found_dir="$dir" 18513 found_so="$dir/$libname$shrext.$ver" 18514 fi 18515 else 18516 eval library_names=\"$acl_library_names_spec\" 18517 for f in $library_names; do 18518 if test -f "$dir/$f"; then 18519 found_dir="$dir" 18520 found_so="$dir/$f" 18521 break 18522 fi 18523 done 18524 fi 18525 fi 18526 fi 18527 if test "X$found_dir" = "X"; then 18528 if test -f "$dir/$libname.$acl_libext"; then 18529 found_dir="$dir" 18530 found_a="$dir/$libname.$acl_libext" 18531 fi 18532 fi 18533 if test "X$found_dir" != "X"; then 18534 if test -f "$dir/$libname.la"; then 18535 found_la="$dir/$libname.la" 18536 fi 18537 fi 18538 fi 18539 if test "X$found_dir" = "X"; then 18540 for x in $LDFLAGS $LTLIBINTL; do 18541 18542 acl_save_prefix="$prefix" 18543 prefix="$acl_final_prefix" 18544 acl_save_exec_prefix="$exec_prefix" 18545 exec_prefix="$acl_final_exec_prefix" 18546 eval x=\"$x\" 18547 exec_prefix="$acl_save_exec_prefix" 18548 prefix="$acl_save_prefix" 18549 18550 case "$x" in 18551 -L*) 18552 dir=`echo "X$x" | sed -e 's/^X-L//'` 18553 if test -n "$acl_shlibext"; then 18554 if test -f "$dir/$libname$shrext"; then 18555 found_dir="$dir" 18556 found_so="$dir/$libname$shrext" 18557 else 18558 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18559 ver=`(cd "$dir" && \ 18560 for f in "$libname$shrext".*; do echo "$f"; done \ 18561 | sed -e "s,^$libname$shrext\\\\.,," \ 18562 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18563 | sed 1q ) 2>/dev/null` 18564 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18565 found_dir="$dir" 18566 found_so="$dir/$libname$shrext.$ver" 18567 fi 18568 else 18569 eval library_names=\"$acl_library_names_spec\" 18570 for f in $library_names; do 18571 if test -f "$dir/$f"; then 18572 found_dir="$dir" 18573 found_so="$dir/$f" 18574 break 18575 fi 18576 done 18577 fi 18578 fi 18579 fi 18580 if test "X$found_dir" = "X"; then 18581 if test -f "$dir/$libname.$acl_libext"; then 18582 found_dir="$dir" 18583 found_a="$dir/$libname.$acl_libext" 18584 fi 18585 fi 18586 if test "X$found_dir" != "X"; then 18587 if test -f "$dir/$libname.la"; then 18588 found_la="$dir/$libname.la" 18589 fi 18590 fi 18591 ;; 18592 esac 18593 if test "X$found_dir" != "X"; then 18594 break 18595 fi 18596 done 18597 fi 18598 if test "X$found_dir" != "X"; then 18599 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18600 if test "X$found_so" != "X"; then 18601 if test "$enable_rpath" = no \ 18602 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18603 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18604 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18605 else 18606 haveit= 18607 for x in $ltrpathdirs; do 18608 if test "X$x" = "X$found_dir"; then 18609 haveit=yes 18610 break 18611 fi 18612 done 18613 if test -z "$haveit"; then 18614 ltrpathdirs="$ltrpathdirs $found_dir" 18615 fi 18616 if test "$acl_hardcode_direct" = yes; then 18617 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18618 else 18619 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18620 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18621 haveit= 18622 for x in $rpathdirs; do 18623 if test "X$x" = "X$found_dir"; then 18624 haveit=yes 18625 break 18626 fi 18627 done 18628 if test -z "$haveit"; then 18629 rpathdirs="$rpathdirs $found_dir" 18630 fi 18631 else 18632 haveit= 18633 for x in $LDFLAGS $LIBINTL; do 18634 18635 acl_save_prefix="$prefix" 18636 prefix="$acl_final_prefix" 18637 acl_save_exec_prefix="$exec_prefix" 18638 exec_prefix="$acl_final_exec_prefix" 18639 eval x=\"$x\" 18640 exec_prefix="$acl_save_exec_prefix" 18641 prefix="$acl_save_prefix" 18642 18643 if test "X$x" = "X-L$found_dir"; then 18644 haveit=yes 18645 break 18646 fi 18647 done 18648 if test -z "$haveit"; then 18649 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18650 fi 18651 if test "$acl_hardcode_minus_L" != no; then 18652 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18653 else 18654 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18655 fi 18656 fi 18657 fi 18658 fi 18659 else 18660 if test "X$found_a" != "X"; then 18661 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18662 else 18663 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18664 fi 18665 fi 18666 additional_includedir= 18667 case "$found_dir" in 18668 */$acl_libdirstem | */$acl_libdirstem/) 18669 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18670 if test "$name" = 'intl'; then 18671 LIBINTL_PREFIX="$basedir" 18672 fi 18673 additional_includedir="$basedir/include" 18674 ;; 18675 */$acl_libdirstem2 | */$acl_libdirstem2/) 18676 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18677 if test "$name" = 'intl'; then 18678 LIBINTL_PREFIX="$basedir" 18679 fi 18680 additional_includedir="$basedir/include" 18681 ;; 18682 esac 18683 if test "X$additional_includedir" != "X"; then 18684 if test "X$additional_includedir" != "X/usr/include"; then 18685 haveit= 18686 if test "X$additional_includedir" = "X/usr/local/include"; then 18687 if test -n "$GCC"; then 18688 case $host_os in 18689 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18690 esac 18691 fi 18692 fi 18693 if test -z "$haveit"; then 18694 for x in $CPPFLAGS $INCINTL; do 18695 18696 acl_save_prefix="$prefix" 18697 prefix="$acl_final_prefix" 18698 acl_save_exec_prefix="$exec_prefix" 18699 exec_prefix="$acl_final_exec_prefix" 18700 eval x=\"$x\" 18701 exec_prefix="$acl_save_exec_prefix" 18702 prefix="$acl_save_prefix" 18703 18704 if test "X$x" = "X-I$additional_includedir"; then 18705 haveit=yes 18706 break 18707 fi 18708 done 18709 if test -z "$haveit"; then 18710 if test -d "$additional_includedir"; then 18711 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18712 fi 18713 fi 18714 fi 18715 fi 18716 fi 18717 if test -n "$found_la"; then 18718 save_libdir="$libdir" 18719 case "$found_la" in 18720 */* | *\\*) . "$found_la" ;; 18721 *) . "./$found_la" ;; 18722 esac 18723 libdir="$save_libdir" 18724 for dep in $dependency_libs; do 18725 case "$dep" in 18726 -L*) 18727 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18728 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18729 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18730 haveit= 18731 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18732 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; 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 haveit= 18741 for x in $LDFLAGS $LIBINTL; do 18742 18743 acl_save_prefix="$prefix" 18744 prefix="$acl_final_prefix" 18745 acl_save_exec_prefix="$exec_prefix" 18746 exec_prefix="$acl_final_exec_prefix" 18747 eval x=\"$x\" 18748 exec_prefix="$acl_save_exec_prefix" 18749 prefix="$acl_save_prefix" 18750 18751 if test "X$x" = "X-L$additional_libdir"; then 18752 haveit=yes 18753 break 18754 fi 18755 done 18756 if test -z "$haveit"; then 18757 if test -d "$additional_libdir"; then 18758 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18759 fi 18760 fi 18761 haveit= 18762 for x in $LDFLAGS $LTLIBINTL; do 18763 18764 acl_save_prefix="$prefix" 18765 prefix="$acl_final_prefix" 18766 acl_save_exec_prefix="$exec_prefix" 18767 exec_prefix="$acl_final_exec_prefix" 18768 eval x=\"$x\" 18769 exec_prefix="$acl_save_exec_prefix" 18770 prefix="$acl_save_prefix" 18771 18772 if test "X$x" = "X-L$additional_libdir"; then 18773 haveit=yes 18774 break 18775 fi 18776 done 18777 if test -z "$haveit"; then 18778 if test -d "$additional_libdir"; then 18779 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18780 fi 18781 fi 18782 fi 18783 fi 18784 ;; 18785 -R*) 18786 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18787 if test "$enable_rpath" != no; then 18788 haveit= 18789 for x in $rpathdirs; do 18790 if test "X$x" = "X$dir"; then 18791 haveit=yes 18792 break 18793 fi 18794 done 18795 if test -z "$haveit"; then 18796 rpathdirs="$rpathdirs $dir" 18797 fi 18798 haveit= 18799 for x in $ltrpathdirs; do 18800 if test "X$x" = "X$dir"; then 18801 haveit=yes 18802 break 18803 fi 18804 done 18805 if test -z "$haveit"; then 18806 ltrpathdirs="$ltrpathdirs $dir" 18807 fi 18808 fi 18809 ;; 18810 -l*) 18811 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18812 ;; 18813 *.la) 18814 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18815 ;; 18816 *) 18817 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18818 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18819 ;; 18820 esac 18821 done 18822 fi 18823 else 18824 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18825 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18826 fi 18827 fi 18828 fi 18829 done 18830 done 18831 if test "X$rpathdirs" != "X"; then 18832 if test -n "$acl_hardcode_libdir_separator"; then 18833 alldirs= 18834 for found_dir in $rpathdirs; do 18835 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18836 done 18837 acl_save_libdir="$libdir" 18838 libdir="$alldirs" 18839 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18840 libdir="$acl_save_libdir" 18841 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18842 else 18843 for found_dir in $rpathdirs; do 18844 acl_save_libdir="$libdir" 18845 libdir="$found_dir" 18846 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18847 libdir="$acl_save_libdir" 18848 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18849 done 18850 fi 18851 fi 18852 if test "X$ltrpathdirs" != "X"; then 18853 for found_dir in $ltrpathdirs; do 18854 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18855 done 18856 fi 18857 18858 18859 18860 18861 18862 18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18864$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18865if eval \${$gt_func_gnugettext_libintl+:} false; then : 18866 $as_echo_n "(cached) " >&6 18867else 18868 gt_save_CPPFLAGS="$CPPFLAGS" 18869 CPPFLAGS="$CPPFLAGS $INCINTL" 18870 gt_save_LIBS="$LIBS" 18871 LIBS="$LIBS $LIBINTL" 18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18873/* end confdefs.h. */ 18874#include <libintl.h> 18875$gt_revision_test_code 18876extern int _nl_msg_cat_cntr; 18877extern 18878#ifdef __cplusplus 18879"C" 18880#endif 18881const char *_nl_expand_alias (const char *); 18882int 18883main () 18884{ 18885bindtextdomain ("", ""); 18886return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18887 ; 18888 return 0; 18889} 18890_ACEOF 18891if ac_fn_c_try_link "$LINENO"; then : 18892 eval "$gt_func_gnugettext_libintl=yes" 18893else 18894 eval "$gt_func_gnugettext_libintl=no" 18895fi 18896rm -f core conftest.err conftest.$ac_objext \ 18897 conftest$ac_exeext conftest.$ac_ext 18898 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18899 LIBS="$LIBS $LIBICONV" 18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18901/* end confdefs.h. */ 18902#include <libintl.h> 18903$gt_revision_test_code 18904extern int _nl_msg_cat_cntr; 18905extern 18906#ifdef __cplusplus 18907"C" 18908#endif 18909const char *_nl_expand_alias (const char *); 18910int 18911main () 18912{ 18913bindtextdomain ("", ""); 18914return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18915 ; 18916 return 0; 18917} 18918_ACEOF 18919if ac_fn_c_try_link "$LINENO"; then : 18920 LIBINTL="$LIBINTL $LIBICONV" 18921 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18922 eval "$gt_func_gnugettext_libintl=yes" 18923 18924fi 18925rm -f core conftest.err conftest.$ac_objext \ 18926 conftest$ac_exeext conftest.$ac_ext 18927 fi 18928 CPPFLAGS="$gt_save_CPPFLAGS" 18929 LIBS="$gt_save_LIBS" 18930fi 18931eval ac_res=\$$gt_func_gnugettext_libintl 18932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18933$as_echo "$ac_res" >&6; } 18934 fi 18935 18936 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18937 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18938 && test "$PACKAGE" != gettext-runtime \ 18939 && test "$PACKAGE" != gettext-tools; }; then 18940 gt_use_preinstalled_gnugettext=yes 18941 else 18942 LIBINTL= 18943 LTLIBINTL= 18944 INCINTL= 18945 fi 18946 18947 18948 18949 if test -n "$INTL_MACOSX_LIBS"; then 18950 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18951 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18952 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 18953 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 18954 fi 18955 fi 18956 18957 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18958 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18959 18960$as_echo "#define ENABLE_NLS 1" >>confdefs.h 18961 18962 else 18963 USE_NLS=no 18964 fi 18965 fi 18966 18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 18968$as_echo_n "checking whether to use NLS... " >&6; } 18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 18970$as_echo "$USE_NLS" >&6; } 18971 if test "$USE_NLS" = "yes"; then 18972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 18973$as_echo_n "checking where the gettext function comes from... " >&6; } 18974 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 18975 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 18976 gt_source="external libintl" 18977 else 18978 gt_source="libc" 18979 fi 18980 else 18981 gt_source="included intl directory" 18982 fi 18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 18984$as_echo "$gt_source" >&6; } 18985 fi 18986 18987 if test "$USE_NLS" = "yes"; then 18988 18989 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 18990 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 18992$as_echo_n "checking how to link with libintl... " >&6; } 18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 18994$as_echo "$LIBINTL" >&6; } 18995 18996 for element in $INCINTL; do 18997 haveit= 18998 for x in $CPPFLAGS; do 18999 19000 acl_save_prefix="$prefix" 19001 prefix="$acl_final_prefix" 19002 acl_save_exec_prefix="$exec_prefix" 19003 exec_prefix="$acl_final_exec_prefix" 19004 eval x=\"$x\" 19005 exec_prefix="$acl_save_exec_prefix" 19006 prefix="$acl_save_prefix" 19007 19008 if test "X$x" = "X$element"; then 19009 haveit=yes 19010 break 19011 fi 19012 done 19013 if test -z "$haveit"; then 19014 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19015 fi 19016 done 19017 19018 fi 19019 19020 19021$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19022 19023 19024$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19025 19026 fi 19027 19028 POSUB=po 19029 fi 19030 19031 19032 19033 INTLLIBS="$LIBINTL" 19034 19035 19036 19037 19038 19039 19040 19041 19042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19043$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19044if ${ac_cv_c_const+:} false; then : 19045 $as_echo_n "(cached) " >&6 19046else 19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19048/* end confdefs.h. */ 19049 19050int 19051main () 19052{ 19053 19054#ifndef __cplusplus 19055 /* Ultrix mips cc rejects this sort of thing. */ 19056 typedef int charset[2]; 19057 const charset cs = { 0, 0 }; 19058 /* SunOS 4.1.1 cc rejects this. */ 19059 char const *const *pcpcc; 19060 char **ppc; 19061 /* NEC SVR4.0.2 mips cc rejects this. */ 19062 struct point {int x, y;}; 19063 static struct point const zero = {0,0}; 19064 /* AIX XL C 1.02.0.0 rejects this. 19065 It does not let you subtract one const X* pointer from another in 19066 an arm of an if-expression whose if-part is not a constant 19067 expression */ 19068 const char *g = "string"; 19069 pcpcc = &g + (g ? g-g : 0); 19070 /* HPUX 7.0 cc rejects these. */ 19071 ++pcpcc; 19072 ppc = (char**) pcpcc; 19073 pcpcc = (char const *const *) ppc; 19074 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19075 char tx; 19076 char *t = &tx; 19077 char const *s = 0 ? (char *) 0 : (char const *) 0; 19078 19079 *t++ = 0; 19080 if (s) return 0; 19081 } 19082 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19083 int x[] = {25, 17}; 19084 const int *foo = &x[0]; 19085 ++foo; 19086 } 19087 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19088 typedef const int *iptr; 19089 iptr p = 0; 19090 ++p; 19091 } 19092 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19093 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19094 struct s { int j; const int *ap[3]; } bx; 19095 struct s *b = &bx; b->j = 5; 19096 } 19097 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19098 const int foo = 10; 19099 if (!foo) return 0; 19100 } 19101 return !cs[0] && !zero.x; 19102#endif 19103 19104 ; 19105 return 0; 19106} 19107_ACEOF 19108if ac_fn_c_try_compile "$LINENO"; then : 19109 ac_cv_c_const=yes 19110else 19111 ac_cv_c_const=no 19112fi 19113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19114fi 19115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19116$as_echo "$ac_cv_c_const" >&6; } 19117if test $ac_cv_c_const = no; then 19118 19119$as_echo "#define const /**/" >>confdefs.h 19120 19121fi 19122 19123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19124$as_echo_n "checking for working volatile... " >&6; } 19125if ${ac_cv_c_volatile+:} false; then : 19126 $as_echo_n "(cached) " >&6 19127else 19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19129/* end confdefs.h. */ 19130 19131int 19132main () 19133{ 19134 19135volatile int x; 19136int * volatile y = (int *) 0; 19137return !x && !y; 19138 ; 19139 return 0; 19140} 19141_ACEOF 19142if ac_fn_c_try_compile "$LINENO"; then : 19143 ac_cv_c_volatile=yes 19144else 19145 ac_cv_c_volatile=no 19146fi 19147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19148fi 19149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19150$as_echo "$ac_cv_c_volatile" >&6; } 19151if test $ac_cv_c_volatile = no; then 19152 19153$as_echo "#define volatile /**/" >>confdefs.h 19154 19155fi 19156 19157 19158# Check whether --enable-largefile was given. 19159if test "${enable_largefile+set}" = set; then : 19160 enableval=$enable_largefile; 19161fi 19162 19163if test "$enable_largefile" != no; then 19164 19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19166$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19167if ${ac_cv_sys_largefile_CC+:} false; then : 19168 $as_echo_n "(cached) " >&6 19169else 19170 ac_cv_sys_largefile_CC=no 19171 if test "$GCC" != yes; then 19172 ac_save_CC=$CC 19173 while :; do 19174 # IRIX 6.2 and later do not support large files by default, 19175 # so use the C compiler's -n32 option if that helps. 19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19177/* end confdefs.h. */ 19178#include <sys/types.h> 19179 /* Check that off_t can represent 2**63 - 1 correctly. 19180 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19181 since some C++ compilers masquerading as C compilers 19182 incorrectly reject 9223372036854775807. */ 19183#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19185 && LARGE_OFF_T % 2147483647 == 1) 19186 ? 1 : -1]; 19187int 19188main () 19189{ 19190 19191 ; 19192 return 0; 19193} 19194_ACEOF 19195 if ac_fn_c_try_compile "$LINENO"; then : 19196 break 19197fi 19198rm -f core conftest.err conftest.$ac_objext 19199 CC="$CC -n32" 19200 if ac_fn_c_try_compile "$LINENO"; then : 19201 ac_cv_sys_largefile_CC=' -n32'; break 19202fi 19203rm -f core conftest.err conftest.$ac_objext 19204 break 19205 done 19206 CC=$ac_save_CC 19207 rm -f conftest.$ac_ext 19208 fi 19209fi 19210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19211$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19212 if test "$ac_cv_sys_largefile_CC" != no; then 19213 CC=$CC$ac_cv_sys_largefile_CC 19214 fi 19215 19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19217$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19218if ${ac_cv_sys_file_offset_bits+:} false; then : 19219 $as_echo_n "(cached) " >&6 19220else 19221 while :; do 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 19241if ac_fn_c_try_compile "$LINENO"; then : 19242 ac_cv_sys_file_offset_bits=no; break 19243fi 19244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19246/* end confdefs.h. */ 19247#define _FILE_OFFSET_BITS 64 19248#include <sys/types.h> 19249 /* Check that off_t can represent 2**63 - 1 correctly. 19250 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19251 since some C++ compilers masquerading as C compilers 19252 incorrectly reject 9223372036854775807. */ 19253#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19254 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19255 && LARGE_OFF_T % 2147483647 == 1) 19256 ? 1 : -1]; 19257int 19258main () 19259{ 19260 19261 ; 19262 return 0; 19263} 19264_ACEOF 19265if ac_fn_c_try_compile "$LINENO"; then : 19266 ac_cv_sys_file_offset_bits=64; break 19267fi 19268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19269 ac_cv_sys_file_offset_bits=unknown 19270 break 19271done 19272fi 19273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19274$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19275case $ac_cv_sys_file_offset_bits in #( 19276 no | unknown) ;; 19277 *) 19278cat >>confdefs.h <<_ACEOF 19279#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19280_ACEOF 19281;; 19282esac 19283rm -rf conftest* 19284 if test $ac_cv_sys_file_offset_bits = unknown; then 19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19286$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19287if ${ac_cv_sys_large_files+:} false; then : 19288 $as_echo_n "(cached) " >&6 19289else 19290 while :; do 19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19292/* end confdefs.h. */ 19293#include <sys/types.h> 19294 /* Check that off_t can represent 2**63 - 1 correctly. 19295 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19296 since some C++ compilers masquerading as C compilers 19297 incorrectly reject 9223372036854775807. */ 19298#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19299 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19300 && LARGE_OFF_T % 2147483647 == 1) 19301 ? 1 : -1]; 19302int 19303main () 19304{ 19305 19306 ; 19307 return 0; 19308} 19309_ACEOF 19310if ac_fn_c_try_compile "$LINENO"; then : 19311 ac_cv_sys_large_files=no; break 19312fi 19313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19315/* end confdefs.h. */ 19316#define _LARGE_FILES 1 19317#include <sys/types.h> 19318 /* Check that off_t can represent 2**63 - 1 correctly. 19319 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19320 since some C++ compilers masquerading as C compilers 19321 incorrectly reject 9223372036854775807. */ 19322#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19323 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19324 && LARGE_OFF_T % 2147483647 == 1) 19325 ? 1 : -1]; 19326int 19327main () 19328{ 19329 19330 ; 19331 return 0; 19332} 19333_ACEOF 19334if ac_fn_c_try_compile "$LINENO"; then : 19335 ac_cv_sys_large_files=1; break 19336fi 19337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19338 ac_cv_sys_large_files=unknown 19339 break 19340done 19341fi 19342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19343$as_echo "$ac_cv_sys_large_files" >&6; } 19344case $ac_cv_sys_large_files in #( 19345 no | unknown) ;; 19346 *) 19347cat >>confdefs.h <<_ACEOF 19348#define _LARGE_FILES $ac_cv_sys_large_files 19349_ACEOF 19350;; 19351esac 19352rm -rf conftest* 19353 fi 19354 19355 19356fi 19357 19358 19359 19360 19361 # Check whether --enable-shared-libs was given. 19362if test "${enable_shared_libs+set}" = set; then : 19363 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19364else 19365 ac_cv_enable_shared_libs="yes" 19366fi 19367 19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19369$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19370if ${ac_cv_enable_shared_libs+:} false; then : 19371 $as_echo_n "(cached) " >&6 19372else 19373 ac_cv_enable_shared_libs="yes" 19374fi 19375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19376$as_echo "$ac_cv_enable_shared_libs" >&6; } 19377 19378 19379 19380 19381 # Check whether --enable-static-executables was given. 19382if test "${enable_static_executables+set}" = set; then : 19383 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19384else 19385 ac_cv_enable_static_executables=no 19386fi 19387 19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19389$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19390if ${ac_cv_enable_static_executables+:} false; then : 19391 $as_echo_n "(cached) " >&6 19392else 19393 ac_cv_enable_static_executables=no 19394fi 19395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19396$as_echo "$ac_cv_enable_static_executables" >&6; } 19397 19398 if test "x$ac_cv_enable_static_executables" != xno; then : 19399 STATIC_LDFLAGS="-all-static"; 19400 19401 19402 19403 ac_cv_enable_static_executables=yes 19404 enable_shared=no 19405fi 19406 19407 19408 19409 19410 # Check whether --enable-winapi was given. 19411if test "${enable_winapi+set}" = set; then : 19412 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19413else 19414 ac_cv_enable_winapi=auto-detect 19415fi 19416 19417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19418$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19419if ${ac_cv_enable_winapi+:} false; then : 19420 $as_echo_n "(cached) " >&6 19421else 19422 ac_cv_enable_winapi=auto-detect 19423fi 19424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19425$as_echo "$ac_cv_enable_winapi" >&6; } 19426 19427 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19428 ac_common_check_winapi_target_string="$target" 19429 19430 if test "x$ac_common_check_winapi_target_string" = x; then : 19431 ac_common_check_winapi_target_string="$host" 19432fi 19433 19434 case $ac_common_check_winapi_target_string in #( 19435 *mingw*) : 19436 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19437$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19438 ac_cv_enable_winapi=yes ;; #( 19439 *msys*) : 19440 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19441$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19442 ac_cv_enable_winapi=yes ;; #( 19443 *) : 19444 ac_cv_enable_winapi=no ;; #( 19445 *) : 19446 ;; 19447esac 19448 19449fi 19450 19451 19452 19453 19454 # Check whether --enable-wide-character-type was given. 19455if test "${enable_wide_character_type+set}" = set; then : 19456 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19457else 19458 ac_cv_enable_wide_character_type=no 19459fi 19460 19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19462$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19463if ${ac_cv_enable_wide_character_type+:} false; then : 19464 $as_echo_n "(cached) " >&6 19465else 19466 ac_cv_enable_wide_character_type=no 19467fi 19468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19469$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19470 19471 19472 19473 19474 # Check whether --enable-verbose-output was given. 19475if test "${enable_verbose_output+set}" = set; then : 19476 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19477else 19478 ac_cv_enable_verbose_output=no 19479fi 19480 19481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19482$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19483if ${ac_cv_enable_verbose_output+:} false; then : 19484 $as_echo_n "(cached) " >&6 19485else 19486 ac_cv_enable_verbose_output=no 19487fi 19488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19489$as_echo "$ac_cv_enable_verbose_output" >&6; } 19490 19491 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19492 19493$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19494 19495 19496 ac_cv_enable_verbose_output=yes 19497fi 19498 19499 19500 19501 19502 # Check whether --enable-debug-output was given. 19503if test "${enable_debug_output+set}" = set; then : 19504 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19505else 19506 ac_cv_enable_debug_output=no 19507fi 19508 19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19510$as_echo_n "checking whether to enable enable debug output... " >&6; } 19511if ${ac_cv_enable_debug_output+:} false; then : 19512 $as_echo_n "(cached) " >&6 19513else 19514 ac_cv_enable_debug_output=no 19515fi 19516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19517$as_echo "$ac_cv_enable_debug_output" >&6; } 19518 19519 if test "x$ac_cv_enable_debug_output" != xno ; then : 19520 19521$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19522 19523 19524 ac_cv_enable_debug_output=yes 19525fi 19526 19527 19528if test "x$ac_cv_enable_winapi" = xyes; then : 19529 ac_cv_enable_wide_character_type=yes 19530fi 19531 19532 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19533 19534$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19535 19536 HAVE_WIDE_CHARACTER_TYPE=1 19537 19538else 19539 HAVE_WIDE_CHARACTER_TYPE=0 19540 19541 19542fi 19543 19544 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19545do : 19546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19547ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19548if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19549 cat >>confdefs.h <<_ACEOF 19550#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19551_ACEOF 19552 19553fi 19554 19555done 19556 19557 19558 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19559 HAVE_SYS_TYPES_H=1 19560 19561else 19562 HAVE_SYS_TYPES_H=0 19563 19564 19565fi 19566 19567 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19568 HAVE_INTTYPES_H=1 19569 19570else 19571 HAVE_INTTYPES_H=0 19572 19573 19574fi 19575 19576 if test "x$ac_cv_header_stdint_h" = xyes; then : 19577 HAVE_STDINT_H=1 19578 19579else 19580 HAVE_STDINT_H=0 19581 19582 19583fi 19584 19585 if test "x$ac_cv_header_wchar_h" = xyes; then : 19586 HAVE_WCHAR_H=1 19587 19588else 19589 HAVE_WCHAR_H=0 19590 19591 19592fi 19593 19594 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19595if test "x$ac_cv_type_mode_t" = xyes; then : 19596 19597else 19598 19599cat >>confdefs.h <<_ACEOF 19600#define mode_t int 19601_ACEOF 19602 19603fi 19604 19605 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19606if test "x$ac_cv_type_off_t" = xyes; then : 19607 19608else 19609 19610cat >>confdefs.h <<_ACEOF 19611#define off_t long int 19612_ACEOF 19613 19614fi 19615 19616 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19617if test "x$ac_cv_type_size_t" = xyes; then : 19618 19619else 19620 19621cat >>confdefs.h <<_ACEOF 19622#define size_t unsigned int 19623_ACEOF 19624 19625fi 19626 19627 19628 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19629if test "x$ac_cv_type_size32_t" = xyes; then : 19630 HAVE_SIZE32_T=1 19631 19632else 19633 HAVE_SIZE32_T=0 19634 19635 19636fi 19637 19638 19639 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19640if test "x$ac_cv_type_ssize32_t" = xyes; then : 19641 HAVE_SSIZE32_T=1 19642 19643else 19644 HAVE_SSIZE32_T=0 19645 19646 19647fi 19648 19649 19650 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19651if test "x$ac_cv_type_size64_t" = xyes; then : 19652 HAVE_SIZE64_T=1 19653 19654else 19655 HAVE_SIZE64_T=0 19656 19657 19658fi 19659 19660 19661 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19662if test "x$ac_cv_type_ssize64_t" = xyes; then : 19663 HAVE_SSIZE64_T=1 19664 19665else 19666 HAVE_SSIZE64_T=0 19667 19668 19669fi 19670 19671 19672 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19673if test "x$ac_cv_type_off64_t" = xyes; then : 19674 HAVE_OFF64_T=1 19675 19676else 19677 HAVE_OFF64_T=0 19678 19679 19680fi 19681 19682 19683 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19684if test "x$ac_cv_type_ssize_t" = xyes; then : 19685 19686fi 19687 19688 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19689if test "x$ac_cv_type_u64" = xyes; then : 19690 19691fi 19692 19693 19694 # The cast to long int works around a bug in the HP C Compiler 19695# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19696# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19697# This bug is HP SR number 8606223364. 19698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19699$as_echo_n "checking size of int... " >&6; } 19700if ${ac_cv_sizeof_int+:} false; then : 19701 $as_echo_n "(cached) " >&6 19702else 19703 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19704 19705else 19706 if test "$ac_cv_type_int" = yes; then 19707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19709as_fn_error 77 "cannot compute sizeof (int) 19710See \`config.log' for more details" "$LINENO" 5; } 19711 else 19712 ac_cv_sizeof_int=0 19713 fi 19714fi 19715 19716fi 19717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19718$as_echo "$ac_cv_sizeof_int" >&6; } 19719 19720 19721 19722cat >>confdefs.h <<_ACEOF 19723#define SIZEOF_INT $ac_cv_sizeof_int 19724_ACEOF 19725 19726 19727 # The cast to long int works around a bug in the HP C Compiler 19728# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19729# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19730# This bug is HP SR number 8606223364. 19731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19732$as_echo_n "checking size of long... " >&6; } 19733if ${ac_cv_sizeof_long+:} false; then : 19734 $as_echo_n "(cached) " >&6 19735else 19736 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19737 19738else 19739 if test "$ac_cv_type_long" = yes; then 19740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19742as_fn_error 77 "cannot compute sizeof (long) 19743See \`config.log' for more details" "$LINENO" 5; } 19744 else 19745 ac_cv_sizeof_long=0 19746 fi 19747fi 19748 19749fi 19750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19751$as_echo "$ac_cv_sizeof_long" >&6; } 19752 19753 19754 19755cat >>confdefs.h <<_ACEOF 19756#define SIZEOF_LONG $ac_cv_sizeof_long 19757_ACEOF 19758 19759 19760 # The cast to long int works around a bug in the HP C Compiler 19761# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19762# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19763# This bug is HP SR number 8606223364. 19764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19765$as_echo_n "checking size of off_t... " >&6; } 19766if ${ac_cv_sizeof_off_t+:} false; then : 19767 $as_echo_n "(cached) " >&6 19768else 19769 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19770 19771else 19772 if test "$ac_cv_type_off_t" = yes; then 19773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19775as_fn_error 77 "cannot compute sizeof (off_t) 19776See \`config.log' for more details" "$LINENO" 5; } 19777 else 19778 ac_cv_sizeof_off_t=0 19779 fi 19780fi 19781 19782fi 19783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19784$as_echo "$ac_cv_sizeof_off_t" >&6; } 19785 19786 19787 19788cat >>confdefs.h <<_ACEOF 19789#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19790_ACEOF 19791 19792 19793 # The cast to long int works around a bug in the HP C Compiler 19794# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19795# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19796# This bug is HP SR number 8606223364. 19797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19798$as_echo_n "checking size of size_t... " >&6; } 19799if ${ac_cv_sizeof_size_t+:} false; then : 19800 $as_echo_n "(cached) " >&6 19801else 19802 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19803 19804else 19805 if test "$ac_cv_type_size_t" = yes; then 19806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19807$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19808as_fn_error 77 "cannot compute sizeof (size_t) 19809See \`config.log' for more details" "$LINENO" 5; } 19810 else 19811 ac_cv_sizeof_size_t=0 19812 fi 19813fi 19814 19815fi 19816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19817$as_echo "$ac_cv_sizeof_size_t" >&6; } 19818 19819 19820 19821cat >>confdefs.h <<_ACEOF 19822#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19823_ACEOF 19824 19825 19826 19827 if test "x$ac_cv_header_wchar_h" = xyes; then : 19828 # The cast to long int works around a bug in the HP C Compiler 19829# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19830# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19831# This bug is HP SR number 8606223364. 19832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19833$as_echo_n "checking size of wchar_t... " >&6; } 19834if ${ac_cv_sizeof_wchar_t+:} false; then : 19835 $as_echo_n "(cached) " >&6 19836else 19837 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19838 19839else 19840 if test "$ac_cv_type_wchar_t" = yes; then 19841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19842$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19843as_fn_error 77 "cannot compute sizeof (wchar_t) 19844See \`config.log' for more details" "$LINENO" 5; } 19845 else 19846 ac_cv_sizeof_wchar_t=0 19847 fi 19848fi 19849 19850fi 19851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19852$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19853 19854 19855 19856cat >>confdefs.h <<_ACEOF 19857#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19858_ACEOF 19859 19860 19861fi 19862 19863 19864 19865 if test "x$ac_cv_enable_winapi" = xyes; then : 19866 for ac_header in windows.h 19867do : 19868 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19869if test "x$ac_cv_header_windows_h" = xyes; then : 19870 cat >>confdefs.h <<_ACEOF 19871#define HAVE_WINDOWS_H 1 19872_ACEOF 19873 19874fi 19875 19876done 19877 19878 19879 if test "x$ac_cv_header_windows_h" = xno; then : 19880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19881$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19882as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19883See \`config.log' for more details" "$LINENO" 5; } 19884 19885fi 19886 19887fi 19888 19889 if test "x$ac_cv_enable_winapi" = xno; then : 19890 for ac_header in libintl.h 19891do : 19892 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19893if test "x$ac_cv_header_libintl_h" = xyes; then : 19894 cat >>confdefs.h <<_ACEOF 19895#define HAVE_LIBINTL_H 1 19896_ACEOF 19897 19898fi 19899 19900done 19901 19902 19903fi 19904 19905 for ac_header in limits.h 19906do : 19907 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19908if test "x$ac_cv_header_limits_h" = xyes; then : 19909 cat >>confdefs.h <<_ACEOF 19910#define HAVE_LIMITS_H 1 19911_ACEOF 19912 19913fi 19914 19915done 19916 19917 19918 for ac_header in stdlib.h string.h 19919do : 19920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19921ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19922if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19923 cat >>confdefs.h <<_ACEOF 19924#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19925_ACEOF 19926 19927fi 19928 19929done 19930 19931 19932 for ac_header in wchar.h wctype.h 19933do : 19934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19935ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19936if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19937 cat >>confdefs.h <<_ACEOF 19938#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19939_ACEOF 19940 19941fi 19942 19943done 19944 19945 19946 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 19947do : 19948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19949ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19950if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 19951 cat >>confdefs.h <<_ACEOF 19952#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19953_ACEOF 19954 19955fi 19956done 19957 19958 19959 if test "x$ac_cv_func_fclose" != xyes; then : 19960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19962as_fn_error 1 "Missing function: fclose 19963See \`config.log' for more details" "$LINENO" 5; } 19964 19965fi 19966 19967 if test "x$ac_cv_func_feof" != xyes; then : 19968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19970as_fn_error 1 "Missing function: feof 19971See \`config.log' for more details" "$LINENO" 5; } 19972 19973fi 19974 19975 if test "x$ac_cv_func_fgets" != xyes; then : 19976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19977$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19978as_fn_error 1 "Missing function: fgets 19979See \`config.log' for more details" "$LINENO" 5; } 19980 19981fi 19982 19983 if test "x$ac_cv_func_fopen" != xyes; then : 19984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19986as_fn_error 1 "Missing function: fopen 19987See \`config.log' for more details" "$LINENO" 5; } 19988 19989fi 19990 19991 if test "x$ac_cv_func_fread" != xyes; then : 19992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19993$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19994as_fn_error 1 "Missing function: fread 19995See \`config.log' for more details" "$LINENO" 5; } 19996 19997fi 19998 19999 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20002as_fn_error 1 "Missing function: fseeko and fseeko64 20003See \`config.log' for more details" "$LINENO" 5; } 20004 20005fi 20006 20007 if test "x$ac_cv_func_fwrite" != xyes; then : 20008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20009$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20010as_fn_error 1 "Missing function: fwrite 20011See \`config.log' for more details" "$LINENO" 5; } 20012 20013fi 20014 20015 if test "x$ac_cv_func_vfprintf" != xyes; then : 20016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20018as_fn_error 1 "Missing function: vfprintf 20019See \`config.log' for more details" "$LINENO" 5; } 20020 20021fi 20022 20023 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20024 for ac_func in fgetws 20025do : 20026 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20027if test "x$ac_cv_func_fgetws" = xyes; then : 20028 cat >>confdefs.h <<_ACEOF 20029#define HAVE_FGETWS 1 20030_ACEOF 20031 20032fi 20033done 20034 20035 20036 if test "x$ac_cv_func_fgetws" != xyes; then : 20037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20039as_fn_error 1 "Missing function: fgetws 20040See \`config.log' for more details" "$LINENO" 5; } 20041 20042fi 20043 20044fi 20045 20046 for ac_func in free malloc memcmp memcpy memset realloc 20047do : 20048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20049ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20050if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20051 cat >>confdefs.h <<_ACEOF 20052#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20053_ACEOF 20054 20055fi 20056done 20057 20058 20059 if test "x$ac_cv_func_free" != xyes; then : 20060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20062as_fn_error 1 "Missing function: free 20063See \`config.log' for more details" "$LINENO" 5; } 20064 20065fi 20066 20067 if test "x$ac_cv_func_malloc" != xyes; then : 20068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20069$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20070as_fn_error 1 "Missing function: malloc 20071See \`config.log' for more details" "$LINENO" 5; } 20072 20073fi 20074 20075 if test "x$ac_cv_func_memcmp" != xyes; then : 20076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20078as_fn_error 1 "Missing function: memcmp 20079See \`config.log' for more details" "$LINENO" 5; } 20080 20081fi 20082 20083 if test "x$ac_cv_func_memcpy" != xyes; then : 20084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20085$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20086as_fn_error 1 "Missing function: memcpy 20087See \`config.log' for more details" "$LINENO" 5; } 20088 20089fi 20090 20091 if test "x$ac_cv_func_memset" != xyes; then : 20092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20094as_fn_error 1 "Missing function: memset 20095See \`config.log' for more details" "$LINENO" 5; } 20096 20097fi 20098 20099 if test "x$ac_cv_func_realloc" != xyes; then : 20100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20101$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20102as_fn_error 1 "Missing function: realloc 20103See \`config.log' for more details" "$LINENO" 5; } 20104 20105fi 20106 20107 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20108do : 20109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20110ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20111if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20112 cat >>confdefs.h <<_ACEOF 20113#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20114_ACEOF 20115 20116fi 20117done 20118 20119 20120 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20123as_fn_error 1 "Missing functions: memchr and strchr 20124See \`config.log' for more details" "$LINENO" 5; } 20125 20126fi 20127 20128 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20130$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20131as_fn_error 1 "Missing functions: memcmp and strncmp 20132See \`config.log' for more details" "$LINENO" 5; } 20133 20134fi 20135 20136 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20139as_fn_error 1 "Missing functions: memcpy and strncpy 20140See \`config.log' for more details" "$LINENO" 5; } 20141 20142fi 20143 20144 if test "x$ac_cv_func_memrchr" = xyes; then : 20145 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20146if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20147 ac_have_decl=1 20148else 20149 ac_have_decl=0 20150fi 20151 20152cat >>confdefs.h <<_ACEOF 20153#define HAVE_DECL_MEMRCHR $ac_have_decl 20154_ACEOF 20155 20156 20157 if test "x$ac_cv_decl_memrchr" != xyes; then : 20158 ac_cv_func_memrchr=no 20159fi 20160 20161fi 20162 20163 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20165$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20166as_fn_error 1 "Missing functions: strrchr and memrchr 20167See \`config.log' for more details" "$LINENO" 5; } 20168 20169fi 20170 20171 if test "x$ac_cv_func_snprintf" != xyes; then : 20172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20174as_fn_error 1 "Missing function: snprintf 20175See \`config.log' for more details" "$LINENO" 5; } 20176 20177fi 20178 20179 if test "x$ac_cv_func_sscanf" != xyes; then : 20180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20181$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20182as_fn_error 1 "Missing function: sscanf 20183See \`config.log' for more details" "$LINENO" 5; } 20184 20185fi 20186 20187 if test "x$ac_cv_func_strlen" != xyes; then : 20188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20189$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20190as_fn_error 1 "Missing function: strlen 20191See \`config.log' for more details" "$LINENO" 5; } 20192 20193fi 20194 20195 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20198as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20199See \`config.log' for more details" "$LINENO" 5; } 20200 20201fi 20202 20203 if test "x$ac_cv_func_strstr" != xyes; then : 20204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20206as_fn_error 1 "Missing function: strstr 20207See \`config.log' for more details" "$LINENO" 5; } 20208 20209fi 20210 20211 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20214as_fn_error 1 "Missing function: vsnprintf 20215See \`config.log' for more details" "$LINENO" 5; } 20216 20217fi 20218 20219 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20220 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20221do : 20222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20223ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20224if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20225 cat >>confdefs.h <<_ACEOF 20226#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20227_ACEOF 20228 20229fi 20230done 20231 20232 20233 if test "x$ac_cv_func_swprintf" != 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: swprintf 20237See \`config.log' for more details" "$LINENO" 5; } 20238 20239fi 20240 20241 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != 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: wmemchr and wcschr 20245See \`config.log' for more details" "$LINENO" 5; } 20246 20247fi 20248 20249 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20252as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20253See \`config.log' for more details" "$LINENO" 5; } 20254 20255fi 20256 20257 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != 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 functions: wmemcpy and wcsncpy 20261See \`config.log' for more details" "$LINENO" 5; } 20262 20263fi 20264 20265 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20268as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20269See \`config.log' for more details" "$LINENO" 5; } 20270 20271fi 20272 20273 if test "x$ac_cv_func_wcslen" != xyes; then : 20274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20275$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20276as_fn_error 1 "Missing function: wcslen 20277See \`config.log' for more details" "$LINENO" 5; } 20278 20279fi 20280 20281 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 : 20282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20284as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20285See \`config.log' for more details" "$LINENO" 5; } 20286 20287fi 20288 20289 if test "x$ac_cv_func_wcsstr" != xyes; then : 20290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20291$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20292as_fn_error 1 "Missing function: wcsstr 20293See \`config.log' for more details" "$LINENO" 5; } 20294 20295fi 20296 20297fi 20298 20299 20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20301$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20302 20303 SAVE_CFLAGS="$CFLAGS" 20304 CFLAGS="$CFLAGS -Wall -Werror" 20305 ac_ext=c 20306ac_cpp='$CPP $CPPFLAGS' 20307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20309ac_compiler_gnu=$ac_cv_c_compiler_gnu 20310 20311 20312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20313/* end confdefs.h. */ 20314#include <stdio.h> 20315int 20316main () 20317{ 20318printf( "%jd" ); 20319 ; 20320 return 0; 20321} 20322_ACEOF 20323if ac_fn_c_try_link "$LINENO"; then : 20324 ac_cv_cv_have_printf_jd=no 20325else 20326 ac_cv_cv_have_printf_jd=yes 20327fi 20328rm -f core conftest.err conftest.$ac_objext \ 20329 conftest$ac_exeext conftest.$ac_ext 20330 20331 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20333/* end confdefs.h. */ 20334#include <sys/types.h> 20335#include <stdio.h> 20336int 20337main () 20338{ 20339printf( "%jd", (off_t) 10 ); 20340 ; 20341 return 0; 20342} 20343_ACEOF 20344if ac_fn_c_try_link "$LINENO"; then : 20345 ac_cv_cv_have_printf_jd=yes 20346else 20347 ac_cv_cv_have_printf_jd=no 20348fi 20349rm -f core conftest.err conftest.$ac_objext \ 20350 conftest$ac_exeext conftest.$ac_ext 20351 20352fi 20353 20354 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20355 if test "$cross_compiling" = yes; then : 20356 ac_cv_cv_have_printf_jd=undetermined 20357else 20358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20359/* end confdefs.h. */ 20360#include <sys/types.h> 20361#include <stdio.h> 20362int 20363main () 20364{ 20365char string[ 3 ]; 20366if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20367if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20368 ; 20369 return 0; 20370} 20371_ACEOF 20372if ac_fn_c_try_run "$LINENO"; then : 20373 ac_cv_cv_have_printf_jd=yes 20374else 20375 ac_cv_cv_have_printf_jd=no 20376fi 20377rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20378 conftest.$ac_objext conftest.beam conftest.$ac_ext 20379fi 20380 20381 20382fi 20383 20384 ac_ext=c 20385ac_cpp='$CPP $CPPFLAGS' 20386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20388ac_compiler_gnu=$ac_cv_c_compiler_gnu 20389 20390 CFLAGS="$SAVE_CFLAGS" 20391 20392 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20394$as_echo "yes" >&6; } 20395 20396$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20397 20398else 20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20400$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20401 20402fi 20403 20404 20405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20406$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20407 20408 SAVE_CFLAGS="$CFLAGS" 20409 CFLAGS="$CFLAGS -Wall -Werror" 20410 ac_ext=c 20411ac_cpp='$CPP $CPPFLAGS' 20412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20414ac_compiler_gnu=$ac_cv_c_compiler_gnu 20415 20416 20417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20418/* end confdefs.h. */ 20419#include <stdio.h> 20420int 20421main () 20422{ 20423printf( "%zd" ); 20424 ; 20425 return 0; 20426} 20427_ACEOF 20428if ac_fn_c_try_link "$LINENO"; then : 20429 ac_cv_cv_have_printf_zd=no 20430else 20431 ac_cv_cv_have_printf_zd=yes 20432fi 20433rm -f core conftest.err conftest.$ac_objext \ 20434 conftest$ac_exeext conftest.$ac_ext 20435 20436 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20438/* end confdefs.h. */ 20439#include <sys/types.h> 20440#include <stdio.h> 20441int 20442main () 20443{ 20444printf( "%zd", (size_t) 10 ); 20445 ; 20446 return 0; 20447} 20448_ACEOF 20449if ac_fn_c_try_link "$LINENO"; then : 20450 ac_cv_cv_have_printf_zd=yes 20451else 20452 ac_cv_cv_have_printf_zd=no 20453fi 20454rm -f core conftest.err conftest.$ac_objext \ 20455 conftest$ac_exeext conftest.$ac_ext 20456 20457fi 20458 20459 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20460 if test "$cross_compiling" = yes; then : 20461 ac_cv_cv_have_printf_zd=undetermined 20462else 20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20464/* end confdefs.h. */ 20465#include <sys/types.h> 20466#include <stdio.h> 20467int 20468main () 20469{ 20470char string[ 3 ]; 20471if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20472if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20473 ; 20474 return 0; 20475} 20476_ACEOF 20477if ac_fn_c_try_run "$LINENO"; then : 20478 ac_cv_cv_have_printf_zd=yes 20479else 20480 ac_cv_cv_have_printf_zd=no 20481fi 20482rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20483 conftest.$ac_objext conftest.beam conftest.$ac_ext 20484fi 20485 20486 20487fi 20488 20489 ac_ext=c 20490ac_cpp='$CPP $CPPFLAGS' 20491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20493ac_compiler_gnu=$ac_cv_c_compiler_gnu 20494 20495 CFLAGS="$SAVE_CFLAGS" 20496 20497 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20499$as_echo "yes" >&6; } 20500 20501$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20502 20503else 20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20505$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20506 20507fi 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20519 if test -n "$ac_tool_prefix"; then 20520 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20521set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20523$as_echo_n "checking for $ac_word... " >&6; } 20524if ${ac_cv_path_PKG_CONFIG+:} false; then : 20525 $as_echo_n "(cached) " >&6 20526else 20527 case $PKG_CONFIG in 20528 [\\/]* | ?:[\\/]*) 20529 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20530 ;; 20531 *) 20532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20533for as_dir in $PATH 20534do 20535 IFS=$as_save_IFS 20536 test -z "$as_dir" && as_dir=. 20537 for ac_exec_ext in '' $ac_executable_extensions; do 20538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20539 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20541 break 2 20542 fi 20543done 20544 done 20545IFS=$as_save_IFS 20546 20547 ;; 20548esac 20549fi 20550PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20551if test -n "$PKG_CONFIG"; then 20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20553$as_echo "$PKG_CONFIG" >&6; } 20554else 20555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20556$as_echo "no" >&6; } 20557fi 20558 20559 20560fi 20561if test -z "$ac_cv_path_PKG_CONFIG"; then 20562 ac_pt_PKG_CONFIG=$PKG_CONFIG 20563 # Extract the first word of "pkg-config", so it can be a program name with args. 20564set dummy pkg-config; ac_word=$2 20565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20566$as_echo_n "checking for $ac_word... " >&6; } 20567if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20568 $as_echo_n "(cached) " >&6 20569else 20570 case $ac_pt_PKG_CONFIG in 20571 [\\/]* | ?:[\\/]*) 20572 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20573 ;; 20574 *) 20575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20576for as_dir in $PATH 20577do 20578 IFS=$as_save_IFS 20579 test -z "$as_dir" && as_dir=. 20580 for ac_exec_ext in '' $ac_executable_extensions; do 20581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20582 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20584 break 2 20585 fi 20586done 20587 done 20588IFS=$as_save_IFS 20589 20590 ;; 20591esac 20592fi 20593ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20594if test -n "$ac_pt_PKG_CONFIG"; then 20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20596$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20597else 20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20599$as_echo "no" >&6; } 20600fi 20601 20602 if test "x$ac_pt_PKG_CONFIG" = x; then 20603 PKG_CONFIG="" 20604 else 20605 case $cross_compiling:$ac_tool_warned in 20606yes:) 20607{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20608$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20609ac_tool_warned=yes ;; 20610esac 20611 PKG_CONFIG=$ac_pt_PKG_CONFIG 20612 fi 20613else 20614 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20615fi 20616 20617fi 20618if test -n "$PKG_CONFIG"; then 20619 _pkg_min_version=0.9.0 20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20621$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20622 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20624$as_echo "yes" >&6; } 20625 else 20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20627$as_echo "no" >&6; } 20628 PKG_CONFIG="" 20629 fi 20630fi 20631 20632 20633# Check whether --with-libcerror was given. 20634if test "${with_libcerror+set}" = set; then : 20635 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20636else 20637 ac_cv_with_libcerror=auto-detect 20638fi 20639 20640 { $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 20641$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; } 20642if ${ac_cv_with_libcerror+:} false; then : 20643 $as_echo_n "(cached) " >&6 20644else 20645 ac_cv_with_libcerror=auto-detect 20646fi 20647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20648$as_echo "$ac_cv_with_libcerror" >&6; } 20649 20650 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20651 ac_cv_libcerror=no 20652else 20653 ac_cv_libcerror=check 20654 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20655 if test -d "$ac_cv_with_libcerror"; then : 20656 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20657 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20658else 20659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20660$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20661as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20662See \`config.log' for more details" "$LINENO" 5; } 20663 20664fi 20665 20666else 20667 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20668 20669pkg_failed=no 20670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20671$as_echo_n "checking for libcerror... " >&6; } 20672 20673if test -n "$libcerror_CFLAGS"; then 20674 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20675 elif test -n "$PKG_CONFIG"; then 20676 if test -n "$PKG_CONFIG" && \ 20677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20678 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20679 ac_status=$? 20680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20681 test $ac_status = 0; }; then 20682 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20683 test "x$?" != "x0" && pkg_failed=yes 20684else 20685 pkg_failed=yes 20686fi 20687 else 20688 pkg_failed=untried 20689fi 20690if test -n "$libcerror_LIBS"; then 20691 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20692 elif test -n "$PKG_CONFIG"; then 20693 if test -n "$PKG_CONFIG" && \ 20694 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20695 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20696 ac_status=$? 20697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20698 test $ac_status = 0; }; then 20699 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20700 test "x$?" != "x0" && pkg_failed=yes 20701else 20702 pkg_failed=yes 20703fi 20704 else 20705 pkg_failed=untried 20706fi 20707 20708 20709 20710if test $pkg_failed = yes; then 20711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20712$as_echo "no" >&6; } 20713 20714if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20715 _pkg_short_errors_supported=yes 20716else 20717 _pkg_short_errors_supported=no 20718fi 20719 if test $_pkg_short_errors_supported = yes; then 20720 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20721 else 20722 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20723 fi 20724 # Put the nasty error message in config.log where it belongs 20725 echo "$libcerror_PKG_ERRORS" >&5 20726 20727 ac_cv_libcerror=check 20728elif test $pkg_failed = untried; then 20729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20730$as_echo "no" >&6; } 20731 ac_cv_libcerror=check 20732else 20733 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20734 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20736$as_echo "yes" >&6; } 20737 ac_cv_libcerror=yes 20738fi 20739 20740fi 20741 if test "x$ac_cv_libcerror" = xyes; then : 20742 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20743 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20744fi 20745 20746fi 20747 20748 if test "x$ac_cv_libcerror" = xcheck; then : 20749 for ac_header in libcerror.h 20750do : 20751 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20752if test "x$ac_cv_header_libcerror_h" = xyes; then : 20753 cat >>confdefs.h <<_ACEOF 20754#define HAVE_LIBCERROR_H 1 20755_ACEOF 20756 20757fi 20758 20759done 20760 20761 20762 if test "x$ac_cv_header_libcerror_h" = xno; then : 20763 ac_cv_libcerror=no 20764else 20765 ac_cv_libcerror=yes 20766 20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20768$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20769if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20770 $as_echo_n "(cached) " >&6 20771else 20772 ac_check_lib_save_LIBS=$LIBS 20773LIBS="-lcerror $LIBS" 20774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20775/* end confdefs.h. */ 20776 20777/* Override any GCC internal prototype to avoid an error. 20778 Use char because int might match the return type of a GCC 20779 builtin and then its argument prototype would still apply. */ 20780#ifdef __cplusplus 20781extern "C" 20782#endif 20783char libcerror_get_version (); 20784int 20785main () 20786{ 20787return libcerror_get_version (); 20788 ; 20789 return 0; 20790} 20791_ACEOF 20792if ac_fn_c_try_link "$LINENO"; then : 20793 ac_cv_lib_cerror_libcerror_get_version=yes 20794else 20795 ac_cv_lib_cerror_libcerror_get_version=no 20796fi 20797rm -f core conftest.err conftest.$ac_objext \ 20798 conftest$ac_exeext conftest.$ac_ext 20799LIBS=$ac_check_lib_save_LIBS 20800fi 20801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20802$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20803if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20804 ac_cv_libcerror_dummy=yes 20805else 20806 ac_cv_libcerror=no 20807fi 20808 20809 20810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20811$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20812if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20813 $as_echo_n "(cached) " >&6 20814else 20815 ac_check_lib_save_LIBS=$LIBS 20816LIBS="-lcerror $LIBS" 20817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20818/* end confdefs.h. */ 20819 20820/* Override any GCC internal prototype to avoid an error. 20821 Use char because int might match the return type of a GCC 20822 builtin and then its argument prototype would still apply. */ 20823#ifdef __cplusplus 20824extern "C" 20825#endif 20826char libcerror_error_free (); 20827int 20828main () 20829{ 20830return libcerror_error_free (); 20831 ; 20832 return 0; 20833} 20834_ACEOF 20835if ac_fn_c_try_link "$LINENO"; then : 20836 ac_cv_lib_cerror_libcerror_error_free=yes 20837else 20838 ac_cv_lib_cerror_libcerror_error_free=no 20839fi 20840rm -f core conftest.err conftest.$ac_objext \ 20841 conftest$ac_exeext conftest.$ac_ext 20842LIBS=$ac_check_lib_save_LIBS 20843fi 20844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20845$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20846if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20847 ac_cv_libcerror_dummy=yes 20848else 20849 ac_cv_libcerror=no 20850fi 20851 20852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20853$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20854if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20855 $as_echo_n "(cached) " >&6 20856else 20857 ac_check_lib_save_LIBS=$LIBS 20858LIBS="-lcerror $LIBS" 20859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20860/* end confdefs.h. */ 20861 20862/* Override any GCC internal prototype to avoid an error. 20863 Use char because int might match the return type of a GCC 20864 builtin and then its argument prototype would still apply. */ 20865#ifdef __cplusplus 20866extern "C" 20867#endif 20868char libcerror_error_set (); 20869int 20870main () 20871{ 20872return libcerror_error_set (); 20873 ; 20874 return 0; 20875} 20876_ACEOF 20877if ac_fn_c_try_link "$LINENO"; then : 20878 ac_cv_lib_cerror_libcerror_error_set=yes 20879else 20880 ac_cv_lib_cerror_libcerror_error_set=no 20881fi 20882rm -f core conftest.err conftest.$ac_objext \ 20883 conftest$ac_exeext conftest.$ac_ext 20884LIBS=$ac_check_lib_save_LIBS 20885fi 20886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20887$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20888if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20889 ac_cv_libcerror_dummy=yes 20890else 20891 ac_cv_libcerror=no 20892fi 20893 20894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20895$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20896if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20897 $as_echo_n "(cached) " >&6 20898else 20899 ac_check_lib_save_LIBS=$LIBS 20900LIBS="-lcerror $LIBS" 20901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20902/* end confdefs.h. */ 20903 20904/* Override any GCC internal prototype to avoid an error. 20905 Use char because int might match the return type of a GCC 20906 builtin and then its argument prototype would still apply. */ 20907#ifdef __cplusplus 20908extern "C" 20909#endif 20910char libcerror_error_matches (); 20911int 20912main () 20913{ 20914return libcerror_error_matches (); 20915 ; 20916 return 0; 20917} 20918_ACEOF 20919if ac_fn_c_try_link "$LINENO"; then : 20920 ac_cv_lib_cerror_libcerror_error_matches=yes 20921else 20922 ac_cv_lib_cerror_libcerror_error_matches=no 20923fi 20924rm -f core conftest.err conftest.$ac_objext \ 20925 conftest$ac_exeext conftest.$ac_ext 20926LIBS=$ac_check_lib_save_LIBS 20927fi 20928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20929$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20930if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20931 ac_cv_libcerror_dummy=yes 20932else 20933 ac_cv_libcerror=no 20934fi 20935 20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 20937$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 20938if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 20939 $as_echo_n "(cached) " >&6 20940else 20941 ac_check_lib_save_LIBS=$LIBS 20942LIBS="-lcerror $LIBS" 20943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20944/* end confdefs.h. */ 20945 20946/* Override any GCC internal prototype to avoid an error. 20947 Use char because int might match the return type of a GCC 20948 builtin and then its argument prototype would still apply. */ 20949#ifdef __cplusplus 20950extern "C" 20951#endif 20952char libcerror_error_fprint (); 20953int 20954main () 20955{ 20956return libcerror_error_fprint (); 20957 ; 20958 return 0; 20959} 20960_ACEOF 20961if ac_fn_c_try_link "$LINENO"; then : 20962 ac_cv_lib_cerror_libcerror_error_fprint=yes 20963else 20964 ac_cv_lib_cerror_libcerror_error_fprint=no 20965fi 20966rm -f core conftest.err conftest.$ac_objext \ 20967 conftest$ac_exeext conftest.$ac_ext 20968LIBS=$ac_check_lib_save_LIBS 20969fi 20970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 20971$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 20972if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 20973 ac_cv_libcerror_dummy=yes 20974else 20975 ac_cv_libcerror=no 20976fi 20977 20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 20979$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 20980if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 20981 $as_echo_n "(cached) " >&6 20982else 20983 ac_check_lib_save_LIBS=$LIBS 20984LIBS="-lcerror $LIBS" 20985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20986/* end confdefs.h. */ 20987 20988/* Override any GCC internal prototype to avoid an error. 20989 Use char because int might match the return type of a GCC 20990 builtin and then its argument prototype would still apply. */ 20991#ifdef __cplusplus 20992extern "C" 20993#endif 20994char libcerror_error_sprint (); 20995int 20996main () 20997{ 20998return libcerror_error_sprint (); 20999 ; 21000 return 0; 21001} 21002_ACEOF 21003if ac_fn_c_try_link "$LINENO"; then : 21004 ac_cv_lib_cerror_libcerror_error_sprint=yes 21005else 21006 ac_cv_lib_cerror_libcerror_error_sprint=no 21007fi 21008rm -f core conftest.err conftest.$ac_objext \ 21009 conftest$ac_exeext conftest.$ac_ext 21010LIBS=$ac_check_lib_save_LIBS 21011fi 21012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21013$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21014if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21015 ac_cv_libcerror_dummy=yes 21016else 21017 ac_cv_libcerror=no 21018fi 21019 21020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21021$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21022if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21023 $as_echo_n "(cached) " >&6 21024else 21025 ac_check_lib_save_LIBS=$LIBS 21026LIBS="-lcerror $LIBS" 21027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21028/* end confdefs.h. */ 21029 21030/* Override any GCC internal prototype to avoid an error. 21031 Use char because int might match the return type of a GCC 21032 builtin and then its argument prototype would still apply. */ 21033#ifdef __cplusplus 21034extern "C" 21035#endif 21036char libcerror_error_backtrace_fprint (); 21037int 21038main () 21039{ 21040return libcerror_error_backtrace_fprint (); 21041 ; 21042 return 0; 21043} 21044_ACEOF 21045if ac_fn_c_try_link "$LINENO"; then : 21046 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21047else 21048 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21049fi 21050rm -f core conftest.err conftest.$ac_objext \ 21051 conftest$ac_exeext conftest.$ac_ext 21052LIBS=$ac_check_lib_save_LIBS 21053fi 21054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21055$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21056if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21057 ac_cv_libcerror_dummy=yes 21058else 21059 ac_cv_libcerror=no 21060fi 21061 21062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21063$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21064if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21065 $as_echo_n "(cached) " >&6 21066else 21067 ac_check_lib_save_LIBS=$LIBS 21068LIBS="-lcerror $LIBS" 21069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21070/* end confdefs.h. */ 21071 21072/* Override any GCC internal prototype to avoid an error. 21073 Use char because int might match the return type of a GCC 21074 builtin and then its argument prototype would still apply. */ 21075#ifdef __cplusplus 21076extern "C" 21077#endif 21078char libcerror_error_backtrace_sprint (); 21079int 21080main () 21081{ 21082return libcerror_error_backtrace_sprint (); 21083 ; 21084 return 0; 21085} 21086_ACEOF 21087if ac_fn_c_try_link "$LINENO"; then : 21088 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21089else 21090 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21091fi 21092rm -f core conftest.err conftest.$ac_objext \ 21093 conftest$ac_exeext conftest.$ac_ext 21094LIBS=$ac_check_lib_save_LIBS 21095fi 21096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21097$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21098if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21099 ac_cv_libcerror_dummy=yes 21100else 21101 ac_cv_libcerror=no 21102fi 21103 21104 21105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21106$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21107if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21108 $as_echo_n "(cached) " >&6 21109else 21110 ac_check_lib_save_LIBS=$LIBS 21111LIBS="-lcerror $LIBS" 21112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21113/* end confdefs.h. */ 21114 21115/* Override any GCC internal prototype to avoid an error. 21116 Use char because int might match the return type of a GCC 21117 builtin and then its argument prototype would still apply. */ 21118#ifdef __cplusplus 21119extern "C" 21120#endif 21121char libcerror_system_set_error (); 21122int 21123main () 21124{ 21125return libcerror_system_set_error (); 21126 ; 21127 return 0; 21128} 21129_ACEOF 21130if ac_fn_c_try_link "$LINENO"; then : 21131 ac_cv_lib_cerror_libcerror_system_set_error=yes 21132else 21133 ac_cv_lib_cerror_libcerror_system_set_error=no 21134fi 21135rm -f core conftest.err conftest.$ac_objext \ 21136 conftest$ac_exeext conftest.$ac_ext 21137LIBS=$ac_check_lib_save_LIBS 21138fi 21139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21140$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21141if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21142 ac_cv_libcerror_dummy=yes 21143else 21144 ac_cv_libcerror=no 21145fi 21146 21147 21148 ac_cv_libcerror_LIBADD="-lcerror" 21149fi 21150 21151fi 21152 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21154$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21155as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21156See \`config.log' for more details" "$LINENO" 5; } 21157 21158fi 21159 21160fi 21161 21162 if test "x$ac_cv_libcerror" = xyes; then : 21163 21164$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21165 21166 21167fi 21168 21169 if test "x$ac_cv_libcerror" = xyes; then : 21170 HAVE_LIBCERROR=1 21171 21172else 21173 HAVE_LIBCERROR=0 21174 21175 21176fi 21177 21178 21179 if test "x$ac_cv_libcerror" != xyes; then : 21180 for ac_header in stdarg.h varargs.h 21181do : 21182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21183ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21184if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21185 cat >>confdefs.h <<_ACEOF 21186#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21187_ACEOF 21188 21189fi 21190 21191done 21192 21193 21194 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21197as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21198See \`config.log' for more details" "$LINENO" 5; } 21199 21200fi 21201 21202 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21203 for ac_func in wcstombs 21204do : 21205 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21206if test "x$ac_cv_func_wcstombs" = xyes; then : 21207 cat >>confdefs.h <<_ACEOF 21208#define HAVE_WCSTOMBS 1 21209_ACEOF 21210 21211fi 21212done 21213 21214 21215 if test "x$ac_cv_func_wcstombs" != xyes; then : 21216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21218as_fn_error 1 "Missing function: wcstombs 21219See \`config.log' for more details" "$LINENO" 5; } 21220 21221fi 21222 21223fi 21224 21225 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21226if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21227 ac_have_decl=1 21228else 21229 ac_have_decl=0 21230fi 21231 21232cat >>confdefs.h <<_ACEOF 21233#define HAVE_DECL_STRERROR_R $ac_have_decl 21234_ACEOF 21235 21236for ac_func in strerror_r 21237do : 21238 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21239if test "x$ac_cv_func_strerror_r" = xyes; then : 21240 cat >>confdefs.h <<_ACEOF 21241#define HAVE_STRERROR_R 1 21242_ACEOF 21243 21244fi 21245done 21246 21247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21248$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21249if ${ac_cv_func_strerror_r_char_p+:} false; then : 21250 $as_echo_n "(cached) " >&6 21251else 21252 21253 ac_cv_func_strerror_r_char_p=no 21254 if test $ac_cv_have_decl_strerror_r = yes; then 21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21256/* end confdefs.h. */ 21257$ac_includes_default 21258int 21259main () 21260{ 21261 21262 char buf[100]; 21263 char x = *strerror_r (0, buf, sizeof buf); 21264 char *p = strerror_r (0, buf, sizeof buf); 21265 return !p || x; 21266 21267 ; 21268 return 0; 21269} 21270_ACEOF 21271if ac_fn_c_try_compile "$LINENO"; then : 21272 ac_cv_func_strerror_r_char_p=yes 21273fi 21274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21275 else 21276 # strerror_r is not declared. Choose between 21277 # systems that have relatively inaccessible declarations for the 21278 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21279 # former has a strerror_r that returns char*, while the latter 21280 # has a strerror_r that returns `int'. 21281 # This test should segfault on the DEC system. 21282 if test "$cross_compiling" = yes; then : 21283 : 21284else 21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21286/* end confdefs.h. */ 21287$ac_includes_default 21288 extern char *strerror_r (); 21289int 21290main () 21291{ 21292char buf[100]; 21293 char x = *strerror_r (0, buf, sizeof buf); 21294 return ! isalpha (x); 21295 ; 21296 return 0; 21297} 21298_ACEOF 21299if ac_fn_c_try_run "$LINENO"; then : 21300 ac_cv_func_strerror_r_char_p=yes 21301fi 21302rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21303 conftest.$ac_objext conftest.beam conftest.$ac_ext 21304fi 21305 21306 fi 21307 21308fi 21309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21310$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21311if test $ac_cv_func_strerror_r_char_p = yes; then 21312 21313$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21314 21315fi 21316 21317 21318 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21319 for ac_func in strerror 21320do : 21321 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21322if test "x$ac_cv_func_strerror" = xyes; then : 21323 cat >>confdefs.h <<_ACEOF 21324#define HAVE_STRERROR 1 21325_ACEOF 21326 21327fi 21328done 21329 21330 21331 if test "x$ac_cv_func_strerror" != xyes; then : 21332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21334as_fn_error 1 "Missing functions: strerror_r and strerror 21335See \`config.log' for more details" "$LINENO" 5; } 21336 21337fi 21338 21339fi 21340 21341 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21342 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21343 21344 ac_cv_libcerror=local 21345 21346 21347 21348$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21349 21350 HAVE_LOCAL_LIBCERROR=1 21351 21352 21353fi 21354 21355 if test "x$ac_cv_libcerror" = xlocal; then 21356 HAVE_LOCAL_LIBCERROR_TRUE= 21357 HAVE_LOCAL_LIBCERROR_FALSE='#' 21358else 21359 HAVE_LOCAL_LIBCERROR_TRUE='#' 21360 HAVE_LOCAL_LIBCERROR_FALSE= 21361fi 21362 21363 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21364 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21365 21366 21367fi 21368 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21369 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21370 21371 21372fi 21373 21374 if test "x$ac_cv_libcerror" = xyes; then : 21375 ax_libcerror_pc_libs_private=-lcerror 21376 21377 21378fi 21379 21380 if test "x$ac_cv_libcerror" = xyes; then : 21381 ax_libcerror_spec_requires=libcerror 21382 21383 ax_libcerror_spec_build_requires=libcerror-devel 21384 21385 21386fi 21387 21388 21389 21390 # Check whether --enable-multi-threading-support was given. 21391if test "${enable_multi_threading_support+set}" = set; then : 21392 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21393else 21394 ac_cv_enable_multi_threading_support=yes 21395fi 21396 21397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21398$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21399if ${ac_cv_enable_multi_threading_support+:} false; then : 21400 $as_echo_n "(cached) " >&6 21401else 21402 ac_cv_enable_multi_threading_support=yes 21403fi 21404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21405$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21406 21407 21408# Check whether --with-libcthreads was given. 21409if test "${with_libcthreads+set}" = set; then : 21410 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21411else 21412 ac_cv_with_libcthreads=auto-detect 21413fi 21414 21415 { $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 21416$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; } 21417if ${ac_cv_with_libcthreads+:} false; then : 21418 $as_echo_n "(cached) " >&6 21419else 21420 ac_cv_with_libcthreads=auto-detect 21421fi 21422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21423$as_echo "$ac_cv_with_libcthreads" >&6; } 21424 21425 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21426 ac_cv_libcthreads="no" 21427 ac_cv_libcthreads_multi_threading="no" 21428else 21429 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21430 ac_cv_libcthreads=no 21431else 21432 ac_cv_libcthreads=check 21433 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21434 if test -d "$ac_cv_with_libcthreads"; then : 21435 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21436 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21437else 21438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21439$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21440as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21441See \`config.log' for more details" "$LINENO" 5; } 21442 21443fi 21444 21445else 21446 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21447 21448pkg_failed=no 21449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21450$as_echo_n "checking for libcthreads... " >&6; } 21451 21452if test -n "$libcthreads_CFLAGS"; then 21453 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21454 elif test -n "$PKG_CONFIG"; then 21455 if test -n "$PKG_CONFIG" && \ 21456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21457 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21458 ac_status=$? 21459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21460 test $ac_status = 0; }; then 21461 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21462 test "x$?" != "x0" && pkg_failed=yes 21463else 21464 pkg_failed=yes 21465fi 21466 else 21467 pkg_failed=untried 21468fi 21469if test -n "$libcthreads_LIBS"; then 21470 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21471 elif test -n "$PKG_CONFIG"; then 21472 if test -n "$PKG_CONFIG" && \ 21473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21474 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21475 ac_status=$? 21476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21477 test $ac_status = 0; }; then 21478 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21479 test "x$?" != "x0" && pkg_failed=yes 21480else 21481 pkg_failed=yes 21482fi 21483 else 21484 pkg_failed=untried 21485fi 21486 21487 21488 21489if test $pkg_failed = yes; then 21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21491$as_echo "no" >&6; } 21492 21493if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21494 _pkg_short_errors_supported=yes 21495else 21496 _pkg_short_errors_supported=no 21497fi 21498 if test $_pkg_short_errors_supported = yes; then 21499 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21500 else 21501 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21502 fi 21503 # Put the nasty error message in config.log where it belongs 21504 echo "$libcthreads_PKG_ERRORS" >&5 21505 21506 ac_cv_libcthreads=check 21507elif test $pkg_failed = untried; then 21508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21509$as_echo "no" >&6; } 21510 ac_cv_libcthreads=check 21511else 21512 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21513 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21515$as_echo "yes" >&6; } 21516 ac_cv_libcthreads=yes 21517fi 21518 21519fi 21520 if test "x$ac_cv_libcthreads" = xyes; then : 21521 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21522 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21523fi 21524 21525fi 21526 21527 if test "x$ac_cv_libcthreads" = xcheck; then : 21528 for ac_header in libcthreads.h 21529do : 21530 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21531if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21532 cat >>confdefs.h <<_ACEOF 21533#define HAVE_LIBCTHREADS_H 1 21534_ACEOF 21535 21536fi 21537 21538done 21539 21540 21541 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21542 ac_cv_libcthreads=no 21543else 21544 ac_cv_libcthreads=yes 21545 21546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21547$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21548if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21549 $as_echo_n "(cached) " >&6 21550else 21551 ac_check_lib_save_LIBS=$LIBS 21552LIBS="-lcthreads $LIBS" 21553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21554/* end confdefs.h. */ 21555 21556/* Override any GCC internal prototype to avoid an error. 21557 Use char because int might match the return type of a GCC 21558 builtin and then its argument prototype would still apply. */ 21559#ifdef __cplusplus 21560extern "C" 21561#endif 21562char libcthreads_get_version (); 21563int 21564main () 21565{ 21566return libcthreads_get_version (); 21567 ; 21568 return 0; 21569} 21570_ACEOF 21571if ac_fn_c_try_link "$LINENO"; then : 21572 ac_cv_lib_cthreads_libcthreads_get_version=yes 21573else 21574 ac_cv_lib_cthreads_libcthreads_get_version=no 21575fi 21576rm -f core conftest.err conftest.$ac_objext \ 21577 conftest$ac_exeext conftest.$ac_ext 21578LIBS=$ac_check_lib_save_LIBS 21579fi 21580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21581$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21582if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21583 ac_cv_libcthreads_dummy=yes 21584else 21585 ac_cv_libcthreads=no 21586fi 21587 21588 21589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21590$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21591if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21592 $as_echo_n "(cached) " >&6 21593else 21594 ac_check_lib_save_LIBS=$LIBS 21595LIBS="-lcthreads $LIBS" 21596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21597/* end confdefs.h. */ 21598 21599/* Override any GCC internal prototype to avoid an error. 21600 Use char because int might match the return type of a GCC 21601 builtin and then its argument prototype would still apply. */ 21602#ifdef __cplusplus 21603extern "C" 21604#endif 21605char libcthreads_thread_create (); 21606int 21607main () 21608{ 21609return libcthreads_thread_create (); 21610 ; 21611 return 0; 21612} 21613_ACEOF 21614if ac_fn_c_try_link "$LINENO"; then : 21615 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21616else 21617 ac_cv_lib_cthreads_libcthreads_thread_create=no 21618fi 21619rm -f core conftest.err conftest.$ac_objext \ 21620 conftest$ac_exeext conftest.$ac_ext 21621LIBS=$ac_check_lib_save_LIBS 21622fi 21623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21624$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21625if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21626 ac_cv_libcthreads_dummy=yes 21627else 21628 ac_cv_libcthreads=no 21629fi 21630 21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21632$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21633if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21634 $as_echo_n "(cached) " >&6 21635else 21636 ac_check_lib_save_LIBS=$LIBS 21637LIBS="-lcthreads $LIBS" 21638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21639/* end confdefs.h. */ 21640 21641/* Override any GCC internal prototype to avoid an error. 21642 Use char because int might match the return type of a GCC 21643 builtin and then its argument prototype would still apply. */ 21644#ifdef __cplusplus 21645extern "C" 21646#endif 21647char libcthreads_thread_join (); 21648int 21649main () 21650{ 21651return libcthreads_thread_join (); 21652 ; 21653 return 0; 21654} 21655_ACEOF 21656if ac_fn_c_try_link "$LINENO"; then : 21657 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21658else 21659 ac_cv_lib_cthreads_libcthreads_thread_join=no 21660fi 21661rm -f core conftest.err conftest.$ac_objext \ 21662 conftest$ac_exeext conftest.$ac_ext 21663LIBS=$ac_check_lib_save_LIBS 21664fi 21665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21666$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21667if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21668 ac_cv_libcthreads_dummy=yes 21669else 21670 ac_cv_libcthreads=no 21671fi 21672 21673 21674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21675$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21676if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21677 $as_echo_n "(cached) " >&6 21678else 21679 ac_check_lib_save_LIBS=$LIBS 21680LIBS="-lcthreads $LIBS" 21681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21682/* end confdefs.h. */ 21683 21684/* Override any GCC internal prototype to avoid an error. 21685 Use char because int might match the return type of a GCC 21686 builtin and then its argument prototype would still apply. */ 21687#ifdef __cplusplus 21688extern "C" 21689#endif 21690char libcthreads_thread_attributes_initialize (); 21691int 21692main () 21693{ 21694return libcthreads_thread_attributes_initialize (); 21695 ; 21696 return 0; 21697} 21698_ACEOF 21699if ac_fn_c_try_link "$LINENO"; then : 21700 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21701else 21702 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21703fi 21704rm -f core conftest.err conftest.$ac_objext \ 21705 conftest$ac_exeext conftest.$ac_ext 21706LIBS=$ac_check_lib_save_LIBS 21707fi 21708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21709$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21710if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21711 ac_cv_libcthreads_dummy=yes 21712else 21713 ac_cv_libcthreads=no 21714fi 21715 21716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21717$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21718if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21719 $as_echo_n "(cached) " >&6 21720else 21721 ac_check_lib_save_LIBS=$LIBS 21722LIBS="-lcthreads $LIBS" 21723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21724/* end confdefs.h. */ 21725 21726/* Override any GCC internal prototype to avoid an error. 21727 Use char because int might match the return type of a GCC 21728 builtin and then its argument prototype would still apply. */ 21729#ifdef __cplusplus 21730extern "C" 21731#endif 21732char libcthreads_thread_attributes_free (); 21733int 21734main () 21735{ 21736return libcthreads_thread_attributes_free (); 21737 ; 21738 return 0; 21739} 21740_ACEOF 21741if ac_fn_c_try_link "$LINENO"; then : 21742 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21743else 21744 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21745fi 21746rm -f core conftest.err conftest.$ac_objext \ 21747 conftest$ac_exeext conftest.$ac_ext 21748LIBS=$ac_check_lib_save_LIBS 21749fi 21750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21751$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21752if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21753 ac_cv_libcthreads_dummy=yes 21754else 21755 ac_cv_libcthreads=no 21756fi 21757 21758 21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21760$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21761if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21762 $as_echo_n "(cached) " >&6 21763else 21764 ac_check_lib_save_LIBS=$LIBS 21765LIBS="-lcthreads $LIBS" 21766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21767/* end confdefs.h. */ 21768 21769/* Override any GCC internal prototype to avoid an error. 21770 Use char because int might match the return type of a GCC 21771 builtin and then its argument prototype would still apply. */ 21772#ifdef __cplusplus 21773extern "C" 21774#endif 21775char libcthreads_condition_initialize (); 21776int 21777main () 21778{ 21779return libcthreads_condition_initialize (); 21780 ; 21781 return 0; 21782} 21783_ACEOF 21784if ac_fn_c_try_link "$LINENO"; then : 21785 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21786else 21787 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21788fi 21789rm -f core conftest.err conftest.$ac_objext \ 21790 conftest$ac_exeext conftest.$ac_ext 21791LIBS=$ac_check_lib_save_LIBS 21792fi 21793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21794$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21795if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21796 ac_cv_libcthreads_dummy=yes 21797else 21798 ac_cv_libcthreads=no 21799fi 21800 21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21802$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21803if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21804 $as_echo_n "(cached) " >&6 21805else 21806 ac_check_lib_save_LIBS=$LIBS 21807LIBS="-lcthreads $LIBS" 21808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21809/* end confdefs.h. */ 21810 21811/* Override any GCC internal prototype to avoid an error. 21812 Use char because int might match the return type of a GCC 21813 builtin and then its argument prototype would still apply. */ 21814#ifdef __cplusplus 21815extern "C" 21816#endif 21817char libcthreads_condition_free (); 21818int 21819main () 21820{ 21821return libcthreads_condition_free (); 21822 ; 21823 return 0; 21824} 21825_ACEOF 21826if ac_fn_c_try_link "$LINENO"; then : 21827 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21828else 21829 ac_cv_lib_cthreads_libcthreads_condition_free=no 21830fi 21831rm -f core conftest.err conftest.$ac_objext \ 21832 conftest$ac_exeext conftest.$ac_ext 21833LIBS=$ac_check_lib_save_LIBS 21834fi 21835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21836$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21837if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21838 ac_cv_libcthreads_dummy=yes 21839else 21840 ac_cv_libcthreads=no 21841fi 21842 21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21844$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21845if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21846 $as_echo_n "(cached) " >&6 21847else 21848 ac_check_lib_save_LIBS=$LIBS 21849LIBS="-lcthreads $LIBS" 21850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21851/* end confdefs.h. */ 21852 21853/* Override any GCC internal prototype to avoid an error. 21854 Use char because int might match the return type of a GCC 21855 builtin and then its argument prototype would still apply. */ 21856#ifdef __cplusplus 21857extern "C" 21858#endif 21859char libcthreads_condition_broadcast (); 21860int 21861main () 21862{ 21863return libcthreads_condition_broadcast (); 21864 ; 21865 return 0; 21866} 21867_ACEOF 21868if ac_fn_c_try_link "$LINENO"; then : 21869 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21870else 21871 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21872fi 21873rm -f core conftest.err conftest.$ac_objext \ 21874 conftest$ac_exeext conftest.$ac_ext 21875LIBS=$ac_check_lib_save_LIBS 21876fi 21877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21878$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21879if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21880 ac_cv_libcthreads_dummy=yes 21881else 21882 ac_cv_libcthreads=no 21883fi 21884 21885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21886$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21887if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21888 $as_echo_n "(cached) " >&6 21889else 21890 ac_check_lib_save_LIBS=$LIBS 21891LIBS="-lcthreads $LIBS" 21892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21893/* end confdefs.h. */ 21894 21895/* Override any GCC internal prototype to avoid an error. 21896 Use char because int might match the return type of a GCC 21897 builtin and then its argument prototype would still apply. */ 21898#ifdef __cplusplus 21899extern "C" 21900#endif 21901char libcthreads_condition_signal (); 21902int 21903main () 21904{ 21905return libcthreads_condition_signal (); 21906 ; 21907 return 0; 21908} 21909_ACEOF 21910if ac_fn_c_try_link "$LINENO"; then : 21911 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21912else 21913 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21914fi 21915rm -f core conftest.err conftest.$ac_objext \ 21916 conftest$ac_exeext conftest.$ac_ext 21917LIBS=$ac_check_lib_save_LIBS 21918fi 21919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21920$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21921if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21922 ac_cv_libcthreads_dummy=yes 21923else 21924 ac_cv_libcthreads=no 21925fi 21926 21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21928$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21929if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 21930 $as_echo_n "(cached) " >&6 21931else 21932 ac_check_lib_save_LIBS=$LIBS 21933LIBS="-lcthreads $LIBS" 21934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21935/* end confdefs.h. */ 21936 21937/* Override any GCC internal prototype to avoid an error. 21938 Use char because int might match the return type of a GCC 21939 builtin and then its argument prototype would still apply. */ 21940#ifdef __cplusplus 21941extern "C" 21942#endif 21943char libcthreads_condition_wait (); 21944int 21945main () 21946{ 21947return libcthreads_condition_wait (); 21948 ; 21949 return 0; 21950} 21951_ACEOF 21952if ac_fn_c_try_link "$LINENO"; then : 21953 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 21954else 21955 ac_cv_lib_cthreads_libcthreads_condition_wait=no 21956fi 21957rm -f core conftest.err conftest.$ac_objext \ 21958 conftest$ac_exeext conftest.$ac_ext 21959LIBS=$ac_check_lib_save_LIBS 21960fi 21961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 21962$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 21963if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 21964 ac_cv_libcthreads_dummy=yes 21965else 21966 ac_cv_libcthreads=no 21967fi 21968 21969 21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 21971$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 21972if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 21973 $as_echo_n "(cached) " >&6 21974else 21975 ac_check_lib_save_LIBS=$LIBS 21976LIBS="-lcthreads $LIBS" 21977cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21978/* end confdefs.h. */ 21979 21980/* Override any GCC internal prototype to avoid an error. 21981 Use char because int might match the return type of a GCC 21982 builtin and then its argument prototype would still apply. */ 21983#ifdef __cplusplus 21984extern "C" 21985#endif 21986char libcthreads_lock_initialize (); 21987int 21988main () 21989{ 21990return libcthreads_lock_initialize (); 21991 ; 21992 return 0; 21993} 21994_ACEOF 21995if ac_fn_c_try_link "$LINENO"; then : 21996 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 21997else 21998 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 21999fi 22000rm -f core conftest.err conftest.$ac_objext \ 22001 conftest$ac_exeext conftest.$ac_ext 22002LIBS=$ac_check_lib_save_LIBS 22003fi 22004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22005$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22006if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22007 ac_cv_libcthreads_dummy=yes 22008else 22009 ac_cv_libcthreads=no 22010fi 22011 22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22013$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22014if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22015 $as_echo_n "(cached) " >&6 22016else 22017 ac_check_lib_save_LIBS=$LIBS 22018LIBS="-lcthreads $LIBS" 22019cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22020/* end confdefs.h. */ 22021 22022/* Override any GCC internal prototype to avoid an error. 22023 Use char because int might match the return type of a GCC 22024 builtin and then its argument prototype would still apply. */ 22025#ifdef __cplusplus 22026extern "C" 22027#endif 22028char libcthreads_lock_free (); 22029int 22030main () 22031{ 22032return libcthreads_lock_free (); 22033 ; 22034 return 0; 22035} 22036_ACEOF 22037if ac_fn_c_try_link "$LINENO"; then : 22038 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22039else 22040 ac_cv_lib_cthreads_libcthreads_lock_free=no 22041fi 22042rm -f core conftest.err conftest.$ac_objext \ 22043 conftest$ac_exeext conftest.$ac_ext 22044LIBS=$ac_check_lib_save_LIBS 22045fi 22046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22047$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22048if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22049 ac_cv_libcthreads_dummy=yes 22050else 22051 ac_cv_libcthreads=no 22052fi 22053 22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22055$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22056if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22057 $as_echo_n "(cached) " >&6 22058else 22059 ac_check_lib_save_LIBS=$LIBS 22060LIBS="-lcthreads $LIBS" 22061cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22062/* end confdefs.h. */ 22063 22064/* Override any GCC internal prototype to avoid an error. 22065 Use char because int might match the return type of a GCC 22066 builtin and then its argument prototype would still apply. */ 22067#ifdef __cplusplus 22068extern "C" 22069#endif 22070char libcthreads_lock_grab (); 22071int 22072main () 22073{ 22074return libcthreads_lock_grab (); 22075 ; 22076 return 0; 22077} 22078_ACEOF 22079if ac_fn_c_try_link "$LINENO"; then : 22080 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22081else 22082 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22083fi 22084rm -f core conftest.err conftest.$ac_objext \ 22085 conftest$ac_exeext conftest.$ac_ext 22086LIBS=$ac_check_lib_save_LIBS 22087fi 22088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22089$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22090if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22091 ac_cv_libcthreads_dummy=yes 22092else 22093 ac_cv_libcthreads=no 22094fi 22095 22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22097$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22098if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22099 $as_echo_n "(cached) " >&6 22100else 22101 ac_check_lib_save_LIBS=$LIBS 22102LIBS="-lcthreads $LIBS" 22103cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22104/* end confdefs.h. */ 22105 22106/* Override any GCC internal prototype to avoid an error. 22107 Use char because int might match the return type of a GCC 22108 builtin and then its argument prototype would still apply. */ 22109#ifdef __cplusplus 22110extern "C" 22111#endif 22112char libcthreads_lock_release (); 22113int 22114main () 22115{ 22116return libcthreads_lock_release (); 22117 ; 22118 return 0; 22119} 22120_ACEOF 22121if ac_fn_c_try_link "$LINENO"; then : 22122 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22123else 22124 ac_cv_lib_cthreads_libcthreads_lock_release=no 22125fi 22126rm -f core conftest.err conftest.$ac_objext \ 22127 conftest$ac_exeext conftest.$ac_ext 22128LIBS=$ac_check_lib_save_LIBS 22129fi 22130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22131$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22132if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22133 ac_cv_libcthreads_dummy=yes 22134else 22135 ac_cv_libcthreads=no 22136fi 22137 22138 22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22140$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22141if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22142 $as_echo_n "(cached) " >&6 22143else 22144 ac_check_lib_save_LIBS=$LIBS 22145LIBS="-lcthreads $LIBS" 22146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22147/* end confdefs.h. */ 22148 22149/* Override any GCC internal prototype to avoid an error. 22150 Use char because int might match the return type of a GCC 22151 builtin and then its argument prototype would still apply. */ 22152#ifdef __cplusplus 22153extern "C" 22154#endif 22155char libcthreads_mutex_initialize (); 22156int 22157main () 22158{ 22159return libcthreads_mutex_initialize (); 22160 ; 22161 return 0; 22162} 22163_ACEOF 22164if ac_fn_c_try_link "$LINENO"; then : 22165 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22166else 22167 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22168fi 22169rm -f core conftest.err conftest.$ac_objext \ 22170 conftest$ac_exeext conftest.$ac_ext 22171LIBS=$ac_check_lib_save_LIBS 22172fi 22173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22174$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22175if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22176 ac_cv_libcthreads_dummy=yes 22177else 22178 ac_cv_libcthreads=no 22179fi 22180 22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22182$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22183if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22184 $as_echo_n "(cached) " >&6 22185else 22186 ac_check_lib_save_LIBS=$LIBS 22187LIBS="-lcthreads $LIBS" 22188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22189/* end confdefs.h. */ 22190 22191/* Override any GCC internal prototype to avoid an error. 22192 Use char because int might match the return type of a GCC 22193 builtin and then its argument prototype would still apply. */ 22194#ifdef __cplusplus 22195extern "C" 22196#endif 22197char libcthreads_mutex_free (); 22198int 22199main () 22200{ 22201return libcthreads_mutex_free (); 22202 ; 22203 return 0; 22204} 22205_ACEOF 22206if ac_fn_c_try_link "$LINENO"; then : 22207 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22208else 22209 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22210fi 22211rm -f core conftest.err conftest.$ac_objext \ 22212 conftest$ac_exeext conftest.$ac_ext 22213LIBS=$ac_check_lib_save_LIBS 22214fi 22215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22216$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22217if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22218 ac_cv_libcthreads_dummy=yes 22219else 22220 ac_cv_libcthreads=no 22221fi 22222 22223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22224$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22225if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22226 $as_echo_n "(cached) " >&6 22227else 22228 ac_check_lib_save_LIBS=$LIBS 22229LIBS="-lcthreads $LIBS" 22230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22231/* end confdefs.h. */ 22232 22233/* Override any GCC internal prototype to avoid an error. 22234 Use char because int might match the return type of a GCC 22235 builtin and then its argument prototype would still apply. */ 22236#ifdef __cplusplus 22237extern "C" 22238#endif 22239char libcthreads_mutex_grab (); 22240int 22241main () 22242{ 22243return libcthreads_mutex_grab (); 22244 ; 22245 return 0; 22246} 22247_ACEOF 22248if ac_fn_c_try_link "$LINENO"; then : 22249 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22250else 22251 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22252fi 22253rm -f core conftest.err conftest.$ac_objext \ 22254 conftest$ac_exeext conftest.$ac_ext 22255LIBS=$ac_check_lib_save_LIBS 22256fi 22257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22258$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22259if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22260 ac_cv_libcthreads_dummy=yes 22261else 22262 ac_cv_libcthreads=no 22263fi 22264 22265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22266$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22267if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22268 $as_echo_n "(cached) " >&6 22269else 22270 ac_check_lib_save_LIBS=$LIBS 22271LIBS="-lcthreads $LIBS" 22272cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22273/* end confdefs.h. */ 22274 22275/* Override any GCC internal prototype to avoid an error. 22276 Use char because int might match the return type of a GCC 22277 builtin and then its argument prototype would still apply. */ 22278#ifdef __cplusplus 22279extern "C" 22280#endif 22281char libcthreads_mutex_try_grab (); 22282int 22283main () 22284{ 22285return libcthreads_mutex_try_grab (); 22286 ; 22287 return 0; 22288} 22289_ACEOF 22290if ac_fn_c_try_link "$LINENO"; then : 22291 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22292else 22293 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22294fi 22295rm -f core conftest.err conftest.$ac_objext \ 22296 conftest$ac_exeext conftest.$ac_ext 22297LIBS=$ac_check_lib_save_LIBS 22298fi 22299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22300$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22301if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22302 ac_cv_libcthreads_dummy=yes 22303else 22304 ac_cv_libcthreads=no 22305fi 22306 22307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22308$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22309if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22310 $as_echo_n "(cached) " >&6 22311else 22312 ac_check_lib_save_LIBS=$LIBS 22313LIBS="-lcthreads $LIBS" 22314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22315/* end confdefs.h. */ 22316 22317/* Override any GCC internal prototype to avoid an error. 22318 Use char because int might match the return type of a GCC 22319 builtin and then its argument prototype would still apply. */ 22320#ifdef __cplusplus 22321extern "C" 22322#endif 22323char libcthreads_mutex_release (); 22324int 22325main () 22326{ 22327return libcthreads_mutex_release (); 22328 ; 22329 return 0; 22330} 22331_ACEOF 22332if ac_fn_c_try_link "$LINENO"; then : 22333 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22334else 22335 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22336fi 22337rm -f core conftest.err conftest.$ac_objext \ 22338 conftest$ac_exeext conftest.$ac_ext 22339LIBS=$ac_check_lib_save_LIBS 22340fi 22341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22342$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22343if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22344 ac_cv_libcthreads_dummy=yes 22345else 22346 ac_cv_libcthreads=no 22347fi 22348 22349 22350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22351$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22352if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22353 $as_echo_n "(cached) " >&6 22354else 22355 ac_check_lib_save_LIBS=$LIBS 22356LIBS="-lcthreads $LIBS" 22357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22358/* end confdefs.h. */ 22359 22360/* Override any GCC internal prototype to avoid an error. 22361 Use char because int might match the return type of a GCC 22362 builtin and then its argument prototype would still apply. */ 22363#ifdef __cplusplus 22364extern "C" 22365#endif 22366char libcthreads_read_write_lock_initialize (); 22367int 22368main () 22369{ 22370return libcthreads_read_write_lock_initialize (); 22371 ; 22372 return 0; 22373} 22374_ACEOF 22375if ac_fn_c_try_link "$LINENO"; then : 22376 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22377else 22378 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22379fi 22380rm -f core conftest.err conftest.$ac_objext \ 22381 conftest$ac_exeext conftest.$ac_ext 22382LIBS=$ac_check_lib_save_LIBS 22383fi 22384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22385$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22386if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22387 ac_cv_libcthreads_dummy=yes 22388else 22389 ac_cv_libcthreads=no 22390fi 22391 22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22393$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22394if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22395 $as_echo_n "(cached) " >&6 22396else 22397 ac_check_lib_save_LIBS=$LIBS 22398LIBS="-lcthreads $LIBS" 22399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22400/* end confdefs.h. */ 22401 22402/* Override any GCC internal prototype to avoid an error. 22403 Use char because int might match the return type of a GCC 22404 builtin and then its argument prototype would still apply. */ 22405#ifdef __cplusplus 22406extern "C" 22407#endif 22408char libcthreads_read_write_lock_free (); 22409int 22410main () 22411{ 22412return libcthreads_read_write_lock_free (); 22413 ; 22414 return 0; 22415} 22416_ACEOF 22417if ac_fn_c_try_link "$LINENO"; then : 22418 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22419else 22420 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22421fi 22422rm -f core conftest.err conftest.$ac_objext \ 22423 conftest$ac_exeext conftest.$ac_ext 22424LIBS=$ac_check_lib_save_LIBS 22425fi 22426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22427$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22428if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22429 ac_cv_libcthreads_dummy=yes 22430else 22431 ac_cv_libcthreads=no 22432fi 22433 22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22435$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22436if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22437 $as_echo_n "(cached) " >&6 22438else 22439 ac_check_lib_save_LIBS=$LIBS 22440LIBS="-lcthreads $LIBS" 22441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22442/* end confdefs.h. */ 22443 22444/* Override any GCC internal prototype to avoid an error. 22445 Use char because int might match the return type of a GCC 22446 builtin and then its argument prototype would still apply. */ 22447#ifdef __cplusplus 22448extern "C" 22449#endif 22450char libcthreads_read_write_lock_grab_for_read (); 22451int 22452main () 22453{ 22454return libcthreads_read_write_lock_grab_for_read (); 22455 ; 22456 return 0; 22457} 22458_ACEOF 22459if ac_fn_c_try_link "$LINENO"; then : 22460 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22461else 22462 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22463fi 22464rm -f core conftest.err conftest.$ac_objext \ 22465 conftest$ac_exeext conftest.$ac_ext 22466LIBS=$ac_check_lib_save_LIBS 22467fi 22468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22469$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22470if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22471 ac_cv_libcthreads_dummy=yes 22472else 22473 ac_cv_libcthreads=no 22474fi 22475 22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22477$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22478if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22479 $as_echo_n "(cached) " >&6 22480else 22481 ac_check_lib_save_LIBS=$LIBS 22482LIBS="-lcthreads $LIBS" 22483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22484/* end confdefs.h. */ 22485 22486/* Override any GCC internal prototype to avoid an error. 22487 Use char because int might match the return type of a GCC 22488 builtin and then its argument prototype would still apply. */ 22489#ifdef __cplusplus 22490extern "C" 22491#endif 22492char libcthreads_read_write_lock_grab_for_write (); 22493int 22494main () 22495{ 22496return libcthreads_read_write_lock_grab_for_write (); 22497 ; 22498 return 0; 22499} 22500_ACEOF 22501if ac_fn_c_try_link "$LINENO"; then : 22502 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22503else 22504 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22505fi 22506rm -f core conftest.err conftest.$ac_objext \ 22507 conftest$ac_exeext conftest.$ac_ext 22508LIBS=$ac_check_lib_save_LIBS 22509fi 22510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22511$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22512if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22513 ac_cv_libcthreads_dummy=yes 22514else 22515 ac_cv_libcthreads=no 22516fi 22517 22518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22519$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22520if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22521 $as_echo_n "(cached) " >&6 22522else 22523 ac_check_lib_save_LIBS=$LIBS 22524LIBS="-lcthreads $LIBS" 22525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22526/* end confdefs.h. */ 22527 22528/* Override any GCC internal prototype to avoid an error. 22529 Use char because int might match the return type of a GCC 22530 builtin and then its argument prototype would still apply. */ 22531#ifdef __cplusplus 22532extern "C" 22533#endif 22534char libcthreads_read_write_lock_release_for_read (); 22535int 22536main () 22537{ 22538return libcthreads_read_write_lock_release_for_read (); 22539 ; 22540 return 0; 22541} 22542_ACEOF 22543if ac_fn_c_try_link "$LINENO"; then : 22544 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22545else 22546 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22547fi 22548rm -f core conftest.err conftest.$ac_objext \ 22549 conftest$ac_exeext conftest.$ac_ext 22550LIBS=$ac_check_lib_save_LIBS 22551fi 22552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22553$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22554if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22555 ac_cv_libcthreads_dummy=yes 22556else 22557 ac_cv_libcthreads=no 22558fi 22559 22560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22561$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22562if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22563 $as_echo_n "(cached) " >&6 22564else 22565 ac_check_lib_save_LIBS=$LIBS 22566LIBS="-lcthreads $LIBS" 22567cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22568/* end confdefs.h. */ 22569 22570/* Override any GCC internal prototype to avoid an error. 22571 Use char because int might match the return type of a GCC 22572 builtin and then its argument prototype would still apply. */ 22573#ifdef __cplusplus 22574extern "C" 22575#endif 22576char libcthreads_read_write_lock_release_for_write (); 22577int 22578main () 22579{ 22580return libcthreads_read_write_lock_release_for_write (); 22581 ; 22582 return 0; 22583} 22584_ACEOF 22585if ac_fn_c_try_link "$LINENO"; then : 22586 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22587else 22588 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22589fi 22590rm -f core conftest.err conftest.$ac_objext \ 22591 conftest$ac_exeext conftest.$ac_ext 22592LIBS=$ac_check_lib_save_LIBS 22593fi 22594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22595$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22596if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22597 ac_cv_libcthreads_dummy=yes 22598else 22599 ac_cv_libcthreads=no 22600fi 22601 22602 22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22604$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22605if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22606 $as_echo_n "(cached) " >&6 22607else 22608 ac_check_lib_save_LIBS=$LIBS 22609LIBS="-lcthreads $LIBS" 22610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22611/* end confdefs.h. */ 22612 22613/* Override any GCC internal prototype to avoid an error. 22614 Use char because int might match the return type of a GCC 22615 builtin and then its argument prototype would still apply. */ 22616#ifdef __cplusplus 22617extern "C" 22618#endif 22619char libcthreads_queue_initialize (); 22620int 22621main () 22622{ 22623return libcthreads_queue_initialize (); 22624 ; 22625 return 0; 22626} 22627_ACEOF 22628if ac_fn_c_try_link "$LINENO"; then : 22629 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22630else 22631 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22632fi 22633rm -f core conftest.err conftest.$ac_objext \ 22634 conftest$ac_exeext conftest.$ac_ext 22635LIBS=$ac_check_lib_save_LIBS 22636fi 22637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22638$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22639if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22640 ac_cv_libcthreads_dummy=yes 22641else 22642 ac_cv_libcthreads=no 22643fi 22644 22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22646$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22647if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22648 $as_echo_n "(cached) " >&6 22649else 22650 ac_check_lib_save_LIBS=$LIBS 22651LIBS="-lcthreads $LIBS" 22652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22653/* end confdefs.h. */ 22654 22655/* Override any GCC internal prototype to avoid an error. 22656 Use char because int might match the return type of a GCC 22657 builtin and then its argument prototype would still apply. */ 22658#ifdef __cplusplus 22659extern "C" 22660#endif 22661char libcthreads_queue_free (); 22662int 22663main () 22664{ 22665return libcthreads_queue_free (); 22666 ; 22667 return 0; 22668} 22669_ACEOF 22670if ac_fn_c_try_link "$LINENO"; then : 22671 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22672else 22673 ac_cv_lib_cthreads_libcthreads_queue_free=no 22674fi 22675rm -f core conftest.err conftest.$ac_objext \ 22676 conftest$ac_exeext conftest.$ac_ext 22677LIBS=$ac_check_lib_save_LIBS 22678fi 22679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22680$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22681if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22682 ac_cv_libcthreads_dummy=yes 22683else 22684 ac_cv_libcthreads=no 22685fi 22686 22687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22688$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22689if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22690 $as_echo_n "(cached) " >&6 22691else 22692 ac_check_lib_save_LIBS=$LIBS 22693LIBS="-lcthreads $LIBS" 22694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22695/* end confdefs.h. */ 22696 22697/* Override any GCC internal prototype to avoid an error. 22698 Use char because int might match the return type of a GCC 22699 builtin and then its argument prototype would still apply. */ 22700#ifdef __cplusplus 22701extern "C" 22702#endif 22703char libcthreads_queue_type_pop (); 22704int 22705main () 22706{ 22707return libcthreads_queue_type_pop (); 22708 ; 22709 return 0; 22710} 22711_ACEOF 22712if ac_fn_c_try_link "$LINENO"; then : 22713 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22714else 22715 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22716fi 22717rm -f core conftest.err conftest.$ac_objext \ 22718 conftest$ac_exeext conftest.$ac_ext 22719LIBS=$ac_check_lib_save_LIBS 22720fi 22721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22722$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22723if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22724 ac_cv_libcthreads_dummy=yes 22725else 22726 ac_cv_libcthreads=no 22727fi 22728 22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22730$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22731if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22732 $as_echo_n "(cached) " >&6 22733else 22734 ac_check_lib_save_LIBS=$LIBS 22735LIBS="-lcthreads $LIBS" 22736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22737/* end confdefs.h. */ 22738 22739/* Override any GCC internal prototype to avoid an error. 22740 Use char because int might match the return type of a GCC 22741 builtin and then its argument prototype would still apply. */ 22742#ifdef __cplusplus 22743extern "C" 22744#endif 22745char libcthreads_queue_pop (); 22746int 22747main () 22748{ 22749return libcthreads_queue_pop (); 22750 ; 22751 return 0; 22752} 22753_ACEOF 22754if ac_fn_c_try_link "$LINENO"; then : 22755 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22756else 22757 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22758fi 22759rm -f core conftest.err conftest.$ac_objext \ 22760 conftest$ac_exeext conftest.$ac_ext 22761LIBS=$ac_check_lib_save_LIBS 22762fi 22763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22764$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22765if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22766 ac_cv_libcthreads_dummy=yes 22767else 22768 ac_cv_libcthreads=no 22769fi 22770 22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22772$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22773if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22774 $as_echo_n "(cached) " >&6 22775else 22776 ac_check_lib_save_LIBS=$LIBS 22777LIBS="-lcthreads $LIBS" 22778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22779/* end confdefs.h. */ 22780 22781/* Override any GCC internal prototype to avoid an error. 22782 Use char because int might match the return type of a GCC 22783 builtin and then its argument prototype would still apply. */ 22784#ifdef __cplusplus 22785extern "C" 22786#endif 22787char libcthreads_queue_try_push (); 22788int 22789main () 22790{ 22791return libcthreads_queue_try_push (); 22792 ; 22793 return 0; 22794} 22795_ACEOF 22796if ac_fn_c_try_link "$LINENO"; then : 22797 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22798else 22799 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22800fi 22801rm -f core conftest.err conftest.$ac_objext \ 22802 conftest$ac_exeext conftest.$ac_ext 22803LIBS=$ac_check_lib_save_LIBS 22804fi 22805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22806$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22807if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22808 ac_cv_libcthreads_dummy=yes 22809else 22810 ac_cv_libcthreads=no 22811fi 22812 22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22814$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22815if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22816 $as_echo_n "(cached) " >&6 22817else 22818 ac_check_lib_save_LIBS=$LIBS 22819LIBS="-lcthreads $LIBS" 22820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22821/* end confdefs.h. */ 22822 22823/* Override any GCC internal prototype to avoid an error. 22824 Use char because int might match the return type of a GCC 22825 builtin and then its argument prototype would still apply. */ 22826#ifdef __cplusplus 22827extern "C" 22828#endif 22829char libcthreads_queue_push (); 22830int 22831main () 22832{ 22833return libcthreads_queue_push (); 22834 ; 22835 return 0; 22836} 22837_ACEOF 22838if ac_fn_c_try_link "$LINENO"; then : 22839 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22840else 22841 ac_cv_lib_cthreads_libcthreads_queue_push=no 22842fi 22843rm -f core conftest.err conftest.$ac_objext \ 22844 conftest$ac_exeext conftest.$ac_ext 22845LIBS=$ac_check_lib_save_LIBS 22846fi 22847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22848$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22849if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22850 ac_cv_libcthreads_dummy=yes 22851else 22852 ac_cv_libcthreads=no 22853fi 22854 22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22856$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22857if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22858 $as_echo_n "(cached) " >&6 22859else 22860 ac_check_lib_save_LIBS=$LIBS 22861LIBS="-lcthreads $LIBS" 22862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22863/* end confdefs.h. */ 22864 22865/* Override any GCC internal prototype to avoid an error. 22866 Use char because int might match the return type of a GCC 22867 builtin and then its argument prototype would still apply. */ 22868#ifdef __cplusplus 22869extern "C" 22870#endif 22871char libcthreads_queue_push_sorted (); 22872int 22873main () 22874{ 22875return libcthreads_queue_push_sorted (); 22876 ; 22877 return 0; 22878} 22879_ACEOF 22880if ac_fn_c_try_link "$LINENO"; then : 22881 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22882else 22883 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22884fi 22885rm -f core conftest.err conftest.$ac_objext \ 22886 conftest$ac_exeext conftest.$ac_ext 22887LIBS=$ac_check_lib_save_LIBS 22888fi 22889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22890$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22891if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22892 ac_cv_libcthreads_dummy=yes 22893else 22894 ac_cv_libcthreads=no 22895fi 22896 22897 22898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22899$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22900if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22901 $as_echo_n "(cached) " >&6 22902else 22903 ac_check_lib_save_LIBS=$LIBS 22904LIBS="-lcthreads $LIBS" 22905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22906/* end confdefs.h. */ 22907 22908/* Override any GCC internal prototype to avoid an error. 22909 Use char because int might match the return type of a GCC 22910 builtin and then its argument prototype would still apply. */ 22911#ifdef __cplusplus 22912extern "C" 22913#endif 22914char libcthreads_thread_pool_create (); 22915int 22916main () 22917{ 22918return libcthreads_thread_pool_create (); 22919 ; 22920 return 0; 22921} 22922_ACEOF 22923if ac_fn_c_try_link "$LINENO"; then : 22924 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22925else 22926 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22927fi 22928rm -f core conftest.err conftest.$ac_objext \ 22929 conftest$ac_exeext conftest.$ac_ext 22930LIBS=$ac_check_lib_save_LIBS 22931fi 22932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22933$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22934if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22935 ac_cv_libcthreads_dummy=yes 22936else 22937 ac_cv_libcthreads=no 22938fi 22939 22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 22941$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 22942if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 22943 $as_echo_n "(cached) " >&6 22944else 22945 ac_check_lib_save_LIBS=$LIBS 22946LIBS="-lcthreads $LIBS" 22947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22948/* end confdefs.h. */ 22949 22950/* Override any GCC internal prototype to avoid an error. 22951 Use char because int might match the return type of a GCC 22952 builtin and then its argument prototype would still apply. */ 22953#ifdef __cplusplus 22954extern "C" 22955#endif 22956char libcthreads_thread_pool_push (); 22957int 22958main () 22959{ 22960return libcthreads_thread_pool_push (); 22961 ; 22962 return 0; 22963} 22964_ACEOF 22965if ac_fn_c_try_link "$LINENO"; then : 22966 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 22967else 22968 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 22969fi 22970rm -f core conftest.err conftest.$ac_objext \ 22971 conftest$ac_exeext conftest.$ac_ext 22972LIBS=$ac_check_lib_save_LIBS 22973fi 22974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 22975$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 22976if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 22977 ac_cv_libcthreads_dummy=yes 22978else 22979 ac_cv_libcthreads=no 22980fi 22981 22982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 22983$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 22984if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 22985 $as_echo_n "(cached) " >&6 22986else 22987 ac_check_lib_save_LIBS=$LIBS 22988LIBS="-lcthreads $LIBS" 22989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22990/* end confdefs.h. */ 22991 22992/* Override any GCC internal prototype to avoid an error. 22993 Use char because int might match the return type of a GCC 22994 builtin and then its argument prototype would still apply. */ 22995#ifdef __cplusplus 22996extern "C" 22997#endif 22998char libcthreads_thread_pool_push_sorted (); 22999int 23000main () 23001{ 23002return libcthreads_thread_pool_push_sorted (); 23003 ; 23004 return 0; 23005} 23006_ACEOF 23007if ac_fn_c_try_link "$LINENO"; then : 23008 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23009else 23010 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23011fi 23012rm -f core conftest.err conftest.$ac_objext \ 23013 conftest$ac_exeext conftest.$ac_ext 23014LIBS=$ac_check_lib_save_LIBS 23015fi 23016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23017$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23018if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23019 ac_cv_libcthreads_dummy=yes 23020else 23021 ac_cv_libcthreads=no 23022fi 23023 23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23025$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23026if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23027 $as_echo_n "(cached) " >&6 23028else 23029 ac_check_lib_save_LIBS=$LIBS 23030LIBS="-lcthreads $LIBS" 23031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23032/* end confdefs.h. */ 23033 23034/* Override any GCC internal prototype to avoid an error. 23035 Use char because int might match the return type of a GCC 23036 builtin and then its argument prototype would still apply. */ 23037#ifdef __cplusplus 23038extern "C" 23039#endif 23040char libcthreads_thread_pool_join (); 23041int 23042main () 23043{ 23044return libcthreads_thread_pool_join (); 23045 ; 23046 return 0; 23047} 23048_ACEOF 23049if ac_fn_c_try_link "$LINENO"; then : 23050 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23051else 23052 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23053fi 23054rm -f core conftest.err conftest.$ac_objext \ 23055 conftest$ac_exeext conftest.$ac_ext 23056LIBS=$ac_check_lib_save_LIBS 23057fi 23058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23059$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23060if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23061 ac_cv_libcthreads_dummy=yes 23062else 23063 ac_cv_libcthreads=no 23064fi 23065 23066 23067 ac_cv_libcthreads_LIBADD="-lcthreads" 23068fi 23069 23070fi 23071 23072 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23074$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23075as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23076See \`config.log' for more details" "$LINENO" 5; } 23077 23078fi 23079 23080fi 23081 23082 if test "x$ac_cv_libcthreads" = xyes; then : 23083 23084$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23085 23086 23087fi 23088 23089 if test "x$ac_cv_libcthreads" = xyes; then : 23090 ac_cv_libcthreads_multi_threading=libcthreads 23091else 23092 ac_cv_libcthreads_multi_threading=no 23093fi 23094 23095 if test "x$ac_cv_libcthreads" = xyes; then : 23096 HAVE_LIBCTHREADS=1 23097 23098else 23099 HAVE_LIBCTHREADS=0 23100 23101 23102fi 23103 23104 23105 if test "x$ac_cv_libcthreads" != xyes; then : 23106 if test "x$ac_cv_enable_winapi" = xno; then : 23107 23108 23109# Check whether --with-pthread was given. 23110if test "${with_pthread+set}" = set; then : 23111 withval=$with_pthread; ac_cv_with_pthread=$withval 23112else 23113 ac_cv_with_pthread=auto-detect 23114fi 23115 23116 { $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 23117$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; } 23118if ${ac_cv_with_pthread+:} false; then : 23119 $as_echo_n "(cached) " >&6 23120else 23121 ac_cv_with_pthread=auto-detect 23122fi 23123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23124$as_echo "$ac_cv_with_pthread" >&6; } 23125 23126 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23127 if test -d "$ac_cv_with_pthread"; then : 23128 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23129 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23130else 23131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23132$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23133 23134fi 23135 23136fi 23137 23138 if test "x$ac_cv_with_pthread" = xno; then : 23139 ac_cv_pthread=no 23140else 23141 for ac_header in pthread.h 23142do : 23143 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23144if test "x$ac_cv_header_pthread_h" = xyes; then : 23145 cat >>confdefs.h <<_ACEOF 23146#define HAVE_PTHREAD_H 1 23147_ACEOF 23148 23149fi 23150 23151done 23152 23153 23154 if test "x$ac_cv_header_pthread_h" = xno; then : 23155 ac_cv_pthread=no 23156else 23157 ac_cv_pthread=pthread 23158 23159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23160$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23161if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23162 $as_echo_n "(cached) " >&6 23163else 23164 ac_check_lib_save_LIBS=$LIBS 23165LIBS="-lpthread $LIBS" 23166cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23167/* end confdefs.h. */ 23168 23169/* Override any GCC internal prototype to avoid an error. 23170 Use char because int might match the return type of a GCC 23171 builtin and then its argument prototype would still apply. */ 23172#ifdef __cplusplus 23173extern "C" 23174#endif 23175char pthread_create (); 23176int 23177main () 23178{ 23179return pthread_create (); 23180 ; 23181 return 0; 23182} 23183_ACEOF 23184if ac_fn_c_try_link "$LINENO"; then : 23185 ac_cv_lib_pthread_pthread_create=yes 23186else 23187 ac_cv_lib_pthread_pthread_create=no 23188fi 23189rm -f core conftest.err conftest.$ac_objext \ 23190 conftest$ac_exeext conftest.$ac_ext 23191LIBS=$ac_check_lib_save_LIBS 23192fi 23193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23194$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23195if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23196 ac_pthread_dummy=yes 23197else 23198 ac_cv_pthread=no 23199fi 23200 23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23202$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23203if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23204 $as_echo_n "(cached) " >&6 23205else 23206 ac_check_lib_save_LIBS=$LIBS 23207LIBS="-lpthread $LIBS" 23208cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23209/* end confdefs.h. */ 23210 23211/* Override any GCC internal prototype to avoid an error. 23212 Use char because int might match the return type of a GCC 23213 builtin and then its argument prototype would still apply. */ 23214#ifdef __cplusplus 23215extern "C" 23216#endif 23217char pthread_exit (); 23218int 23219main () 23220{ 23221return pthread_exit (); 23222 ; 23223 return 0; 23224} 23225_ACEOF 23226if ac_fn_c_try_link "$LINENO"; then : 23227 ac_cv_lib_pthread_pthread_exit=yes 23228else 23229 ac_cv_lib_pthread_pthread_exit=no 23230fi 23231rm -f core conftest.err conftest.$ac_objext \ 23232 conftest$ac_exeext conftest.$ac_ext 23233LIBS=$ac_check_lib_save_LIBS 23234fi 23235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23236$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23237if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23238 ac_pthread_dummy=yes 23239else 23240 ac_cv_pthread=no 23241fi 23242 23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23244$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23245if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23246 $as_echo_n "(cached) " >&6 23247else 23248 ac_check_lib_save_LIBS=$LIBS 23249LIBS="-lpthread $LIBS" 23250cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23251/* end confdefs.h. */ 23252 23253/* Override any GCC internal prototype to avoid an error. 23254 Use char because int might match the return type of a GCC 23255 builtin and then its argument prototype would still apply. */ 23256#ifdef __cplusplus 23257extern "C" 23258#endif 23259char pthread_join (); 23260int 23261main () 23262{ 23263return pthread_join (); 23264 ; 23265 return 0; 23266} 23267_ACEOF 23268if ac_fn_c_try_link "$LINENO"; then : 23269 ac_cv_lib_pthread_pthread_join=yes 23270else 23271 ac_cv_lib_pthread_pthread_join=no 23272fi 23273rm -f core conftest.err conftest.$ac_objext \ 23274 conftest$ac_exeext conftest.$ac_ext 23275LIBS=$ac_check_lib_save_LIBS 23276fi 23277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23278$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23279if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23280 ac_pthread_dummy=yes 23281else 23282 ac_cv_pthread=no 23283fi 23284 23285 23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23287$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23288if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23289 $as_echo_n "(cached) " >&6 23290else 23291 ac_check_lib_save_LIBS=$LIBS 23292LIBS="-lpthread $LIBS" 23293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23294/* end confdefs.h. */ 23295 23296/* Override any GCC internal prototype to avoid an error. 23297 Use char because int might match the return type of a GCC 23298 builtin and then its argument prototype would still apply. */ 23299#ifdef __cplusplus 23300extern "C" 23301#endif 23302char pthread_cond_init (); 23303int 23304main () 23305{ 23306return pthread_cond_init (); 23307 ; 23308 return 0; 23309} 23310_ACEOF 23311if ac_fn_c_try_link "$LINENO"; then : 23312 ac_cv_lib_pthread_pthread_cond_init=yes 23313else 23314 ac_cv_lib_pthread_pthread_cond_init=no 23315fi 23316rm -f core conftest.err conftest.$ac_objext \ 23317 conftest$ac_exeext conftest.$ac_ext 23318LIBS=$ac_check_lib_save_LIBS 23319fi 23320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23321$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23322if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23323 ac_pthread_dummy=yes 23324else 23325 ac_cv_pthread=no 23326fi 23327 23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23329$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23330if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23331 $as_echo_n "(cached) " >&6 23332else 23333 ac_check_lib_save_LIBS=$LIBS 23334LIBS="-lpthread $LIBS" 23335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23336/* end confdefs.h. */ 23337 23338/* Override any GCC internal prototype to avoid an error. 23339 Use char because int might match the return type of a GCC 23340 builtin and then its argument prototype would still apply. */ 23341#ifdef __cplusplus 23342extern "C" 23343#endif 23344char pthread_cond_destroy (); 23345int 23346main () 23347{ 23348return pthread_cond_destroy (); 23349 ; 23350 return 0; 23351} 23352_ACEOF 23353if ac_fn_c_try_link "$LINENO"; then : 23354 ac_cv_lib_pthread_pthread_cond_destroy=yes 23355else 23356 ac_cv_lib_pthread_pthread_cond_destroy=no 23357fi 23358rm -f core conftest.err conftest.$ac_objext \ 23359 conftest$ac_exeext conftest.$ac_ext 23360LIBS=$ac_check_lib_save_LIBS 23361fi 23362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23363$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23364if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23365 ac_pthread_dummy=yes 23366else 23367 ac_cv_pthread=no 23368fi 23369 23370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23371$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23372if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23373 $as_echo_n "(cached) " >&6 23374else 23375 ac_check_lib_save_LIBS=$LIBS 23376LIBS="-lpthread $LIBS" 23377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23378/* end confdefs.h. */ 23379 23380/* Override any GCC internal prototype to avoid an error. 23381 Use char because int might match the return type of a GCC 23382 builtin and then its argument prototype would still apply. */ 23383#ifdef __cplusplus 23384extern "C" 23385#endif 23386char pthread_cond_broadcast (); 23387int 23388main () 23389{ 23390return pthread_cond_broadcast (); 23391 ; 23392 return 0; 23393} 23394_ACEOF 23395if ac_fn_c_try_link "$LINENO"; then : 23396 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23397else 23398 ac_cv_lib_pthread_pthread_cond_broadcast=no 23399fi 23400rm -f core conftest.err conftest.$ac_objext \ 23401 conftest$ac_exeext conftest.$ac_ext 23402LIBS=$ac_check_lib_save_LIBS 23403fi 23404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23405$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23406if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23407 ac_pthread_dummy=yes 23408else 23409 ac_cv_pthread=no 23410fi 23411 23412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23413$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23414if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23415 $as_echo_n "(cached) " >&6 23416else 23417 ac_check_lib_save_LIBS=$LIBS 23418LIBS="-lpthread $LIBS" 23419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23420/* end confdefs.h. */ 23421 23422/* Override any GCC internal prototype to avoid an error. 23423 Use char because int might match the return type of a GCC 23424 builtin and then its argument prototype would still apply. */ 23425#ifdef __cplusplus 23426extern "C" 23427#endif 23428char pthread_cond_signal (); 23429int 23430main () 23431{ 23432return pthread_cond_signal (); 23433 ; 23434 return 0; 23435} 23436_ACEOF 23437if ac_fn_c_try_link "$LINENO"; then : 23438 ac_cv_lib_pthread_pthread_cond_signal=yes 23439else 23440 ac_cv_lib_pthread_pthread_cond_signal=no 23441fi 23442rm -f core conftest.err conftest.$ac_objext \ 23443 conftest$ac_exeext conftest.$ac_ext 23444LIBS=$ac_check_lib_save_LIBS 23445fi 23446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23447$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23448if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23449 ac_pthread_dummy=yes 23450else 23451 ac_cv_pthread=no 23452fi 23453 23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23455$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23456if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23457 $as_echo_n "(cached) " >&6 23458else 23459 ac_check_lib_save_LIBS=$LIBS 23460LIBS="-lpthread $LIBS" 23461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23462/* end confdefs.h. */ 23463 23464/* Override any GCC internal prototype to avoid an error. 23465 Use char because int might match the return type of a GCC 23466 builtin and then its argument prototype would still apply. */ 23467#ifdef __cplusplus 23468extern "C" 23469#endif 23470char pthread_cond_wait (); 23471int 23472main () 23473{ 23474return pthread_cond_wait (); 23475 ; 23476 return 0; 23477} 23478_ACEOF 23479if ac_fn_c_try_link "$LINENO"; then : 23480 ac_cv_lib_pthread_pthread_cond_wait=yes 23481else 23482 ac_cv_lib_pthread_pthread_cond_wait=no 23483fi 23484rm -f core conftest.err conftest.$ac_objext \ 23485 conftest$ac_exeext conftest.$ac_ext 23486LIBS=$ac_check_lib_save_LIBS 23487fi 23488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23489$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23490if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23491 ac_pthread_dummy=yes 23492else 23493 ac_cv_pthread=no 23494fi 23495 23496 23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23498$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23499if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23500 $as_echo_n "(cached) " >&6 23501else 23502 ac_check_lib_save_LIBS=$LIBS 23503LIBS="-lpthread $LIBS" 23504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23505/* end confdefs.h. */ 23506 23507/* Override any GCC internal prototype to avoid an error. 23508 Use char because int might match the return type of a GCC 23509 builtin and then its argument prototype would still apply. */ 23510#ifdef __cplusplus 23511extern "C" 23512#endif 23513char pthread_mutex_init (); 23514int 23515main () 23516{ 23517return pthread_mutex_init (); 23518 ; 23519 return 0; 23520} 23521_ACEOF 23522if ac_fn_c_try_link "$LINENO"; then : 23523 ac_cv_lib_pthread_pthread_mutex_init=yes 23524else 23525 ac_cv_lib_pthread_pthread_mutex_init=no 23526fi 23527rm -f core conftest.err conftest.$ac_objext \ 23528 conftest$ac_exeext conftest.$ac_ext 23529LIBS=$ac_check_lib_save_LIBS 23530fi 23531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23532$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23533if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23534 ac_pthread_dummy=yes 23535else 23536 ac_cv_pthread=no 23537fi 23538 23539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23540$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23541if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23542 $as_echo_n "(cached) " >&6 23543else 23544 ac_check_lib_save_LIBS=$LIBS 23545LIBS="-lpthread $LIBS" 23546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23547/* end confdefs.h. */ 23548 23549/* Override any GCC internal prototype to avoid an error. 23550 Use char because int might match the return type of a GCC 23551 builtin and then its argument prototype would still apply. */ 23552#ifdef __cplusplus 23553extern "C" 23554#endif 23555char pthread_mutex_destroy (); 23556int 23557main () 23558{ 23559return pthread_mutex_destroy (); 23560 ; 23561 return 0; 23562} 23563_ACEOF 23564if ac_fn_c_try_link "$LINENO"; then : 23565 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23566else 23567 ac_cv_lib_pthread_pthread_mutex_destroy=no 23568fi 23569rm -f core conftest.err conftest.$ac_objext \ 23570 conftest$ac_exeext conftest.$ac_ext 23571LIBS=$ac_check_lib_save_LIBS 23572fi 23573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23574$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23575if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23576 ac_pthread_dummy=yes 23577else 23578 ac_cv_pthread=no 23579fi 23580 23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23582$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23583if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23584 $as_echo_n "(cached) " >&6 23585else 23586 ac_check_lib_save_LIBS=$LIBS 23587LIBS="-lpthread $LIBS" 23588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23589/* end confdefs.h. */ 23590 23591/* Override any GCC internal prototype to avoid an error. 23592 Use char because int might match the return type of a GCC 23593 builtin and then its argument prototype would still apply. */ 23594#ifdef __cplusplus 23595extern "C" 23596#endif 23597char pthread_mutex_lock (); 23598int 23599main () 23600{ 23601return pthread_mutex_lock (); 23602 ; 23603 return 0; 23604} 23605_ACEOF 23606if ac_fn_c_try_link "$LINENO"; then : 23607 ac_cv_lib_pthread_pthread_mutex_lock=yes 23608else 23609 ac_cv_lib_pthread_pthread_mutex_lock=no 23610fi 23611rm -f core conftest.err conftest.$ac_objext \ 23612 conftest$ac_exeext conftest.$ac_ext 23613LIBS=$ac_check_lib_save_LIBS 23614fi 23615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23616$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23617if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23618 ac_pthread_dummy=yes 23619else 23620 ac_cv_pthread=no 23621fi 23622 23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23624$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23625if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23626 $as_echo_n "(cached) " >&6 23627else 23628 ac_check_lib_save_LIBS=$LIBS 23629LIBS="-lpthread $LIBS" 23630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23631/* end confdefs.h. */ 23632 23633/* Override any GCC internal prototype to avoid an error. 23634 Use char because int might match the return type of a GCC 23635 builtin and then its argument prototype would still apply. */ 23636#ifdef __cplusplus 23637extern "C" 23638#endif 23639char pthread_mutex_trylock (); 23640int 23641main () 23642{ 23643return pthread_mutex_trylock (); 23644 ; 23645 return 0; 23646} 23647_ACEOF 23648if ac_fn_c_try_link "$LINENO"; then : 23649 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23650else 23651 ac_cv_lib_pthread_pthread_mutex_trylock=no 23652fi 23653rm -f core conftest.err conftest.$ac_objext \ 23654 conftest$ac_exeext conftest.$ac_ext 23655LIBS=$ac_check_lib_save_LIBS 23656fi 23657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23658$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23659if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23660 ac_pthread_dummy=yes 23661else 23662 ac_cv_pthread=no 23663fi 23664 23665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23666$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23667if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23668 $as_echo_n "(cached) " >&6 23669else 23670 ac_check_lib_save_LIBS=$LIBS 23671LIBS="-lpthread $LIBS" 23672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23673/* end confdefs.h. */ 23674 23675/* Override any GCC internal prototype to avoid an error. 23676 Use char because int might match the return type of a GCC 23677 builtin and then its argument prototype would still apply. */ 23678#ifdef __cplusplus 23679extern "C" 23680#endif 23681char pthread_mutex_unlock (); 23682int 23683main () 23684{ 23685return pthread_mutex_unlock (); 23686 ; 23687 return 0; 23688} 23689_ACEOF 23690if ac_fn_c_try_link "$LINENO"; then : 23691 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23692else 23693 ac_cv_lib_pthread_pthread_mutex_unlock=no 23694fi 23695rm -f core conftest.err conftest.$ac_objext \ 23696 conftest$ac_exeext conftest.$ac_ext 23697LIBS=$ac_check_lib_save_LIBS 23698fi 23699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23700$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23701if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23702 ac_pthread_dummy=yes 23703else 23704 ac_cv_pthread=no 23705fi 23706 23707 23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23709$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23710if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23711 $as_echo_n "(cached) " >&6 23712else 23713 ac_check_lib_save_LIBS=$LIBS 23714LIBS="-lpthread $LIBS" 23715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23716/* end confdefs.h. */ 23717 23718/* Override any GCC internal prototype to avoid an error. 23719 Use char because int might match the return type of a GCC 23720 builtin and then its argument prototype would still apply. */ 23721#ifdef __cplusplus 23722extern "C" 23723#endif 23724char pthread_rwlock_init (); 23725int 23726main () 23727{ 23728return pthread_rwlock_init (); 23729 ; 23730 return 0; 23731} 23732_ACEOF 23733if ac_fn_c_try_link "$LINENO"; then : 23734 ac_cv_lib_pthread_pthread_rwlock_init=yes 23735else 23736 ac_cv_lib_pthread_pthread_rwlock_init=no 23737fi 23738rm -f core conftest.err conftest.$ac_objext \ 23739 conftest$ac_exeext conftest.$ac_ext 23740LIBS=$ac_check_lib_save_LIBS 23741fi 23742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23743$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23744if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23745 ac_pthread_dummy=yes 23746else 23747 ac_cv_pthread=no 23748fi 23749 23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23751$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23752if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23753 $as_echo_n "(cached) " >&6 23754else 23755 ac_check_lib_save_LIBS=$LIBS 23756LIBS="-lpthread $LIBS" 23757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23758/* end confdefs.h. */ 23759 23760/* Override any GCC internal prototype to avoid an error. 23761 Use char because int might match the return type of a GCC 23762 builtin and then its argument prototype would still apply. */ 23763#ifdef __cplusplus 23764extern "C" 23765#endif 23766char pthread_rwlock_destroy (); 23767int 23768main () 23769{ 23770return pthread_rwlock_destroy (); 23771 ; 23772 return 0; 23773} 23774_ACEOF 23775if ac_fn_c_try_link "$LINENO"; then : 23776 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23777else 23778 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23779fi 23780rm -f core conftest.err conftest.$ac_objext \ 23781 conftest$ac_exeext conftest.$ac_ext 23782LIBS=$ac_check_lib_save_LIBS 23783fi 23784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23785$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23786if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23787 ac_pthread_dummy=yes 23788else 23789 ac_cv_pthread=no 23790fi 23791 23792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23793$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23794if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23795 $as_echo_n "(cached) " >&6 23796else 23797 ac_check_lib_save_LIBS=$LIBS 23798LIBS="-lpthread $LIBS" 23799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23800/* end confdefs.h. */ 23801 23802/* Override any GCC internal prototype to avoid an error. 23803 Use char because int might match the return type of a GCC 23804 builtin and then its argument prototype would still apply. */ 23805#ifdef __cplusplus 23806extern "C" 23807#endif 23808char pthread_rwlock_rdlock (); 23809int 23810main () 23811{ 23812return pthread_rwlock_rdlock (); 23813 ; 23814 return 0; 23815} 23816_ACEOF 23817if ac_fn_c_try_link "$LINENO"; then : 23818 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23819else 23820 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23821fi 23822rm -f core conftest.err conftest.$ac_objext \ 23823 conftest$ac_exeext conftest.$ac_ext 23824LIBS=$ac_check_lib_save_LIBS 23825fi 23826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23827$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23828if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23829 ac_pthread_dummy=yes 23830else 23831 ac_cv_pthread=no 23832fi 23833 23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23835$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23836if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23837 $as_echo_n "(cached) " >&6 23838else 23839 ac_check_lib_save_LIBS=$LIBS 23840LIBS="-lpthread $LIBS" 23841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23842/* end confdefs.h. */ 23843 23844/* Override any GCC internal prototype to avoid an error. 23845 Use char because int might match the return type of a GCC 23846 builtin and then its argument prototype would still apply. */ 23847#ifdef __cplusplus 23848extern "C" 23849#endif 23850char pthread_rwlock_wrlock (); 23851int 23852main () 23853{ 23854return pthread_rwlock_wrlock (); 23855 ; 23856 return 0; 23857} 23858_ACEOF 23859if ac_fn_c_try_link "$LINENO"; then : 23860 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23861else 23862 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23863fi 23864rm -f core conftest.err conftest.$ac_objext \ 23865 conftest$ac_exeext conftest.$ac_ext 23866LIBS=$ac_check_lib_save_LIBS 23867fi 23868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23869$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23870if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23871 ac_pthread_dummy=yes 23872else 23873 ac_cv_pthread=no 23874fi 23875 23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23877$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23878if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23879 $as_echo_n "(cached) " >&6 23880else 23881 ac_check_lib_save_LIBS=$LIBS 23882LIBS="-lpthread $LIBS" 23883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23884/* end confdefs.h. */ 23885 23886/* Override any GCC internal prototype to avoid an error. 23887 Use char because int might match the return type of a GCC 23888 builtin and then its argument prototype would still apply. */ 23889#ifdef __cplusplus 23890extern "C" 23891#endif 23892char pthread_rwlock_unlock (); 23893int 23894main () 23895{ 23896return pthread_rwlock_unlock (); 23897 ; 23898 return 0; 23899} 23900_ACEOF 23901if ac_fn_c_try_link "$LINENO"; then : 23902 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23903else 23904 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23905fi 23906rm -f core conftest.err conftest.$ac_objext \ 23907 conftest$ac_exeext conftest.$ac_ext 23908LIBS=$ac_check_lib_save_LIBS 23909fi 23910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23911$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23912if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23913 ac_pthread_dummy=yes 23914else 23915 ac_cv_pthread=no 23916fi 23917 23918 23919 ac_cv_pthread_LIBADD="-lpthread"; 23920 23921fi 23922 23923fi 23924 23925 if test "x$ac_cv_pthread" = xpthread; then : 23926 23927$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23928 23929 23930fi 23931 23932 if test "x$ac_cv_pthread" != xno; then : 23933 HAVE_PTHREAD=1 23934 23935else 23936 HAVE_PTHREAD=0 23937 23938 23939fi 23940 23941 23942 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 23943 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 23944 23945 23946fi 23947 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 23948 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 23949 23950 23951fi 23952 23953 if test "x$ac_cv_pthread" = xpthread; then : 23954 ax_pthread_pc_libs_private=-lpthread 23955 23956 23957fi 23958 23959 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 23960else 23961 ac_cv_libcthreads_multi_threading="winapi" 23962fi 23963 23964 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 23965 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 23966 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 23967 23968 ac_cv_libcthreads=local 23969else 23970 ac_cv_libcthreads=no 23971fi 23972 23973 23974 23975$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 23976 23977 HAVE_LOCAL_LIBCTHREADS=1 23978 23979 23980fi 23981 23982fi 23983 23984 if test "x$ac_cv_libcthreads" = xlocal; then 23985 HAVE_LOCAL_LIBCTHREADS_TRUE= 23986 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 23987else 23988 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 23989 HAVE_LOCAL_LIBCTHREADS_FALSE= 23990fi 23991 23992 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 23993 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 23994 23995 23996fi 23997 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 23998 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 23999 24000 24001fi 24002 24003 if test "x$ac_cv_libcthreads" != xno; then : 24004 24005$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24006 24007 HAVE_MULTI_THREAD_SUPPORT=1 24008 24009else 24010 HAVE_MULTI_THREAD_SUPPORT=0 24011 24012 24013fi 24014 24015 if test "x$ac_cv_libcthreads" = xyes; then : 24016 ax_libcthreads_pc_libs_private=-lcthreads 24017 24018 24019fi 24020 24021 if test "x$ac_cv_libcthreads" = xyes; then : 24022 ax_libcthreads_spec_requires=libcthreads 24023 24024 ax_libcthreads_spec_build_requires=libcthreads-devel 24025 24026 24027fi 24028 24029 24030 24031 24032# Check whether --with-libcdata was given. 24033if test "${with_libcdata+set}" = set; then : 24034 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24035else 24036 ac_cv_with_libcdata=auto-detect 24037fi 24038 24039 { $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 24040$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; } 24041if ${ac_cv_with_libcdata+:} false; then : 24042 $as_echo_n "(cached) " >&6 24043else 24044 ac_cv_with_libcdata=auto-detect 24045fi 24046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24047$as_echo "$ac_cv_with_libcdata" >&6; } 24048 24049 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24050 ac_cv_libcdata=no 24051else 24052 ac_cv_libcdata=check 24053 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24054 if test -d "$ac_cv_with_libcdata"; then : 24055 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24056 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24057else 24058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24060as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24061See \`config.log' for more details" "$LINENO" 5; } 24062 24063fi 24064 24065else 24066 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24067 24068pkg_failed=no 24069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24070$as_echo_n "checking for libcdata... " >&6; } 24071 24072if test -n "$libcdata_CFLAGS"; then 24073 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24074 elif test -n "$PKG_CONFIG"; then 24075 if test -n "$PKG_CONFIG" && \ 24076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24077 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24078 ac_status=$? 24079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24080 test $ac_status = 0; }; then 24081 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24082 test "x$?" != "x0" && pkg_failed=yes 24083else 24084 pkg_failed=yes 24085fi 24086 else 24087 pkg_failed=untried 24088fi 24089if test -n "$libcdata_LIBS"; then 24090 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24091 elif test -n "$PKG_CONFIG"; then 24092 if test -n "$PKG_CONFIG" && \ 24093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24094 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24095 ac_status=$? 24096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24097 test $ac_status = 0; }; then 24098 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24099 test "x$?" != "x0" && pkg_failed=yes 24100else 24101 pkg_failed=yes 24102fi 24103 else 24104 pkg_failed=untried 24105fi 24106 24107 24108 24109if test $pkg_failed = yes; then 24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24111$as_echo "no" >&6; } 24112 24113if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24114 _pkg_short_errors_supported=yes 24115else 24116 _pkg_short_errors_supported=no 24117fi 24118 if test $_pkg_short_errors_supported = yes; then 24119 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24120 else 24121 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24122 fi 24123 # Put the nasty error message in config.log where it belongs 24124 echo "$libcdata_PKG_ERRORS" >&5 24125 24126 ac_cv_libcdata=check 24127elif test $pkg_failed = untried; then 24128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24129$as_echo "no" >&6; } 24130 ac_cv_libcdata=check 24131else 24132 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24133 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24135$as_echo "yes" >&6; } 24136 ac_cv_libcdata=yes 24137fi 24138 24139fi 24140 if test "x$ac_cv_libcdata" = xyes; then : 24141 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24142 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24143fi 24144 24145fi 24146 24147 if test "x$ac_cv_libcdata" = xcheck; then : 24148 for ac_header in libcdata.h 24149do : 24150 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24151if test "x$ac_cv_header_libcdata_h" = xyes; then : 24152 cat >>confdefs.h <<_ACEOF 24153#define HAVE_LIBCDATA_H 1 24154_ACEOF 24155 24156fi 24157 24158done 24159 24160 24161 if test "x$ac_cv_header_libcdata_h" = xno; then : 24162 ac_cv_libcdata=no 24163else 24164 ac_cv_libcdata=yes 24165 24166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24167$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24168if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24169 $as_echo_n "(cached) " >&6 24170else 24171 ac_check_lib_save_LIBS=$LIBS 24172LIBS="-lcdata $LIBS" 24173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24174/* end confdefs.h. */ 24175 24176/* Override any GCC internal prototype to avoid an error. 24177 Use char because int might match the return type of a GCC 24178 builtin and then its argument prototype would still apply. */ 24179#ifdef __cplusplus 24180extern "C" 24181#endif 24182char libcdata_get_version (); 24183int 24184main () 24185{ 24186return libcdata_get_version (); 24187 ; 24188 return 0; 24189} 24190_ACEOF 24191if ac_fn_c_try_link "$LINENO"; then : 24192 ac_cv_lib_cdata_libcdata_get_version=yes 24193else 24194 ac_cv_lib_cdata_libcdata_get_version=no 24195fi 24196rm -f core conftest.err conftest.$ac_objext \ 24197 conftest$ac_exeext conftest.$ac_ext 24198LIBS=$ac_check_lib_save_LIBS 24199fi 24200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24201$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24202if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24203 ac_cv_libcdata_dummy=yes 24204else 24205 ac_cv_libcdata=no 24206fi 24207 24208 24209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24210$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24211if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24212 $as_echo_n "(cached) " >&6 24213else 24214 ac_check_lib_save_LIBS=$LIBS 24215LIBS="-lcdata $LIBS" 24216cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24217/* end confdefs.h. */ 24218 24219/* Override any GCC internal prototype to avoid an error. 24220 Use char because int might match the return type of a GCC 24221 builtin and then its argument prototype would still apply. */ 24222#ifdef __cplusplus 24223extern "C" 24224#endif 24225char libcdata_array_initialize (); 24226int 24227main () 24228{ 24229return libcdata_array_initialize (); 24230 ; 24231 return 0; 24232} 24233_ACEOF 24234if ac_fn_c_try_link "$LINENO"; then : 24235 ac_cv_lib_cdata_libcdata_array_initialize=yes 24236else 24237 ac_cv_lib_cdata_libcdata_array_initialize=no 24238fi 24239rm -f core conftest.err conftest.$ac_objext \ 24240 conftest$ac_exeext conftest.$ac_ext 24241LIBS=$ac_check_lib_save_LIBS 24242fi 24243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24244$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24245if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24246 ac_cv_libcdata_dummy=yes 24247else 24248 ac_cv_libcdata=no 24249fi 24250 24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24252$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24253if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24254 $as_echo_n "(cached) " >&6 24255else 24256 ac_check_lib_save_LIBS=$LIBS 24257LIBS="-lcdata $LIBS" 24258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24259/* end confdefs.h. */ 24260 24261/* Override any GCC internal prototype to avoid an error. 24262 Use char because int might match the return type of a GCC 24263 builtin and then its argument prototype would still apply. */ 24264#ifdef __cplusplus 24265extern "C" 24266#endif 24267char libcdata_array_free (); 24268int 24269main () 24270{ 24271return libcdata_array_free (); 24272 ; 24273 return 0; 24274} 24275_ACEOF 24276if ac_fn_c_try_link "$LINENO"; then : 24277 ac_cv_lib_cdata_libcdata_array_free=yes 24278else 24279 ac_cv_lib_cdata_libcdata_array_free=no 24280fi 24281rm -f core conftest.err conftest.$ac_objext \ 24282 conftest$ac_exeext conftest.$ac_ext 24283LIBS=$ac_check_lib_save_LIBS 24284fi 24285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24286$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24287if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24288 ac_cv_libcdata_dummy=yes 24289else 24290 ac_cv_libcdata=no 24291fi 24292 24293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24294$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24295if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24296 $as_echo_n "(cached) " >&6 24297else 24298 ac_check_lib_save_LIBS=$LIBS 24299LIBS="-lcdata $LIBS" 24300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24301/* end confdefs.h. */ 24302 24303/* Override any GCC internal prototype to avoid an error. 24304 Use char because int might match the return type of a GCC 24305 builtin and then its argument prototype would still apply. */ 24306#ifdef __cplusplus 24307extern "C" 24308#endif 24309char libcdata_array_empty (); 24310int 24311main () 24312{ 24313return libcdata_array_empty (); 24314 ; 24315 return 0; 24316} 24317_ACEOF 24318if ac_fn_c_try_link "$LINENO"; then : 24319 ac_cv_lib_cdata_libcdata_array_empty=yes 24320else 24321 ac_cv_lib_cdata_libcdata_array_empty=no 24322fi 24323rm -f core conftest.err conftest.$ac_objext \ 24324 conftest$ac_exeext conftest.$ac_ext 24325LIBS=$ac_check_lib_save_LIBS 24326fi 24327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24328$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24329if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24330 ac_cv_libcdata_dummy=yes 24331else 24332 ac_cv_libcdata=no 24333fi 24334 24335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24336$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24337if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24338 $as_echo_n "(cached) " >&6 24339else 24340 ac_check_lib_save_LIBS=$LIBS 24341LIBS="-lcdata $LIBS" 24342cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24343/* end confdefs.h. */ 24344 24345/* Override any GCC internal prototype to avoid an error. 24346 Use char because int might match the return type of a GCC 24347 builtin and then its argument prototype would still apply. */ 24348#ifdef __cplusplus 24349extern "C" 24350#endif 24351char libcdata_array_clone (); 24352int 24353main () 24354{ 24355return libcdata_array_clone (); 24356 ; 24357 return 0; 24358} 24359_ACEOF 24360if ac_fn_c_try_link "$LINENO"; then : 24361 ac_cv_lib_cdata_libcdata_array_clone=yes 24362else 24363 ac_cv_lib_cdata_libcdata_array_clone=no 24364fi 24365rm -f core conftest.err conftest.$ac_objext \ 24366 conftest$ac_exeext conftest.$ac_ext 24367LIBS=$ac_check_lib_save_LIBS 24368fi 24369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24370$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24371if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24372 ac_cv_libcdata_dummy=yes 24373else 24374 ac_cv_libcdata=no 24375fi 24376 24377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24378$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24379if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24380 $as_echo_n "(cached) " >&6 24381else 24382 ac_check_lib_save_LIBS=$LIBS 24383LIBS="-lcdata $LIBS" 24384cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24385/* end confdefs.h. */ 24386 24387/* Override any GCC internal prototype to avoid an error. 24388 Use char because int might match the return type of a GCC 24389 builtin and then its argument prototype would still apply. */ 24390#ifdef __cplusplus 24391extern "C" 24392#endif 24393char libcdata_array_resize (); 24394int 24395main () 24396{ 24397return libcdata_array_resize (); 24398 ; 24399 return 0; 24400} 24401_ACEOF 24402if ac_fn_c_try_link "$LINENO"; then : 24403 ac_cv_lib_cdata_libcdata_array_resize=yes 24404else 24405 ac_cv_lib_cdata_libcdata_array_resize=no 24406fi 24407rm -f core conftest.err conftest.$ac_objext \ 24408 conftest$ac_exeext conftest.$ac_ext 24409LIBS=$ac_check_lib_save_LIBS 24410fi 24411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24412$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24413if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24414 ac_cv_libcdata_dummy=yes 24415else 24416 ac_cv_libcdata=no 24417fi 24418 24419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24420$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24421if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24422 $as_echo_n "(cached) " >&6 24423else 24424 ac_check_lib_save_LIBS=$LIBS 24425LIBS="-lcdata $LIBS" 24426cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24427/* end confdefs.h. */ 24428 24429/* Override any GCC internal prototype to avoid an error. 24430 Use char because int might match the return type of a GCC 24431 builtin and then its argument prototype would still apply. */ 24432#ifdef __cplusplus 24433extern "C" 24434#endif 24435char libcdata_array_reverse (); 24436int 24437main () 24438{ 24439return libcdata_array_reverse (); 24440 ; 24441 return 0; 24442} 24443_ACEOF 24444if ac_fn_c_try_link "$LINENO"; then : 24445 ac_cv_lib_cdata_libcdata_array_reverse=yes 24446else 24447 ac_cv_lib_cdata_libcdata_array_reverse=no 24448fi 24449rm -f core conftest.err conftest.$ac_objext \ 24450 conftest$ac_exeext conftest.$ac_ext 24451LIBS=$ac_check_lib_save_LIBS 24452fi 24453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24454$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24455if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24456 ac_cv_libcdata_dummy=yes 24457else 24458 ac_cv_libcdata=no 24459fi 24460 24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24462$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24463if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24464 $as_echo_n "(cached) " >&6 24465else 24466 ac_check_lib_save_LIBS=$LIBS 24467LIBS="-lcdata $LIBS" 24468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24469/* end confdefs.h. */ 24470 24471/* Override any GCC internal prototype to avoid an error. 24472 Use char because int might match the return type of a GCC 24473 builtin and then its argument prototype would still apply. */ 24474#ifdef __cplusplus 24475extern "C" 24476#endif 24477char libcdata_array_get_number_of_entries (); 24478int 24479main () 24480{ 24481return libcdata_array_get_number_of_entries (); 24482 ; 24483 return 0; 24484} 24485_ACEOF 24486if ac_fn_c_try_link "$LINENO"; then : 24487 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24488else 24489 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24490fi 24491rm -f core conftest.err conftest.$ac_objext \ 24492 conftest$ac_exeext conftest.$ac_ext 24493LIBS=$ac_check_lib_save_LIBS 24494fi 24495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24496$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24497if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24498 ac_cv_libcdata_dummy=yes 24499else 24500 ac_cv_libcdata=no 24501fi 24502 24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24504$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24505if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24506 $as_echo_n "(cached) " >&6 24507else 24508 ac_check_lib_save_LIBS=$LIBS 24509LIBS="-lcdata $LIBS" 24510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24511/* end confdefs.h. */ 24512 24513/* Override any GCC internal prototype to avoid an error. 24514 Use char because int might match the return type of a GCC 24515 builtin and then its argument prototype would still apply. */ 24516#ifdef __cplusplus 24517extern "C" 24518#endif 24519char libcdata_array_get_entry_by_index (); 24520int 24521main () 24522{ 24523return libcdata_array_get_entry_by_index (); 24524 ; 24525 return 0; 24526} 24527_ACEOF 24528if ac_fn_c_try_link "$LINENO"; then : 24529 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24530else 24531 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24532fi 24533rm -f core conftest.err conftest.$ac_objext \ 24534 conftest$ac_exeext conftest.$ac_ext 24535LIBS=$ac_check_lib_save_LIBS 24536fi 24537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24538$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24539if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24540 ac_cv_libcdata_dummy=yes 24541else 24542 ac_cv_libcdata=no 24543fi 24544 24545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24546$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24547if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24548 $as_echo_n "(cached) " >&6 24549else 24550 ac_check_lib_save_LIBS=$LIBS 24551LIBS="-lcdata $LIBS" 24552cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24553/* end confdefs.h. */ 24554 24555/* Override any GCC internal prototype to avoid an error. 24556 Use char because int might match the return type of a GCC 24557 builtin and then its argument prototype would still apply. */ 24558#ifdef __cplusplus 24559extern "C" 24560#endif 24561char libcdata_array_get_entry_by_value (); 24562int 24563main () 24564{ 24565return libcdata_array_get_entry_by_value (); 24566 ; 24567 return 0; 24568} 24569_ACEOF 24570if ac_fn_c_try_link "$LINENO"; then : 24571 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24572else 24573 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24574fi 24575rm -f core conftest.err conftest.$ac_objext \ 24576 conftest$ac_exeext conftest.$ac_ext 24577LIBS=$ac_check_lib_save_LIBS 24578fi 24579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24580$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24581if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24582 ac_cv_libcdata_dummy=yes 24583else 24584 ac_cv_libcdata=no 24585fi 24586 24587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24588$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24589if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24590 $as_echo_n "(cached) " >&6 24591else 24592 ac_check_lib_save_LIBS=$LIBS 24593LIBS="-lcdata $LIBS" 24594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24595/* end confdefs.h. */ 24596 24597/* Override any GCC internal prototype to avoid an error. 24598 Use char because int might match the return type of a GCC 24599 builtin and then its argument prototype would still apply. */ 24600#ifdef __cplusplus 24601extern "C" 24602#endif 24603char libcdata_array_set_entry_by_index (); 24604int 24605main () 24606{ 24607return libcdata_array_set_entry_by_index (); 24608 ; 24609 return 0; 24610} 24611_ACEOF 24612if ac_fn_c_try_link "$LINENO"; then : 24613 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24614else 24615 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24616fi 24617rm -f core conftest.err conftest.$ac_objext \ 24618 conftest$ac_exeext conftest.$ac_ext 24619LIBS=$ac_check_lib_save_LIBS 24620fi 24621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24622$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24623if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24624 ac_cv_libcdata_dummy=yes 24625else 24626 ac_cv_libcdata=no 24627fi 24628 24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24630$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24631if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24632 $as_echo_n "(cached) " >&6 24633else 24634 ac_check_lib_save_LIBS=$LIBS 24635LIBS="-lcdata $LIBS" 24636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24637/* end confdefs.h. */ 24638 24639/* Override any GCC internal prototype to avoid an error. 24640 Use char because int might match the return type of a GCC 24641 builtin and then its argument prototype would still apply. */ 24642#ifdef __cplusplus 24643extern "C" 24644#endif 24645char libcdata_array_prepend_entry (); 24646int 24647main () 24648{ 24649return libcdata_array_prepend_entry (); 24650 ; 24651 return 0; 24652} 24653_ACEOF 24654if ac_fn_c_try_link "$LINENO"; then : 24655 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24656else 24657 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24658fi 24659rm -f core conftest.err conftest.$ac_objext \ 24660 conftest$ac_exeext conftest.$ac_ext 24661LIBS=$ac_check_lib_save_LIBS 24662fi 24663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24664$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24665if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24666 ac_cv_libcdata_dummy=yes 24667else 24668 ac_cv_libcdata=no 24669fi 24670 24671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24672$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24673if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24674 $as_echo_n "(cached) " >&6 24675else 24676 ac_check_lib_save_LIBS=$LIBS 24677LIBS="-lcdata $LIBS" 24678cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24679/* end confdefs.h. */ 24680 24681/* Override any GCC internal prototype to avoid an error. 24682 Use char because int might match the return type of a GCC 24683 builtin and then its argument prototype would still apply. */ 24684#ifdef __cplusplus 24685extern "C" 24686#endif 24687char libcdata_array_append_entry (); 24688int 24689main () 24690{ 24691return libcdata_array_append_entry (); 24692 ; 24693 return 0; 24694} 24695_ACEOF 24696if ac_fn_c_try_link "$LINENO"; then : 24697 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24698else 24699 ac_cv_lib_cdata_libcdata_array_append_entry=no 24700fi 24701rm -f core conftest.err conftest.$ac_objext \ 24702 conftest$ac_exeext conftest.$ac_ext 24703LIBS=$ac_check_lib_save_LIBS 24704fi 24705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24706$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24707if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24708 ac_cv_libcdata_dummy=yes 24709else 24710 ac_cv_libcdata=no 24711fi 24712 24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24714$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24715if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24716 $as_echo_n "(cached) " >&6 24717else 24718 ac_check_lib_save_LIBS=$LIBS 24719LIBS="-lcdata $LIBS" 24720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24721/* end confdefs.h. */ 24722 24723/* Override any GCC internal prototype to avoid an error. 24724 Use char because int might match the return type of a GCC 24725 builtin and then its argument prototype would still apply. */ 24726#ifdef __cplusplus 24727extern "C" 24728#endif 24729char libcdata_array_insert_entry (); 24730int 24731main () 24732{ 24733return libcdata_array_insert_entry (); 24734 ; 24735 return 0; 24736} 24737_ACEOF 24738if ac_fn_c_try_link "$LINENO"; then : 24739 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24740else 24741 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24742fi 24743rm -f core conftest.err conftest.$ac_objext \ 24744 conftest$ac_exeext conftest.$ac_ext 24745LIBS=$ac_check_lib_save_LIBS 24746fi 24747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24748$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24749if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24750 ac_cv_libcdata_dummy=yes 24751else 24752 ac_cv_libcdata=no 24753fi 24754 24755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24756$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24757if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24758 $as_echo_n "(cached) " >&6 24759else 24760 ac_check_lib_save_LIBS=$LIBS 24761LIBS="-lcdata $LIBS" 24762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24763/* end confdefs.h. */ 24764 24765/* Override any GCC internal prototype to avoid an error. 24766 Use char because int might match the return type of a GCC 24767 builtin and then its argument prototype would still apply. */ 24768#ifdef __cplusplus 24769extern "C" 24770#endif 24771char libcdata_array_remove_entry (); 24772int 24773main () 24774{ 24775return libcdata_array_remove_entry (); 24776 ; 24777 return 0; 24778} 24779_ACEOF 24780if ac_fn_c_try_link "$LINENO"; then : 24781 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24782else 24783 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24784fi 24785rm -f core conftest.err conftest.$ac_objext \ 24786 conftest$ac_exeext conftest.$ac_ext 24787LIBS=$ac_check_lib_save_LIBS 24788fi 24789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24790$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24791if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24792 ac_cv_libcdata_dummy=yes 24793else 24794 ac_cv_libcdata=no 24795fi 24796 24797 24798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24799$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24800if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24801 $as_echo_n "(cached) " >&6 24802else 24803 ac_check_lib_save_LIBS=$LIBS 24804LIBS="-lcdata $LIBS" 24805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24806/* end confdefs.h. */ 24807 24808/* Override any GCC internal prototype to avoid an error. 24809 Use char because int might match the return type of a GCC 24810 builtin and then its argument prototype would still apply. */ 24811#ifdef __cplusplus 24812extern "C" 24813#endif 24814char libfdata_btree_initialize (); 24815int 24816main () 24817{ 24818return libfdata_btree_initialize (); 24819 ; 24820 return 0; 24821} 24822_ACEOF 24823if ac_fn_c_try_link "$LINENO"; then : 24824 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24825else 24826 ac_cv_lib_cdata_libfdata_btree_initialize=no 24827fi 24828rm -f core conftest.err conftest.$ac_objext \ 24829 conftest$ac_exeext conftest.$ac_ext 24830LIBS=$ac_check_lib_save_LIBS 24831fi 24832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24833$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24834if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24835 ac_cv_libcdata_dummy=yes 24836else 24837 ac_cv_libcdata=no 24838fi 24839 24840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24841$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24842if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24843 $as_echo_n "(cached) " >&6 24844else 24845 ac_check_lib_save_LIBS=$LIBS 24846LIBS="-lcdata $LIBS" 24847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24848/* end confdefs.h. */ 24849 24850/* Override any GCC internal prototype to avoid an error. 24851 Use char because int might match the return type of a GCC 24852 builtin and then its argument prototype would still apply. */ 24853#ifdef __cplusplus 24854extern "C" 24855#endif 24856char libcdata_btree_free (); 24857int 24858main () 24859{ 24860return libcdata_btree_free (); 24861 ; 24862 return 0; 24863} 24864_ACEOF 24865if ac_fn_c_try_link "$LINENO"; then : 24866 ac_cv_lib_cdata_libcdata_btree_free=yes 24867else 24868 ac_cv_lib_cdata_libcdata_btree_free=no 24869fi 24870rm -f core conftest.err conftest.$ac_objext \ 24871 conftest$ac_exeext conftest.$ac_ext 24872LIBS=$ac_check_lib_save_LIBS 24873fi 24874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24875$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24876if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24877 ac_cv_libcdata_dummy=yes 24878else 24879 ac_cv_libcdata=no 24880fi 24881 24882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24883$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24884if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24885 $as_echo_n "(cached) " >&6 24886else 24887 ac_check_lib_save_LIBS=$LIBS 24888LIBS="-lcdata $LIBS" 24889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24890/* end confdefs.h. */ 24891 24892/* Override any GCC internal prototype to avoid an error. 24893 Use char because int might match the return type of a GCC 24894 builtin and then its argument prototype would still apply. */ 24895#ifdef __cplusplus 24896extern "C" 24897#endif 24898char libcdata_btree_get_number_of_values (); 24899int 24900main () 24901{ 24902return libcdata_btree_get_number_of_values (); 24903 ; 24904 return 0; 24905} 24906_ACEOF 24907if ac_fn_c_try_link "$LINENO"; then : 24908 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24909else 24910 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24911fi 24912rm -f core conftest.err conftest.$ac_objext \ 24913 conftest$ac_exeext conftest.$ac_ext 24914LIBS=$ac_check_lib_save_LIBS 24915fi 24916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24917$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24918if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24919 ac_cv_libcdata_dummy=yes 24920else 24921 ac_cv_libcdata=no 24922fi 24923 24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24925$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24926if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24927 $as_echo_n "(cached) " >&6 24928else 24929 ac_check_lib_save_LIBS=$LIBS 24930LIBS="-lcdata $LIBS" 24931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24932/* end confdefs.h. */ 24933 24934/* Override any GCC internal prototype to avoid an error. 24935 Use char because int might match the return type of a GCC 24936 builtin and then its argument prototype would still apply. */ 24937#ifdef __cplusplus 24938extern "C" 24939#endif 24940char libcdata_btree_get_value_by_index (); 24941int 24942main () 24943{ 24944return libcdata_btree_get_value_by_index (); 24945 ; 24946 return 0; 24947} 24948_ACEOF 24949if ac_fn_c_try_link "$LINENO"; then : 24950 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 24951else 24952 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 24953fi 24954rm -f core conftest.err conftest.$ac_objext \ 24955 conftest$ac_exeext conftest.$ac_ext 24956LIBS=$ac_check_lib_save_LIBS 24957fi 24958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 24959$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 24960if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 24961 ac_cv_libcdata_dummy=yes 24962else 24963 ac_cv_libcdata=no 24964fi 24965 24966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 24967$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 24968if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 24969 $as_echo_n "(cached) " >&6 24970else 24971 ac_check_lib_save_LIBS=$LIBS 24972LIBS="-lcdata $LIBS" 24973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24974/* end confdefs.h. */ 24975 24976/* Override any GCC internal prototype to avoid an error. 24977 Use char because int might match the return type of a GCC 24978 builtin and then its argument prototype would still apply. */ 24979#ifdef __cplusplus 24980extern "C" 24981#endif 24982char libcdata_btree_get_value_by_value (); 24983int 24984main () 24985{ 24986return libcdata_btree_get_value_by_value (); 24987 ; 24988 return 0; 24989} 24990_ACEOF 24991if ac_fn_c_try_link "$LINENO"; then : 24992 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 24993else 24994 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 24995fi 24996rm -f core conftest.err conftest.$ac_objext \ 24997 conftest$ac_exeext conftest.$ac_ext 24998LIBS=$ac_check_lib_save_LIBS 24999fi 25000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25001$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25002if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25003 ac_cv_libcdata_dummy=yes 25004else 25005 ac_cv_libcdata=no 25006fi 25007 25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25009$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25010if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25011 $as_echo_n "(cached) " >&6 25012else 25013 ac_check_lib_save_LIBS=$LIBS 25014LIBS="-lcdata $LIBS" 25015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25016/* end confdefs.h. */ 25017 25018/* Override any GCC internal prototype to avoid an error. 25019 Use char because int might match the return type of a GCC 25020 builtin and then its argument prototype would still apply. */ 25021#ifdef __cplusplus 25022extern "C" 25023#endif 25024char libcdata_btree_insert_value (); 25025int 25026main () 25027{ 25028return libcdata_btree_insert_value (); 25029 ; 25030 return 0; 25031} 25032_ACEOF 25033if ac_fn_c_try_link "$LINENO"; then : 25034 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25035else 25036 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25037fi 25038rm -f core conftest.err conftest.$ac_objext \ 25039 conftest$ac_exeext conftest.$ac_ext 25040LIBS=$ac_check_lib_save_LIBS 25041fi 25042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25043$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25044if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25045 ac_cv_libcdata_dummy=yes 25046else 25047 ac_cv_libcdata=no 25048fi 25049 25050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25051$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25052if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25053 $as_echo_n "(cached) " >&6 25054else 25055 ac_check_lib_save_LIBS=$LIBS 25056LIBS="-lcdata $LIBS" 25057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25058/* end confdefs.h. */ 25059 25060/* Override any GCC internal prototype to avoid an error. 25061 Use char because int might match the return type of a GCC 25062 builtin and then its argument prototype would still apply. */ 25063#ifdef __cplusplus 25064extern "C" 25065#endif 25066char libcdata_btree_replace_value (); 25067int 25068main () 25069{ 25070return libcdata_btree_replace_value (); 25071 ; 25072 return 0; 25073} 25074_ACEOF 25075if ac_fn_c_try_link "$LINENO"; then : 25076 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25077else 25078 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25079fi 25080rm -f core conftest.err conftest.$ac_objext \ 25081 conftest$ac_exeext conftest.$ac_ext 25082LIBS=$ac_check_lib_save_LIBS 25083fi 25084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25085$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25086if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25087 ac_cv_libcdata_dummy=yes 25088else 25089 ac_cv_libcdata=no 25090fi 25091 25092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25093$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25094if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25095 $as_echo_n "(cached) " >&6 25096else 25097 ac_check_lib_save_LIBS=$LIBS 25098LIBS="-lcdata $LIBS" 25099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25100/* end confdefs.h. */ 25101 25102/* Override any GCC internal prototype to avoid an error. 25103 Use char because int might match the return type of a GCC 25104 builtin and then its argument prototype would still apply. */ 25105#ifdef __cplusplus 25106extern "C" 25107#endif 25108char libcdata_btree_remove_value (); 25109int 25110main () 25111{ 25112return libcdata_btree_remove_value (); 25113 ; 25114 return 0; 25115} 25116_ACEOF 25117if ac_fn_c_try_link "$LINENO"; then : 25118 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25119else 25120 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25121fi 25122rm -f core conftest.err conftest.$ac_objext \ 25123 conftest$ac_exeext conftest.$ac_ext 25124LIBS=$ac_check_lib_save_LIBS 25125fi 25126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25127$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25128if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25129 ac_cv_libcdata_dummy=yes 25130else 25131 ac_cv_libcdata=no 25132fi 25133 25134 25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25136$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25137if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25138 $as_echo_n "(cached) " >&6 25139else 25140 ac_check_lib_save_LIBS=$LIBS 25141LIBS="-lcdata $LIBS" 25142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25143/* end confdefs.h. */ 25144 25145/* Override any GCC internal prototype to avoid an error. 25146 Use char because int might match the return type of a GCC 25147 builtin and then its argument prototype would still apply. */ 25148#ifdef __cplusplus 25149extern "C" 25150#endif 25151char libcdata_list_initialize (); 25152int 25153main () 25154{ 25155return libcdata_list_initialize (); 25156 ; 25157 return 0; 25158} 25159_ACEOF 25160if ac_fn_c_try_link "$LINENO"; then : 25161 ac_cv_lib_cdata_libcdata_list_initialize=yes 25162else 25163 ac_cv_lib_cdata_libcdata_list_initialize=no 25164fi 25165rm -f core conftest.err conftest.$ac_objext \ 25166 conftest$ac_exeext conftest.$ac_ext 25167LIBS=$ac_check_lib_save_LIBS 25168fi 25169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25170$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25171if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25172 ac_cv_libcdata_dummy=yes 25173else 25174 ac_cv_libcdata=no 25175fi 25176 25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25178$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25179if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25180 $as_echo_n "(cached) " >&6 25181else 25182 ac_check_lib_save_LIBS=$LIBS 25183LIBS="-lcdata $LIBS" 25184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25185/* end confdefs.h. */ 25186 25187/* Override any GCC internal prototype to avoid an error. 25188 Use char because int might match the return type of a GCC 25189 builtin and then its argument prototype would still apply. */ 25190#ifdef __cplusplus 25191extern "C" 25192#endif 25193char libcdata_list_free (); 25194int 25195main () 25196{ 25197return libcdata_list_free (); 25198 ; 25199 return 0; 25200} 25201_ACEOF 25202if ac_fn_c_try_link "$LINENO"; then : 25203 ac_cv_lib_cdata_libcdata_list_free=yes 25204else 25205 ac_cv_lib_cdata_libcdata_list_free=no 25206fi 25207rm -f core conftest.err conftest.$ac_objext \ 25208 conftest$ac_exeext conftest.$ac_ext 25209LIBS=$ac_check_lib_save_LIBS 25210fi 25211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25212$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25213if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25214 ac_cv_libcdata_dummy=yes 25215else 25216 ac_cv_libcdata=no 25217fi 25218 25219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25220$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25221if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25222 $as_echo_n "(cached) " >&6 25223else 25224 ac_check_lib_save_LIBS=$LIBS 25225LIBS="-lcdata $LIBS" 25226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25227/* end confdefs.h. */ 25228 25229/* Override any GCC internal prototype to avoid an error. 25230 Use char because int might match the return type of a GCC 25231 builtin and then its argument prototype would still apply. */ 25232#ifdef __cplusplus 25233extern "C" 25234#endif 25235char libcdata_list_empty (); 25236int 25237main () 25238{ 25239return libcdata_list_empty (); 25240 ; 25241 return 0; 25242} 25243_ACEOF 25244if ac_fn_c_try_link "$LINENO"; then : 25245 ac_cv_lib_cdata_libcdata_list_empty=yes 25246else 25247 ac_cv_lib_cdata_libcdata_list_empty=no 25248fi 25249rm -f core conftest.err conftest.$ac_objext \ 25250 conftest$ac_exeext conftest.$ac_ext 25251LIBS=$ac_check_lib_save_LIBS 25252fi 25253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25254$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25255if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25256 ac_cv_libcdata_dummy=yes 25257else 25258 ac_cv_libcdata=no 25259fi 25260 25261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25262$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25263if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25264 $as_echo_n "(cached) " >&6 25265else 25266 ac_check_lib_save_LIBS=$LIBS 25267LIBS="-lcdata $LIBS" 25268cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25269/* end confdefs.h. */ 25270 25271/* Override any GCC internal prototype to avoid an error. 25272 Use char because int might match the return type of a GCC 25273 builtin and then its argument prototype would still apply. */ 25274#ifdef __cplusplus 25275extern "C" 25276#endif 25277char libcdata_list_clone (); 25278int 25279main () 25280{ 25281return libcdata_list_clone (); 25282 ; 25283 return 0; 25284} 25285_ACEOF 25286if ac_fn_c_try_link "$LINENO"; then : 25287 ac_cv_lib_cdata_libcdata_list_clone=yes 25288else 25289 ac_cv_lib_cdata_libcdata_list_clone=no 25290fi 25291rm -f core conftest.err conftest.$ac_objext \ 25292 conftest$ac_exeext conftest.$ac_ext 25293LIBS=$ac_check_lib_save_LIBS 25294fi 25295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25296$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25297if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25298 ac_cv_libcdata_dummy=yes 25299else 25300 ac_cv_libcdata=no 25301fi 25302 25303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25304$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25305if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25306 $as_echo_n "(cached) " >&6 25307else 25308 ac_check_lib_save_LIBS=$LIBS 25309LIBS="-lcdata $LIBS" 25310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25311/* end confdefs.h. */ 25312 25313/* Override any GCC internal prototype to avoid an error. 25314 Use char because int might match the return type of a GCC 25315 builtin and then its argument prototype would still apply. */ 25316#ifdef __cplusplus 25317extern "C" 25318#endif 25319char libcdata_list_get_number_of_elements (); 25320int 25321main () 25322{ 25323return libcdata_list_get_number_of_elements (); 25324 ; 25325 return 0; 25326} 25327_ACEOF 25328if ac_fn_c_try_link "$LINENO"; then : 25329 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25330else 25331 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25332fi 25333rm -f core conftest.err conftest.$ac_objext \ 25334 conftest$ac_exeext conftest.$ac_ext 25335LIBS=$ac_check_lib_save_LIBS 25336fi 25337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25338$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25339if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25340 ac_cv_libcdata_dummy=yes 25341else 25342 ac_cv_libcdata=no 25343fi 25344 25345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25346$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25347if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25348 $as_echo_n "(cached) " >&6 25349else 25350 ac_check_lib_save_LIBS=$LIBS 25351LIBS="-lcdata $LIBS" 25352cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25353/* end confdefs.h. */ 25354 25355/* Override any GCC internal prototype to avoid an error. 25356 Use char because int might match the return type of a GCC 25357 builtin and then its argument prototype would still apply. */ 25358#ifdef __cplusplus 25359extern "C" 25360#endif 25361char libcdata_list_get_first_element (); 25362int 25363main () 25364{ 25365return libcdata_list_get_first_element (); 25366 ; 25367 return 0; 25368} 25369_ACEOF 25370if ac_fn_c_try_link "$LINENO"; then : 25371 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25372else 25373 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25374fi 25375rm -f core conftest.err conftest.$ac_objext \ 25376 conftest$ac_exeext conftest.$ac_ext 25377LIBS=$ac_check_lib_save_LIBS 25378fi 25379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25380$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25381if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25382 ac_cv_libcdata_dummy=yes 25383else 25384 ac_cv_libcdata=no 25385fi 25386 25387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25388$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25389if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25390 $as_echo_n "(cached) " >&6 25391else 25392 ac_check_lib_save_LIBS=$LIBS 25393LIBS="-lcdata $LIBS" 25394cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25395/* end confdefs.h. */ 25396 25397/* Override any GCC internal prototype to avoid an error. 25398 Use char because int might match the return type of a GCC 25399 builtin and then its argument prototype would still apply. */ 25400#ifdef __cplusplus 25401extern "C" 25402#endif 25403char libcdata_list_get_last_element (); 25404int 25405main () 25406{ 25407return libcdata_list_get_last_element (); 25408 ; 25409 return 0; 25410} 25411_ACEOF 25412if ac_fn_c_try_link "$LINENO"; then : 25413 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25414else 25415 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25416fi 25417rm -f core conftest.err conftest.$ac_objext \ 25418 conftest$ac_exeext conftest.$ac_ext 25419LIBS=$ac_check_lib_save_LIBS 25420fi 25421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25422$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25423if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25424 ac_cv_libcdata_dummy=yes 25425else 25426 ac_cv_libcdata=no 25427fi 25428 25429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25430$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25431if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25432 $as_echo_n "(cached) " >&6 25433else 25434 ac_check_lib_save_LIBS=$LIBS 25435LIBS="-lcdata $LIBS" 25436cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25437/* end confdefs.h. */ 25438 25439/* Override any GCC internal prototype to avoid an error. 25440 Use char because int might match the return type of a GCC 25441 builtin and then its argument prototype would still apply. */ 25442#ifdef __cplusplus 25443extern "C" 25444#endif 25445char libcdata_list_get_element_by_index (); 25446int 25447main () 25448{ 25449return libcdata_list_get_element_by_index (); 25450 ; 25451 return 0; 25452} 25453_ACEOF 25454if ac_fn_c_try_link "$LINENO"; then : 25455 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25456else 25457 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25458fi 25459rm -f core conftest.err conftest.$ac_objext \ 25460 conftest$ac_exeext conftest.$ac_ext 25461LIBS=$ac_check_lib_save_LIBS 25462fi 25463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25464$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25465if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25466 ac_cv_libcdata_dummy=yes 25467else 25468 ac_cv_libcdata=no 25469fi 25470 25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25472$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25473if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25474 $as_echo_n "(cached) " >&6 25475else 25476 ac_check_lib_save_LIBS=$LIBS 25477LIBS="-lcdata $LIBS" 25478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25479/* end confdefs.h. */ 25480 25481/* Override any GCC internal prototype to avoid an error. 25482 Use char because int might match the return type of a GCC 25483 builtin and then its argument prototype would still apply. */ 25484#ifdef __cplusplus 25485extern "C" 25486#endif 25487char libcdata_list_get_value_by_index (); 25488int 25489main () 25490{ 25491return libcdata_list_get_value_by_index (); 25492 ; 25493 return 0; 25494} 25495_ACEOF 25496if ac_fn_c_try_link "$LINENO"; then : 25497 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25498else 25499 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25500fi 25501rm -f core conftest.err conftest.$ac_objext \ 25502 conftest$ac_exeext conftest.$ac_ext 25503LIBS=$ac_check_lib_save_LIBS 25504fi 25505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25506$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25507if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25508 ac_cv_libcdata_dummy=yes 25509else 25510 ac_cv_libcdata=no 25511fi 25512 25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25514$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25515if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25516 $as_echo_n "(cached) " >&6 25517else 25518 ac_check_lib_save_LIBS=$LIBS 25519LIBS="-lcdata $LIBS" 25520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25521/* end confdefs.h. */ 25522 25523/* Override any GCC internal prototype to avoid an error. 25524 Use char because int might match the return type of a GCC 25525 builtin and then its argument prototype would still apply. */ 25526#ifdef __cplusplus 25527extern "C" 25528#endif 25529char libcdata_list_prepend_element (); 25530int 25531main () 25532{ 25533return libcdata_list_prepend_element (); 25534 ; 25535 return 0; 25536} 25537_ACEOF 25538if ac_fn_c_try_link "$LINENO"; then : 25539 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25540else 25541 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25542fi 25543rm -f core conftest.err conftest.$ac_objext \ 25544 conftest$ac_exeext conftest.$ac_ext 25545LIBS=$ac_check_lib_save_LIBS 25546fi 25547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25548$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25549if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25550 ac_cv_libcdata_dummy=yes 25551else 25552 ac_cv_libcdata=no 25553fi 25554 25555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25556$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25557if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25558 $as_echo_n "(cached) " >&6 25559else 25560 ac_check_lib_save_LIBS=$LIBS 25561LIBS="-lcdata $LIBS" 25562cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25563/* end confdefs.h. */ 25564 25565/* Override any GCC internal prototype to avoid an error. 25566 Use char because int might match the return type of a GCC 25567 builtin and then its argument prototype would still apply. */ 25568#ifdef __cplusplus 25569extern "C" 25570#endif 25571char libcdata_list_prepend_value (); 25572int 25573main () 25574{ 25575return libcdata_list_prepend_value (); 25576 ; 25577 return 0; 25578} 25579_ACEOF 25580if ac_fn_c_try_link "$LINENO"; then : 25581 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25582else 25583 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25584fi 25585rm -f core conftest.err conftest.$ac_objext \ 25586 conftest$ac_exeext conftest.$ac_ext 25587LIBS=$ac_check_lib_save_LIBS 25588fi 25589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25590$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25591if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25592 ac_cv_libcdata_dummy=yes 25593else 25594 ac_cv_libcdata=no 25595fi 25596 25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25598$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25599if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25600 $as_echo_n "(cached) " >&6 25601else 25602 ac_check_lib_save_LIBS=$LIBS 25603LIBS="-lcdata $LIBS" 25604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25605/* end confdefs.h. */ 25606 25607/* Override any GCC internal prototype to avoid an error. 25608 Use char because int might match the return type of a GCC 25609 builtin and then its argument prototype would still apply. */ 25610#ifdef __cplusplus 25611extern "C" 25612#endif 25613char libcdata_list_append_element (); 25614int 25615main () 25616{ 25617return libcdata_list_append_element (); 25618 ; 25619 return 0; 25620} 25621_ACEOF 25622if ac_fn_c_try_link "$LINENO"; then : 25623 ac_cv_lib_cdata_libcdata_list_append_element=yes 25624else 25625 ac_cv_lib_cdata_libcdata_list_append_element=no 25626fi 25627rm -f core conftest.err conftest.$ac_objext \ 25628 conftest$ac_exeext conftest.$ac_ext 25629LIBS=$ac_check_lib_save_LIBS 25630fi 25631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25632$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25633if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25634 ac_cv_libcdata_dummy=yes 25635else 25636 ac_cv_libcdata=no 25637fi 25638 25639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25640$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25641if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25642 $as_echo_n "(cached) " >&6 25643else 25644 ac_check_lib_save_LIBS=$LIBS 25645LIBS="-lcdata $LIBS" 25646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25647/* end confdefs.h. */ 25648 25649/* Override any GCC internal prototype to avoid an error. 25650 Use char because int might match the return type of a GCC 25651 builtin and then its argument prototype would still apply. */ 25652#ifdef __cplusplus 25653extern "C" 25654#endif 25655char libcdata_list_append_value (); 25656int 25657main () 25658{ 25659return libcdata_list_append_value (); 25660 ; 25661 return 0; 25662} 25663_ACEOF 25664if ac_fn_c_try_link "$LINENO"; then : 25665 ac_cv_lib_cdata_libcdata_list_append_value=yes 25666else 25667 ac_cv_lib_cdata_libcdata_list_append_value=no 25668fi 25669rm -f core conftest.err conftest.$ac_objext \ 25670 conftest$ac_exeext conftest.$ac_ext 25671LIBS=$ac_check_lib_save_LIBS 25672fi 25673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25674$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25675if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25676 ac_cv_libcdata_dummy=yes 25677else 25678 ac_cv_libcdata=no 25679fi 25680 25681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25682$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25683if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25684 $as_echo_n "(cached) " >&6 25685else 25686 ac_check_lib_save_LIBS=$LIBS 25687LIBS="-lcdata $LIBS" 25688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25689/* end confdefs.h. */ 25690 25691/* Override any GCC internal prototype to avoid an error. 25692 Use char because int might match the return type of a GCC 25693 builtin and then its argument prototype would still apply. */ 25694#ifdef __cplusplus 25695extern "C" 25696#endif 25697char libcdata_list_insert_element (); 25698int 25699main () 25700{ 25701return libcdata_list_insert_element (); 25702 ; 25703 return 0; 25704} 25705_ACEOF 25706if ac_fn_c_try_link "$LINENO"; then : 25707 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25708else 25709 ac_cv_lib_cdata_libcdata_list_insert_element=no 25710fi 25711rm -f core conftest.err conftest.$ac_objext \ 25712 conftest$ac_exeext conftest.$ac_ext 25713LIBS=$ac_check_lib_save_LIBS 25714fi 25715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25716$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25717if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25718 ac_cv_libcdata_dummy=yes 25719else 25720 ac_cv_libcdata=no 25721fi 25722 25723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25724$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25725if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25726 $as_echo_n "(cached) " >&6 25727else 25728 ac_check_lib_save_LIBS=$LIBS 25729LIBS="-lcdata $LIBS" 25730cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25731/* end confdefs.h. */ 25732 25733/* Override any GCC internal prototype to avoid an error. 25734 Use char because int might match the return type of a GCC 25735 builtin and then its argument prototype would still apply. */ 25736#ifdef __cplusplus 25737extern "C" 25738#endif 25739char libcdata_list_insert_value (); 25740int 25741main () 25742{ 25743return libcdata_list_insert_value (); 25744 ; 25745 return 0; 25746} 25747_ACEOF 25748if ac_fn_c_try_link "$LINENO"; then : 25749 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25750else 25751 ac_cv_lib_cdata_libcdata_list_insert_value=no 25752fi 25753rm -f core conftest.err conftest.$ac_objext \ 25754 conftest$ac_exeext conftest.$ac_ext 25755LIBS=$ac_check_lib_save_LIBS 25756fi 25757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25758$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25759if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25760 ac_cv_libcdata_dummy=yes 25761else 25762 ac_cv_libcdata=no 25763fi 25764 25765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25766$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25767if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25768 $as_echo_n "(cached) " >&6 25769else 25770 ac_check_lib_save_LIBS=$LIBS 25771LIBS="-lcdata $LIBS" 25772cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25773/* end confdefs.h. */ 25774 25775/* Override any GCC internal prototype to avoid an error. 25776 Use char because int might match the return type of a GCC 25777 builtin and then its argument prototype would still apply. */ 25778#ifdef __cplusplus 25779extern "C" 25780#endif 25781char libcdata_list_remove_element (); 25782int 25783main () 25784{ 25785return libcdata_list_remove_element (); 25786 ; 25787 return 0; 25788} 25789_ACEOF 25790if ac_fn_c_try_link "$LINENO"; then : 25791 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25792else 25793 ac_cv_lib_cdata_libcdata_list_remove_element=no 25794fi 25795rm -f core conftest.err conftest.$ac_objext \ 25796 conftest$ac_exeext conftest.$ac_ext 25797LIBS=$ac_check_lib_save_LIBS 25798fi 25799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25800$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25801if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25802 ac_cv_libcdata_dummy=yes 25803else 25804 ac_cv_libcdata=no 25805fi 25806 25807 25808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25809$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25810if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25811 $as_echo_n "(cached) " >&6 25812else 25813 ac_check_lib_save_LIBS=$LIBS 25814LIBS="-lcdata $LIBS" 25815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25816/* end confdefs.h. */ 25817 25818/* Override any GCC internal prototype to avoid an error. 25819 Use char because int might match the return type of a GCC 25820 builtin and then its argument prototype would still apply. */ 25821#ifdef __cplusplus 25822extern "C" 25823#endif 25824char libcdata_list_element_initialize (); 25825int 25826main () 25827{ 25828return libcdata_list_element_initialize (); 25829 ; 25830 return 0; 25831} 25832_ACEOF 25833if ac_fn_c_try_link "$LINENO"; then : 25834 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25835else 25836 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25837fi 25838rm -f core conftest.err conftest.$ac_objext \ 25839 conftest$ac_exeext conftest.$ac_ext 25840LIBS=$ac_check_lib_save_LIBS 25841fi 25842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25843$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25844if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25845 ac_cv_libcdata_dummy=yes 25846else 25847 ac_cv_libcdata=no 25848fi 25849 25850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25851$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25852if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25853 $as_echo_n "(cached) " >&6 25854else 25855 ac_check_lib_save_LIBS=$LIBS 25856LIBS="-lcdata $LIBS" 25857cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25858/* end confdefs.h. */ 25859 25860/* Override any GCC internal prototype to avoid an error. 25861 Use char because int might match the return type of a GCC 25862 builtin and then its argument prototype would still apply. */ 25863#ifdef __cplusplus 25864extern "C" 25865#endif 25866char libcdata_list_element_free (); 25867int 25868main () 25869{ 25870return libcdata_list_element_free (); 25871 ; 25872 return 0; 25873} 25874_ACEOF 25875if ac_fn_c_try_link "$LINENO"; then : 25876 ac_cv_lib_cdata_libcdata_list_element_free=yes 25877else 25878 ac_cv_lib_cdata_libcdata_list_element_free=no 25879fi 25880rm -f core conftest.err conftest.$ac_objext \ 25881 conftest$ac_exeext conftest.$ac_ext 25882LIBS=$ac_check_lib_save_LIBS 25883fi 25884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25885$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25886if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25887 ac_cv_libcdata_dummy=yes 25888else 25889 ac_cv_libcdata=no 25890fi 25891 25892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25893$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25894if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25895 $as_echo_n "(cached) " >&6 25896else 25897 ac_check_lib_save_LIBS=$LIBS 25898LIBS="-lcdata $LIBS" 25899cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25900/* end confdefs.h. */ 25901 25902/* Override any GCC internal prototype to avoid an error. 25903 Use char because int might match the return type of a GCC 25904 builtin and then its argument prototype would still apply. */ 25905#ifdef __cplusplus 25906extern "C" 25907#endif 25908char libcdata_list_element_get_value (); 25909int 25910main () 25911{ 25912return libcdata_list_element_get_value (); 25913 ; 25914 return 0; 25915} 25916_ACEOF 25917if ac_fn_c_try_link "$LINENO"; then : 25918 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25919else 25920 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25921fi 25922rm -f core conftest.err conftest.$ac_objext \ 25923 conftest$ac_exeext conftest.$ac_ext 25924LIBS=$ac_check_lib_save_LIBS 25925fi 25926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25927$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25928if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25929 ac_cv_libcdata_dummy=yes 25930else 25931 ac_cv_libcdata=no 25932fi 25933 25934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25935$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 25936if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 25937 $as_echo_n "(cached) " >&6 25938else 25939 ac_check_lib_save_LIBS=$LIBS 25940LIBS="-lcdata $LIBS" 25941cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25942/* end confdefs.h. */ 25943 25944/* Override any GCC internal prototype to avoid an error. 25945 Use char because int might match the return type of a GCC 25946 builtin and then its argument prototype would still apply. */ 25947#ifdef __cplusplus 25948extern "C" 25949#endif 25950char libcdata_list_element_set_value (); 25951int 25952main () 25953{ 25954return libcdata_list_element_set_value (); 25955 ; 25956 return 0; 25957} 25958_ACEOF 25959if ac_fn_c_try_link "$LINENO"; then : 25960 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 25961else 25962 ac_cv_lib_cdata_libcdata_list_element_set_value=no 25963fi 25964rm -f core conftest.err conftest.$ac_objext \ 25965 conftest$ac_exeext conftest.$ac_ext 25966LIBS=$ac_check_lib_save_LIBS 25967fi 25968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 25969$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 25970if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 25971 ac_cv_libcdata_dummy=yes 25972else 25973 ac_cv_libcdata=no 25974fi 25975 25976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 25977$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 25978if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 25979 $as_echo_n "(cached) " >&6 25980else 25981 ac_check_lib_save_LIBS=$LIBS 25982LIBS="-lcdata $LIBS" 25983cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25984/* end confdefs.h. */ 25985 25986/* Override any GCC internal prototype to avoid an error. 25987 Use char because int might match the return type of a GCC 25988 builtin and then its argument prototype would still apply. */ 25989#ifdef __cplusplus 25990extern "C" 25991#endif 25992char libcdata_list_element_get_previous_element (); 25993int 25994main () 25995{ 25996return libcdata_list_element_get_previous_element (); 25997 ; 25998 return 0; 25999} 26000_ACEOF 26001if ac_fn_c_try_link "$LINENO"; then : 26002 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26003else 26004 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26005fi 26006rm -f core conftest.err conftest.$ac_objext \ 26007 conftest$ac_exeext conftest.$ac_ext 26008LIBS=$ac_check_lib_save_LIBS 26009fi 26010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26011$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26012if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26013 ac_cv_libcdata_dummy=yes 26014else 26015 ac_cv_libcdata=no 26016fi 26017 26018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26019$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26020if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26021 $as_echo_n "(cached) " >&6 26022else 26023 ac_check_lib_save_LIBS=$LIBS 26024LIBS="-lcdata $LIBS" 26025cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26026/* end confdefs.h. */ 26027 26028/* Override any GCC internal prototype to avoid an error. 26029 Use char because int might match the return type of a GCC 26030 builtin and then its argument prototype would still apply. */ 26031#ifdef __cplusplus 26032extern "C" 26033#endif 26034char libcdata_list_element_set_previous_element (); 26035int 26036main () 26037{ 26038return libcdata_list_element_set_previous_element (); 26039 ; 26040 return 0; 26041} 26042_ACEOF 26043if ac_fn_c_try_link "$LINENO"; then : 26044 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26045else 26046 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26047fi 26048rm -f core conftest.err conftest.$ac_objext \ 26049 conftest$ac_exeext conftest.$ac_ext 26050LIBS=$ac_check_lib_save_LIBS 26051fi 26052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26053$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26054if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26055 ac_cv_libcdata_dummy=yes 26056else 26057 ac_cv_libcdata=no 26058fi 26059 26060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26061$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26062if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26063 $as_echo_n "(cached) " >&6 26064else 26065 ac_check_lib_save_LIBS=$LIBS 26066LIBS="-lcdata $LIBS" 26067cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26068/* end confdefs.h. */ 26069 26070/* Override any GCC internal prototype to avoid an error. 26071 Use char because int might match the return type of a GCC 26072 builtin and then its argument prototype would still apply. */ 26073#ifdef __cplusplus 26074extern "C" 26075#endif 26076char libcdata_list_element_get_next_element (); 26077int 26078main () 26079{ 26080return libcdata_list_element_get_next_element (); 26081 ; 26082 return 0; 26083} 26084_ACEOF 26085if ac_fn_c_try_link "$LINENO"; then : 26086 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26087else 26088 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26089fi 26090rm -f core conftest.err conftest.$ac_objext \ 26091 conftest$ac_exeext conftest.$ac_ext 26092LIBS=$ac_check_lib_save_LIBS 26093fi 26094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26095$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26096if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26097 ac_cv_libcdata_dummy=yes 26098else 26099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26100$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26101if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26102 $as_echo_n "(cached) " >&6 26103else 26104 ac_check_lib_save_LIBS=$LIBS 26105LIBS="-lcdata $LIBS" 26106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26107/* end confdefs.h. */ 26108 26109/* Override any GCC internal prototype to avoid an error. 26110 Use char because int might match the return type of a GCC 26111 builtin and then its argument prototype would still apply. */ 26112#ifdef __cplusplus 26113extern "C" 26114#endif 26115char libcdata_list_element_set_next_element (); 26116int 26117main () 26118{ 26119return libcdata_list_element_set_next_element (); 26120 ; 26121 return 0; 26122} 26123_ACEOF 26124if ac_fn_c_try_link "$LINENO"; then : 26125 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26126else 26127 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26128fi 26129rm -f core conftest.err conftest.$ac_objext \ 26130 conftest$ac_exeext conftest.$ac_ext 26131LIBS=$ac_check_lib_save_LIBS 26132fi 26133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26134$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26135if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26136 ac_cv_libcdata_dummy=yes 26137else 26138 ac_cv_libcdata=no 26139fi 26140 26141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26142$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26143if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26144 $as_echo_n "(cached) " >&6 26145else 26146 ac_check_lib_save_LIBS=$LIBS 26147LIBS="-lcdata $LIBS" 26148cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26149/* end confdefs.h. */ 26150 26151/* Override any GCC internal prototype to avoid an error. 26152 Use char because int might match the return type of a GCC 26153 builtin and then its argument prototype would still apply. */ 26154#ifdef __cplusplus 26155extern "C" 26156#endif 26157char libcdata_list_element_get_elements (); 26158int 26159main () 26160{ 26161return libcdata_list_element_get_elements (); 26162 ; 26163 return 0; 26164} 26165_ACEOF 26166if ac_fn_c_try_link "$LINENO"; then : 26167 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26168else 26169 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26170fi 26171rm -f core conftest.err conftest.$ac_objext \ 26172 conftest$ac_exeext conftest.$ac_ext 26173LIBS=$ac_check_lib_save_LIBS 26174fi 26175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26176$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26177if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26178 ac_cv_libcdata_dummy=yes 26179else 26180 ac_cv_libcdata=no 26181fi 26182 26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26184$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26185if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26186 $as_echo_n "(cached) " >&6 26187else 26188 ac_check_lib_save_LIBS=$LIBS 26189LIBS="-lcdata $LIBS" 26190cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26191/* end confdefs.h. */ 26192 26193/* Override any GCC internal prototype to avoid an error. 26194 Use char because int might match the return type of a GCC 26195 builtin and then its argument prototype would still apply. */ 26196#ifdef __cplusplus 26197extern "C" 26198#endif 26199char libcdata_list_element_set_elements (); 26200int 26201main () 26202{ 26203return libcdata_list_element_set_elements (); 26204 ; 26205 return 0; 26206} 26207_ACEOF 26208if ac_fn_c_try_link "$LINENO"; then : 26209 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26210else 26211 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26212fi 26213rm -f core conftest.err conftest.$ac_objext \ 26214 conftest$ac_exeext conftest.$ac_ext 26215LIBS=$ac_check_lib_save_LIBS 26216fi 26217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26218$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26219if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26220 ac_cv_libcdata_dummy=yes 26221else 26222 ac_cv_libcdata=no 26223fi 26224 26225 ac_cv_libcdata=no 26226fi 26227 26228 26229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26230$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26231if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} 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_range_list_initialize (); 26246int 26247main () 26248{ 26249return libcdata_range_list_initialize (); 26250 ; 26251 return 0; 26252} 26253_ACEOF 26254if ac_fn_c_try_link "$LINENO"; then : 26255 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26256else 26257 ac_cv_lib_cdata_libcdata_range_list_initialize=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_range_list_initialize" >&5 26264$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26265if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26266 ac_cv_libcdata_dummy=yes 26267else 26268 ac_cv_libcdata=no 26269fi 26270 26271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26272$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26273if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26274 $as_echo_n "(cached) " >&6 26275else 26276 ac_check_lib_save_LIBS=$LIBS 26277LIBS="-lcdata $LIBS" 26278cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26279/* end confdefs.h. */ 26280 26281/* Override any GCC internal prototype to avoid an error. 26282 Use char because int might match the return type of a GCC 26283 builtin and then its argument prototype would still apply. */ 26284#ifdef __cplusplus 26285extern "C" 26286#endif 26287char libcdata_range_list_free (); 26288int 26289main () 26290{ 26291return libcdata_range_list_free (); 26292 ; 26293 return 0; 26294} 26295_ACEOF 26296if ac_fn_c_try_link "$LINENO"; then : 26297 ac_cv_lib_cdata_libcdata_range_list_free=yes 26298else 26299 ac_cv_lib_cdata_libcdata_range_list_free=no 26300fi 26301rm -f core conftest.err conftest.$ac_objext \ 26302 conftest$ac_exeext conftest.$ac_ext 26303LIBS=$ac_check_lib_save_LIBS 26304fi 26305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26306$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26307if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26308 ac_cv_libcdata_dummy=yes 26309else 26310 ac_cv_libcdata=no 26311fi 26312 26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26314$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26315if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26316 $as_echo_n "(cached) " >&6 26317else 26318 ac_check_lib_save_LIBS=$LIBS 26319LIBS="-lcdata $LIBS" 26320cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26321/* end confdefs.h. */ 26322 26323/* Override any GCC internal prototype to avoid an error. 26324 Use char because int might match the return type of a GCC 26325 builtin and then its argument prototype would still apply. */ 26326#ifdef __cplusplus 26327extern "C" 26328#endif 26329char libcdata_range_list_empty (); 26330int 26331main () 26332{ 26333return libcdata_range_list_empty (); 26334 ; 26335 return 0; 26336} 26337_ACEOF 26338if ac_fn_c_try_link "$LINENO"; then : 26339 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26340else 26341 ac_cv_lib_cdata_libcdata_range_list_empty=no 26342fi 26343rm -f core conftest.err conftest.$ac_objext \ 26344 conftest$ac_exeext conftest.$ac_ext 26345LIBS=$ac_check_lib_save_LIBS 26346fi 26347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26348$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26349if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26350 ac_cv_libcdata_dummy=yes 26351else 26352 ac_cv_libcdata=no 26353fi 26354 26355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26356$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26357if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26358 $as_echo_n "(cached) " >&6 26359else 26360 ac_check_lib_save_LIBS=$LIBS 26361LIBS="-lcdata $LIBS" 26362cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26363/* end confdefs.h. */ 26364 26365/* Override any GCC internal prototype to avoid an error. 26366 Use char because int might match the return type of a GCC 26367 builtin and then its argument prototype would still apply. */ 26368#ifdef __cplusplus 26369extern "C" 26370#endif 26371char libcdata_range_list_clone (); 26372int 26373main () 26374{ 26375return libcdata_range_list_clone (); 26376 ; 26377 return 0; 26378} 26379_ACEOF 26380if ac_fn_c_try_link "$LINENO"; then : 26381 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26382else 26383 ac_cv_lib_cdata_libcdata_range_list_clone=no 26384fi 26385rm -f core conftest.err conftest.$ac_objext \ 26386 conftest$ac_exeext conftest.$ac_ext 26387LIBS=$ac_check_lib_save_LIBS 26388fi 26389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26390$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26391if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26392 ac_cv_libcdata_dummy=yes 26393else 26394 ac_cv_libcdata=no 26395fi 26396 26397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26398$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26399if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26400 $as_echo_n "(cached) " >&6 26401else 26402 ac_check_lib_save_LIBS=$LIBS 26403LIBS="-lcdata $LIBS" 26404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26405/* end confdefs.h. */ 26406 26407/* Override any GCC internal prototype to avoid an error. 26408 Use char because int might match the return type of a GCC 26409 builtin and then its argument prototype would still apply. */ 26410#ifdef __cplusplus 26411extern "C" 26412#endif 26413char libcdata_range_list_get_number_of_elements (); 26414int 26415main () 26416{ 26417return libcdata_range_list_get_number_of_elements (); 26418 ; 26419 return 0; 26420} 26421_ACEOF 26422if ac_fn_c_try_link "$LINENO"; then : 26423 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26424else 26425 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26426fi 26427rm -f core conftest.err conftest.$ac_objext \ 26428 conftest$ac_exeext conftest.$ac_ext 26429LIBS=$ac_check_lib_save_LIBS 26430fi 26431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26432$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26433if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26434 ac_cv_libcdata_dummy=yes 26435else 26436 ac_cv_libcdata=no 26437fi 26438 26439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26440$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26441if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26442 $as_echo_n "(cached) " >&6 26443else 26444 ac_check_lib_save_LIBS=$LIBS 26445LIBS="-lcdata $LIBS" 26446cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26447/* end confdefs.h. */ 26448 26449/* Override any GCC internal prototype to avoid an error. 26450 Use char because int might match the return type of a GCC 26451 builtin and then its argument prototype would still apply. */ 26452#ifdef __cplusplus 26453extern "C" 26454#endif 26455char libcdata_range_list_insert_range (); 26456int 26457main () 26458{ 26459return libcdata_range_list_insert_range (); 26460 ; 26461 return 0; 26462} 26463_ACEOF 26464if ac_fn_c_try_link "$LINENO"; then : 26465 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26466else 26467 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26468fi 26469rm -f core conftest.err conftest.$ac_objext \ 26470 conftest$ac_exeext conftest.$ac_ext 26471LIBS=$ac_check_lib_save_LIBS 26472fi 26473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26474$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26475if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26476 ac_cv_libcdata_dummy=yes 26477else 26478 ac_cv_libcdata=no 26479fi 26480 26481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26482$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26483if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26484 $as_echo_n "(cached) " >&6 26485else 26486 ac_check_lib_save_LIBS=$LIBS 26487LIBS="-lcdata $LIBS" 26488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26489/* end confdefs.h. */ 26490 26491/* Override any GCC internal prototype to avoid an error. 26492 Use char because int might match the return type of a GCC 26493 builtin and then its argument prototype would still apply. */ 26494#ifdef __cplusplus 26495extern "C" 26496#endif 26497char libcdata_range_list_insert_range_list (); 26498int 26499main () 26500{ 26501return libcdata_range_list_insert_range_list (); 26502 ; 26503 return 0; 26504} 26505_ACEOF 26506if ac_fn_c_try_link "$LINENO"; then : 26507 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26508else 26509 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26510fi 26511rm -f core conftest.err conftest.$ac_objext \ 26512 conftest$ac_exeext conftest.$ac_ext 26513LIBS=$ac_check_lib_save_LIBS 26514fi 26515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26516$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26517if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26518 ac_cv_libcdata_dummy=yes 26519else 26520 ac_cv_libcdata=no 26521fi 26522 26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26524$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26525if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26526 $as_echo_n "(cached) " >&6 26527else 26528 ac_check_lib_save_LIBS=$LIBS 26529LIBS="-lcdata $LIBS" 26530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26531/* end confdefs.h. */ 26532 26533/* Override any GCC internal prototype to avoid an error. 26534 Use char because int might match the return type of a GCC 26535 builtin and then its argument prototype would still apply. */ 26536#ifdef __cplusplus 26537extern "C" 26538#endif 26539char libcdata_range_list_remove_range (); 26540int 26541main () 26542{ 26543return libcdata_range_list_remove_range (); 26544 ; 26545 return 0; 26546} 26547_ACEOF 26548if ac_fn_c_try_link "$LINENO"; then : 26549 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26550else 26551 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26552fi 26553rm -f core conftest.err conftest.$ac_objext \ 26554 conftest$ac_exeext conftest.$ac_ext 26555LIBS=$ac_check_lib_save_LIBS 26556fi 26557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26558$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26559if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26560 ac_cv_libcdata_dummy=yes 26561else 26562 ac_cv_libcdata=no 26563fi 26564 26565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26566$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26567if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26568 $as_echo_n "(cached) " >&6 26569else 26570 ac_check_lib_save_LIBS=$LIBS 26571LIBS="-lcdata $LIBS" 26572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26573/* end confdefs.h. */ 26574 26575/* Override any GCC internal prototype to avoid an error. 26576 Use char because int might match the return type of a GCC 26577 builtin and then its argument prototype would still apply. */ 26578#ifdef __cplusplus 26579extern "C" 26580#endif 26581char libcdata_range_list_get_range_by_index (); 26582int 26583main () 26584{ 26585return libcdata_range_list_get_range_by_index (); 26586 ; 26587 return 0; 26588} 26589_ACEOF 26590if ac_fn_c_try_link "$LINENO"; then : 26591 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26592else 26593 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26594fi 26595rm -f core conftest.err conftest.$ac_objext \ 26596 conftest$ac_exeext conftest.$ac_ext 26597LIBS=$ac_check_lib_save_LIBS 26598fi 26599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26600$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26601if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26602 ac_cv_libcdata_dummy=yes 26603else 26604 ac_cv_libcdata=no 26605fi 26606 26607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26608$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26609if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26610 $as_echo_n "(cached) " >&6 26611else 26612 ac_check_lib_save_LIBS=$LIBS 26613LIBS="-lcdata $LIBS" 26614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26615/* end confdefs.h. */ 26616 26617/* Override any GCC internal prototype to avoid an error. 26618 Use char because int might match the return type of a GCC 26619 builtin and then its argument prototype would still apply. */ 26620#ifdef __cplusplus 26621extern "C" 26622#endif 26623char libcdata_range_list_get_range_at_offset (); 26624int 26625main () 26626{ 26627return libcdata_range_list_get_range_at_offset (); 26628 ; 26629 return 0; 26630} 26631_ACEOF 26632if ac_fn_c_try_link "$LINENO"; then : 26633 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26634else 26635 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26636fi 26637rm -f core conftest.err conftest.$ac_objext \ 26638 conftest$ac_exeext conftest.$ac_ext 26639LIBS=$ac_check_lib_save_LIBS 26640fi 26641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26642$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26643if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26644 ac_cv_libcdata_dummy=yes 26645else 26646 ac_cv_libcdata=no 26647fi 26648 26649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26650$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26651if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26652 $as_echo_n "(cached) " >&6 26653else 26654 ac_check_lib_save_LIBS=$LIBS 26655LIBS="-lcdata $LIBS" 26656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26657/* end confdefs.h. */ 26658 26659/* Override any GCC internal prototype to avoid an error. 26660 Use char because int might match the return type of a GCC 26661 builtin and then its argument prototype would still apply. */ 26662#ifdef __cplusplus 26663extern "C" 26664#endif 26665char libcdata_range_list_range_is_present (); 26666int 26667main () 26668{ 26669return libcdata_range_list_range_is_present (); 26670 ; 26671 return 0; 26672} 26673_ACEOF 26674if ac_fn_c_try_link "$LINENO"; then : 26675 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26676else 26677 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26678fi 26679rm -f core conftest.err conftest.$ac_objext \ 26680 conftest$ac_exeext conftest.$ac_ext 26681LIBS=$ac_check_lib_save_LIBS 26682fi 26683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26684$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26685if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26686 ac_cv_libcdata_dummy=yes 26687else 26688 ac_cv_libcdata=no 26689fi 26690 26691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26692$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26693if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26694 $as_echo_n "(cached) " >&6 26695else 26696 ac_check_lib_save_LIBS=$LIBS 26697LIBS="-lcdata $LIBS" 26698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26699/* end confdefs.h. */ 26700 26701/* Override any GCC internal prototype to avoid an error. 26702 Use char because int might match the return type of a GCC 26703 builtin and then its argument prototype would still apply. */ 26704#ifdef __cplusplus 26705extern "C" 26706#endif 26707char libcdata_range_list_get_spanning_range (); 26708int 26709main () 26710{ 26711return libcdata_range_list_get_spanning_range (); 26712 ; 26713 return 0; 26714} 26715_ACEOF 26716if ac_fn_c_try_link "$LINENO"; then : 26717 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26718else 26719 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26720fi 26721rm -f core conftest.err conftest.$ac_objext \ 26722 conftest$ac_exeext conftest.$ac_ext 26723LIBS=$ac_check_lib_save_LIBS 26724fi 26725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26726$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26727if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26728 ac_cv_libcdata_dummy=yes 26729else 26730 ac_cv_libcdata=no 26731fi 26732 26733 26734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26735$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26736if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26737 $as_echo_n "(cached) " >&6 26738else 26739 ac_check_lib_save_LIBS=$LIBS 26740LIBS="-lcdata $LIBS" 26741cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26742/* end confdefs.h. */ 26743 26744/* Override any GCC internal prototype to avoid an error. 26745 Use char because int might match the return type of a GCC 26746 builtin and then its argument prototype would still apply. */ 26747#ifdef __cplusplus 26748extern "C" 26749#endif 26750char libcdata_tree_node_initialize (); 26751int 26752main () 26753{ 26754return libcdata_tree_node_initialize (); 26755 ; 26756 return 0; 26757} 26758_ACEOF 26759if ac_fn_c_try_link "$LINENO"; then : 26760 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26761else 26762 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26763fi 26764rm -f core conftest.err conftest.$ac_objext \ 26765 conftest$ac_exeext conftest.$ac_ext 26766LIBS=$ac_check_lib_save_LIBS 26767fi 26768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26769$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26770if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26771 ac_cv_libcdata_dummy=yes 26772else 26773 ac_cv_libcdata=no 26774fi 26775 26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26777$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26778if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26779 $as_echo_n "(cached) " >&6 26780else 26781 ac_check_lib_save_LIBS=$LIBS 26782LIBS="-lcdata $LIBS" 26783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26784/* end confdefs.h. */ 26785 26786/* Override any GCC internal prototype to avoid an error. 26787 Use char because int might match the return type of a GCC 26788 builtin and then its argument prototype would still apply. */ 26789#ifdef __cplusplus 26790extern "C" 26791#endif 26792char libcdata_tree_node_free (); 26793int 26794main () 26795{ 26796return libcdata_tree_node_free (); 26797 ; 26798 return 0; 26799} 26800_ACEOF 26801if ac_fn_c_try_link "$LINENO"; then : 26802 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26803else 26804 ac_cv_lib_cdata_libcdata_tree_node_free=no 26805fi 26806rm -f core conftest.err conftest.$ac_objext \ 26807 conftest$ac_exeext conftest.$ac_ext 26808LIBS=$ac_check_lib_save_LIBS 26809fi 26810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26811$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26812if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26813 ac_cv_libcdata_dummy=yes 26814else 26815 ac_cv_libcdata=no 26816fi 26817 26818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26819$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26820if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26821 $as_echo_n "(cached) " >&6 26822else 26823 ac_check_lib_save_LIBS=$LIBS 26824LIBS="-lcdata $LIBS" 26825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26826/* end confdefs.h. */ 26827 26828/* Override any GCC internal prototype to avoid an error. 26829 Use char because int might match the return type of a GCC 26830 builtin and then its argument prototype would still apply. */ 26831#ifdef __cplusplus 26832extern "C" 26833#endif 26834char libcdata_tree_node_empty (); 26835int 26836main () 26837{ 26838return libcdata_tree_node_empty (); 26839 ; 26840 return 0; 26841} 26842_ACEOF 26843if ac_fn_c_try_link "$LINENO"; then : 26844 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26845else 26846 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26847fi 26848rm -f core conftest.err conftest.$ac_objext \ 26849 conftest$ac_exeext conftest.$ac_ext 26850LIBS=$ac_check_lib_save_LIBS 26851fi 26852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26853$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26854if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26855 ac_cv_libcdata_dummy=yes 26856else 26857 ac_cv_libcdata=no 26858fi 26859 26860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26861$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26862if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26863 $as_echo_n "(cached) " >&6 26864else 26865 ac_check_lib_save_LIBS=$LIBS 26866LIBS="-lcdata $LIBS" 26867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26868/* end confdefs.h. */ 26869 26870/* Override any GCC internal prototype to avoid an error. 26871 Use char because int might match the return type of a GCC 26872 builtin and then its argument prototype would still apply. */ 26873#ifdef __cplusplus 26874extern "C" 26875#endif 26876char libcdata_tree_node_clone (); 26877int 26878main () 26879{ 26880return libcdata_tree_node_clone (); 26881 ; 26882 return 0; 26883} 26884_ACEOF 26885if ac_fn_c_try_link "$LINENO"; then : 26886 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26887else 26888 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26889fi 26890rm -f core conftest.err conftest.$ac_objext \ 26891 conftest$ac_exeext conftest.$ac_ext 26892LIBS=$ac_check_lib_save_LIBS 26893fi 26894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26895$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26896if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26897 ac_cv_libcdata_dummy=yes 26898else 26899 ac_cv_libcdata=no 26900fi 26901 26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26903$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26904if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26905 $as_echo_n "(cached) " >&6 26906else 26907 ac_check_lib_save_LIBS=$LIBS 26908LIBS="-lcdata $LIBS" 26909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26910/* end confdefs.h. */ 26911 26912/* Override any GCC internal prototype to avoid an error. 26913 Use char because int might match the return type of a GCC 26914 builtin and then its argument prototype would still apply. */ 26915#ifdef __cplusplus 26916extern "C" 26917#endif 26918char libcdata_tree_node_get_value (); 26919int 26920main () 26921{ 26922return libcdata_tree_node_get_value (); 26923 ; 26924 return 0; 26925} 26926_ACEOF 26927if ac_fn_c_try_link "$LINENO"; then : 26928 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 26929else 26930 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 26931fi 26932rm -f core conftest.err conftest.$ac_objext \ 26933 conftest$ac_exeext conftest.$ac_ext 26934LIBS=$ac_check_lib_save_LIBS 26935fi 26936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 26937$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 26938if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 26939 ac_cv_libcdata_dummy=yes 26940else 26941 ac_cv_libcdata=no 26942fi 26943 26944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 26945$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 26946if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 26947 $as_echo_n "(cached) " >&6 26948else 26949 ac_check_lib_save_LIBS=$LIBS 26950LIBS="-lcdata $LIBS" 26951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26952/* end confdefs.h. */ 26953 26954/* Override any GCC internal prototype to avoid an error. 26955 Use char because int might match the return type of a GCC 26956 builtin and then its argument prototype would still apply. */ 26957#ifdef __cplusplus 26958extern "C" 26959#endif 26960char libcdata_tree_node_set_value (); 26961int 26962main () 26963{ 26964return libcdata_tree_node_set_value (); 26965 ; 26966 return 0; 26967} 26968_ACEOF 26969if ac_fn_c_try_link "$LINENO"; then : 26970 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 26971else 26972 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 26973fi 26974rm -f core conftest.err conftest.$ac_objext \ 26975 conftest$ac_exeext conftest.$ac_ext 26976LIBS=$ac_check_lib_save_LIBS 26977fi 26978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 26979$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 26980if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 26981 ac_cv_libcdata_dummy=yes 26982else 26983 ac_cv_libcdata=no 26984fi 26985 26986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 26987$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 26988if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 26989 $as_echo_n "(cached) " >&6 26990else 26991 ac_check_lib_save_LIBS=$LIBS 26992LIBS="-lcdata $LIBS" 26993cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26994/* end confdefs.h. */ 26995 26996/* Override any GCC internal prototype to avoid an error. 26997 Use char because int might match the return type of a GCC 26998 builtin and then its argument prototype would still apply. */ 26999#ifdef __cplusplus 27000extern "C" 27001#endif 27002char libcdata_tree_node_get_parent_node (); 27003int 27004main () 27005{ 27006return libcdata_tree_node_get_parent_node (); 27007 ; 27008 return 0; 27009} 27010_ACEOF 27011if ac_fn_c_try_link "$LINENO"; then : 27012 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27013else 27014 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27015fi 27016rm -f core conftest.err conftest.$ac_objext \ 27017 conftest$ac_exeext conftest.$ac_ext 27018LIBS=$ac_check_lib_save_LIBS 27019fi 27020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27021$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27022if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27023 ac_cv_libcdata_dummy=yes 27024else 27025 ac_cv_libcdata=no 27026fi 27027 27028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27029$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27030if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27031 $as_echo_n "(cached) " >&6 27032else 27033 ac_check_lib_save_LIBS=$LIBS 27034LIBS="-lcdata $LIBS" 27035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27036/* end confdefs.h. */ 27037 27038/* Override any GCC internal prototype to avoid an error. 27039 Use char because int might match the return type of a GCC 27040 builtin and then its argument prototype would still apply. */ 27041#ifdef __cplusplus 27042extern "C" 27043#endif 27044char libcdata_tree_node_set_parent_node (); 27045int 27046main () 27047{ 27048return libcdata_tree_node_set_parent_node (); 27049 ; 27050 return 0; 27051} 27052_ACEOF 27053if ac_fn_c_try_link "$LINENO"; then : 27054 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27055else 27056 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27057fi 27058rm -f core conftest.err conftest.$ac_objext \ 27059 conftest$ac_exeext conftest.$ac_ext 27060LIBS=$ac_check_lib_save_LIBS 27061fi 27062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27063$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27064if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27065 ac_cv_libcdata_dummy=yes 27066else 27067 ac_cv_libcdata=no 27068fi 27069 27070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27071$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27072if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27073 $as_echo_n "(cached) " >&6 27074else 27075 ac_check_lib_save_LIBS=$LIBS 27076LIBS="-lcdata $LIBS" 27077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27078/* end confdefs.h. */ 27079 27080/* Override any GCC internal prototype to avoid an error. 27081 Use char because int might match the return type of a GCC 27082 builtin and then its argument prototype would still apply. */ 27083#ifdef __cplusplus 27084extern "C" 27085#endif 27086char libcdata_tree_node_get_previous_node (); 27087int 27088main () 27089{ 27090return libcdata_tree_node_get_previous_node (); 27091 ; 27092 return 0; 27093} 27094_ACEOF 27095if ac_fn_c_try_link "$LINENO"; then : 27096 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27097else 27098 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27099fi 27100rm -f core conftest.err conftest.$ac_objext \ 27101 conftest$ac_exeext conftest.$ac_ext 27102LIBS=$ac_check_lib_save_LIBS 27103fi 27104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27105$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27106if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27107 ac_cv_libcdata_dummy=yes 27108else 27109 ac_cv_libcdata=no 27110fi 27111 27112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27113$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27114if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27115 $as_echo_n "(cached) " >&6 27116else 27117 ac_check_lib_save_LIBS=$LIBS 27118LIBS="-lcdata $LIBS" 27119cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27120/* end confdefs.h. */ 27121 27122/* Override any GCC internal prototype to avoid an error. 27123 Use char because int might match the return type of a GCC 27124 builtin and then its argument prototype would still apply. */ 27125#ifdef __cplusplus 27126extern "C" 27127#endif 27128char libcdata_tree_node_set_previous_node (); 27129int 27130main () 27131{ 27132return libcdata_tree_node_set_previous_node (); 27133 ; 27134 return 0; 27135} 27136_ACEOF 27137if ac_fn_c_try_link "$LINENO"; then : 27138 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27139else 27140 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27141fi 27142rm -f core conftest.err conftest.$ac_objext \ 27143 conftest$ac_exeext conftest.$ac_ext 27144LIBS=$ac_check_lib_save_LIBS 27145fi 27146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27147$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27148if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27149 ac_cv_libcdata_dummy=yes 27150else 27151 ac_cv_libcdata=no 27152fi 27153 27154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27155$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27156if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27157 $as_echo_n "(cached) " >&6 27158else 27159 ac_check_lib_save_LIBS=$LIBS 27160LIBS="-lcdata $LIBS" 27161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27162/* end confdefs.h. */ 27163 27164/* Override any GCC internal prototype to avoid an error. 27165 Use char because int might match the return type of a GCC 27166 builtin and then its argument prototype would still apply. */ 27167#ifdef __cplusplus 27168extern "C" 27169#endif 27170char libcdata_tree_node_get_next_node (); 27171int 27172main () 27173{ 27174return libcdata_tree_node_get_next_node (); 27175 ; 27176 return 0; 27177} 27178_ACEOF 27179if ac_fn_c_try_link "$LINENO"; then : 27180 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27181else 27182 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27183fi 27184rm -f core conftest.err conftest.$ac_objext \ 27185 conftest$ac_exeext conftest.$ac_ext 27186LIBS=$ac_check_lib_save_LIBS 27187fi 27188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27189$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27190if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27191 ac_cv_libcdata_dummy=yes 27192else 27193 ac_cv_libcdata=no 27194fi 27195 27196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27197$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27198if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27199 $as_echo_n "(cached) " >&6 27200else 27201 ac_check_lib_save_LIBS=$LIBS 27202LIBS="-lcdata $LIBS" 27203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27204/* end confdefs.h. */ 27205 27206/* Override any GCC internal prototype to avoid an error. 27207 Use char because int might match the return type of a GCC 27208 builtin and then its argument prototype would still apply. */ 27209#ifdef __cplusplus 27210extern "C" 27211#endif 27212char libcdata_tree_node_set_next_node (); 27213int 27214main () 27215{ 27216return libcdata_tree_node_set_next_node (); 27217 ; 27218 return 0; 27219} 27220_ACEOF 27221if ac_fn_c_try_link "$LINENO"; then : 27222 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27223else 27224 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27225fi 27226rm -f core conftest.err conftest.$ac_objext \ 27227 conftest$ac_exeext conftest.$ac_ext 27228LIBS=$ac_check_lib_save_LIBS 27229fi 27230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27231$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27232if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27233 ac_cv_libcdata_dummy=yes 27234else 27235 ac_cv_libcdata=no 27236fi 27237 27238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27239$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27240if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27241 $as_echo_n "(cached) " >&6 27242else 27243 ac_check_lib_save_LIBS=$LIBS 27244LIBS="-lcdata $LIBS" 27245cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27246/* end confdefs.h. */ 27247 27248/* Override any GCC internal prototype to avoid an error. 27249 Use char because int might match the return type of a GCC 27250 builtin and then its argument prototype would still apply. */ 27251#ifdef __cplusplus 27252extern "C" 27253#endif 27254char libcdata_tree_node_get_nodes (); 27255int 27256main () 27257{ 27258return libcdata_tree_node_get_nodes (); 27259 ; 27260 return 0; 27261} 27262_ACEOF 27263if ac_fn_c_try_link "$LINENO"; then : 27264 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27265else 27266 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27267fi 27268rm -f core conftest.err conftest.$ac_objext \ 27269 conftest$ac_exeext conftest.$ac_ext 27270LIBS=$ac_check_lib_save_LIBS 27271fi 27272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27273$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27274if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27275 ac_cv_libcdata_dummy=yes 27276else 27277 ac_cv_libcdata=no 27278fi 27279 27280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27281$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27282if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27283 $as_echo_n "(cached) " >&6 27284else 27285 ac_check_lib_save_LIBS=$LIBS 27286LIBS="-lcdata $LIBS" 27287cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27288/* end confdefs.h. */ 27289 27290/* Override any GCC internal prototype to avoid an error. 27291 Use char because int might match the return type of a GCC 27292 builtin and then its argument prototype would still apply. */ 27293#ifdef __cplusplus 27294extern "C" 27295#endif 27296char libcdata_tree_node_set_nodes (); 27297int 27298main () 27299{ 27300return libcdata_tree_node_set_nodes (); 27301 ; 27302 return 0; 27303} 27304_ACEOF 27305if ac_fn_c_try_link "$LINENO"; then : 27306 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27307else 27308 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27309fi 27310rm -f core conftest.err conftest.$ac_objext \ 27311 conftest$ac_exeext conftest.$ac_ext 27312LIBS=$ac_check_lib_save_LIBS 27313fi 27314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27315$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27316if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27317 ac_cv_libcdata_dummy=yes 27318else 27319 ac_cv_libcdata=no 27320fi 27321 27322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27323$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27324if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27325 $as_echo_n "(cached) " >&6 27326else 27327 ac_check_lib_save_LIBS=$LIBS 27328LIBS="-lcdata $LIBS" 27329cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27330/* end confdefs.h. */ 27331 27332/* Override any GCC internal prototype to avoid an error. 27333 Use char because int might match the return type of a GCC 27334 builtin and then its argument prototype would still apply. */ 27335#ifdef __cplusplus 27336extern "C" 27337#endif 27338char libcdata_tree_node_append_node (); 27339int 27340main () 27341{ 27342return libcdata_tree_node_append_node (); 27343 ; 27344 return 0; 27345} 27346_ACEOF 27347if ac_fn_c_try_link "$LINENO"; then : 27348 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27349else 27350 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27351fi 27352rm -f core conftest.err conftest.$ac_objext \ 27353 conftest$ac_exeext conftest.$ac_ext 27354LIBS=$ac_check_lib_save_LIBS 27355fi 27356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27357$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27358if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27359 ac_cv_libcdata_dummy=yes 27360else 27361 ac_cv_libcdata=no 27362fi 27363 27364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27365$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27366if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27367 $as_echo_n "(cached) " >&6 27368else 27369 ac_check_lib_save_LIBS=$LIBS 27370LIBS="-lcdata $LIBS" 27371cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27372/* end confdefs.h. */ 27373 27374/* Override any GCC internal prototype to avoid an error. 27375 Use char because int might match the return type of a GCC 27376 builtin and then its argument prototype would still apply. */ 27377#ifdef __cplusplus 27378extern "C" 27379#endif 27380char libcdata_tree_node_append_value (); 27381int 27382main () 27383{ 27384return libcdata_tree_node_append_value (); 27385 ; 27386 return 0; 27387} 27388_ACEOF 27389if ac_fn_c_try_link "$LINENO"; then : 27390 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27391else 27392 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27393fi 27394rm -f core conftest.err conftest.$ac_objext \ 27395 conftest$ac_exeext conftest.$ac_ext 27396LIBS=$ac_check_lib_save_LIBS 27397fi 27398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27399$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27400if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27401 ac_cv_libcdata_dummy=yes 27402else 27403 ac_cv_libcdata=no 27404fi 27405 27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27407$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27408if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27409 $as_echo_n "(cached) " >&6 27410else 27411 ac_check_lib_save_LIBS=$LIBS 27412LIBS="-lcdata $LIBS" 27413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27414/* end confdefs.h. */ 27415 27416/* Override any GCC internal prototype to avoid an error. 27417 Use char because int might match the return type of a GCC 27418 builtin and then its argument prototype would still apply. */ 27419#ifdef __cplusplus 27420extern "C" 27421#endif 27422char libcdata_tree_node_insert_node (); 27423int 27424main () 27425{ 27426return libcdata_tree_node_insert_node (); 27427 ; 27428 return 0; 27429} 27430_ACEOF 27431if ac_fn_c_try_link "$LINENO"; then : 27432 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27433else 27434 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27435fi 27436rm -f core conftest.err conftest.$ac_objext \ 27437 conftest$ac_exeext conftest.$ac_ext 27438LIBS=$ac_check_lib_save_LIBS 27439fi 27440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27441$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27442if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27443 ac_cv_libcdata_dummy=yes 27444else 27445 ac_cv_libcdata=no 27446fi 27447 27448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27449$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27450if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27451 $as_echo_n "(cached) " >&6 27452else 27453 ac_check_lib_save_LIBS=$LIBS 27454LIBS="-lcdata $LIBS" 27455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27456/* end confdefs.h. */ 27457 27458/* Override any GCC internal prototype to avoid an error. 27459 Use char because int might match the return type of a GCC 27460 builtin and then its argument prototype would still apply. */ 27461#ifdef __cplusplus 27462extern "C" 27463#endif 27464char libcdata_tree_node_insert_value (); 27465int 27466main () 27467{ 27468return libcdata_tree_node_insert_value (); 27469 ; 27470 return 0; 27471} 27472_ACEOF 27473if ac_fn_c_try_link "$LINENO"; then : 27474 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27475else 27476 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27477fi 27478rm -f core conftest.err conftest.$ac_objext \ 27479 conftest$ac_exeext conftest.$ac_ext 27480LIBS=$ac_check_lib_save_LIBS 27481fi 27482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27483$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27484if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27485 ac_cv_libcdata_dummy=yes 27486else 27487 ac_cv_libcdata=no 27488fi 27489 27490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27491$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27492if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27493 $as_echo_n "(cached) " >&6 27494else 27495 ac_check_lib_save_LIBS=$LIBS 27496LIBS="-lcdata $LIBS" 27497cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27498/* end confdefs.h. */ 27499 27500/* Override any GCC internal prototype to avoid an error. 27501 Use char because int might match the return type of a GCC 27502 builtin and then its argument prototype would still apply. */ 27503#ifdef __cplusplus 27504extern "C" 27505#endif 27506char libcdata_tree_node_replace_node (); 27507int 27508main () 27509{ 27510return libcdata_tree_node_replace_node (); 27511 ; 27512 return 0; 27513} 27514_ACEOF 27515if ac_fn_c_try_link "$LINENO"; then : 27516 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27517else 27518 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27519fi 27520rm -f core conftest.err conftest.$ac_objext \ 27521 conftest$ac_exeext conftest.$ac_ext 27522LIBS=$ac_check_lib_save_LIBS 27523fi 27524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27525$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27526if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27527 ac_cv_libcdata_dummy=yes 27528else 27529 ac_cv_libcdata=no 27530fi 27531 27532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27533$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27534if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27535 $as_echo_n "(cached) " >&6 27536else 27537 ac_check_lib_save_LIBS=$LIBS 27538LIBS="-lcdata $LIBS" 27539cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27540/* end confdefs.h. */ 27541 27542/* Override any GCC internal prototype to avoid an error. 27543 Use char because int might match the return type of a GCC 27544 builtin and then its argument prototype would still apply. */ 27545#ifdef __cplusplus 27546extern "C" 27547#endif 27548char libcdata_tree_node_remove_node (); 27549int 27550main () 27551{ 27552return libcdata_tree_node_remove_node (); 27553 ; 27554 return 0; 27555} 27556_ACEOF 27557if ac_fn_c_try_link "$LINENO"; then : 27558 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27559else 27560 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27561fi 27562rm -f core conftest.err conftest.$ac_objext \ 27563 conftest$ac_exeext conftest.$ac_ext 27564LIBS=$ac_check_lib_save_LIBS 27565fi 27566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27567$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27568if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27569 ac_cv_libcdata_dummy=yes 27570else 27571 ac_cv_libcdata=no 27572fi 27573 27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27575$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27576if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27577 $as_echo_n "(cached) " >&6 27578else 27579 ac_check_lib_save_LIBS=$LIBS 27580LIBS="-lcdata $LIBS" 27581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27582/* end confdefs.h. */ 27583 27584/* Override any GCC internal prototype to avoid an error. 27585 Use char because int might match the return type of a GCC 27586 builtin and then its argument prototype would still apply. */ 27587#ifdef __cplusplus 27588extern "C" 27589#endif 27590char libcdata_tree_node_get_number_of_sub_nodes (); 27591int 27592main () 27593{ 27594return libcdata_tree_node_get_number_of_sub_nodes (); 27595 ; 27596 return 0; 27597} 27598_ACEOF 27599if ac_fn_c_try_link "$LINENO"; then : 27600 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27601else 27602 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27603fi 27604rm -f core conftest.err conftest.$ac_objext \ 27605 conftest$ac_exeext conftest.$ac_ext 27606LIBS=$ac_check_lib_save_LIBS 27607fi 27608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27609$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27610if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27611 ac_cv_libcdata_dummy=yes 27612else 27613 ac_cv_libcdata=no 27614fi 27615 27616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27617$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27618if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27619 $as_echo_n "(cached) " >&6 27620else 27621 ac_check_lib_save_LIBS=$LIBS 27622LIBS="-lcdata $LIBS" 27623cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27624/* end confdefs.h. */ 27625 27626/* Override any GCC internal prototype to avoid an error. 27627 Use char because int might match the return type of a GCC 27628 builtin and then its argument prototype would still apply. */ 27629#ifdef __cplusplus 27630extern "C" 27631#endif 27632char libcdata_tree_node_get_sub_node_by_index (); 27633int 27634main () 27635{ 27636return libcdata_tree_node_get_sub_node_by_index (); 27637 ; 27638 return 0; 27639} 27640_ACEOF 27641if ac_fn_c_try_link "$LINENO"; then : 27642 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27643else 27644 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27645fi 27646rm -f core conftest.err conftest.$ac_objext \ 27647 conftest$ac_exeext conftest.$ac_ext 27648LIBS=$ac_check_lib_save_LIBS 27649fi 27650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27651$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27652if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27653 ac_cv_libcdata_dummy=yes 27654else 27655 ac_cv_libcdata=no 27656fi 27657 27658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27659$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27660if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27661 $as_echo_n "(cached) " >&6 27662else 27663 ac_check_lib_save_LIBS=$LIBS 27664LIBS="-lcdata $LIBS" 27665cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27666/* end confdefs.h. */ 27667 27668/* Override any GCC internal prototype to avoid an error. 27669 Use char because int might match the return type of a GCC 27670 builtin and then its argument prototype would still apply. */ 27671#ifdef __cplusplus 27672extern "C" 27673#endif 27674char libcdata_tree_node_get_leaf_node_list (); 27675int 27676main () 27677{ 27678return libcdata_tree_node_get_leaf_node_list (); 27679 ; 27680 return 0; 27681} 27682_ACEOF 27683if ac_fn_c_try_link "$LINENO"; then : 27684 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27685else 27686 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27687fi 27688rm -f core conftest.err conftest.$ac_objext \ 27689 conftest$ac_exeext conftest.$ac_ext 27690LIBS=$ac_check_lib_save_LIBS 27691fi 27692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27693$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27694if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27695 ac_cv_libcdata_dummy=yes 27696else 27697 ac_cv_libcdata=no 27698fi 27699 27700 27701 ac_cv_libcdata_LIBADD="-lcdata" 27702fi 27703 27704fi 27705 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27708as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27709See \`config.log' for more details" "$LINENO" 5; } 27710 27711fi 27712 27713fi 27714 27715 if test "x$ac_cv_libcdata" = xyes; then : 27716 27717$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27718 27719 27720fi 27721 27722 if test "x$ac_cv_libcdata" = xyes; then : 27723 HAVE_LIBCDATA=1 27724 27725else 27726 HAVE_LIBCDATA=0 27727 27728 27729fi 27730 27731 27732 if test "x$ac_cv_libcdata" != xyes; then : 27733 27734 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27735 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27736 27737 ac_cv_libcdata=local 27738 27739 27740 27741$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27742 27743 HAVE_LOCAL_LIBCDATA=1 27744 27745 27746fi 27747 27748 if test "x$ac_cv_libcdata" = xlocal; then 27749 HAVE_LOCAL_LIBCDATA_TRUE= 27750 HAVE_LOCAL_LIBCDATA_FALSE='#' 27751else 27752 HAVE_LOCAL_LIBCDATA_TRUE='#' 27753 HAVE_LOCAL_LIBCDATA_FALSE= 27754fi 27755 27756 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27757 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27758 27759 27760fi 27761 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27762 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27763 27764 27765fi 27766 27767 if test "x$ac_cv_libcdata" = xyes; then : 27768 ax_libcdata_pc_libs_private=-lcdata 27769 27770 27771fi 27772 27773 if test "x$ac_cv_libcdata" = xyes; then : 27774 ax_libcdata_spec_requires=libcdata 27775 27776 ax_libcdata_spec_build_requires=libcdata-devel 27777 27778 27779fi 27780 27781 27782 27783 27784# Check whether --with-libclocale was given. 27785if test "${with_libclocale+set}" = set; then : 27786 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27787else 27788 ac_cv_with_libclocale=auto-detect 27789fi 27790 27791 { $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 27792$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; } 27793if ${ac_cv_with_libclocale+:} false; then : 27794 $as_echo_n "(cached) " >&6 27795else 27796 ac_cv_with_libclocale=auto-detect 27797fi 27798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27799$as_echo "$ac_cv_with_libclocale" >&6; } 27800 27801 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27802 ac_cv_libclocale=no 27803else 27804 ac_cv_libclocale=check 27805 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27806 if test -d "$ac_cv_with_libclocale"; then : 27807 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27808 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27809else 27810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27811$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27812as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27813See \`config.log' for more details" "$LINENO" 5; } 27814 27815fi 27816 27817else 27818 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27819 27820pkg_failed=no 27821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27822$as_echo_n "checking for libclocale... " >&6; } 27823 27824if test -n "$libclocale_CFLAGS"; then 27825 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27826 elif test -n "$PKG_CONFIG"; then 27827 if test -n "$PKG_CONFIG" && \ 27828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27829 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27830 ac_status=$? 27831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27832 test $ac_status = 0; }; then 27833 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27834 test "x$?" != "x0" && pkg_failed=yes 27835else 27836 pkg_failed=yes 27837fi 27838 else 27839 pkg_failed=untried 27840fi 27841if test -n "$libclocale_LIBS"; then 27842 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27843 elif test -n "$PKG_CONFIG"; then 27844 if test -n "$PKG_CONFIG" && \ 27845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27846 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27847 ac_status=$? 27848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27849 test $ac_status = 0; }; then 27850 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27851 test "x$?" != "x0" && pkg_failed=yes 27852else 27853 pkg_failed=yes 27854fi 27855 else 27856 pkg_failed=untried 27857fi 27858 27859 27860 27861if test $pkg_failed = yes; then 27862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27863$as_echo "no" >&6; } 27864 27865if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27866 _pkg_short_errors_supported=yes 27867else 27868 _pkg_short_errors_supported=no 27869fi 27870 if test $_pkg_short_errors_supported = yes; then 27871 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27872 else 27873 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27874 fi 27875 # Put the nasty error message in config.log where it belongs 27876 echo "$libclocale_PKG_ERRORS" >&5 27877 27878 ac_cv_libclocale=check 27879elif test $pkg_failed = untried; then 27880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27881$as_echo "no" >&6; } 27882 ac_cv_libclocale=check 27883else 27884 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27885 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27887$as_echo "yes" >&6; } 27888 ac_cv_libclocale=yes 27889fi 27890 27891fi 27892 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27894$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27895if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27896 $as_echo_n "(cached) " >&6 27897else 27898 ac_ext=c 27899ac_cpp='$CPP $CPPFLAGS' 27900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27902ac_compiler_gnu=$ac_cv_c_compiler_gnu 27903 27904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27905/* end confdefs.h. */ 27906#include <libclocale/features.h> 27907int 27908main () 27909{ 27910#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27911#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27912#endif 27913 ; 27914 return 0; 27915} 27916_ACEOF 27917if ac_fn_c_try_compile "$LINENO"; then : 27918 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27919else 27920 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27921fi 27922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27923 ac_ext=c 27924ac_cpp='$CPP $CPPFLAGS' 27925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27927ac_compiler_gnu=$ac_cv_c_compiler_gnu 27928 27929fi 27930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 27931$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 27932 27933 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 27934 ac_cv_libclocale=no 27935fi 27936 27937fi 27938 if test "x$ac_cv_libclocale" = xyes; then : 27939 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 27940 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 27941fi 27942 27943fi 27944 27945 if test "x$ac_cv_libclocale" = xcheck; then : 27946 for ac_header in libclocale.h 27947do : 27948 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 27949if test "x$ac_cv_header_libclocale_h" = xyes; then : 27950 cat >>confdefs.h <<_ACEOF 27951#define HAVE_LIBCLOCALE_H 1 27952_ACEOF 27953 27954fi 27955 27956done 27957 27958 27959 if test "x$ac_cv_header_libclocale_h" = xno; then : 27960 ac_cv_libclocale=no 27961else 27962 ac_cv_libclocale=yes 27963 27964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 27965$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 27966if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 27967 $as_echo_n "(cached) " >&6 27968else 27969 ac_check_lib_save_LIBS=$LIBS 27970LIBS="-lclocale $LIBS" 27971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27972/* end confdefs.h. */ 27973 27974/* Override any GCC internal prototype to avoid an error. 27975 Use char because int might match the return type of a GCC 27976 builtin and then its argument prototype would still apply. */ 27977#ifdef __cplusplus 27978extern "C" 27979#endif 27980char libclocale_get_version (); 27981int 27982main () 27983{ 27984return libclocale_get_version (); 27985 ; 27986 return 0; 27987} 27988_ACEOF 27989if ac_fn_c_try_link "$LINENO"; then : 27990 ac_cv_lib_clocale_libclocale_get_version=yes 27991else 27992 ac_cv_lib_clocale_libclocale_get_version=no 27993fi 27994rm -f core conftest.err conftest.$ac_objext \ 27995 conftest$ac_exeext conftest.$ac_ext 27996LIBS=$ac_check_lib_save_LIBS 27997fi 27998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 27999$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28000if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28001 ac_cv_libclocale_dummy=yes 28002else 28003 ac_cv_libclocale=no 28004fi 28005 28006 28007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28008$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28009if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28010 $as_echo_n "(cached) " >&6 28011else 28012 ac_check_lib_save_LIBS=$LIBS 28013LIBS="-lclocale $LIBS" 28014cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28015/* end confdefs.h. */ 28016 28017/* Override any GCC internal prototype to avoid an error. 28018 Use char because int might match the return type of a GCC 28019 builtin and then its argument prototype would still apply. */ 28020#ifdef __cplusplus 28021extern "C" 28022#endif 28023char libclocale_codepage (); 28024int 28025main () 28026{ 28027return libclocale_codepage (); 28028 ; 28029 return 0; 28030} 28031_ACEOF 28032if ac_fn_c_try_link "$LINENO"; then : 28033 ac_cv_lib_clocale_libclocale_codepage=yes 28034else 28035 ac_cv_lib_clocale_libclocale_codepage=no 28036fi 28037rm -f core conftest.err conftest.$ac_objext \ 28038 conftest$ac_exeext conftest.$ac_ext 28039LIBS=$ac_check_lib_save_LIBS 28040fi 28041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28042$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28043if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28044 ac_cv_libclocale_dummy=yes 28045else 28046 ac_cv_libclocale=no 28047fi 28048 28049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28050$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28051if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28052 $as_echo_n "(cached) " >&6 28053else 28054 ac_check_lib_save_LIBS=$LIBS 28055LIBS="-lclocale $LIBS" 28056cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28057/* end confdefs.h. */ 28058 28059/* Override any GCC internal prototype to avoid an error. 28060 Use char because int might match the return type of a GCC 28061 builtin and then its argument prototype would still apply. */ 28062#ifdef __cplusplus 28063extern "C" 28064#endif 28065char libclocale_codepage_get (); 28066int 28067main () 28068{ 28069return libclocale_codepage_get (); 28070 ; 28071 return 0; 28072} 28073_ACEOF 28074if ac_fn_c_try_link "$LINENO"; then : 28075 ac_cv_lib_clocale_libclocale_codepage_get=yes 28076else 28077 ac_cv_lib_clocale_libclocale_codepage_get=no 28078fi 28079rm -f core conftest.err conftest.$ac_objext \ 28080 conftest$ac_exeext conftest.$ac_ext 28081LIBS=$ac_check_lib_save_LIBS 28082fi 28083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28084$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28085if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28086 ac_cv_libclocale_dummy=yes 28087else 28088 ac_cv_libclocale=no 28089fi 28090 28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28092$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28093if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28094 $as_echo_n "(cached) " >&6 28095else 28096 ac_check_lib_save_LIBS=$LIBS 28097LIBS="-lclocale $LIBS" 28098cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28099/* end confdefs.h. */ 28100 28101/* Override any GCC internal prototype to avoid an error. 28102 Use char because int might match the return type of a GCC 28103 builtin and then its argument prototype would still apply. */ 28104#ifdef __cplusplus 28105extern "C" 28106#endif 28107char libclocale_codepage_set (); 28108int 28109main () 28110{ 28111return libclocale_codepage_set (); 28112 ; 28113 return 0; 28114} 28115_ACEOF 28116if ac_fn_c_try_link "$LINENO"; then : 28117 ac_cv_lib_clocale_libclocale_codepage_set=yes 28118else 28119 ac_cv_lib_clocale_libclocale_codepage_set=no 28120fi 28121rm -f core conftest.err conftest.$ac_objext \ 28122 conftest$ac_exeext conftest.$ac_ext 28123LIBS=$ac_check_lib_save_LIBS 28124fi 28125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28126$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28127if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28128 ac_cv_libclocale_dummy=yes 28129else 28130 ac_cv_libclocale=no 28131fi 28132 28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28134$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28135if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28136 $as_echo_n "(cached) " >&6 28137else 28138 ac_check_lib_save_LIBS=$LIBS 28139LIBS="-lclocale $LIBS" 28140cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28141/* end confdefs.h. */ 28142 28143/* Override any GCC internal prototype to avoid an error. 28144 Use char because int might match the return type of a GCC 28145 builtin and then its argument prototype would still apply. */ 28146#ifdef __cplusplus 28147extern "C" 28148#endif 28149char libclocale_codepage_copy_from_string (); 28150int 28151main () 28152{ 28153return libclocale_codepage_copy_from_string (); 28154 ; 28155 return 0; 28156} 28157_ACEOF 28158if ac_fn_c_try_link "$LINENO"; then : 28159 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28160else 28161 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28162fi 28163rm -f core conftest.err conftest.$ac_objext \ 28164 conftest$ac_exeext conftest.$ac_ext 28165LIBS=$ac_check_lib_save_LIBS 28166fi 28167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28168$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28169if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28170 ac_cv_libclocale_dummy=yes 28171else 28172 ac_cv_libclocale=no 28173fi 28174 28175 28176 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28178$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28179if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28180 $as_echo_n "(cached) " >&6 28181else 28182 ac_check_lib_save_LIBS=$LIBS 28183LIBS="-lclocale $LIBS" 28184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28185/* end confdefs.h. */ 28186 28187/* Override any GCC internal prototype to avoid an error. 28188 Use char because int might match the return type of a GCC 28189 builtin and then its argument prototype would still apply. */ 28190#ifdef __cplusplus 28191extern "C" 28192#endif 28193char libclocale_codepage_copy_from_string_wide (); 28194int 28195main () 28196{ 28197return libclocale_codepage_copy_from_string_wide (); 28198 ; 28199 return 0; 28200} 28201_ACEOF 28202if ac_fn_c_try_link "$LINENO"; then : 28203 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28204else 28205 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28206fi 28207rm -f core conftest.err conftest.$ac_objext \ 28208 conftest$ac_exeext conftest.$ac_ext 28209LIBS=$ac_check_lib_save_LIBS 28210fi 28211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28212$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28213if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28214 ac_cv_libclocale_dummy=yes 28215else 28216 ac_cv_libclocale=no 28217fi 28218 28219 28220fi 28221 28222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28223$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28224if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28225 $as_echo_n "(cached) " >&6 28226else 28227 ac_check_lib_save_LIBS=$LIBS 28228LIBS="-lclocale $LIBS" 28229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28230/* end confdefs.h. */ 28231 28232/* Override any GCC internal prototype to avoid an error. 28233 Use char because int might match the return type of a GCC 28234 builtin and then its argument prototype would still apply. */ 28235#ifdef __cplusplus 28236extern "C" 28237#endif 28238char libclocale_locale_get_codepage (); 28239int 28240main () 28241{ 28242return libclocale_locale_get_codepage (); 28243 ; 28244 return 0; 28245} 28246_ACEOF 28247if ac_fn_c_try_link "$LINENO"; then : 28248 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28249else 28250 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28251fi 28252rm -f core conftest.err conftest.$ac_objext \ 28253 conftest$ac_exeext conftest.$ac_ext 28254LIBS=$ac_check_lib_save_LIBS 28255fi 28256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28257$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28258if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28259 ac_cv_libclocale_dummy=yes 28260else 28261 ac_cv_libclocale=no 28262fi 28263 28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28265$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28266if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28267 $as_echo_n "(cached) " >&6 28268else 28269 ac_check_lib_save_LIBS=$LIBS 28270LIBS="-lclocale $LIBS" 28271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28272/* end confdefs.h. */ 28273 28274/* Override any GCC internal prototype to avoid an error. 28275 Use char because int might match the return type of a GCC 28276 builtin and then its argument prototype would still apply. */ 28277#ifdef __cplusplus 28278extern "C" 28279#endif 28280char libclocale_locale_get_decimal_point (); 28281int 28282main () 28283{ 28284return libclocale_locale_get_decimal_point (); 28285 ; 28286 return 0; 28287} 28288_ACEOF 28289if ac_fn_c_try_link "$LINENO"; then : 28290 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28291else 28292 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28293fi 28294rm -f core conftest.err conftest.$ac_objext \ 28295 conftest$ac_exeext conftest.$ac_ext 28296LIBS=$ac_check_lib_save_LIBS 28297fi 28298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28299$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28300if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28301 ac_cv_libclocale_dummy=yes 28302else 28303 ac_cv_libclocale=no 28304fi 28305 28306 28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28308$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28309if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28310 $as_echo_n "(cached) " >&6 28311else 28312 ac_check_lib_save_LIBS=$LIBS 28313LIBS="-lclocale $LIBS" 28314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28315/* end confdefs.h. */ 28316 28317/* Override any GCC internal prototype to avoid an error. 28318 Use char because int might match the return type of a GCC 28319 builtin and then its argument prototype would still apply. */ 28320#ifdef __cplusplus 28321extern "C" 28322#endif 28323char libclocale_initialize (); 28324int 28325main () 28326{ 28327return libclocale_initialize (); 28328 ; 28329 return 0; 28330} 28331_ACEOF 28332if ac_fn_c_try_link "$LINENO"; then : 28333 ac_cv_lib_clocale_libclocale_initialize=yes 28334else 28335 ac_cv_lib_clocale_libclocale_initialize=no 28336fi 28337rm -f core conftest.err conftest.$ac_objext \ 28338 conftest$ac_exeext conftest.$ac_ext 28339LIBS=$ac_check_lib_save_LIBS 28340fi 28341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28342$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28343if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28344 ac_cv_libclocale_dummy=yes 28345else 28346 ac_cv_libclocale=no 28347fi 28348 28349 28350 ac_cv_libclocale_LIBADD="-lclocale" 28351fi 28352 28353fi 28354 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28357as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28358See \`config.log' for more details" "$LINENO" 5; } 28359 28360fi 28361 28362fi 28363 28364 if test "x$ac_cv_libclocale" = xyes; then : 28365 28366$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28367 28368 28369fi 28370 28371 if test "x$ac_cv_libclocale" = xyes; then : 28372 HAVE_LIBCLOCALE=1 28373 28374else 28375 HAVE_LIBCLOCALE=0 28376 28377 28378fi 28379 28380 28381 if test "x$ac_cv_libclocale" != xyes; then : 28382 for ac_header in langinfo.h locale.h 28383do : 28384 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28385ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28386if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28387 cat >>confdefs.h <<_ACEOF 28388#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28389_ACEOF 28390 28391fi 28392 28393done 28394 28395 28396 for ac_func in getenv 28397do : 28398 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28399if test "x$ac_cv_func_getenv" = xyes; then : 28400 cat >>confdefs.h <<_ACEOF 28401#define HAVE_GETENV 1 28402_ACEOF 28403 28404fi 28405done 28406 28407 28408 if test "x$ac_cv_func_getenv" != xyes; then : 28409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28411as_fn_error 1 "Missing function: getenv 28412See \`config.log' for more details" "$LINENO" 5; } 28413 28414fi 28415 28416 if test "x$ac_cv_enable_winapi" = xno; then : 28417 for ac_func in localeconv 28418do : 28419 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28420if test "x$ac_cv_func_localeconv" = xyes; then : 28421 cat >>confdefs.h <<_ACEOF 28422#define HAVE_LOCALECONV 1 28423_ACEOF 28424 28425fi 28426done 28427 28428 28429 if test "x$ac_cv_func_localeconv" != xyes; then : 28430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28432as_fn_error 1 "Missing function: localeconv 28433See \`config.log' for more details" "$LINENO" 5; } 28434 28435fi 28436 28437fi 28438 28439 for ac_func in setlocale 28440do : 28441 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28442if test "x$ac_cv_func_setlocale" = xyes; then : 28443 cat >>confdefs.h <<_ACEOF 28444#define HAVE_SETLOCALE 1 28445_ACEOF 28446 28447fi 28448done 28449 28450 28451 if test "x$ac_cv_func_setlocale" != xyes; then : 28452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28453$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28454as_fn_error 1 "Missing function: setlocale 28455See \`config.log' for more details" "$LINENO" 5; } 28456 28457fi 28458 28459 for ac_func in nl_langinfo 28460do : 28461 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28462if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28463 cat >>confdefs.h <<_ACEOF 28464#define HAVE_NL_LANGINFO 1 28465_ACEOF 28466 28467fi 28468done 28469 28470 28471 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28473$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28474if ${ac_cv_cv_langinfo_codeset+:} false; then : 28475 $as_echo_n "(cached) " >&6 28476else 28477 ac_ext=c 28478ac_cpp='$CPP $CPPFLAGS' 28479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28481ac_compiler_gnu=$ac_cv_c_compiler_gnu 28482 28483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28484/* end confdefs.h. */ 28485#include <langinfo.h> 28486int 28487main () 28488{ 28489char* charset = nl_langinfo( CODESET ); 28490 ; 28491 return 0; 28492} 28493_ACEOF 28494if ac_fn_c_try_link "$LINENO"; then : 28495 ac_cv_cv_langinfo_codeset=yes 28496else 28497 ac_cv_cv_langinfo_codeset=no 28498fi 28499rm -f core conftest.err conftest.$ac_objext \ 28500 conftest$ac_exeext conftest.$ac_ext 28501 ac_ext=c 28502ac_cpp='$CPP $CPPFLAGS' 28503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28505ac_compiler_gnu=$ac_cv_c_compiler_gnu 28506 28507fi 28508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28509$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28510else 28511 ac_cv_cv_langinfo_codeset=no 28512fi 28513 28514 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28515 28516$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28517 28518 28519fi 28520 28521 28522 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28523 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28524 28525 ac_cv_libclocale=local 28526 28527 28528 28529$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28530 28531 HAVE_LOCAL_LIBCLOCALE=1 28532 28533 28534fi 28535 28536 if test "x$ac_cv_libclocale" = xlocal; then 28537 HAVE_LOCAL_LIBCLOCALE_TRUE= 28538 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28539else 28540 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28541 HAVE_LOCAL_LIBCLOCALE_FALSE= 28542fi 28543 28544 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28545 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28546 28547 28548fi 28549 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28550 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28551 28552 28553fi 28554 28555 if test "x$ac_cv_libclocale" = xyes; then : 28556 ax_libclocale_pc_libs_private=-lclocale 28557 28558 28559fi 28560 28561 if test "x$ac_cv_libclocale" = xyes; then : 28562 ax_libclocale_spec_requires=libclocale 28563 28564 ax_libclocale_spec_build_requires=libclocale-devel 28565 28566 28567fi 28568 28569 28570 28571 28572# Check whether --with-libcnotify was given. 28573if test "${with_libcnotify+set}" = set; then : 28574 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28575else 28576 ac_cv_with_libcnotify=auto-detect 28577fi 28578 28579 { $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 28580$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; } 28581if ${ac_cv_with_libcnotify+:} false; then : 28582 $as_echo_n "(cached) " >&6 28583else 28584 ac_cv_with_libcnotify=auto-detect 28585fi 28586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28587$as_echo "$ac_cv_with_libcnotify" >&6; } 28588 28589 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28590 ac_cv_libcnotify=no 28591else 28592 ac_cv_libcnotify=check 28593 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28594 if test -d "$ac_cv_with_libcnotify"; then : 28595 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28596 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28597else 28598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28599$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28600as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28601See \`config.log' for more details" "$LINENO" 5; } 28602 28603fi 28604 28605else 28606 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28607 28608pkg_failed=no 28609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28610$as_echo_n "checking for libcnotify... " >&6; } 28611 28612if test -n "$libcnotify_CFLAGS"; then 28613 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28614 elif test -n "$PKG_CONFIG"; then 28615 if test -n "$PKG_CONFIG" && \ 28616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28617 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28618 ac_status=$? 28619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28620 test $ac_status = 0; }; then 28621 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28622 test "x$?" != "x0" && pkg_failed=yes 28623else 28624 pkg_failed=yes 28625fi 28626 else 28627 pkg_failed=untried 28628fi 28629if test -n "$libcnotify_LIBS"; then 28630 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28631 elif test -n "$PKG_CONFIG"; then 28632 if test -n "$PKG_CONFIG" && \ 28633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28634 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28635 ac_status=$? 28636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28637 test $ac_status = 0; }; then 28638 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28639 test "x$?" != "x0" && pkg_failed=yes 28640else 28641 pkg_failed=yes 28642fi 28643 else 28644 pkg_failed=untried 28645fi 28646 28647 28648 28649if test $pkg_failed = yes; then 28650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28651$as_echo "no" >&6; } 28652 28653if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28654 _pkg_short_errors_supported=yes 28655else 28656 _pkg_short_errors_supported=no 28657fi 28658 if test $_pkg_short_errors_supported = yes; then 28659 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28660 else 28661 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28662 fi 28663 # Put the nasty error message in config.log where it belongs 28664 echo "$libcnotify_PKG_ERRORS" >&5 28665 28666 ac_cv_libcnotify=check 28667elif test $pkg_failed = untried; then 28668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28669$as_echo "no" >&6; } 28670 ac_cv_libcnotify=check 28671else 28672 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28673 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28675$as_echo "yes" >&6; } 28676 ac_cv_libcnotify=yes 28677fi 28678 28679fi 28680 if test "x$ac_cv_libcnotify" = xyes; then : 28681 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28682 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28683fi 28684 28685fi 28686 28687 if test "x$ac_cv_libcnotify" = xcheck; then : 28688 for ac_header in libcnotify.h 28689do : 28690 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28691if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28692 cat >>confdefs.h <<_ACEOF 28693#define HAVE_LIBCNOTIFY_H 1 28694_ACEOF 28695 28696fi 28697 28698done 28699 28700 28701 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28702 ac_cv_libcnotify=no 28703else 28704 ac_cv_libcnotify=yes 28705 28706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28707$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28708if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28709 $as_echo_n "(cached) " >&6 28710else 28711 ac_check_lib_save_LIBS=$LIBS 28712LIBS="-lcnotify $LIBS" 28713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28714/* end confdefs.h. */ 28715 28716/* Override any GCC internal prototype to avoid an error. 28717 Use char because int might match the return type of a GCC 28718 builtin and then its argument prototype would still apply. */ 28719#ifdef __cplusplus 28720extern "C" 28721#endif 28722char libcnotify_get_version (); 28723int 28724main () 28725{ 28726return libcnotify_get_version (); 28727 ; 28728 return 0; 28729} 28730_ACEOF 28731if ac_fn_c_try_link "$LINENO"; then : 28732 ac_cv_lib_cnotify_libcnotify_get_version=yes 28733else 28734 ac_cv_lib_cnotify_libcnotify_get_version=no 28735fi 28736rm -f core conftest.err conftest.$ac_objext \ 28737 conftest$ac_exeext conftest.$ac_ext 28738LIBS=$ac_check_lib_save_LIBS 28739fi 28740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28741$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28742if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28743 ac_cv_libcnotify_dummy=yes 28744else 28745 ac_cv_libcnotify=no 28746fi 28747 28748 28749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28750$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28751if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28752 $as_echo_n "(cached) " >&6 28753else 28754 ac_check_lib_save_LIBS=$LIBS 28755LIBS="-lcnotify $LIBS" 28756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28757/* end confdefs.h. */ 28758 28759/* Override any GCC internal prototype to avoid an error. 28760 Use char because int might match the return type of a GCC 28761 builtin and then its argument prototype would still apply. */ 28762#ifdef __cplusplus 28763extern "C" 28764#endif 28765char libcnotify_printf (); 28766int 28767main () 28768{ 28769return libcnotify_printf (); 28770 ; 28771 return 0; 28772} 28773_ACEOF 28774if ac_fn_c_try_link "$LINENO"; then : 28775 ac_cv_lib_cnotify_libcnotify_printf=yes 28776else 28777 ac_cv_lib_cnotify_libcnotify_printf=no 28778fi 28779rm -f core conftest.err conftest.$ac_objext \ 28780 conftest$ac_exeext conftest.$ac_ext 28781LIBS=$ac_check_lib_save_LIBS 28782fi 28783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28784$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28785if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28786 ac_cv_libcnotify_dummy=yes 28787else 28788 ac_cv_libcnotify=no 28789fi 28790 28791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28792$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28793if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28794 $as_echo_n "(cached) " >&6 28795else 28796 ac_check_lib_save_LIBS=$LIBS 28797LIBS="-lcnotify $LIBS" 28798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28799/* end confdefs.h. */ 28800 28801/* Override any GCC internal prototype to avoid an error. 28802 Use char because int might match the return type of a GCC 28803 builtin and then its argument prototype would still apply. */ 28804#ifdef __cplusplus 28805extern "C" 28806#endif 28807char libcnotify_print_data (); 28808int 28809main () 28810{ 28811return libcnotify_print_data (); 28812 ; 28813 return 0; 28814} 28815_ACEOF 28816if ac_fn_c_try_link "$LINENO"; then : 28817 ac_cv_lib_cnotify_libcnotify_print_data=yes 28818else 28819 ac_cv_lib_cnotify_libcnotify_print_data=no 28820fi 28821rm -f core conftest.err conftest.$ac_objext \ 28822 conftest$ac_exeext conftest.$ac_ext 28823LIBS=$ac_check_lib_save_LIBS 28824fi 28825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28826$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28827if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28828 ac_cv_libcnotify_dummy=yes 28829else 28830 ac_cv_libcnotify=no 28831fi 28832 28833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28834$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28835if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28836 $as_echo_n "(cached) " >&6 28837else 28838 ac_check_lib_save_LIBS=$LIBS 28839LIBS="-lcnotify $LIBS" 28840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28841/* end confdefs.h. */ 28842 28843/* Override any GCC internal prototype to avoid an error. 28844 Use char because int might match the return type of a GCC 28845 builtin and then its argument prototype would still apply. */ 28846#ifdef __cplusplus 28847extern "C" 28848#endif 28849char libcnotify_print_error_backtrace (); 28850int 28851main () 28852{ 28853return libcnotify_print_error_backtrace (); 28854 ; 28855 return 0; 28856} 28857_ACEOF 28858if ac_fn_c_try_link "$LINENO"; then : 28859 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28860else 28861 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28862fi 28863rm -f core conftest.err conftest.$ac_objext \ 28864 conftest$ac_exeext conftest.$ac_ext 28865LIBS=$ac_check_lib_save_LIBS 28866fi 28867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28868$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28869if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28870 ac_cv_libcnotify_dummy=yes 28871else 28872 ac_cv_libcnotify=no 28873fi 28874 28875 28876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28877$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28878if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28879 $as_echo_n "(cached) " >&6 28880else 28881 ac_check_lib_save_LIBS=$LIBS 28882LIBS="-lcnotify $LIBS" 28883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28884/* end confdefs.h. */ 28885 28886/* Override any GCC internal prototype to avoid an error. 28887 Use char because int might match the return type of a GCC 28888 builtin and then its argument prototype would still apply. */ 28889#ifdef __cplusplus 28890extern "C" 28891#endif 28892char libcnotify_stream_set (); 28893int 28894main () 28895{ 28896return libcnotify_stream_set (); 28897 ; 28898 return 0; 28899} 28900_ACEOF 28901if ac_fn_c_try_link "$LINENO"; then : 28902 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28903else 28904 ac_cv_lib_cnotify_libcnotify_stream_set=no 28905fi 28906rm -f core conftest.err conftest.$ac_objext \ 28907 conftest$ac_exeext conftest.$ac_ext 28908LIBS=$ac_check_lib_save_LIBS 28909fi 28910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28911$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28912if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28913 ac_cv_libcnotify_dummy=yes 28914else 28915 ac_cv_libcnotify=no 28916fi 28917 28918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28919$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28920if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28921 $as_echo_n "(cached) " >&6 28922else 28923 ac_check_lib_save_LIBS=$LIBS 28924LIBS="-lcnotify $LIBS" 28925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28926/* end confdefs.h. */ 28927 28928/* Override any GCC internal prototype to avoid an error. 28929 Use char because int might match the return type of a GCC 28930 builtin and then its argument prototype would still apply. */ 28931#ifdef __cplusplus 28932extern "C" 28933#endif 28934char libcnotify_stream_open (); 28935int 28936main () 28937{ 28938return libcnotify_stream_open (); 28939 ; 28940 return 0; 28941} 28942_ACEOF 28943if ac_fn_c_try_link "$LINENO"; then : 28944 ac_cv_lib_cnotify_libcnotify_stream_open=yes 28945else 28946 ac_cv_lib_cnotify_libcnotify_stream_open=no 28947fi 28948rm -f core conftest.err conftest.$ac_objext \ 28949 conftest$ac_exeext conftest.$ac_ext 28950LIBS=$ac_check_lib_save_LIBS 28951fi 28952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 28953$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 28954if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 28955 ac_cv_libcnotify_dummy=yes 28956else 28957 ac_cv_libcnotify=no 28958fi 28959 28960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 28961$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 28962if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 28963 $as_echo_n "(cached) " >&6 28964else 28965 ac_check_lib_save_LIBS=$LIBS 28966LIBS="-lcnotify $LIBS" 28967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28968/* end confdefs.h. */ 28969 28970/* Override any GCC internal prototype to avoid an error. 28971 Use char because int might match the return type of a GCC 28972 builtin and then its argument prototype would still apply. */ 28973#ifdef __cplusplus 28974extern "C" 28975#endif 28976char libcnotify_stream_close (); 28977int 28978main () 28979{ 28980return libcnotify_stream_close (); 28981 ; 28982 return 0; 28983} 28984_ACEOF 28985if ac_fn_c_try_link "$LINENO"; then : 28986 ac_cv_lib_cnotify_libcnotify_stream_close=yes 28987else 28988 ac_cv_lib_cnotify_libcnotify_stream_close=no 28989fi 28990rm -f core conftest.err conftest.$ac_objext \ 28991 conftest$ac_exeext conftest.$ac_ext 28992LIBS=$ac_check_lib_save_LIBS 28993fi 28994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 28995$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 28996if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 28997 ac_cv_libcnotify_dummy=yes 28998else 28999 ac_cv_libcnotify=no 29000fi 29001 29002 29003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29004$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29005if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29006 $as_echo_n "(cached) " >&6 29007else 29008 ac_check_lib_save_LIBS=$LIBS 29009LIBS="-lcnotify $LIBS" 29010cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29011/* end confdefs.h. */ 29012 29013/* Override any GCC internal prototype to avoid an error. 29014 Use char because int might match the return type of a GCC 29015 builtin and then its argument prototype would still apply. */ 29016#ifdef __cplusplus 29017extern "C" 29018#endif 29019char libcnotify_verbose_set (); 29020int 29021main () 29022{ 29023return libcnotify_verbose_set (); 29024 ; 29025 return 0; 29026} 29027_ACEOF 29028if ac_fn_c_try_link "$LINENO"; then : 29029 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29030else 29031 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29032fi 29033rm -f core conftest.err conftest.$ac_objext \ 29034 conftest$ac_exeext conftest.$ac_ext 29035LIBS=$ac_check_lib_save_LIBS 29036fi 29037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29038$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29039if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29040 ac_cv_libcnotify_dummy=yes 29041else 29042 ac_cv_libcnotify=no 29043fi 29044 29045 29046 ac_cv_libcnotify_LIBADD="-lcnotify" 29047fi 29048 29049fi 29050 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29052$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29053as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29054See \`config.log' for more details" "$LINENO" 5; } 29055 29056fi 29057 29058fi 29059 29060 if test "x$ac_cv_libcnotify" = xyes; then : 29061 29062$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29063 29064 29065fi 29066 29067 if test "x$ac_cv_libcnotify" = xyes; then : 29068 HAVE_LIBCNOTIFY=1 29069 29070else 29071 HAVE_LIBCNOTIFY=0 29072 29073 29074fi 29075 29076 29077 if test "x$ac_cv_libcnotify" != xyes; then : 29078 for ac_header in stdarg.h varargs.h 29079do : 29080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29081ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29082if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29083 cat >>confdefs.h <<_ACEOF 29084#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29085_ACEOF 29086 29087fi 29088 29089done 29090 29091 29092 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29095as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29096See \`config.log' for more details" "$LINENO" 5; } 29097 29098fi 29099 29100 for ac_header in errno.h 29101do : 29102 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29103if test "x$ac_cv_header_errno_h" = xyes; then : 29104 cat >>confdefs.h <<_ACEOF 29105#define HAVE_ERRNO_H 1 29106_ACEOF 29107 29108fi 29109 29110done 29111 29112 29113 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29114 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29115 29116 ac_cv_libcnotify=local 29117 29118 29119 29120$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29121 29122 HAVE_LOCAL_LIBCNOTIFY=1 29123 29124 29125fi 29126 29127 if test "x$ac_cv_libcnotify" = xlocal; then 29128 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29129 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29130else 29131 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29132 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29133fi 29134 29135 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29136 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29137 29138 29139fi 29140 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29141 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29142 29143 29144fi 29145 29146 if test "x$ac_cv_libcnotify" = xyes; then : 29147 ax_libcnotify_pc_libs_private=-lcnotify 29148 29149 29150fi 29151 29152 if test "x$ac_cv_libcnotify" = xyes; then : 29153 ax_libcnotify_spec_requires=libcnotify 29154 29155 ax_libcnotify_spec_build_requires=libcnotify-devel 29156 29157 29158fi 29159 29160 29161 29162 29163# Check whether --with-libcsplit was given. 29164if test "${with_libcsplit+set}" = set; then : 29165 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29166else 29167 ac_cv_with_libcsplit=auto-detect 29168fi 29169 29170 { $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 29171$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; } 29172if ${ac_cv_with_libcsplit+:} false; then : 29173 $as_echo_n "(cached) " >&6 29174else 29175 ac_cv_with_libcsplit=auto-detect 29176fi 29177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29178$as_echo "$ac_cv_with_libcsplit" >&6; } 29179 29180 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29181 ac_cv_libcsplit=no 29182else 29183 ac_cv_libcsplit=check 29184 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29185 if test -d "$ac_cv_with_libcsplit"; then : 29186 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29187 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29188else 29189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29190$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29191as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29192See \`config.log' for more details" "$LINENO" 5; } 29193 29194fi 29195 29196else 29197 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29198 29199pkg_failed=no 29200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29201$as_echo_n "checking for libcsplit... " >&6; } 29202 29203if test -n "$libcsplit_CFLAGS"; then 29204 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29205 elif test -n "$PKG_CONFIG"; then 29206 if test -n "$PKG_CONFIG" && \ 29207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29208 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29209 ac_status=$? 29210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29211 test $ac_status = 0; }; then 29212 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29213 test "x$?" != "x0" && pkg_failed=yes 29214else 29215 pkg_failed=yes 29216fi 29217 else 29218 pkg_failed=untried 29219fi 29220if test -n "$libcsplit_LIBS"; then 29221 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29222 elif test -n "$PKG_CONFIG"; then 29223 if test -n "$PKG_CONFIG" && \ 29224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29225 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29226 ac_status=$? 29227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29228 test $ac_status = 0; }; then 29229 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29230 test "x$?" != "x0" && pkg_failed=yes 29231else 29232 pkg_failed=yes 29233fi 29234 else 29235 pkg_failed=untried 29236fi 29237 29238 29239 29240if test $pkg_failed = yes; then 29241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29242$as_echo "no" >&6; } 29243 29244if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29245 _pkg_short_errors_supported=yes 29246else 29247 _pkg_short_errors_supported=no 29248fi 29249 if test $_pkg_short_errors_supported = yes; then 29250 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29251 else 29252 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29253 fi 29254 # Put the nasty error message in config.log where it belongs 29255 echo "$libcsplit_PKG_ERRORS" >&5 29256 29257 ac_cv_libcsplit=check 29258elif test $pkg_failed = untried; then 29259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29260$as_echo "no" >&6; } 29261 ac_cv_libcsplit=check 29262else 29263 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29264 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29266$as_echo "yes" >&6; } 29267 ac_cv_libcsplit=yes 29268fi 29269 29270fi 29271 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29273$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29274if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29275 $as_echo_n "(cached) " >&6 29276else 29277 ac_ext=c 29278ac_cpp='$CPP $CPPFLAGS' 29279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29281ac_compiler_gnu=$ac_cv_c_compiler_gnu 29282 29283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29284/* end confdefs.h. */ 29285#include <libcsplit/features.h> 29286int 29287main () 29288{ 29289#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29290#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29291#endif 29292 ; 29293 return 0; 29294} 29295_ACEOF 29296if ac_fn_c_try_compile "$LINENO"; then : 29297 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29298else 29299 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29300fi 29301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29302 ac_ext=c 29303ac_cpp='$CPP $CPPFLAGS' 29304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29306ac_compiler_gnu=$ac_cv_c_compiler_gnu 29307 29308fi 29309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29310$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29311 29312 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29313 ac_cv_libcsplit=no 29314fi 29315 29316fi 29317 if test "x$ac_cv_libcsplit" = xyes; then : 29318 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29319 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29320fi 29321 29322fi 29323 29324 if test "x$ac_cv_libcsplit" = xcheck; then : 29325 for ac_header in libcsplit.h 29326do : 29327 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29328if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29329 cat >>confdefs.h <<_ACEOF 29330#define HAVE_LIBCSPLIT_H 1 29331_ACEOF 29332 29333fi 29334 29335done 29336 29337 29338 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29339 ac_cv_libcsplit=no 29340else 29341 ac_cv_libcsplit=yes 29342 29343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29344$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29345if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29346 $as_echo_n "(cached) " >&6 29347else 29348 ac_check_lib_save_LIBS=$LIBS 29349LIBS="-lcsplit $LIBS" 29350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29351/* end confdefs.h. */ 29352 29353/* Override any GCC internal prototype to avoid an error. 29354 Use char because int might match the return type of a GCC 29355 builtin and then its argument prototype would still apply. */ 29356#ifdef __cplusplus 29357extern "C" 29358#endif 29359char libcsplit_get_version (); 29360int 29361main () 29362{ 29363return libcsplit_get_version (); 29364 ; 29365 return 0; 29366} 29367_ACEOF 29368if ac_fn_c_try_link "$LINENO"; then : 29369 ac_cv_lib_csplit_libcsplit_get_version=yes 29370else 29371 ac_cv_lib_csplit_libcsplit_get_version=no 29372fi 29373rm -f core conftest.err conftest.$ac_objext \ 29374 conftest$ac_exeext conftest.$ac_ext 29375LIBS=$ac_check_lib_save_LIBS 29376fi 29377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29378$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29379if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29380 ac_cv_libcsplit_dummy=yes 29381else 29382 ac_cv_libcsplit=no 29383fi 29384 29385 29386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29387$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29388if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29389 $as_echo_n "(cached) " >&6 29390else 29391 ac_check_lib_save_LIBS=$LIBS 29392LIBS="-lcsplit $LIBS" 29393cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29394/* end confdefs.h. */ 29395 29396/* Override any GCC internal prototype to avoid an error. 29397 Use char because int might match the return type of a GCC 29398 builtin and then its argument prototype would still apply. */ 29399#ifdef __cplusplus 29400extern "C" 29401#endif 29402char libcsplit_narrow_string_split (); 29403int 29404main () 29405{ 29406return libcsplit_narrow_string_split (); 29407 ; 29408 return 0; 29409} 29410_ACEOF 29411if ac_fn_c_try_link "$LINENO"; then : 29412 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29413else 29414 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29415fi 29416rm -f core conftest.err conftest.$ac_objext \ 29417 conftest$ac_exeext conftest.$ac_ext 29418LIBS=$ac_check_lib_save_LIBS 29419fi 29420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29421$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29422if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29423 ac_cv_libcsplit_dummy=yes 29424else 29425 ac_cv_libcsplit=no 29426fi 29427 29428 29429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29430$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29431if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29432 $as_echo_n "(cached) " >&6 29433else 29434 ac_check_lib_save_LIBS=$LIBS 29435LIBS="-lcsplit $LIBS" 29436cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29437/* end confdefs.h. */ 29438 29439/* Override any GCC internal prototype to avoid an error. 29440 Use char because int might match the return type of a GCC 29441 builtin and then its argument prototype would still apply. */ 29442#ifdef __cplusplus 29443extern "C" 29444#endif 29445char libcsplit_narrow_split_string_free (); 29446int 29447main () 29448{ 29449return libcsplit_narrow_split_string_free (); 29450 ; 29451 return 0; 29452} 29453_ACEOF 29454if ac_fn_c_try_link "$LINENO"; then : 29455 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29456else 29457 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29458fi 29459rm -f core conftest.err conftest.$ac_objext \ 29460 conftest$ac_exeext conftest.$ac_ext 29461LIBS=$ac_check_lib_save_LIBS 29462fi 29463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29464$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29465if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29466 ac_cv_libcsplit_dummy=yes 29467else 29468 ac_cv_libcsplit=no 29469fi 29470 29471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29472$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29473if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29474 $as_echo_n "(cached) " >&6 29475else 29476 ac_check_lib_save_LIBS=$LIBS 29477LIBS="-lcsplit $LIBS" 29478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29479/* end confdefs.h. */ 29480 29481/* Override any GCC internal prototype to avoid an error. 29482 Use char because int might match the return type of a GCC 29483 builtin and then its argument prototype would still apply. */ 29484#ifdef __cplusplus 29485extern "C" 29486#endif 29487char libcsplit_narrow_split_string_get_string (); 29488int 29489main () 29490{ 29491return libcsplit_narrow_split_string_get_string (); 29492 ; 29493 return 0; 29494} 29495_ACEOF 29496if ac_fn_c_try_link "$LINENO"; then : 29497 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29498else 29499 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29500fi 29501rm -f core conftest.err conftest.$ac_objext \ 29502 conftest$ac_exeext conftest.$ac_ext 29503LIBS=$ac_check_lib_save_LIBS 29504fi 29505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29506$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29507if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29508 ac_cv_libcsplit_dummy=yes 29509else 29510 ac_cv_libcsplit=no 29511fi 29512 29513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29514$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29515if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29516 $as_echo_n "(cached) " >&6 29517else 29518 ac_check_lib_save_LIBS=$LIBS 29519LIBS="-lcsplit $LIBS" 29520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29521/* end confdefs.h. */ 29522 29523/* Override any GCC internal prototype to avoid an error. 29524 Use char because int might match the return type of a GCC 29525 builtin and then its argument prototype would still apply. */ 29526#ifdef __cplusplus 29527extern "C" 29528#endif 29529char libcsplit_narrow_split_string_get_number_of_segments (); 29530int 29531main () 29532{ 29533return libcsplit_narrow_split_string_get_number_of_segments (); 29534 ; 29535 return 0; 29536} 29537_ACEOF 29538if ac_fn_c_try_link "$LINENO"; then : 29539 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29540else 29541 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29542fi 29543rm -f core conftest.err conftest.$ac_objext \ 29544 conftest$ac_exeext conftest.$ac_ext 29545LIBS=$ac_check_lib_save_LIBS 29546fi 29547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29548$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29549if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29550 ac_cv_libcsplit_dummy=yes 29551else 29552 ac_cv_libcsplit=no 29553fi 29554 29555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29556$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29557if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29558 $as_echo_n "(cached) " >&6 29559else 29560 ac_check_lib_save_LIBS=$LIBS 29561LIBS="-lcsplit $LIBS" 29562cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29563/* end confdefs.h. */ 29564 29565/* Override any GCC internal prototype to avoid an error. 29566 Use char because int might match the return type of a GCC 29567 builtin and then its argument prototype would still apply. */ 29568#ifdef __cplusplus 29569extern "C" 29570#endif 29571char libcsplit_narrow_split_string_get_segment_by_index (); 29572int 29573main () 29574{ 29575return libcsplit_narrow_split_string_get_segment_by_index (); 29576 ; 29577 return 0; 29578} 29579_ACEOF 29580if ac_fn_c_try_link "$LINENO"; then : 29581 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29582else 29583 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29584fi 29585rm -f core conftest.err conftest.$ac_objext \ 29586 conftest$ac_exeext conftest.$ac_ext 29587LIBS=$ac_check_lib_save_LIBS 29588fi 29589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29590$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29591if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29592 ac_cv_libcsplit_dummy=yes 29593else 29594 ac_cv_libcsplit=no 29595fi 29596 29597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29598$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29599if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29600 $as_echo_n "(cached) " >&6 29601else 29602 ac_check_lib_save_LIBS=$LIBS 29603LIBS="-lcsplit $LIBS" 29604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29605/* end confdefs.h. */ 29606 29607/* Override any GCC internal prototype to avoid an error. 29608 Use char because int might match the return type of a GCC 29609 builtin and then its argument prototype would still apply. */ 29610#ifdef __cplusplus 29611extern "C" 29612#endif 29613char libcsplit_narrow_split_string_set_segment_by_index (); 29614int 29615main () 29616{ 29617return libcsplit_narrow_split_string_set_segment_by_index (); 29618 ; 29619 return 0; 29620} 29621_ACEOF 29622if ac_fn_c_try_link "$LINENO"; then : 29623 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29624else 29625 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29626fi 29627rm -f core conftest.err conftest.$ac_objext \ 29628 conftest$ac_exeext conftest.$ac_ext 29629LIBS=$ac_check_lib_save_LIBS 29630fi 29631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29632$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29633if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29634 ac_cv_libcsplit_dummy=yes 29635else 29636 ac_cv_libcsplit=no 29637fi 29638 29639 29640 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29642$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29643if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29644 $as_echo_n "(cached) " >&6 29645else 29646 ac_check_lib_save_LIBS=$LIBS 29647LIBS="-lcsplit $LIBS" 29648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29649/* end confdefs.h. */ 29650 29651/* Override any GCC internal prototype to avoid an error. 29652 Use char because int might match the return type of a GCC 29653 builtin and then its argument prototype would still apply. */ 29654#ifdef __cplusplus 29655extern "C" 29656#endif 29657char libcsplit_wide_string_split (); 29658int 29659main () 29660{ 29661return libcsplit_wide_string_split (); 29662 ; 29663 return 0; 29664} 29665_ACEOF 29666if ac_fn_c_try_link "$LINENO"; then : 29667 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29668else 29669 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29670fi 29671rm -f core conftest.err conftest.$ac_objext \ 29672 conftest$ac_exeext conftest.$ac_ext 29673LIBS=$ac_check_lib_save_LIBS 29674fi 29675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29676$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29677if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29678 ac_cv_libcsplit_dummy=yes 29679else 29680 ac_cv_libcsplit=no 29681fi 29682 29683 29684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29685$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29686if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29687 $as_echo_n "(cached) " >&6 29688else 29689 ac_check_lib_save_LIBS=$LIBS 29690LIBS="-lcsplit $LIBS" 29691cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29692/* end confdefs.h. */ 29693 29694/* Override any GCC internal prototype to avoid an error. 29695 Use char because int might match the return type of a GCC 29696 builtin and then its argument prototype would still apply. */ 29697#ifdef __cplusplus 29698extern "C" 29699#endif 29700char libcsplit_wide_split_string_free (); 29701int 29702main () 29703{ 29704return libcsplit_wide_split_string_free (); 29705 ; 29706 return 0; 29707} 29708_ACEOF 29709if ac_fn_c_try_link "$LINENO"; then : 29710 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29711else 29712 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29713fi 29714rm -f core conftest.err conftest.$ac_objext \ 29715 conftest$ac_exeext conftest.$ac_ext 29716LIBS=$ac_check_lib_save_LIBS 29717fi 29718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29719$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29720if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29721 ac_cv_libcsplit_dummy=yes 29722else 29723 ac_cv_libcsplit=no 29724fi 29725 29726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29727$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29728if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29729 $as_echo_n "(cached) " >&6 29730else 29731 ac_check_lib_save_LIBS=$LIBS 29732LIBS="-lcsplit $LIBS" 29733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29734/* end confdefs.h. */ 29735 29736/* Override any GCC internal prototype to avoid an error. 29737 Use char because int might match the return type of a GCC 29738 builtin and then its argument prototype would still apply. */ 29739#ifdef __cplusplus 29740extern "C" 29741#endif 29742char libcsplit_wide_split_string_get_string (); 29743int 29744main () 29745{ 29746return libcsplit_wide_split_string_get_string (); 29747 ; 29748 return 0; 29749} 29750_ACEOF 29751if ac_fn_c_try_link "$LINENO"; then : 29752 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29753else 29754 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29755fi 29756rm -f core conftest.err conftest.$ac_objext \ 29757 conftest$ac_exeext conftest.$ac_ext 29758LIBS=$ac_check_lib_save_LIBS 29759fi 29760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29761$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29762if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29763 ac_cv_libcsplit_dummy=yes 29764else 29765 ac_cv_libcsplit=no 29766fi 29767 29768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29769$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29770if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29771 $as_echo_n "(cached) " >&6 29772else 29773 ac_check_lib_save_LIBS=$LIBS 29774LIBS="-lcsplit $LIBS" 29775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29776/* end confdefs.h. */ 29777 29778/* Override any GCC internal prototype to avoid an error. 29779 Use char because int might match the return type of a GCC 29780 builtin and then its argument prototype would still apply. */ 29781#ifdef __cplusplus 29782extern "C" 29783#endif 29784char libcsplit_wide_split_string_get_number_of_segments (); 29785int 29786main () 29787{ 29788return libcsplit_wide_split_string_get_number_of_segments (); 29789 ; 29790 return 0; 29791} 29792_ACEOF 29793if ac_fn_c_try_link "$LINENO"; then : 29794 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29795else 29796 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29797fi 29798rm -f core conftest.err conftest.$ac_objext \ 29799 conftest$ac_exeext conftest.$ac_ext 29800LIBS=$ac_check_lib_save_LIBS 29801fi 29802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29803$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29804if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29805 ac_cv_libcsplit_dummy=yes 29806else 29807 ac_cv_libcsplit=no 29808fi 29809 29810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29811$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29812if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29813 $as_echo_n "(cached) " >&6 29814else 29815 ac_check_lib_save_LIBS=$LIBS 29816LIBS="-lcsplit $LIBS" 29817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29818/* end confdefs.h. */ 29819 29820/* Override any GCC internal prototype to avoid an error. 29821 Use char because int might match the return type of a GCC 29822 builtin and then its argument prototype would still apply. */ 29823#ifdef __cplusplus 29824extern "C" 29825#endif 29826char libcsplit_wide_split_string_get_segment_by_index (); 29827int 29828main () 29829{ 29830return libcsplit_wide_split_string_get_segment_by_index (); 29831 ; 29832 return 0; 29833} 29834_ACEOF 29835if ac_fn_c_try_link "$LINENO"; then : 29836 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29837else 29838 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29839fi 29840rm -f core conftest.err conftest.$ac_objext \ 29841 conftest$ac_exeext conftest.$ac_ext 29842LIBS=$ac_check_lib_save_LIBS 29843fi 29844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29845$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29846if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29847 ac_cv_libcsplit_dummy=yes 29848else 29849 ac_cv_libcsplit=no 29850fi 29851 29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29853$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29854if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29855 $as_echo_n "(cached) " >&6 29856else 29857 ac_check_lib_save_LIBS=$LIBS 29858LIBS="-lcsplit $LIBS" 29859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29860/* end confdefs.h. */ 29861 29862/* Override any GCC internal prototype to avoid an error. 29863 Use char because int might match the return type of a GCC 29864 builtin and then its argument prototype would still apply. */ 29865#ifdef __cplusplus 29866extern "C" 29867#endif 29868char libcsplit_wide_split_string_set_segment_by_index (); 29869int 29870main () 29871{ 29872return libcsplit_wide_split_string_set_segment_by_index (); 29873 ; 29874 return 0; 29875} 29876_ACEOF 29877if ac_fn_c_try_link "$LINENO"; then : 29878 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29879else 29880 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29881fi 29882rm -f core conftest.err conftest.$ac_objext \ 29883 conftest$ac_exeext conftest.$ac_ext 29884LIBS=$ac_check_lib_save_LIBS 29885fi 29886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29887$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29888if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29889 ac_cv_libcsplit_dummy=yes 29890else 29891 ac_cv_libcsplit=no 29892fi 29893 29894 29895fi 29896 29897 ac_cv_libcsplit_LIBADD="-lcsplit" 29898fi 29899 29900fi 29901 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29903$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29904as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29905See \`config.log' for more details" "$LINENO" 5; } 29906 29907fi 29908 29909fi 29910 29911 if test "x$ac_cv_libcsplit" = xyes; then : 29912 29913$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29914 29915 29916fi 29917 29918 if test "x$ac_cv_libcsplit" = xyes; then : 29919 HAVE_LIBCSPLIT=1 29920 29921else 29922 HAVE_LIBCSPLIT=0 29923 29924 29925fi 29926 29927 29928 if test "x$ac_cv_libcsplit" != xyes; then : 29929 29930 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 29931 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 29932 29933 ac_cv_libcsplit=local 29934 29935 29936 29937$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 29938 29939 HAVE_LOCAL_LIBCSPLIT=1 29940 29941 29942fi 29943 29944 if test "x$ac_cv_libcsplit" = xlocal; then 29945 HAVE_LOCAL_LIBCSPLIT_TRUE= 29946 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 29947else 29948 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 29949 HAVE_LOCAL_LIBCSPLIT_FALSE= 29950fi 29951 29952 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 29953 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 29954 29955 29956fi 29957 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 29958 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 29959 29960 29961fi 29962 29963 if test "x$ac_cv_libcsplit" = xyes; then : 29964 ax_libcsplit_pc_libs_private=-lcsplit 29965 29966 29967fi 29968 29969 if test "x$ac_cv_libcsplit" = xyes; then : 29970 ax_libcsplit_spec_requires=libcsplit 29971 29972 ax_libcsplit_spec_build_requires=libcsplit-devel 29973 29974 29975fi 29976 29977 29978 29979 29980# Check whether --with-libuna was given. 29981if test "${with_libuna+set}" = set; then : 29982 withval=$with_libuna; ac_cv_with_libuna=$withval 29983else 29984 ac_cv_with_libuna=auto-detect 29985fi 29986 29987 { $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 29988$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; } 29989if ${ac_cv_with_libuna+:} false; then : 29990 $as_echo_n "(cached) " >&6 29991else 29992 ac_cv_with_libuna=auto-detect 29993fi 29994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 29995$as_echo "$ac_cv_with_libuna" >&6; } 29996 29997 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 29998 ac_cv_libuna=no 29999else 30000 ac_cv_libuna=check 30001 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30002 if test -d "$ac_cv_with_libuna"; then : 30003 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30004 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30005else 30006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30008as_fn_error 1 "no such directory: $ac_cv_with_libuna 30009See \`config.log' for more details" "$LINENO" 5; } 30010 30011fi 30012 30013else 30014 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30015 30016pkg_failed=no 30017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30018$as_echo_n "checking for libuna... " >&6; } 30019 30020if test -n "$libuna_CFLAGS"; then 30021 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30022 elif test -n "$PKG_CONFIG"; then 30023 if test -n "$PKG_CONFIG" && \ 30024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30025 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30026 ac_status=$? 30027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30028 test $ac_status = 0; }; then 30029 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30030 test "x$?" != "x0" && pkg_failed=yes 30031else 30032 pkg_failed=yes 30033fi 30034 else 30035 pkg_failed=untried 30036fi 30037if test -n "$libuna_LIBS"; then 30038 pkg_cv_libuna_LIBS="$libuna_LIBS" 30039 elif test -n "$PKG_CONFIG"; then 30040 if test -n "$PKG_CONFIG" && \ 30041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30042 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30043 ac_status=$? 30044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30045 test $ac_status = 0; }; then 30046 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30047 test "x$?" != "x0" && pkg_failed=yes 30048else 30049 pkg_failed=yes 30050fi 30051 else 30052 pkg_failed=untried 30053fi 30054 30055 30056 30057if test $pkg_failed = yes; then 30058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30059$as_echo "no" >&6; } 30060 30061if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30062 _pkg_short_errors_supported=yes 30063else 30064 _pkg_short_errors_supported=no 30065fi 30066 if test $_pkg_short_errors_supported = yes; then 30067 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30068 else 30069 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30070 fi 30071 # Put the nasty error message in config.log where it belongs 30072 echo "$libuna_PKG_ERRORS" >&5 30073 30074 ac_cv_libuna=check 30075elif test $pkg_failed = untried; then 30076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30077$as_echo "no" >&6; } 30078 ac_cv_libuna=check 30079else 30080 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30081 libuna_LIBS=$pkg_cv_libuna_LIBS 30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30083$as_echo "yes" >&6; } 30084 ac_cv_libuna=yes 30085fi 30086 30087fi 30088 if test "x$ac_cv_libuna" = xyes; then : 30089 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30090 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30091fi 30092 30093fi 30094 30095 if test "x$ac_cv_libuna" = xcheck; then : 30096 for ac_header in libuna.h 30097do : 30098 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30099if test "x$ac_cv_header_libuna_h" = xyes; then : 30100 cat >>confdefs.h <<_ACEOF 30101#define HAVE_LIBUNA_H 1 30102_ACEOF 30103 30104fi 30105 30106done 30107 30108 30109 if test "x$ac_cv_header_libuna_h" = xno; then : 30110 ac_cv_libuna=no 30111else 30112 ac_cv_libuna=yes 30113 30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30115$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30116if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30117 $as_echo_n "(cached) " >&6 30118else 30119 ac_check_lib_save_LIBS=$LIBS 30120LIBS="-luna $LIBS" 30121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30122/* end confdefs.h. */ 30123 30124/* Override any GCC internal prototype to avoid an error. 30125 Use char because int might match the return type of a GCC 30126 builtin and then its argument prototype would still apply. */ 30127#ifdef __cplusplus 30128extern "C" 30129#endif 30130char libuna_get_version (); 30131int 30132main () 30133{ 30134return libuna_get_version (); 30135 ; 30136 return 0; 30137} 30138_ACEOF 30139if ac_fn_c_try_link "$LINENO"; then : 30140 ac_cv_lib_una_libuna_get_version=yes 30141else 30142 ac_cv_lib_una_libuna_get_version=no 30143fi 30144rm -f core conftest.err conftest.$ac_objext \ 30145 conftest$ac_exeext conftest.$ac_ext 30146LIBS=$ac_check_lib_save_LIBS 30147fi 30148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30149$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30150if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30151 ac_cv_libuna_dummy=yes 30152else 30153 ac_cv_libuna=no 30154fi 30155 30156 30157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30158$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30159if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30160 $as_echo_n "(cached) " >&6 30161else 30162 ac_check_lib_save_LIBS=$LIBS 30163LIBS="-luna $LIBS" 30164cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30165/* end confdefs.h. */ 30166 30167/* Override any GCC internal prototype to avoid an error. 30168 Use char because int might match the return type of a GCC 30169 builtin and then its argument prototype would still apply. */ 30170#ifdef __cplusplus 30171extern "C" 30172#endif 30173char libuna_base16_stream_size_to_byte_stream (); 30174int 30175main () 30176{ 30177return libuna_base16_stream_size_to_byte_stream (); 30178 ; 30179 return 0; 30180} 30181_ACEOF 30182if ac_fn_c_try_link "$LINENO"; then : 30183 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30184else 30185 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30186fi 30187rm -f core conftest.err conftest.$ac_objext \ 30188 conftest$ac_exeext conftest.$ac_ext 30189LIBS=$ac_check_lib_save_LIBS 30190fi 30191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30192$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30193if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30194 ac_cv_libuna_dummy=yes 30195else 30196 ac_cv_libuna=no 30197fi 30198 30199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30200$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30201if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30202 $as_echo_n "(cached) " >&6 30203else 30204 ac_check_lib_save_LIBS=$LIBS 30205LIBS="-luna $LIBS" 30206cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30207/* end confdefs.h. */ 30208 30209/* Override any GCC internal prototype to avoid an error. 30210 Use char because int might match the return type of a GCC 30211 builtin and then its argument prototype would still apply. */ 30212#ifdef __cplusplus 30213extern "C" 30214#endif 30215char libuna_base16_stream_copy_to_byte_stream (); 30216int 30217main () 30218{ 30219return libuna_base16_stream_copy_to_byte_stream (); 30220 ; 30221 return 0; 30222} 30223_ACEOF 30224if ac_fn_c_try_link "$LINENO"; then : 30225 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30226else 30227 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30228fi 30229rm -f core conftest.err conftest.$ac_objext \ 30230 conftest$ac_exeext conftest.$ac_ext 30231LIBS=$ac_check_lib_save_LIBS 30232fi 30233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30234$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30235if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30236 ac_cv_libuna_dummy=yes 30237else 30238 ac_cv_libuna=no 30239fi 30240 30241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30242$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30243if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30244 $as_echo_n "(cached) " >&6 30245else 30246 ac_check_lib_save_LIBS=$LIBS 30247LIBS="-luna $LIBS" 30248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30249/* end confdefs.h. */ 30250 30251/* Override any GCC internal prototype to avoid an error. 30252 Use char because int might match the return type of a GCC 30253 builtin and then its argument prototype would still apply. */ 30254#ifdef __cplusplus 30255extern "C" 30256#endif 30257char libuna_base16_stream_size_from_byte_stream (); 30258int 30259main () 30260{ 30261return libuna_base16_stream_size_from_byte_stream (); 30262 ; 30263 return 0; 30264} 30265_ACEOF 30266if ac_fn_c_try_link "$LINENO"; then : 30267 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30268else 30269 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30270fi 30271rm -f core conftest.err conftest.$ac_objext \ 30272 conftest$ac_exeext conftest.$ac_ext 30273LIBS=$ac_check_lib_save_LIBS 30274fi 30275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30276$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30277if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30278 ac_cv_libuna_dummy=yes 30279else 30280 ac_cv_libuna=no 30281fi 30282 30283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30284$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30285if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30286 $as_echo_n "(cached) " >&6 30287else 30288 ac_check_lib_save_LIBS=$LIBS 30289LIBS="-luna $LIBS" 30290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30291/* end confdefs.h. */ 30292 30293/* Override any GCC internal prototype to avoid an error. 30294 Use char because int might match the return type of a GCC 30295 builtin and then its argument prototype would still apply. */ 30296#ifdef __cplusplus 30297extern "C" 30298#endif 30299char libuna_base16_stream_copy_from_byte_stream (); 30300int 30301main () 30302{ 30303return libuna_base16_stream_copy_from_byte_stream (); 30304 ; 30305 return 0; 30306} 30307_ACEOF 30308if ac_fn_c_try_link "$LINENO"; then : 30309 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30310else 30311 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30312fi 30313rm -f core conftest.err conftest.$ac_objext \ 30314 conftest$ac_exeext conftest.$ac_ext 30315LIBS=$ac_check_lib_save_LIBS 30316fi 30317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30318$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30319if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30320 ac_cv_libuna_dummy=yes 30321else 30322 ac_cv_libuna=no 30323fi 30324 30325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30326$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30327if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30328 $as_echo_n "(cached) " >&6 30329else 30330 ac_check_lib_save_LIBS=$LIBS 30331LIBS="-luna $LIBS" 30332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30333/* end confdefs.h. */ 30334 30335/* Override any GCC internal prototype to avoid an error. 30336 Use char because int might match the return type of a GCC 30337 builtin and then its argument prototype would still apply. */ 30338#ifdef __cplusplus 30339extern "C" 30340#endif 30341char libuna_base16_stream_with_index_copy_from_byte_stream (); 30342int 30343main () 30344{ 30345return libuna_base16_stream_with_index_copy_from_byte_stream (); 30346 ; 30347 return 0; 30348} 30349_ACEOF 30350if ac_fn_c_try_link "$LINENO"; then : 30351 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30352else 30353 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30354fi 30355rm -f core conftest.err conftest.$ac_objext \ 30356 conftest$ac_exeext conftest.$ac_ext 30357LIBS=$ac_check_lib_save_LIBS 30358fi 30359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30360$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30361if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30362 ac_cv_libuna_dummy=yes 30363else 30364 ac_cv_libuna=no 30365fi 30366 30367 30368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30369$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30370if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30371 $as_echo_n "(cached) " >&6 30372else 30373 ac_check_lib_save_LIBS=$LIBS 30374LIBS="-luna $LIBS" 30375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30376/* end confdefs.h. */ 30377 30378/* Override any GCC internal prototype to avoid an error. 30379 Use char because int might match the return type of a GCC 30380 builtin and then its argument prototype would still apply. */ 30381#ifdef __cplusplus 30382extern "C" 30383#endif 30384char libuna_base32_quintuplet_copy_from_base32_stream (); 30385int 30386main () 30387{ 30388return libuna_base32_quintuplet_copy_from_base32_stream (); 30389 ; 30390 return 0; 30391} 30392_ACEOF 30393if ac_fn_c_try_link "$LINENO"; then : 30394 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30395else 30396 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30397fi 30398rm -f core conftest.err conftest.$ac_objext \ 30399 conftest$ac_exeext conftest.$ac_ext 30400LIBS=$ac_check_lib_save_LIBS 30401fi 30402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30403$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30404if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30405 ac_cv_libuna_dummy=yes 30406else 30407 ac_cv_libuna=no 30408fi 30409 30410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30411$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30412if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30413 $as_echo_n "(cached) " >&6 30414else 30415 ac_check_lib_save_LIBS=$LIBS 30416LIBS="-luna $LIBS" 30417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30418/* end confdefs.h. */ 30419 30420/* Override any GCC internal prototype to avoid an error. 30421 Use char because int might match the return type of a GCC 30422 builtin and then its argument prototype would still apply. */ 30423#ifdef __cplusplus 30424extern "C" 30425#endif 30426char libuna_base32_quintuplet_copy_to_base32_stream (); 30427int 30428main () 30429{ 30430return libuna_base32_quintuplet_copy_to_base32_stream (); 30431 ; 30432 return 0; 30433} 30434_ACEOF 30435if ac_fn_c_try_link "$LINENO"; then : 30436 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30437else 30438 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30439fi 30440rm -f core conftest.err conftest.$ac_objext \ 30441 conftest$ac_exeext conftest.$ac_ext 30442LIBS=$ac_check_lib_save_LIBS 30443fi 30444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30445$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30446if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30447 ac_cv_libuna_dummy=yes 30448else 30449 ac_cv_libuna=no 30450fi 30451 30452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30453$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30454if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30455 $as_echo_n "(cached) " >&6 30456else 30457 ac_check_lib_save_LIBS=$LIBS 30458LIBS="-luna $LIBS" 30459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30460/* end confdefs.h. */ 30461 30462/* Override any GCC internal prototype to avoid an error. 30463 Use char because int might match the return type of a GCC 30464 builtin and then its argument prototype would still apply. */ 30465#ifdef __cplusplus 30466extern "C" 30467#endif 30468char libuna_base32_quintuplet_copy_from_byte_stream (); 30469int 30470main () 30471{ 30472return libuna_base32_quintuplet_copy_from_byte_stream (); 30473 ; 30474 return 0; 30475} 30476_ACEOF 30477if ac_fn_c_try_link "$LINENO"; then : 30478 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30479else 30480 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30481fi 30482rm -f core conftest.err conftest.$ac_objext \ 30483 conftest$ac_exeext conftest.$ac_ext 30484LIBS=$ac_check_lib_save_LIBS 30485fi 30486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30487$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30488if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30489 ac_cv_libuna_dummy=yes 30490else 30491 ac_cv_libuna=no 30492fi 30493 30494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30495$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30496if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30497 $as_echo_n "(cached) " >&6 30498else 30499 ac_check_lib_save_LIBS=$LIBS 30500LIBS="-luna $LIBS" 30501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30502/* end confdefs.h. */ 30503 30504/* Override any GCC internal prototype to avoid an error. 30505 Use char because int might match the return type of a GCC 30506 builtin and then its argument prototype would still apply. */ 30507#ifdef __cplusplus 30508extern "C" 30509#endif 30510char libuna_base32_quintuplet_copy_to_byte_stream (); 30511int 30512main () 30513{ 30514return libuna_base32_quintuplet_copy_to_byte_stream (); 30515 ; 30516 return 0; 30517} 30518_ACEOF 30519if ac_fn_c_try_link "$LINENO"; then : 30520 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30521else 30522 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30523fi 30524rm -f core conftest.err conftest.$ac_objext \ 30525 conftest$ac_exeext conftest.$ac_ext 30526LIBS=$ac_check_lib_save_LIBS 30527fi 30528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30529$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30530if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30531 ac_cv_libuna_dummy=yes 30532else 30533 ac_cv_libuna=no 30534fi 30535 30536 30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30538$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30539if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30540 $as_echo_n "(cached) " >&6 30541else 30542 ac_check_lib_save_LIBS=$LIBS 30543LIBS="-luna $LIBS" 30544cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30545/* end confdefs.h. */ 30546 30547/* Override any GCC internal prototype to avoid an error. 30548 Use char because int might match the return type of a GCC 30549 builtin and then its argument prototype would still apply. */ 30550#ifdef __cplusplus 30551extern "C" 30552#endif 30553char libuna_base32_stream_size_to_byte_stream (); 30554int 30555main () 30556{ 30557return libuna_base32_stream_size_to_byte_stream (); 30558 ; 30559 return 0; 30560} 30561_ACEOF 30562if ac_fn_c_try_link "$LINENO"; then : 30563 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30564else 30565 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30566fi 30567rm -f core conftest.err conftest.$ac_objext \ 30568 conftest$ac_exeext conftest.$ac_ext 30569LIBS=$ac_check_lib_save_LIBS 30570fi 30571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30572$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30573if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30574 ac_cv_libuna_dummy=yes 30575else 30576 ac_cv_libuna=no 30577fi 30578 30579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30580$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30581if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30582 $as_echo_n "(cached) " >&6 30583else 30584 ac_check_lib_save_LIBS=$LIBS 30585LIBS="-luna $LIBS" 30586cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30587/* end confdefs.h. */ 30588 30589/* Override any GCC internal prototype to avoid an error. 30590 Use char because int might match the return type of a GCC 30591 builtin and then its argument prototype would still apply. */ 30592#ifdef __cplusplus 30593extern "C" 30594#endif 30595char libuna_base32_stream_copy_to_byte_stream (); 30596int 30597main () 30598{ 30599return libuna_base32_stream_copy_to_byte_stream (); 30600 ; 30601 return 0; 30602} 30603_ACEOF 30604if ac_fn_c_try_link "$LINENO"; then : 30605 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30606else 30607 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30608fi 30609rm -f core conftest.err conftest.$ac_objext \ 30610 conftest$ac_exeext conftest.$ac_ext 30611LIBS=$ac_check_lib_save_LIBS 30612fi 30613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30614$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30615if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30616 ac_cv_libuna_dummy=yes 30617else 30618 ac_cv_libuna=no 30619fi 30620 30621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30622$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30623if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30624 $as_echo_n "(cached) " >&6 30625else 30626 ac_check_lib_save_LIBS=$LIBS 30627LIBS="-luna $LIBS" 30628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30629/* end confdefs.h. */ 30630 30631/* Override any GCC internal prototype to avoid an error. 30632 Use char because int might match the return type of a GCC 30633 builtin and then its argument prototype would still apply. */ 30634#ifdef __cplusplus 30635extern "C" 30636#endif 30637char libuna_base32_stream_size_from_byte_stream (); 30638int 30639main () 30640{ 30641return libuna_base32_stream_size_from_byte_stream (); 30642 ; 30643 return 0; 30644} 30645_ACEOF 30646if ac_fn_c_try_link "$LINENO"; then : 30647 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30648else 30649 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30650fi 30651rm -f core conftest.err conftest.$ac_objext \ 30652 conftest$ac_exeext conftest.$ac_ext 30653LIBS=$ac_check_lib_save_LIBS 30654fi 30655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30656$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30657if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30658 ac_cv_libuna_dummy=yes 30659else 30660 ac_cv_libuna=no 30661fi 30662 30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30664$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30665if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30666 $as_echo_n "(cached) " >&6 30667else 30668 ac_check_lib_save_LIBS=$LIBS 30669LIBS="-luna $LIBS" 30670cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30671/* end confdefs.h. */ 30672 30673/* Override any GCC internal prototype to avoid an error. 30674 Use char because int might match the return type of a GCC 30675 builtin and then its argument prototype would still apply. */ 30676#ifdef __cplusplus 30677extern "C" 30678#endif 30679char libuna_base32_stream_copy_from_byte_stream (); 30680int 30681main () 30682{ 30683return libuna_base32_stream_copy_from_byte_stream (); 30684 ; 30685 return 0; 30686} 30687_ACEOF 30688if ac_fn_c_try_link "$LINENO"; then : 30689 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30690else 30691 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30692fi 30693rm -f core conftest.err conftest.$ac_objext \ 30694 conftest$ac_exeext conftest.$ac_ext 30695LIBS=$ac_check_lib_save_LIBS 30696fi 30697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30698$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30699if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30700 ac_cv_libuna_dummy=yes 30701else 30702 ac_cv_libuna=no 30703fi 30704 30705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30706$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30707if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30708 $as_echo_n "(cached) " >&6 30709else 30710 ac_check_lib_save_LIBS=$LIBS 30711LIBS="-luna $LIBS" 30712cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30713/* end confdefs.h. */ 30714 30715/* Override any GCC internal prototype to avoid an error. 30716 Use char because int might match the return type of a GCC 30717 builtin and then its argument prototype would still apply. */ 30718#ifdef __cplusplus 30719extern "C" 30720#endif 30721char libuna_base32_stream_with_index_copy_from_byte_stream (); 30722int 30723main () 30724{ 30725return libuna_base32_stream_with_index_copy_from_byte_stream (); 30726 ; 30727 return 0; 30728} 30729_ACEOF 30730if ac_fn_c_try_link "$LINENO"; then : 30731 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30732else 30733 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30734fi 30735rm -f core conftest.err conftest.$ac_objext \ 30736 conftest$ac_exeext conftest.$ac_ext 30737LIBS=$ac_check_lib_save_LIBS 30738fi 30739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30740$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30741if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30742 ac_cv_libuna_dummy=yes 30743else 30744 ac_cv_libuna=no 30745fi 30746 30747 30748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30749$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30750if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30751 $as_echo_n "(cached) " >&6 30752else 30753 ac_check_lib_save_LIBS=$LIBS 30754LIBS="-luna $LIBS" 30755cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30756/* end confdefs.h. */ 30757 30758/* Override any GCC internal prototype to avoid an error. 30759 Use char because int might match the return type of a GCC 30760 builtin and then its argument prototype would still apply. */ 30761#ifdef __cplusplus 30762extern "C" 30763#endif 30764char libuna_base64_triplet_copy_from_base64_stream (); 30765int 30766main () 30767{ 30768return libuna_base64_triplet_copy_from_base64_stream (); 30769 ; 30770 return 0; 30771} 30772_ACEOF 30773if ac_fn_c_try_link "$LINENO"; then : 30774 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30775else 30776 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30777fi 30778rm -f core conftest.err conftest.$ac_objext \ 30779 conftest$ac_exeext conftest.$ac_ext 30780LIBS=$ac_check_lib_save_LIBS 30781fi 30782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30783$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30784if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30785 ac_cv_libuna_dummy=yes 30786else 30787 ac_cv_libuna=no 30788fi 30789 30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30791$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30792if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30793 $as_echo_n "(cached) " >&6 30794else 30795 ac_check_lib_save_LIBS=$LIBS 30796LIBS="-luna $LIBS" 30797cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30798/* end confdefs.h. */ 30799 30800/* Override any GCC internal prototype to avoid an error. 30801 Use char because int might match the return type of a GCC 30802 builtin and then its argument prototype would still apply. */ 30803#ifdef __cplusplus 30804extern "C" 30805#endif 30806char libuna_base64_triplet_copy_to_base64_stream (); 30807int 30808main () 30809{ 30810return libuna_base64_triplet_copy_to_base64_stream (); 30811 ; 30812 return 0; 30813} 30814_ACEOF 30815if ac_fn_c_try_link "$LINENO"; then : 30816 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30817else 30818 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30819fi 30820rm -f core conftest.err conftest.$ac_objext \ 30821 conftest$ac_exeext conftest.$ac_ext 30822LIBS=$ac_check_lib_save_LIBS 30823fi 30824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30825$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30826if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30827 ac_cv_libuna_dummy=yes 30828else 30829 ac_cv_libuna=no 30830fi 30831 30832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30833$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30834if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30835 $as_echo_n "(cached) " >&6 30836else 30837 ac_check_lib_save_LIBS=$LIBS 30838LIBS="-luna $LIBS" 30839cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30840/* end confdefs.h. */ 30841 30842/* Override any GCC internal prototype to avoid an error. 30843 Use char because int might match the return type of a GCC 30844 builtin and then its argument prototype would still apply. */ 30845#ifdef __cplusplus 30846extern "C" 30847#endif 30848char libuna_base64_triplet_copy_from_byte_stream (); 30849int 30850main () 30851{ 30852return libuna_base64_triplet_copy_from_byte_stream (); 30853 ; 30854 return 0; 30855} 30856_ACEOF 30857if ac_fn_c_try_link "$LINENO"; then : 30858 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30859else 30860 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30861fi 30862rm -f core conftest.err conftest.$ac_objext \ 30863 conftest$ac_exeext conftest.$ac_ext 30864LIBS=$ac_check_lib_save_LIBS 30865fi 30866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30867$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30868if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30869 ac_cv_libuna_dummy=yes 30870else 30871 ac_cv_libuna=no 30872fi 30873 30874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30875$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30876if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30877 $as_echo_n "(cached) " >&6 30878else 30879 ac_check_lib_save_LIBS=$LIBS 30880LIBS="-luna $LIBS" 30881cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30882/* end confdefs.h. */ 30883 30884/* Override any GCC internal prototype to avoid an error. 30885 Use char because int might match the return type of a GCC 30886 builtin and then its argument prototype would still apply. */ 30887#ifdef __cplusplus 30888extern "C" 30889#endif 30890char libuna_base64_triplet_copy_to_byte_stream (); 30891int 30892main () 30893{ 30894return libuna_base64_triplet_copy_to_byte_stream (); 30895 ; 30896 return 0; 30897} 30898_ACEOF 30899if ac_fn_c_try_link "$LINENO"; then : 30900 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30901else 30902 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30903fi 30904rm -f core conftest.err conftest.$ac_objext \ 30905 conftest$ac_exeext conftest.$ac_ext 30906LIBS=$ac_check_lib_save_LIBS 30907fi 30908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 30909$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30910if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30911 ac_cv_libuna_dummy=yes 30912else 30913 ac_cv_libuna=no 30914fi 30915 30916 30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30918$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30919if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30920 $as_echo_n "(cached) " >&6 30921else 30922 ac_check_lib_save_LIBS=$LIBS 30923LIBS="-luna $LIBS" 30924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30925/* end confdefs.h. */ 30926 30927/* Override any GCC internal prototype to avoid an error. 30928 Use char because int might match the return type of a GCC 30929 builtin and then its argument prototype would still apply. */ 30930#ifdef __cplusplus 30931extern "C" 30932#endif 30933char libuna_base64_stream_size_to_byte_stream (); 30934int 30935main () 30936{ 30937return libuna_base64_stream_size_to_byte_stream (); 30938 ; 30939 return 0; 30940} 30941_ACEOF 30942if ac_fn_c_try_link "$LINENO"; then : 30943 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 30944else 30945 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 30946fi 30947rm -f core conftest.err conftest.$ac_objext \ 30948 conftest$ac_exeext conftest.$ac_ext 30949LIBS=$ac_check_lib_save_LIBS 30950fi 30951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 30952$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 30953if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 30954 ac_cv_libuna_dummy=yes 30955else 30956 ac_cv_libuna=no 30957fi 30958 30959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 30960$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 30961if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 30962 $as_echo_n "(cached) " >&6 30963else 30964 ac_check_lib_save_LIBS=$LIBS 30965LIBS="-luna $LIBS" 30966cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30967/* end confdefs.h. */ 30968 30969/* Override any GCC internal prototype to avoid an error. 30970 Use char because int might match the return type of a GCC 30971 builtin and then its argument prototype would still apply. */ 30972#ifdef __cplusplus 30973extern "C" 30974#endif 30975char libuna_base64_stream_copy_to_byte_stream (); 30976int 30977main () 30978{ 30979return libuna_base64_stream_copy_to_byte_stream (); 30980 ; 30981 return 0; 30982} 30983_ACEOF 30984if ac_fn_c_try_link "$LINENO"; then : 30985 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 30986else 30987 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 30988fi 30989rm -f core conftest.err conftest.$ac_objext \ 30990 conftest$ac_exeext conftest.$ac_ext 30991LIBS=$ac_check_lib_save_LIBS 30992fi 30993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 30994$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 30995if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 30996 ac_cv_libuna_dummy=yes 30997else 30998 ac_cv_libuna=no 30999fi 31000 31001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31002$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31003if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31004 $as_echo_n "(cached) " >&6 31005else 31006 ac_check_lib_save_LIBS=$LIBS 31007LIBS="-luna $LIBS" 31008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31009/* end confdefs.h. */ 31010 31011/* Override any GCC internal prototype to avoid an error. 31012 Use char because int might match the return type of a GCC 31013 builtin and then its argument prototype would still apply. */ 31014#ifdef __cplusplus 31015extern "C" 31016#endif 31017char libuna_base64_stream_size_from_byte_stream (); 31018int 31019main () 31020{ 31021return libuna_base64_stream_size_from_byte_stream (); 31022 ; 31023 return 0; 31024} 31025_ACEOF 31026if ac_fn_c_try_link "$LINENO"; then : 31027 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31028else 31029 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31030fi 31031rm -f core conftest.err conftest.$ac_objext \ 31032 conftest$ac_exeext conftest.$ac_ext 31033LIBS=$ac_check_lib_save_LIBS 31034fi 31035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31036$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31037if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31038 ac_cv_libuna_dummy=yes 31039else 31040 ac_cv_libuna=no 31041fi 31042 31043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31044$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31045if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31046 $as_echo_n "(cached) " >&6 31047else 31048 ac_check_lib_save_LIBS=$LIBS 31049LIBS="-luna $LIBS" 31050cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31051/* end confdefs.h. */ 31052 31053/* Override any GCC internal prototype to avoid an error. 31054 Use char because int might match the return type of a GCC 31055 builtin and then its argument prototype would still apply. */ 31056#ifdef __cplusplus 31057extern "C" 31058#endif 31059char libuna_base64_stream_copy_from_byte_stream (); 31060int 31061main () 31062{ 31063return libuna_base64_stream_copy_from_byte_stream (); 31064 ; 31065 return 0; 31066} 31067_ACEOF 31068if ac_fn_c_try_link "$LINENO"; then : 31069 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31070else 31071 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31072fi 31073rm -f core conftest.err conftest.$ac_objext \ 31074 conftest$ac_exeext conftest.$ac_ext 31075LIBS=$ac_check_lib_save_LIBS 31076fi 31077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31078$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31079if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31080 ac_cv_libuna_dummy=yes 31081else 31082 ac_cv_libuna=no 31083fi 31084 31085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31086$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31087if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31088 $as_echo_n "(cached) " >&6 31089else 31090 ac_check_lib_save_LIBS=$LIBS 31091LIBS="-luna $LIBS" 31092cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31093/* end confdefs.h. */ 31094 31095/* Override any GCC internal prototype to avoid an error. 31096 Use char because int might match the return type of a GCC 31097 builtin and then its argument prototype would still apply. */ 31098#ifdef __cplusplus 31099extern "C" 31100#endif 31101char libuna_base64_stream_with_index_copy_from_byte_stream (); 31102int 31103main () 31104{ 31105return libuna_base64_stream_with_index_copy_from_byte_stream (); 31106 ; 31107 return 0; 31108} 31109_ACEOF 31110if ac_fn_c_try_link "$LINENO"; then : 31111 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31112else 31113 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31114fi 31115rm -f core conftest.err conftest.$ac_objext \ 31116 conftest$ac_exeext conftest.$ac_ext 31117LIBS=$ac_check_lib_save_LIBS 31118fi 31119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31120$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31121if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31122 ac_cv_libuna_dummy=yes 31123else 31124 ac_cv_libuna=no 31125fi 31126 31127 31128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31129$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31130if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31131 $as_echo_n "(cached) " >&6 31132else 31133 ac_check_lib_save_LIBS=$LIBS 31134LIBS="-luna $LIBS" 31135cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31136/* end confdefs.h. */ 31137 31138/* Override any GCC internal prototype to avoid an error. 31139 Use char because int might match the return type of a GCC 31140 builtin and then its argument prototype would still apply. */ 31141#ifdef __cplusplus 31142extern "C" 31143#endif 31144char libuna_byte_stream_size_from_utf8 (); 31145int 31146main () 31147{ 31148return libuna_byte_stream_size_from_utf8 (); 31149 ; 31150 return 0; 31151} 31152_ACEOF 31153if ac_fn_c_try_link "$LINENO"; then : 31154 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31155else 31156 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31157fi 31158rm -f core conftest.err conftest.$ac_objext \ 31159 conftest$ac_exeext conftest.$ac_ext 31160LIBS=$ac_check_lib_save_LIBS 31161fi 31162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31163$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31164if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31165 ac_cv_libuna_dummy=yes 31166else 31167 ac_cv_libuna=no 31168fi 31169 31170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31171$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31172if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31173 $as_echo_n "(cached) " >&6 31174else 31175 ac_check_lib_save_LIBS=$LIBS 31176LIBS="-luna $LIBS" 31177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31178/* end confdefs.h. */ 31179 31180/* Override any GCC internal prototype to avoid an error. 31181 Use char because int might match the return type of a GCC 31182 builtin and then its argument prototype would still apply. */ 31183#ifdef __cplusplus 31184extern "C" 31185#endif 31186char libuna_byte_stream_copy_from_utf8 (); 31187int 31188main () 31189{ 31190return libuna_byte_stream_copy_from_utf8 (); 31191 ; 31192 return 0; 31193} 31194_ACEOF 31195if ac_fn_c_try_link "$LINENO"; then : 31196 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31197else 31198 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31199fi 31200rm -f core conftest.err conftest.$ac_objext \ 31201 conftest$ac_exeext conftest.$ac_ext 31202LIBS=$ac_check_lib_save_LIBS 31203fi 31204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31205$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31206if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31207 ac_cv_libuna_dummy=yes 31208else 31209 ac_cv_libuna=no 31210fi 31211 31212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31213$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31214if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31215 $as_echo_n "(cached) " >&6 31216else 31217 ac_check_lib_save_LIBS=$LIBS 31218LIBS="-luna $LIBS" 31219cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31220/* end confdefs.h. */ 31221 31222/* Override any GCC internal prototype to avoid an error. 31223 Use char because int might match the return type of a GCC 31224 builtin and then its argument prototype would still apply. */ 31225#ifdef __cplusplus 31226extern "C" 31227#endif 31228char libuna_byte_stream_size_from_utf16 (); 31229int 31230main () 31231{ 31232return libuna_byte_stream_size_from_utf16 (); 31233 ; 31234 return 0; 31235} 31236_ACEOF 31237if ac_fn_c_try_link "$LINENO"; then : 31238 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31239else 31240 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31241fi 31242rm -f core conftest.err conftest.$ac_objext \ 31243 conftest$ac_exeext conftest.$ac_ext 31244LIBS=$ac_check_lib_save_LIBS 31245fi 31246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31247$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31248if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31249 ac_cv_libuna_dummy=yes 31250else 31251 ac_cv_libuna=no 31252fi 31253 31254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31255$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31256if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31257 $as_echo_n "(cached) " >&6 31258else 31259 ac_check_lib_save_LIBS=$LIBS 31260LIBS="-luna $LIBS" 31261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31262/* end confdefs.h. */ 31263 31264/* Override any GCC internal prototype to avoid an error. 31265 Use char because int might match the return type of a GCC 31266 builtin and then its argument prototype would still apply. */ 31267#ifdef __cplusplus 31268extern "C" 31269#endif 31270char libuna_byte_stream_copy_from_utf16 (); 31271int 31272main () 31273{ 31274return libuna_byte_stream_copy_from_utf16 (); 31275 ; 31276 return 0; 31277} 31278_ACEOF 31279if ac_fn_c_try_link "$LINENO"; then : 31280 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31281else 31282 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31283fi 31284rm -f core conftest.err conftest.$ac_objext \ 31285 conftest$ac_exeext conftest.$ac_ext 31286LIBS=$ac_check_lib_save_LIBS 31287fi 31288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31289$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31290if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31291 ac_cv_libuna_dummy=yes 31292else 31293 ac_cv_libuna=no 31294fi 31295 31296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31297$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31298if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31299 $as_echo_n "(cached) " >&6 31300else 31301 ac_check_lib_save_LIBS=$LIBS 31302LIBS="-luna $LIBS" 31303cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31304/* end confdefs.h. */ 31305 31306/* Override any GCC internal prototype to avoid an error. 31307 Use char because int might match the return type of a GCC 31308 builtin and then its argument prototype would still apply. */ 31309#ifdef __cplusplus 31310extern "C" 31311#endif 31312char libuna_byte_stream_size_from_utf32 (); 31313int 31314main () 31315{ 31316return libuna_byte_stream_size_from_utf32 (); 31317 ; 31318 return 0; 31319} 31320_ACEOF 31321if ac_fn_c_try_link "$LINENO"; then : 31322 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31323else 31324 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31325fi 31326rm -f core conftest.err conftest.$ac_objext \ 31327 conftest$ac_exeext conftest.$ac_ext 31328LIBS=$ac_check_lib_save_LIBS 31329fi 31330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31331$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31332if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31333 ac_cv_libuna_dummy=yes 31334else 31335 ac_cv_libuna=no 31336fi 31337 31338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31339$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31340if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31341 $as_echo_n "(cached) " >&6 31342else 31343 ac_check_lib_save_LIBS=$LIBS 31344LIBS="-luna $LIBS" 31345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31346/* end confdefs.h. */ 31347 31348/* Override any GCC internal prototype to avoid an error. 31349 Use char because int might match the return type of a GCC 31350 builtin and then its argument prototype would still apply. */ 31351#ifdef __cplusplus 31352extern "C" 31353#endif 31354char libuna_byte_stream_copy_from_utf32 (); 31355int 31356main () 31357{ 31358return libuna_byte_stream_copy_from_utf32 (); 31359 ; 31360 return 0; 31361} 31362_ACEOF 31363if ac_fn_c_try_link "$LINENO"; then : 31364 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31365else 31366 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31367fi 31368rm -f core conftest.err conftest.$ac_objext \ 31369 conftest$ac_exeext conftest.$ac_ext 31370LIBS=$ac_check_lib_save_LIBS 31371fi 31372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31373$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31374if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31375 ac_cv_libuna_dummy=yes 31376else 31377 ac_cv_libuna=no 31378fi 31379 31380 31381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31382$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31383if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31384 $as_echo_n "(cached) " >&6 31385else 31386 ac_check_lib_save_LIBS=$LIBS 31387LIBS="-luna $LIBS" 31388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31389/* end confdefs.h. */ 31390 31391/* Override any GCC internal prototype to avoid an error. 31392 Use char because int might match the return type of a GCC 31393 builtin and then its argument prototype would still apply. */ 31394#ifdef __cplusplus 31395extern "C" 31396#endif 31397char libuna_utf8_stream_size_from_utf8 (); 31398int 31399main () 31400{ 31401return libuna_utf8_stream_size_from_utf8 (); 31402 ; 31403 return 0; 31404} 31405_ACEOF 31406if ac_fn_c_try_link "$LINENO"; then : 31407 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31408else 31409 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31410fi 31411rm -f core conftest.err conftest.$ac_objext \ 31412 conftest$ac_exeext conftest.$ac_ext 31413LIBS=$ac_check_lib_save_LIBS 31414fi 31415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31416$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31417if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31418 ac_cv_libuna_dummy=yes 31419else 31420 ac_cv_libuna=no 31421fi 31422 31423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31424$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31425if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31426 $as_echo_n "(cached) " >&6 31427else 31428 ac_check_lib_save_LIBS=$LIBS 31429LIBS="-luna $LIBS" 31430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31431/* end confdefs.h. */ 31432 31433/* Override any GCC internal prototype to avoid an error. 31434 Use char because int might match the return type of a GCC 31435 builtin and then its argument prototype would still apply. */ 31436#ifdef __cplusplus 31437extern "C" 31438#endif 31439char libuna_utf8_stream_copy_from_utf8 (); 31440int 31441main () 31442{ 31443return libuna_utf8_stream_copy_from_utf8 (); 31444 ; 31445 return 0; 31446} 31447_ACEOF 31448if ac_fn_c_try_link "$LINENO"; then : 31449 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31450else 31451 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31452fi 31453rm -f core conftest.err conftest.$ac_objext \ 31454 conftest$ac_exeext conftest.$ac_ext 31455LIBS=$ac_check_lib_save_LIBS 31456fi 31457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31458$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31459if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31460 ac_cv_libuna_dummy=yes 31461else 31462 ac_cv_libuna=no 31463fi 31464 31465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31466$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31467if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31468 $as_echo_n "(cached) " >&6 31469else 31470 ac_check_lib_save_LIBS=$LIBS 31471LIBS="-luna $LIBS" 31472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31473/* end confdefs.h. */ 31474 31475/* Override any GCC internal prototype to avoid an error. 31476 Use char because int might match the return type of a GCC 31477 builtin and then its argument prototype would still apply. */ 31478#ifdef __cplusplus 31479extern "C" 31480#endif 31481char libuna_utf8_stream_size_from_utf16 (); 31482int 31483main () 31484{ 31485return libuna_utf8_stream_size_from_utf16 (); 31486 ; 31487 return 0; 31488} 31489_ACEOF 31490if ac_fn_c_try_link "$LINENO"; then : 31491 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31492else 31493 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31494fi 31495rm -f core conftest.err conftest.$ac_objext \ 31496 conftest$ac_exeext conftest.$ac_ext 31497LIBS=$ac_check_lib_save_LIBS 31498fi 31499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31500$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31501if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31502 ac_cv_libuna_dummy=yes 31503else 31504 ac_cv_libuna=no 31505fi 31506 31507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31508$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31509if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31510 $as_echo_n "(cached) " >&6 31511else 31512 ac_check_lib_save_LIBS=$LIBS 31513LIBS="-luna $LIBS" 31514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31515/* end confdefs.h. */ 31516 31517/* Override any GCC internal prototype to avoid an error. 31518 Use char because int might match the return type of a GCC 31519 builtin and then its argument prototype would still apply. */ 31520#ifdef __cplusplus 31521extern "C" 31522#endif 31523char libuna_utf8_stream_copy_from_utf16 (); 31524int 31525main () 31526{ 31527return libuna_utf8_stream_copy_from_utf16 (); 31528 ; 31529 return 0; 31530} 31531_ACEOF 31532if ac_fn_c_try_link "$LINENO"; then : 31533 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31534else 31535 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31536fi 31537rm -f core conftest.err conftest.$ac_objext \ 31538 conftest$ac_exeext conftest.$ac_ext 31539LIBS=$ac_check_lib_save_LIBS 31540fi 31541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31542$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31543if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31544 ac_cv_libuna_dummy=yes 31545else 31546 ac_cv_libuna=no 31547fi 31548 31549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31550$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31551if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31552 $as_echo_n "(cached) " >&6 31553else 31554 ac_check_lib_save_LIBS=$LIBS 31555LIBS="-luna $LIBS" 31556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31557/* end confdefs.h. */ 31558 31559/* Override any GCC internal prototype to avoid an error. 31560 Use char because int might match the return type of a GCC 31561 builtin and then its argument prototype would still apply. */ 31562#ifdef __cplusplus 31563extern "C" 31564#endif 31565char libuna_utf8_stream_size_from_utf32 (); 31566int 31567main () 31568{ 31569return libuna_utf8_stream_size_from_utf32 (); 31570 ; 31571 return 0; 31572} 31573_ACEOF 31574if ac_fn_c_try_link "$LINENO"; then : 31575 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31576else 31577 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31578fi 31579rm -f core conftest.err conftest.$ac_objext \ 31580 conftest$ac_exeext conftest.$ac_ext 31581LIBS=$ac_check_lib_save_LIBS 31582fi 31583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31584$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31585if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31586 ac_cv_libuna_dummy=yes 31587else 31588 ac_cv_libuna=no 31589fi 31590 31591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31592$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31593if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31594 $as_echo_n "(cached) " >&6 31595else 31596 ac_check_lib_save_LIBS=$LIBS 31597LIBS="-luna $LIBS" 31598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31599/* end confdefs.h. */ 31600 31601/* Override any GCC internal prototype to avoid an error. 31602 Use char because int might match the return type of a GCC 31603 builtin and then its argument prototype would still apply. */ 31604#ifdef __cplusplus 31605extern "C" 31606#endif 31607char libuna_utf8_stream_copy_from_utf32 (); 31608int 31609main () 31610{ 31611return libuna_utf8_stream_copy_from_utf32 (); 31612 ; 31613 return 0; 31614} 31615_ACEOF 31616if ac_fn_c_try_link "$LINENO"; then : 31617 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31618else 31619 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31620fi 31621rm -f core conftest.err conftest.$ac_objext \ 31622 conftest$ac_exeext conftest.$ac_ext 31623LIBS=$ac_check_lib_save_LIBS 31624fi 31625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31626$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31627if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31628 ac_cv_libuna_dummy=yes 31629else 31630 ac_cv_libuna=no 31631fi 31632 31633 31634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31635$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31636if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31637 $as_echo_n "(cached) " >&6 31638else 31639 ac_check_lib_save_LIBS=$LIBS 31640LIBS="-luna $LIBS" 31641cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31642/* end confdefs.h. */ 31643 31644/* Override any GCC internal prototype to avoid an error. 31645 Use char because int might match the return type of a GCC 31646 builtin and then its argument prototype would still apply. */ 31647#ifdef __cplusplus 31648extern "C" 31649#endif 31650char libuna_utf16_stream_size_from_utf8 (); 31651int 31652main () 31653{ 31654return libuna_utf16_stream_size_from_utf8 (); 31655 ; 31656 return 0; 31657} 31658_ACEOF 31659if ac_fn_c_try_link "$LINENO"; then : 31660 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31661else 31662 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31663fi 31664rm -f core conftest.err conftest.$ac_objext \ 31665 conftest$ac_exeext conftest.$ac_ext 31666LIBS=$ac_check_lib_save_LIBS 31667fi 31668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31669$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31670if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31671 ac_cv_libuna_dummy=yes 31672else 31673 ac_cv_libuna=no 31674fi 31675 31676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31677$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31678if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31679 $as_echo_n "(cached) " >&6 31680else 31681 ac_check_lib_save_LIBS=$LIBS 31682LIBS="-luna $LIBS" 31683cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31684/* end confdefs.h. */ 31685 31686/* Override any GCC internal prototype to avoid an error. 31687 Use char because int might match the return type of a GCC 31688 builtin and then its argument prototype would still apply. */ 31689#ifdef __cplusplus 31690extern "C" 31691#endif 31692char libuna_utf16_stream_copy_from_utf8 (); 31693int 31694main () 31695{ 31696return libuna_utf16_stream_copy_from_utf8 (); 31697 ; 31698 return 0; 31699} 31700_ACEOF 31701if ac_fn_c_try_link "$LINENO"; then : 31702 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31703else 31704 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31705fi 31706rm -f core conftest.err conftest.$ac_objext \ 31707 conftest$ac_exeext conftest.$ac_ext 31708LIBS=$ac_check_lib_save_LIBS 31709fi 31710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31711$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31712if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31713 ac_cv_libuna_dummy=yes 31714else 31715 ac_cv_libuna=no 31716fi 31717 31718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31719$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31720if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31721 $as_echo_n "(cached) " >&6 31722else 31723 ac_check_lib_save_LIBS=$LIBS 31724LIBS="-luna $LIBS" 31725cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31726/* end confdefs.h. */ 31727 31728/* Override any GCC internal prototype to avoid an error. 31729 Use char because int might match the return type of a GCC 31730 builtin and then its argument prototype would still apply. */ 31731#ifdef __cplusplus 31732extern "C" 31733#endif 31734char libuna_utf16_stream_size_from_utf16 (); 31735int 31736main () 31737{ 31738return libuna_utf16_stream_size_from_utf16 (); 31739 ; 31740 return 0; 31741} 31742_ACEOF 31743if ac_fn_c_try_link "$LINENO"; then : 31744 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31745else 31746 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31747fi 31748rm -f core conftest.err conftest.$ac_objext \ 31749 conftest$ac_exeext conftest.$ac_ext 31750LIBS=$ac_check_lib_save_LIBS 31751fi 31752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31753$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31754if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31755 ac_cv_libuna_dummy=yes 31756else 31757 ac_cv_libuna=no 31758fi 31759 31760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31761$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31762if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31763 $as_echo_n "(cached) " >&6 31764else 31765 ac_check_lib_save_LIBS=$LIBS 31766LIBS="-luna $LIBS" 31767cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31768/* end confdefs.h. */ 31769 31770/* Override any GCC internal prototype to avoid an error. 31771 Use char because int might match the return type of a GCC 31772 builtin and then its argument prototype would still apply. */ 31773#ifdef __cplusplus 31774extern "C" 31775#endif 31776char libuna_utf16_stream_copy_from_utf16 (); 31777int 31778main () 31779{ 31780return libuna_utf16_stream_copy_from_utf16 (); 31781 ; 31782 return 0; 31783} 31784_ACEOF 31785if ac_fn_c_try_link "$LINENO"; then : 31786 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31787else 31788 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31789fi 31790rm -f core conftest.err conftest.$ac_objext \ 31791 conftest$ac_exeext conftest.$ac_ext 31792LIBS=$ac_check_lib_save_LIBS 31793fi 31794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31795$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31796if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31797 ac_cv_libuna_dummy=yes 31798else 31799 ac_cv_libuna=no 31800fi 31801 31802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31803$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31804if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31805 $as_echo_n "(cached) " >&6 31806else 31807 ac_check_lib_save_LIBS=$LIBS 31808LIBS="-luna $LIBS" 31809cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31810/* end confdefs.h. */ 31811 31812/* Override any GCC internal prototype to avoid an error. 31813 Use char because int might match the return type of a GCC 31814 builtin and then its argument prototype would still apply. */ 31815#ifdef __cplusplus 31816extern "C" 31817#endif 31818char libuna_utf16_stream_size_from_utf32 (); 31819int 31820main () 31821{ 31822return libuna_utf16_stream_size_from_utf32 (); 31823 ; 31824 return 0; 31825} 31826_ACEOF 31827if ac_fn_c_try_link "$LINENO"; then : 31828 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31829else 31830 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31831fi 31832rm -f core conftest.err conftest.$ac_objext \ 31833 conftest$ac_exeext conftest.$ac_ext 31834LIBS=$ac_check_lib_save_LIBS 31835fi 31836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31837$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31838if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31839 ac_cv_libuna_dummy=yes 31840else 31841 ac_cv_libuna=no 31842fi 31843 31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31845$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31846if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31847 $as_echo_n "(cached) " >&6 31848else 31849 ac_check_lib_save_LIBS=$LIBS 31850LIBS="-luna $LIBS" 31851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31852/* end confdefs.h. */ 31853 31854/* Override any GCC internal prototype to avoid an error. 31855 Use char because int might match the return type of a GCC 31856 builtin and then its argument prototype would still apply. */ 31857#ifdef __cplusplus 31858extern "C" 31859#endif 31860char libuna_utf16_stream_copy_from_utf32 (); 31861int 31862main () 31863{ 31864return libuna_utf16_stream_copy_from_utf32 (); 31865 ; 31866 return 0; 31867} 31868_ACEOF 31869if ac_fn_c_try_link "$LINENO"; then : 31870 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31871else 31872 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31873fi 31874rm -f core conftest.err conftest.$ac_objext \ 31875 conftest$ac_exeext conftest.$ac_ext 31876LIBS=$ac_check_lib_save_LIBS 31877fi 31878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31879$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31880if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31881 ac_cv_libuna_dummy=yes 31882else 31883 ac_cv_libuna=no 31884fi 31885 31886 31887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31888$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31889if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31890 $as_echo_n "(cached) " >&6 31891else 31892 ac_check_lib_save_LIBS=$LIBS 31893LIBS="-luna $LIBS" 31894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31895/* end confdefs.h. */ 31896 31897/* Override any GCC internal prototype to avoid an error. 31898 Use char because int might match the return type of a GCC 31899 builtin and then its argument prototype would still apply. */ 31900#ifdef __cplusplus 31901extern "C" 31902#endif 31903char libuna_utf32_stream_size_from_utf8 (); 31904int 31905main () 31906{ 31907return libuna_utf32_stream_size_from_utf8 (); 31908 ; 31909 return 0; 31910} 31911_ACEOF 31912if ac_fn_c_try_link "$LINENO"; then : 31913 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31914else 31915 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31916fi 31917rm -f core conftest.err conftest.$ac_objext \ 31918 conftest$ac_exeext conftest.$ac_ext 31919LIBS=$ac_check_lib_save_LIBS 31920fi 31921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31922$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31923if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31924 ac_cv_libuna_dummy=yes 31925else 31926 ac_cv_libuna=no 31927fi 31928 31929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 31930$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 31931if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 31932 $as_echo_n "(cached) " >&6 31933else 31934 ac_check_lib_save_LIBS=$LIBS 31935LIBS="-luna $LIBS" 31936cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31937/* end confdefs.h. */ 31938 31939/* Override any GCC internal prototype to avoid an error. 31940 Use char because int might match the return type of a GCC 31941 builtin and then its argument prototype would still apply. */ 31942#ifdef __cplusplus 31943extern "C" 31944#endif 31945char libuna_utf32_stream_copy_from_utf8 (); 31946int 31947main () 31948{ 31949return libuna_utf32_stream_copy_from_utf8 (); 31950 ; 31951 return 0; 31952} 31953_ACEOF 31954if ac_fn_c_try_link "$LINENO"; then : 31955 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 31956else 31957 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 31958fi 31959rm -f core conftest.err conftest.$ac_objext \ 31960 conftest$ac_exeext conftest.$ac_ext 31961LIBS=$ac_check_lib_save_LIBS 31962fi 31963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 31964$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 31965if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 31966 ac_cv_libuna_dummy=yes 31967else 31968 ac_cv_libuna=no 31969fi 31970 31971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 31972$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 31973if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 31974 $as_echo_n "(cached) " >&6 31975else 31976 ac_check_lib_save_LIBS=$LIBS 31977LIBS="-luna $LIBS" 31978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31979/* end confdefs.h. */ 31980 31981/* Override any GCC internal prototype to avoid an error. 31982 Use char because int might match the return type of a GCC 31983 builtin and then its argument prototype would still apply. */ 31984#ifdef __cplusplus 31985extern "C" 31986#endif 31987char libuna_utf32_stream_size_from_utf16 (); 31988int 31989main () 31990{ 31991return libuna_utf32_stream_size_from_utf16 (); 31992 ; 31993 return 0; 31994} 31995_ACEOF 31996if ac_fn_c_try_link "$LINENO"; then : 31997 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 31998else 31999 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32000fi 32001rm -f core conftest.err conftest.$ac_objext \ 32002 conftest$ac_exeext conftest.$ac_ext 32003LIBS=$ac_check_lib_save_LIBS 32004fi 32005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32006$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32007if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32008 ac_cv_libuna_dummy=yes 32009else 32010 ac_cv_libuna=no 32011fi 32012 32013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32014$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32015if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32016 $as_echo_n "(cached) " >&6 32017else 32018 ac_check_lib_save_LIBS=$LIBS 32019LIBS="-luna $LIBS" 32020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32021/* end confdefs.h. */ 32022 32023/* Override any GCC internal prototype to avoid an error. 32024 Use char because int might match the return type of a GCC 32025 builtin and then its argument prototype would still apply. */ 32026#ifdef __cplusplus 32027extern "C" 32028#endif 32029char libuna_utf32_stream_copy_from_utf16 (); 32030int 32031main () 32032{ 32033return libuna_utf32_stream_copy_from_utf16 (); 32034 ; 32035 return 0; 32036} 32037_ACEOF 32038if ac_fn_c_try_link "$LINENO"; then : 32039 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32040else 32041 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32042fi 32043rm -f core conftest.err conftest.$ac_objext \ 32044 conftest$ac_exeext conftest.$ac_ext 32045LIBS=$ac_check_lib_save_LIBS 32046fi 32047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32048$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32049if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32050 ac_cv_libuna_dummy=yes 32051else 32052 ac_cv_libuna=no 32053fi 32054 32055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32056$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32057if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32058 $as_echo_n "(cached) " >&6 32059else 32060 ac_check_lib_save_LIBS=$LIBS 32061LIBS="-luna $LIBS" 32062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32063/* end confdefs.h. */ 32064 32065/* Override any GCC internal prototype to avoid an error. 32066 Use char because int might match the return type of a GCC 32067 builtin and then its argument prototype would still apply. */ 32068#ifdef __cplusplus 32069extern "C" 32070#endif 32071char libuna_utf32_stream_size_from_utf32 (); 32072int 32073main () 32074{ 32075return libuna_utf32_stream_size_from_utf32 (); 32076 ; 32077 return 0; 32078} 32079_ACEOF 32080if ac_fn_c_try_link "$LINENO"; then : 32081 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32082else 32083 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32084fi 32085rm -f core conftest.err conftest.$ac_objext \ 32086 conftest$ac_exeext conftest.$ac_ext 32087LIBS=$ac_check_lib_save_LIBS 32088fi 32089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32090$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32091if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32092 ac_cv_libuna_dummy=yes 32093else 32094 ac_cv_libuna=no 32095fi 32096 32097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32098$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32099if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32100 $as_echo_n "(cached) " >&6 32101else 32102 ac_check_lib_save_LIBS=$LIBS 32103LIBS="-luna $LIBS" 32104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32105/* end confdefs.h. */ 32106 32107/* Override any GCC internal prototype to avoid an error. 32108 Use char because int might match the return type of a GCC 32109 builtin and then its argument prototype would still apply. */ 32110#ifdef __cplusplus 32111extern "C" 32112#endif 32113char libuna_utf32_stream_copy_from_utf32 (); 32114int 32115main () 32116{ 32117return libuna_utf32_stream_copy_from_utf32 (); 32118 ; 32119 return 0; 32120} 32121_ACEOF 32122if ac_fn_c_try_link "$LINENO"; then : 32123 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32124else 32125 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32126fi 32127rm -f core conftest.err conftest.$ac_objext \ 32128 conftest$ac_exeext conftest.$ac_ext 32129LIBS=$ac_check_lib_save_LIBS 32130fi 32131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32132$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32133if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32134 ac_cv_libuna_dummy=yes 32135else 32136 ac_cv_libuna=no 32137fi 32138 32139 32140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32141$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32142if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32143 $as_echo_n "(cached) " >&6 32144else 32145 ac_check_lib_save_LIBS=$LIBS 32146LIBS="-luna $LIBS" 32147cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32148/* end confdefs.h. */ 32149 32150/* Override any GCC internal prototype to avoid an error. 32151 Use char because int might match the return type of a GCC 32152 builtin and then its argument prototype would still apply. */ 32153#ifdef __cplusplus 32154extern "C" 32155#endif 32156char libuna_utf8_string_size_from_byte_stream (); 32157int 32158main () 32159{ 32160return libuna_utf8_string_size_from_byte_stream (); 32161 ; 32162 return 0; 32163} 32164_ACEOF 32165if ac_fn_c_try_link "$LINENO"; then : 32166 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32167else 32168 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32169fi 32170rm -f core conftest.err conftest.$ac_objext \ 32171 conftest$ac_exeext conftest.$ac_ext 32172LIBS=$ac_check_lib_save_LIBS 32173fi 32174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32175$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32176if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32177 ac_cv_libuna_dummy=yes 32178else 32179 ac_cv_libuna=no 32180fi 32181 32182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32183$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32184if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32185 $as_echo_n "(cached) " >&6 32186else 32187 ac_check_lib_save_LIBS=$LIBS 32188LIBS="-luna $LIBS" 32189cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32190/* end confdefs.h. */ 32191 32192/* Override any GCC internal prototype to avoid an error. 32193 Use char because int might match the return type of a GCC 32194 builtin and then its argument prototype would still apply. */ 32195#ifdef __cplusplus 32196extern "C" 32197#endif 32198char libuna_utf8_string_copy_from_byte_stream (); 32199int 32200main () 32201{ 32202return libuna_utf8_string_copy_from_byte_stream (); 32203 ; 32204 return 0; 32205} 32206_ACEOF 32207if ac_fn_c_try_link "$LINENO"; then : 32208 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32209else 32210 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32211fi 32212rm -f core conftest.err conftest.$ac_objext \ 32213 conftest$ac_exeext conftest.$ac_ext 32214LIBS=$ac_check_lib_save_LIBS 32215fi 32216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32217$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32218if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32219 ac_cv_libuna_dummy=yes 32220else 32221 ac_cv_libuna=no 32222fi 32223 32224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32225$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32226if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32227 $as_echo_n "(cached) " >&6 32228else 32229 ac_check_lib_save_LIBS=$LIBS 32230LIBS="-luna $LIBS" 32231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32232/* end confdefs.h. */ 32233 32234/* Override any GCC internal prototype to avoid an error. 32235 Use char because int might match the return type of a GCC 32236 builtin and then its argument prototype would still apply. */ 32237#ifdef __cplusplus 32238extern "C" 32239#endif 32240char libuna_utf8_string_with_index_copy_from_byte_stream (); 32241int 32242main () 32243{ 32244return libuna_utf8_string_with_index_copy_from_byte_stream (); 32245 ; 32246 return 0; 32247} 32248_ACEOF 32249if ac_fn_c_try_link "$LINENO"; then : 32250 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32251else 32252 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32253fi 32254rm -f core conftest.err conftest.$ac_objext \ 32255 conftest$ac_exeext conftest.$ac_ext 32256LIBS=$ac_check_lib_save_LIBS 32257fi 32258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32259$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32260if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32261 ac_cv_libuna_dummy=yes 32262else 32263 ac_cv_libuna=no 32264fi 32265 32266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32267$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32268if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32269 $as_echo_n "(cached) " >&6 32270else 32271 ac_check_lib_save_LIBS=$LIBS 32272LIBS="-luna $LIBS" 32273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32274/* end confdefs.h. */ 32275 32276/* Override any GCC internal prototype to avoid an error. 32277 Use char because int might match the return type of a GCC 32278 builtin and then its argument prototype would still apply. */ 32279#ifdef __cplusplus 32280extern "C" 32281#endif 32282char libuna_utf8_string_size_from_utf7_stream (); 32283int 32284main () 32285{ 32286return libuna_utf8_string_size_from_utf7_stream (); 32287 ; 32288 return 0; 32289} 32290_ACEOF 32291if ac_fn_c_try_link "$LINENO"; then : 32292 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32293else 32294 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32295fi 32296rm -f core conftest.err conftest.$ac_objext \ 32297 conftest$ac_exeext conftest.$ac_ext 32298LIBS=$ac_check_lib_save_LIBS 32299fi 32300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32301$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32302if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32303 ac_cv_libuna_dummy=yes 32304else 32305 ac_cv_libuna=no 32306fi 32307 32308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32309$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32310if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32311 $as_echo_n "(cached) " >&6 32312else 32313 ac_check_lib_save_LIBS=$LIBS 32314LIBS="-luna $LIBS" 32315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32316/* end confdefs.h. */ 32317 32318/* Override any GCC internal prototype to avoid an error. 32319 Use char because int might match the return type of a GCC 32320 builtin and then its argument prototype would still apply. */ 32321#ifdef __cplusplus 32322extern "C" 32323#endif 32324char libuna_utf8_string_copy_from_utf7_stream (); 32325int 32326main () 32327{ 32328return libuna_utf8_string_copy_from_utf7_stream (); 32329 ; 32330 return 0; 32331} 32332_ACEOF 32333if ac_fn_c_try_link "$LINENO"; then : 32334 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32335else 32336 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32337fi 32338rm -f core conftest.err conftest.$ac_objext \ 32339 conftest$ac_exeext conftest.$ac_ext 32340LIBS=$ac_check_lib_save_LIBS 32341fi 32342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32343$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32344if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32345 ac_cv_libuna_dummy=yes 32346else 32347 ac_cv_libuna=no 32348fi 32349 32350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32351$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32352if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32353 $as_echo_n "(cached) " >&6 32354else 32355 ac_check_lib_save_LIBS=$LIBS 32356LIBS="-luna $LIBS" 32357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32358/* end confdefs.h. */ 32359 32360/* Override any GCC internal prototype to avoid an error. 32361 Use char because int might match the return type of a GCC 32362 builtin and then its argument prototype would still apply. */ 32363#ifdef __cplusplus 32364extern "C" 32365#endif 32366char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32367int 32368main () 32369{ 32370return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32371 ; 32372 return 0; 32373} 32374_ACEOF 32375if ac_fn_c_try_link "$LINENO"; then : 32376 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32377else 32378 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32379fi 32380rm -f core conftest.err conftest.$ac_objext \ 32381 conftest$ac_exeext conftest.$ac_ext 32382LIBS=$ac_check_lib_save_LIBS 32383fi 32384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32385$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32386if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32387 ac_cv_libuna_dummy=yes 32388else 32389 ac_cv_libuna=no 32390fi 32391 32392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32393$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32394if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32395 $as_echo_n "(cached) " >&6 32396else 32397 ac_check_lib_save_LIBS=$LIBS 32398LIBS="-luna $LIBS" 32399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32400/* end confdefs.h. */ 32401 32402/* Override any GCC internal prototype to avoid an error. 32403 Use char because int might match the return type of a GCC 32404 builtin and then its argument prototype would still apply. */ 32405#ifdef __cplusplus 32406extern "C" 32407#endif 32408char libuna_utf8_string_size_from_utf8_stream (); 32409int 32410main () 32411{ 32412return libuna_utf8_string_size_from_utf8_stream (); 32413 ; 32414 return 0; 32415} 32416_ACEOF 32417if ac_fn_c_try_link "$LINENO"; then : 32418 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32419else 32420 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32421fi 32422rm -f core conftest.err conftest.$ac_objext \ 32423 conftest$ac_exeext conftest.$ac_ext 32424LIBS=$ac_check_lib_save_LIBS 32425fi 32426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32427$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32428if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32429 ac_cv_libuna_dummy=yes 32430else 32431 ac_cv_libuna=no 32432fi 32433 32434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32435$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32436if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32437 $as_echo_n "(cached) " >&6 32438else 32439 ac_check_lib_save_LIBS=$LIBS 32440LIBS="-luna $LIBS" 32441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32442/* end confdefs.h. */ 32443 32444/* Override any GCC internal prototype to avoid an error. 32445 Use char because int might match the return type of a GCC 32446 builtin and then its argument prototype would still apply. */ 32447#ifdef __cplusplus 32448extern "C" 32449#endif 32450char libuna_utf8_string_copy_from_utf8_stream (); 32451int 32452main () 32453{ 32454return libuna_utf8_string_copy_from_utf8_stream (); 32455 ; 32456 return 0; 32457} 32458_ACEOF 32459if ac_fn_c_try_link "$LINENO"; then : 32460 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32461else 32462 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32463fi 32464rm -f core conftest.err conftest.$ac_objext \ 32465 conftest$ac_exeext conftest.$ac_ext 32466LIBS=$ac_check_lib_save_LIBS 32467fi 32468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32469$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32470if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32471 ac_cv_libuna_dummy=yes 32472else 32473 ac_cv_libuna=no 32474fi 32475 32476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32477$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32478if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32479 $as_echo_n "(cached) " >&6 32480else 32481 ac_check_lib_save_LIBS=$LIBS 32482LIBS="-luna $LIBS" 32483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32484/* end confdefs.h. */ 32485 32486/* Override any GCC internal prototype to avoid an error. 32487 Use char because int might match the return type of a GCC 32488 builtin and then its argument prototype would still apply. */ 32489#ifdef __cplusplus 32490extern "C" 32491#endif 32492char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32493int 32494main () 32495{ 32496return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32497 ; 32498 return 0; 32499} 32500_ACEOF 32501if ac_fn_c_try_link "$LINENO"; then : 32502 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32503else 32504 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32505fi 32506rm -f core conftest.err conftest.$ac_objext \ 32507 conftest$ac_exeext conftest.$ac_ext 32508LIBS=$ac_check_lib_save_LIBS 32509fi 32510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32511$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32512if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32513 ac_cv_libuna_dummy=yes 32514else 32515 ac_cv_libuna=no 32516fi 32517 32518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32519$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32520if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32521 $as_echo_n "(cached) " >&6 32522else 32523 ac_check_lib_save_LIBS=$LIBS 32524LIBS="-luna $LIBS" 32525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32526/* end confdefs.h. */ 32527 32528/* Override any GCC internal prototype to avoid an error. 32529 Use char because int might match the return type of a GCC 32530 builtin and then its argument prototype would still apply. */ 32531#ifdef __cplusplus 32532extern "C" 32533#endif 32534char libuna_utf8_string_size_from_utf16_stream (); 32535int 32536main () 32537{ 32538return libuna_utf8_string_size_from_utf16_stream (); 32539 ; 32540 return 0; 32541} 32542_ACEOF 32543if ac_fn_c_try_link "$LINENO"; then : 32544 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32545else 32546 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32547fi 32548rm -f core conftest.err conftest.$ac_objext \ 32549 conftest$ac_exeext conftest.$ac_ext 32550LIBS=$ac_check_lib_save_LIBS 32551fi 32552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32553$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32554if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32555 ac_cv_libuna_dummy=yes 32556else 32557 ac_cv_libuna=no 32558fi 32559 32560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32561$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32562if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32563 $as_echo_n "(cached) " >&6 32564else 32565 ac_check_lib_save_LIBS=$LIBS 32566LIBS="-luna $LIBS" 32567cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32568/* end confdefs.h. */ 32569 32570/* Override any GCC internal prototype to avoid an error. 32571 Use char because int might match the return type of a GCC 32572 builtin and then its argument prototype would still apply. */ 32573#ifdef __cplusplus 32574extern "C" 32575#endif 32576char libuna_utf8_string_copy_from_utf16_stream (); 32577int 32578main () 32579{ 32580return libuna_utf8_string_copy_from_utf16_stream (); 32581 ; 32582 return 0; 32583} 32584_ACEOF 32585if ac_fn_c_try_link "$LINENO"; then : 32586 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32587else 32588 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32589fi 32590rm -f core conftest.err conftest.$ac_objext \ 32591 conftest$ac_exeext conftest.$ac_ext 32592LIBS=$ac_check_lib_save_LIBS 32593fi 32594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32595$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32596if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32597 ac_cv_libuna_dummy=yes 32598else 32599 ac_cv_libuna=no 32600fi 32601 32602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32603$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32604if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32605 $as_echo_n "(cached) " >&6 32606else 32607 ac_check_lib_save_LIBS=$LIBS 32608LIBS="-luna $LIBS" 32609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32610/* end confdefs.h. */ 32611 32612/* Override any GCC internal prototype to avoid an error. 32613 Use char because int might match the return type of a GCC 32614 builtin and then its argument prototype would still apply. */ 32615#ifdef __cplusplus 32616extern "C" 32617#endif 32618char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32619int 32620main () 32621{ 32622return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32623 ; 32624 return 0; 32625} 32626_ACEOF 32627if ac_fn_c_try_link "$LINENO"; then : 32628 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32629else 32630 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32631fi 32632rm -f core conftest.err conftest.$ac_objext \ 32633 conftest$ac_exeext conftest.$ac_ext 32634LIBS=$ac_check_lib_save_LIBS 32635fi 32636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32637$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32638if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32639 ac_cv_libuna_dummy=yes 32640else 32641 ac_cv_libuna=no 32642fi 32643 32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32645$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32646if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32647 $as_echo_n "(cached) " >&6 32648else 32649 ac_check_lib_save_LIBS=$LIBS 32650LIBS="-luna $LIBS" 32651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32652/* end confdefs.h. */ 32653 32654/* Override any GCC internal prototype to avoid an error. 32655 Use char because int might match the return type of a GCC 32656 builtin and then its argument prototype would still apply. */ 32657#ifdef __cplusplus 32658extern "C" 32659#endif 32660char libuna_utf8_string_size_from_utf32_stream (); 32661int 32662main () 32663{ 32664return libuna_utf8_string_size_from_utf32_stream (); 32665 ; 32666 return 0; 32667} 32668_ACEOF 32669if ac_fn_c_try_link "$LINENO"; then : 32670 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32671else 32672 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32673fi 32674rm -f core conftest.err conftest.$ac_objext \ 32675 conftest$ac_exeext conftest.$ac_ext 32676LIBS=$ac_check_lib_save_LIBS 32677fi 32678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32679$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32680if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32681 ac_cv_libuna_dummy=yes 32682else 32683 ac_cv_libuna=no 32684fi 32685 32686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32687$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32688if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32689 $as_echo_n "(cached) " >&6 32690else 32691 ac_check_lib_save_LIBS=$LIBS 32692LIBS="-luna $LIBS" 32693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32694/* end confdefs.h. */ 32695 32696/* Override any GCC internal prototype to avoid an error. 32697 Use char because int might match the return type of a GCC 32698 builtin and then its argument prototype would still apply. */ 32699#ifdef __cplusplus 32700extern "C" 32701#endif 32702char libuna_utf8_string_copy_from_utf32_stream (); 32703int 32704main () 32705{ 32706return libuna_utf8_string_copy_from_utf32_stream (); 32707 ; 32708 return 0; 32709} 32710_ACEOF 32711if ac_fn_c_try_link "$LINENO"; then : 32712 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32713else 32714 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32715fi 32716rm -f core conftest.err conftest.$ac_objext \ 32717 conftest$ac_exeext conftest.$ac_ext 32718LIBS=$ac_check_lib_save_LIBS 32719fi 32720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32721$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32722if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32723 ac_cv_libuna_dummy=yes 32724else 32725 ac_cv_libuna=no 32726fi 32727 32728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32729$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32730if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32731 $as_echo_n "(cached) " >&6 32732else 32733 ac_check_lib_save_LIBS=$LIBS 32734LIBS="-luna $LIBS" 32735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32736/* end confdefs.h. */ 32737 32738/* Override any GCC internal prototype to avoid an error. 32739 Use char because int might match the return type of a GCC 32740 builtin and then its argument prototype would still apply. */ 32741#ifdef __cplusplus 32742extern "C" 32743#endif 32744char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32745int 32746main () 32747{ 32748return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32749 ; 32750 return 0; 32751} 32752_ACEOF 32753if ac_fn_c_try_link "$LINENO"; then : 32754 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32755else 32756 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32757fi 32758rm -f core conftest.err conftest.$ac_objext \ 32759 conftest$ac_exeext conftest.$ac_ext 32760LIBS=$ac_check_lib_save_LIBS 32761fi 32762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32763$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32764if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32765 ac_cv_libuna_dummy=yes 32766else 32767 ac_cv_libuna=no 32768fi 32769 32770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32771$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32772if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32773 $as_echo_n "(cached) " >&6 32774else 32775 ac_check_lib_save_LIBS=$LIBS 32776LIBS="-luna $LIBS" 32777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32778/* end confdefs.h. */ 32779 32780/* Override any GCC internal prototype to avoid an error. 32781 Use char because int might match the return type of a GCC 32782 builtin and then its argument prototype would still apply. */ 32783#ifdef __cplusplus 32784extern "C" 32785#endif 32786char libuna_utf8_string_size_from_utf16 (); 32787int 32788main () 32789{ 32790return libuna_utf8_string_size_from_utf16 (); 32791 ; 32792 return 0; 32793} 32794_ACEOF 32795if ac_fn_c_try_link "$LINENO"; then : 32796 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32797else 32798 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32799fi 32800rm -f core conftest.err conftest.$ac_objext \ 32801 conftest$ac_exeext conftest.$ac_ext 32802LIBS=$ac_check_lib_save_LIBS 32803fi 32804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32805$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32806if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32807 ac_cv_libuna_dummy=yes 32808else 32809 ac_cv_libuna=no 32810fi 32811 32812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32813$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32814if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32815 $as_echo_n "(cached) " >&6 32816else 32817 ac_check_lib_save_LIBS=$LIBS 32818LIBS="-luna $LIBS" 32819cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32820/* end confdefs.h. */ 32821 32822/* Override any GCC internal prototype to avoid an error. 32823 Use char because int might match the return type of a GCC 32824 builtin and then its argument prototype would still apply. */ 32825#ifdef __cplusplus 32826extern "C" 32827#endif 32828char libuna_utf8_string_copy_from_utf16 (); 32829int 32830main () 32831{ 32832return libuna_utf8_string_copy_from_utf16 (); 32833 ; 32834 return 0; 32835} 32836_ACEOF 32837if ac_fn_c_try_link "$LINENO"; then : 32838 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32839else 32840 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32841fi 32842rm -f core conftest.err conftest.$ac_objext \ 32843 conftest$ac_exeext conftest.$ac_ext 32844LIBS=$ac_check_lib_save_LIBS 32845fi 32846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32847$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32848if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32849 ac_cv_libuna_dummy=yes 32850else 32851 ac_cv_libuna=no 32852fi 32853 32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32855$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32856if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32857 $as_echo_n "(cached) " >&6 32858else 32859 ac_check_lib_save_LIBS=$LIBS 32860LIBS="-luna $LIBS" 32861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32862/* end confdefs.h. */ 32863 32864/* Override any GCC internal prototype to avoid an error. 32865 Use char because int might match the return type of a GCC 32866 builtin and then its argument prototype would still apply. */ 32867#ifdef __cplusplus 32868extern "C" 32869#endif 32870char libuna_utf8_string_with_index_copy_from_utf16 (); 32871int 32872main () 32873{ 32874return libuna_utf8_string_with_index_copy_from_utf16 (); 32875 ; 32876 return 0; 32877} 32878_ACEOF 32879if ac_fn_c_try_link "$LINENO"; then : 32880 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32881else 32882 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32883fi 32884rm -f core conftest.err conftest.$ac_objext \ 32885 conftest$ac_exeext conftest.$ac_ext 32886LIBS=$ac_check_lib_save_LIBS 32887fi 32888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32889$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32890if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32891 ac_cv_libuna_dummy=yes 32892else 32893 ac_cv_libuna=no 32894fi 32895 32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32897$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32898if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32899 $as_echo_n "(cached) " >&6 32900else 32901 ac_check_lib_save_LIBS=$LIBS 32902LIBS="-luna $LIBS" 32903cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32904/* end confdefs.h. */ 32905 32906/* Override any GCC internal prototype to avoid an error. 32907 Use char because int might match the return type of a GCC 32908 builtin and then its argument prototype would still apply. */ 32909#ifdef __cplusplus 32910extern "C" 32911#endif 32912char libuna_utf8_string_size_from_utf32 (); 32913int 32914main () 32915{ 32916return libuna_utf8_string_size_from_utf32 (); 32917 ; 32918 return 0; 32919} 32920_ACEOF 32921if ac_fn_c_try_link "$LINENO"; then : 32922 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32923else 32924 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 32925fi 32926rm -f core conftest.err conftest.$ac_objext \ 32927 conftest$ac_exeext conftest.$ac_ext 32928LIBS=$ac_check_lib_save_LIBS 32929fi 32930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 32931$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 32932if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 32933 ac_cv_libuna_dummy=yes 32934else 32935 ac_cv_libuna=no 32936fi 32937 32938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 32939$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 32940if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 32941 $as_echo_n "(cached) " >&6 32942else 32943 ac_check_lib_save_LIBS=$LIBS 32944LIBS="-luna $LIBS" 32945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32946/* end confdefs.h. */ 32947 32948/* Override any GCC internal prototype to avoid an error. 32949 Use char because int might match the return type of a GCC 32950 builtin and then its argument prototype would still apply. */ 32951#ifdef __cplusplus 32952extern "C" 32953#endif 32954char libuna_utf8_string_copy_from_utf32 (); 32955int 32956main () 32957{ 32958return libuna_utf8_string_copy_from_utf32 (); 32959 ; 32960 return 0; 32961} 32962_ACEOF 32963if ac_fn_c_try_link "$LINENO"; then : 32964 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 32965else 32966 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 32967fi 32968rm -f core conftest.err conftest.$ac_objext \ 32969 conftest$ac_exeext conftest.$ac_ext 32970LIBS=$ac_check_lib_save_LIBS 32971fi 32972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 32973$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 32974if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 32975 ac_cv_libuna_dummy=yes 32976else 32977 ac_cv_libuna=no 32978fi 32979 32980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 32981$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 32982if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 32983 $as_echo_n "(cached) " >&6 32984else 32985 ac_check_lib_save_LIBS=$LIBS 32986LIBS="-luna $LIBS" 32987cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32988/* end confdefs.h. */ 32989 32990/* Override any GCC internal prototype to avoid an error. 32991 Use char because int might match the return type of a GCC 32992 builtin and then its argument prototype would still apply. */ 32993#ifdef __cplusplus 32994extern "C" 32995#endif 32996char libuna_utf8_string_with_index_copy_from_utf32 (); 32997int 32998main () 32999{ 33000return libuna_utf8_string_with_index_copy_from_utf32 (); 33001 ; 33002 return 0; 33003} 33004_ACEOF 33005if ac_fn_c_try_link "$LINENO"; then : 33006 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33007else 33008 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33009fi 33010rm -f core conftest.err conftest.$ac_objext \ 33011 conftest$ac_exeext conftest.$ac_ext 33012LIBS=$ac_check_lib_save_LIBS 33013fi 33014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33015$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33016if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33017 ac_cv_libuna_dummy=yes 33018else 33019 ac_cv_libuna=no 33020fi 33021 33022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33023$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33024if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33025 $as_echo_n "(cached) " >&6 33026else 33027 ac_check_lib_save_LIBS=$LIBS 33028LIBS="-luna $LIBS" 33029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33030/* end confdefs.h. */ 33031 33032/* Override any GCC internal prototype to avoid an error. 33033 Use char because int might match the return type of a GCC 33034 builtin and then its argument prototype would still apply. */ 33035#ifdef __cplusplus 33036extern "C" 33037#endif 33038char libuna_utf8_string_size_from_scsu_stream (); 33039int 33040main () 33041{ 33042return libuna_utf8_string_size_from_scsu_stream (); 33043 ; 33044 return 0; 33045} 33046_ACEOF 33047if ac_fn_c_try_link "$LINENO"; then : 33048 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33049else 33050 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33051fi 33052rm -f core conftest.err conftest.$ac_objext \ 33053 conftest$ac_exeext conftest.$ac_ext 33054LIBS=$ac_check_lib_save_LIBS 33055fi 33056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33057$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33058if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33059 ac_cv_libuna_dummy=yes 33060else 33061 ac_cv_libuna=no 33062fi 33063 33064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33065$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33066if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33067 $as_echo_n "(cached) " >&6 33068else 33069 ac_check_lib_save_LIBS=$LIBS 33070LIBS="-luna $LIBS" 33071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33072/* end confdefs.h. */ 33073 33074/* Override any GCC internal prototype to avoid an error. 33075 Use char because int might match the return type of a GCC 33076 builtin and then its argument prototype would still apply. */ 33077#ifdef __cplusplus 33078extern "C" 33079#endif 33080char libuna_utf8_string_copy_from_scsu_stream (); 33081int 33082main () 33083{ 33084return libuna_utf8_string_copy_from_scsu_stream (); 33085 ; 33086 return 0; 33087} 33088_ACEOF 33089if ac_fn_c_try_link "$LINENO"; then : 33090 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33091else 33092 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33093fi 33094rm -f core conftest.err conftest.$ac_objext \ 33095 conftest$ac_exeext conftest.$ac_ext 33096LIBS=$ac_check_lib_save_LIBS 33097fi 33098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33099$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33100if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33101 ac_cv_libuna_dummy=yes 33102else 33103 ac_cv_libuna=no 33104fi 33105 33106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33107$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33108if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33109 $as_echo_n "(cached) " >&6 33110else 33111 ac_check_lib_save_LIBS=$LIBS 33112LIBS="-luna $LIBS" 33113cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33114/* end confdefs.h. */ 33115 33116/* Override any GCC internal prototype to avoid an error. 33117 Use char because int might match the return type of a GCC 33118 builtin and then its argument prototype would still apply. */ 33119#ifdef __cplusplus 33120extern "C" 33121#endif 33122char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33123int 33124main () 33125{ 33126return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33127 ; 33128 return 0; 33129} 33130_ACEOF 33131if ac_fn_c_try_link "$LINENO"; then : 33132 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33133else 33134 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33135fi 33136rm -f core conftest.err conftest.$ac_objext \ 33137 conftest$ac_exeext conftest.$ac_ext 33138LIBS=$ac_check_lib_save_LIBS 33139fi 33140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33141$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33142if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33143 ac_cv_libuna_dummy=yes 33144else 33145 ac_cv_libuna=no 33146fi 33147 33148 33149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33150$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33151if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33152 $as_echo_n "(cached) " >&6 33153else 33154 ac_check_lib_save_LIBS=$LIBS 33155LIBS="-luna $LIBS" 33156cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33157/* end confdefs.h. */ 33158 33159/* Override any GCC internal prototype to avoid an error. 33160 Use char because int might match the return type of a GCC 33161 builtin and then its argument prototype would still apply. */ 33162#ifdef __cplusplus 33163extern "C" 33164#endif 33165char libuna_utf16_string_size_from_byte_stream (); 33166int 33167main () 33168{ 33169return libuna_utf16_string_size_from_byte_stream (); 33170 ; 33171 return 0; 33172} 33173_ACEOF 33174if ac_fn_c_try_link "$LINENO"; then : 33175 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33176else 33177 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33178fi 33179rm -f core conftest.err conftest.$ac_objext \ 33180 conftest$ac_exeext conftest.$ac_ext 33181LIBS=$ac_check_lib_save_LIBS 33182fi 33183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33184$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33185if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33186 ac_cv_libuna_dummy=yes 33187else 33188 ac_cv_libuna=no 33189fi 33190 33191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33192$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33193if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33194 $as_echo_n "(cached) " >&6 33195else 33196 ac_check_lib_save_LIBS=$LIBS 33197LIBS="-luna $LIBS" 33198cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33199/* end confdefs.h. */ 33200 33201/* Override any GCC internal prototype to avoid an error. 33202 Use char because int might match the return type of a GCC 33203 builtin and then its argument prototype would still apply. */ 33204#ifdef __cplusplus 33205extern "C" 33206#endif 33207char libuna_utf16_string_copy_from_byte_stream (); 33208int 33209main () 33210{ 33211return libuna_utf16_string_copy_from_byte_stream (); 33212 ; 33213 return 0; 33214} 33215_ACEOF 33216if ac_fn_c_try_link "$LINENO"; then : 33217 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33218else 33219 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33220fi 33221rm -f core conftest.err conftest.$ac_objext \ 33222 conftest$ac_exeext conftest.$ac_ext 33223LIBS=$ac_check_lib_save_LIBS 33224fi 33225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33226$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33227if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33228 ac_cv_libuna_dummy=yes 33229else 33230 ac_cv_libuna=no 33231fi 33232 33233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33234$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33235if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33236 $as_echo_n "(cached) " >&6 33237else 33238 ac_check_lib_save_LIBS=$LIBS 33239LIBS="-luna $LIBS" 33240cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33241/* end confdefs.h. */ 33242 33243/* Override any GCC internal prototype to avoid an error. 33244 Use char because int might match the return type of a GCC 33245 builtin and then its argument prototype would still apply. */ 33246#ifdef __cplusplus 33247extern "C" 33248#endif 33249char libuna_utf16_string_with_index_copy_from_byte_stream (); 33250int 33251main () 33252{ 33253return libuna_utf16_string_with_index_copy_from_byte_stream (); 33254 ; 33255 return 0; 33256} 33257_ACEOF 33258if ac_fn_c_try_link "$LINENO"; then : 33259 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33260else 33261 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33262fi 33263rm -f core conftest.err conftest.$ac_objext \ 33264 conftest$ac_exeext conftest.$ac_ext 33265LIBS=$ac_check_lib_save_LIBS 33266fi 33267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33268$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33269if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33270 ac_cv_libuna_dummy=yes 33271else 33272 ac_cv_libuna=no 33273fi 33274 33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33276$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33277if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33278 $as_echo_n "(cached) " >&6 33279else 33280 ac_check_lib_save_LIBS=$LIBS 33281LIBS="-luna $LIBS" 33282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33283/* end confdefs.h. */ 33284 33285/* Override any GCC internal prototype to avoid an error. 33286 Use char because int might match the return type of a GCC 33287 builtin and then its argument prototype would still apply. */ 33288#ifdef __cplusplus 33289extern "C" 33290#endif 33291char libuna_utf16_string_size_from_utf7_stream (); 33292int 33293main () 33294{ 33295return libuna_utf16_string_size_from_utf7_stream (); 33296 ; 33297 return 0; 33298} 33299_ACEOF 33300if ac_fn_c_try_link "$LINENO"; then : 33301 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33302else 33303 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33304fi 33305rm -f core conftest.err conftest.$ac_objext \ 33306 conftest$ac_exeext conftest.$ac_ext 33307LIBS=$ac_check_lib_save_LIBS 33308fi 33309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33310$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33311if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33312 ac_cv_libuna_dummy=yes 33313else 33314 ac_cv_libuna=no 33315fi 33316 33317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33318$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33319if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33320 $as_echo_n "(cached) " >&6 33321else 33322 ac_check_lib_save_LIBS=$LIBS 33323LIBS="-luna $LIBS" 33324cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33325/* end confdefs.h. */ 33326 33327/* Override any GCC internal prototype to avoid an error. 33328 Use char because int might match the return type of a GCC 33329 builtin and then its argument prototype would still apply. */ 33330#ifdef __cplusplus 33331extern "C" 33332#endif 33333char libuna_utf16_string_copy_from_utf7_stream (); 33334int 33335main () 33336{ 33337return libuna_utf16_string_copy_from_utf7_stream (); 33338 ; 33339 return 0; 33340} 33341_ACEOF 33342if ac_fn_c_try_link "$LINENO"; then : 33343 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33344else 33345 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33346fi 33347rm -f core conftest.err conftest.$ac_objext \ 33348 conftest$ac_exeext conftest.$ac_ext 33349LIBS=$ac_check_lib_save_LIBS 33350fi 33351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33352$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33353if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33354 ac_cv_libuna_dummy=yes 33355else 33356 ac_cv_libuna=no 33357fi 33358 33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33360$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33361if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33362 $as_echo_n "(cached) " >&6 33363else 33364 ac_check_lib_save_LIBS=$LIBS 33365LIBS="-luna $LIBS" 33366cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33367/* end confdefs.h. */ 33368 33369/* Override any GCC internal prototype to avoid an error. 33370 Use char because int might match the return type of a GCC 33371 builtin and then its argument prototype would still apply. */ 33372#ifdef __cplusplus 33373extern "C" 33374#endif 33375char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33376int 33377main () 33378{ 33379return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33380 ; 33381 return 0; 33382} 33383_ACEOF 33384if ac_fn_c_try_link "$LINENO"; then : 33385 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33386else 33387 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33388fi 33389rm -f core conftest.err conftest.$ac_objext \ 33390 conftest$ac_exeext conftest.$ac_ext 33391LIBS=$ac_check_lib_save_LIBS 33392fi 33393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33394$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33395if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33396 ac_cv_libuna_dummy=yes 33397else 33398 ac_cv_libuna=no 33399fi 33400 33401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33402$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33403if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33404 $as_echo_n "(cached) " >&6 33405else 33406 ac_check_lib_save_LIBS=$LIBS 33407LIBS="-luna $LIBS" 33408cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33409/* end confdefs.h. */ 33410 33411/* Override any GCC internal prototype to avoid an error. 33412 Use char because int might match the return type of a GCC 33413 builtin and then its argument prototype would still apply. */ 33414#ifdef __cplusplus 33415extern "C" 33416#endif 33417char libuna_utf16_string_size_from_utf8_stream (); 33418int 33419main () 33420{ 33421return libuna_utf16_string_size_from_utf8_stream (); 33422 ; 33423 return 0; 33424} 33425_ACEOF 33426if ac_fn_c_try_link "$LINENO"; then : 33427 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33428else 33429 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33430fi 33431rm -f core conftest.err conftest.$ac_objext \ 33432 conftest$ac_exeext conftest.$ac_ext 33433LIBS=$ac_check_lib_save_LIBS 33434fi 33435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33436$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33437if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33438 ac_cv_libuna_dummy=yes 33439else 33440 ac_cv_libuna=no 33441fi 33442 33443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33444$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33445if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33446 $as_echo_n "(cached) " >&6 33447else 33448 ac_check_lib_save_LIBS=$LIBS 33449LIBS="-luna $LIBS" 33450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33451/* end confdefs.h. */ 33452 33453/* Override any GCC internal prototype to avoid an error. 33454 Use char because int might match the return type of a GCC 33455 builtin and then its argument prototype would still apply. */ 33456#ifdef __cplusplus 33457extern "C" 33458#endif 33459char libuna_utf16_string_copy_from_utf8_stream (); 33460int 33461main () 33462{ 33463return libuna_utf16_string_copy_from_utf8_stream (); 33464 ; 33465 return 0; 33466} 33467_ACEOF 33468if ac_fn_c_try_link "$LINENO"; then : 33469 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33470else 33471 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33472fi 33473rm -f core conftest.err conftest.$ac_objext \ 33474 conftest$ac_exeext conftest.$ac_ext 33475LIBS=$ac_check_lib_save_LIBS 33476fi 33477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33478$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33479if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33480 ac_cv_libuna_dummy=yes 33481else 33482 ac_cv_libuna=no 33483fi 33484 33485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33486$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33487if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33488 $as_echo_n "(cached) " >&6 33489else 33490 ac_check_lib_save_LIBS=$LIBS 33491LIBS="-luna $LIBS" 33492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33493/* end confdefs.h. */ 33494 33495/* Override any GCC internal prototype to avoid an error. 33496 Use char because int might match the return type of a GCC 33497 builtin and then its argument prototype would still apply. */ 33498#ifdef __cplusplus 33499extern "C" 33500#endif 33501char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33502int 33503main () 33504{ 33505return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33506 ; 33507 return 0; 33508} 33509_ACEOF 33510if ac_fn_c_try_link "$LINENO"; then : 33511 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33512else 33513 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33514fi 33515rm -f core conftest.err conftest.$ac_objext \ 33516 conftest$ac_exeext conftest.$ac_ext 33517LIBS=$ac_check_lib_save_LIBS 33518fi 33519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33520$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33521if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33522 ac_cv_libuna_dummy=yes 33523else 33524 ac_cv_libuna=no 33525fi 33526 33527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33528$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33529if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33530 $as_echo_n "(cached) " >&6 33531else 33532 ac_check_lib_save_LIBS=$LIBS 33533LIBS="-luna $LIBS" 33534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33535/* end confdefs.h. */ 33536 33537/* Override any GCC internal prototype to avoid an error. 33538 Use char because int might match the return type of a GCC 33539 builtin and then its argument prototype would still apply. */ 33540#ifdef __cplusplus 33541extern "C" 33542#endif 33543char libuna_utf16_string_size_from_utf16_stream (); 33544int 33545main () 33546{ 33547return libuna_utf16_string_size_from_utf16_stream (); 33548 ; 33549 return 0; 33550} 33551_ACEOF 33552if ac_fn_c_try_link "$LINENO"; then : 33553 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33554else 33555 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33556fi 33557rm -f core conftest.err conftest.$ac_objext \ 33558 conftest$ac_exeext conftest.$ac_ext 33559LIBS=$ac_check_lib_save_LIBS 33560fi 33561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33562$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33563if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33564 ac_cv_libuna_dummy=yes 33565else 33566 ac_cv_libuna=no 33567fi 33568 33569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33570$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33571if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33572 $as_echo_n "(cached) " >&6 33573else 33574 ac_check_lib_save_LIBS=$LIBS 33575LIBS="-luna $LIBS" 33576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33577/* end confdefs.h. */ 33578 33579/* Override any GCC internal prototype to avoid an error. 33580 Use char because int might match the return type of a GCC 33581 builtin and then its argument prototype would still apply. */ 33582#ifdef __cplusplus 33583extern "C" 33584#endif 33585char libuna_utf16_string_copy_from_utf16_stream (); 33586int 33587main () 33588{ 33589return libuna_utf16_string_copy_from_utf16_stream (); 33590 ; 33591 return 0; 33592} 33593_ACEOF 33594if ac_fn_c_try_link "$LINENO"; then : 33595 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33596else 33597 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33598fi 33599rm -f core conftest.err conftest.$ac_objext \ 33600 conftest$ac_exeext conftest.$ac_ext 33601LIBS=$ac_check_lib_save_LIBS 33602fi 33603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33604$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33605if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33606 ac_cv_libuna_dummy=yes 33607else 33608 ac_cv_libuna=no 33609fi 33610 33611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33612$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33613if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33614 $as_echo_n "(cached) " >&6 33615else 33616 ac_check_lib_save_LIBS=$LIBS 33617LIBS="-luna $LIBS" 33618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33619/* end confdefs.h. */ 33620 33621/* Override any GCC internal prototype to avoid an error. 33622 Use char because int might match the return type of a GCC 33623 builtin and then its argument prototype would still apply. */ 33624#ifdef __cplusplus 33625extern "C" 33626#endif 33627char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33628int 33629main () 33630{ 33631return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33632 ; 33633 return 0; 33634} 33635_ACEOF 33636if ac_fn_c_try_link "$LINENO"; then : 33637 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33638else 33639 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33640fi 33641rm -f core conftest.err conftest.$ac_objext \ 33642 conftest$ac_exeext conftest.$ac_ext 33643LIBS=$ac_check_lib_save_LIBS 33644fi 33645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33646$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33647if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33648 ac_cv_libuna_dummy=yes 33649else 33650 ac_cv_libuna=no 33651fi 33652 33653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33654$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33655if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33656 $as_echo_n "(cached) " >&6 33657else 33658 ac_check_lib_save_LIBS=$LIBS 33659LIBS="-luna $LIBS" 33660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33661/* end confdefs.h. */ 33662 33663/* Override any GCC internal prototype to avoid an error. 33664 Use char because int might match the return type of a GCC 33665 builtin and then its argument prototype would still apply. */ 33666#ifdef __cplusplus 33667extern "C" 33668#endif 33669char libuna_utf16_string_size_from_utf32_stream (); 33670int 33671main () 33672{ 33673return libuna_utf16_string_size_from_utf32_stream (); 33674 ; 33675 return 0; 33676} 33677_ACEOF 33678if ac_fn_c_try_link "$LINENO"; then : 33679 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33680else 33681 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33682fi 33683rm -f core conftest.err conftest.$ac_objext \ 33684 conftest$ac_exeext conftest.$ac_ext 33685LIBS=$ac_check_lib_save_LIBS 33686fi 33687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33688$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33689if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33690 ac_cv_libuna_dummy=yes 33691else 33692 ac_cv_libuna=no 33693fi 33694 33695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33696$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33697if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33698 $as_echo_n "(cached) " >&6 33699else 33700 ac_check_lib_save_LIBS=$LIBS 33701LIBS="-luna $LIBS" 33702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33703/* end confdefs.h. */ 33704 33705/* Override any GCC internal prototype to avoid an error. 33706 Use char because int might match the return type of a GCC 33707 builtin and then its argument prototype would still apply. */ 33708#ifdef __cplusplus 33709extern "C" 33710#endif 33711char libuna_utf16_string_copy_from_utf32_stream (); 33712int 33713main () 33714{ 33715return libuna_utf16_string_copy_from_utf32_stream (); 33716 ; 33717 return 0; 33718} 33719_ACEOF 33720if ac_fn_c_try_link "$LINENO"; then : 33721 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33722else 33723 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33724fi 33725rm -f core conftest.err conftest.$ac_objext \ 33726 conftest$ac_exeext conftest.$ac_ext 33727LIBS=$ac_check_lib_save_LIBS 33728fi 33729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33730$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33731if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33732 ac_cv_libuna_dummy=yes 33733else 33734 ac_cv_libuna=no 33735fi 33736 33737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33738$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33739if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33740 $as_echo_n "(cached) " >&6 33741else 33742 ac_check_lib_save_LIBS=$LIBS 33743LIBS="-luna $LIBS" 33744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33745/* end confdefs.h. */ 33746 33747/* Override any GCC internal prototype to avoid an error. 33748 Use char because int might match the return type of a GCC 33749 builtin and then its argument prototype would still apply. */ 33750#ifdef __cplusplus 33751extern "C" 33752#endif 33753char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33754int 33755main () 33756{ 33757return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33758 ; 33759 return 0; 33760} 33761_ACEOF 33762if ac_fn_c_try_link "$LINENO"; then : 33763 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33764else 33765 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33766fi 33767rm -f core conftest.err conftest.$ac_objext \ 33768 conftest$ac_exeext conftest.$ac_ext 33769LIBS=$ac_check_lib_save_LIBS 33770fi 33771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33772$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33773if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33774 ac_cv_libuna_dummy=yes 33775else 33776 ac_cv_libuna=no 33777fi 33778 33779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33780$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33781if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33782 $as_echo_n "(cached) " >&6 33783else 33784 ac_check_lib_save_LIBS=$LIBS 33785LIBS="-luna $LIBS" 33786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33787/* end confdefs.h. */ 33788 33789/* Override any GCC internal prototype to avoid an error. 33790 Use char because int might match the return type of a GCC 33791 builtin and then its argument prototype would still apply. */ 33792#ifdef __cplusplus 33793extern "C" 33794#endif 33795char libuna_utf16_string_size_from_utf8 (); 33796int 33797main () 33798{ 33799return libuna_utf16_string_size_from_utf8 (); 33800 ; 33801 return 0; 33802} 33803_ACEOF 33804if ac_fn_c_try_link "$LINENO"; then : 33805 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33806else 33807 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33808fi 33809rm -f core conftest.err conftest.$ac_objext \ 33810 conftest$ac_exeext conftest.$ac_ext 33811LIBS=$ac_check_lib_save_LIBS 33812fi 33813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33814$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33815if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33816 ac_cv_libuna_dummy=yes 33817else 33818 ac_cv_libuna=no 33819fi 33820 33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33822$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33823if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33824 $as_echo_n "(cached) " >&6 33825else 33826 ac_check_lib_save_LIBS=$LIBS 33827LIBS="-luna $LIBS" 33828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33829/* end confdefs.h. */ 33830 33831/* Override any GCC internal prototype to avoid an error. 33832 Use char because int might match the return type of a GCC 33833 builtin and then its argument prototype would still apply. */ 33834#ifdef __cplusplus 33835extern "C" 33836#endif 33837char libuna_utf16_string_copy_from_utf8 (); 33838int 33839main () 33840{ 33841return libuna_utf16_string_copy_from_utf8 (); 33842 ; 33843 return 0; 33844} 33845_ACEOF 33846if ac_fn_c_try_link "$LINENO"; then : 33847 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33848else 33849 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33850fi 33851rm -f core conftest.err conftest.$ac_objext \ 33852 conftest$ac_exeext conftest.$ac_ext 33853LIBS=$ac_check_lib_save_LIBS 33854fi 33855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33856$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33857if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33858 ac_cv_libuna_dummy=yes 33859else 33860 ac_cv_libuna=no 33861fi 33862 33863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33864$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33865if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33866 $as_echo_n "(cached) " >&6 33867else 33868 ac_check_lib_save_LIBS=$LIBS 33869LIBS="-luna $LIBS" 33870cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33871/* end confdefs.h. */ 33872 33873/* Override any GCC internal prototype to avoid an error. 33874 Use char because int might match the return type of a GCC 33875 builtin and then its argument prototype would still apply. */ 33876#ifdef __cplusplus 33877extern "C" 33878#endif 33879char libuna_utf16_string_with_index_copy_from_utf8 (); 33880int 33881main () 33882{ 33883return libuna_utf16_string_with_index_copy_from_utf8 (); 33884 ; 33885 return 0; 33886} 33887_ACEOF 33888if ac_fn_c_try_link "$LINENO"; then : 33889 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33890else 33891 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33892fi 33893rm -f core conftest.err conftest.$ac_objext \ 33894 conftest$ac_exeext conftest.$ac_ext 33895LIBS=$ac_check_lib_save_LIBS 33896fi 33897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33898$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33899if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33900 ac_cv_libuna_dummy=yes 33901else 33902 ac_cv_libuna=no 33903fi 33904 33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33906$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33907if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33908 $as_echo_n "(cached) " >&6 33909else 33910 ac_check_lib_save_LIBS=$LIBS 33911LIBS="-luna $LIBS" 33912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33913/* end confdefs.h. */ 33914 33915/* Override any GCC internal prototype to avoid an error. 33916 Use char because int might match the return type of a GCC 33917 builtin and then its argument prototype would still apply. */ 33918#ifdef __cplusplus 33919extern "C" 33920#endif 33921char libuna_utf16_string_size_from_utf32 (); 33922int 33923main () 33924{ 33925return libuna_utf16_string_size_from_utf32 (); 33926 ; 33927 return 0; 33928} 33929_ACEOF 33930if ac_fn_c_try_link "$LINENO"; then : 33931 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 33932else 33933 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 33934fi 33935rm -f core conftest.err conftest.$ac_objext \ 33936 conftest$ac_exeext conftest.$ac_ext 33937LIBS=$ac_check_lib_save_LIBS 33938fi 33939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 33940$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 33941if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 33942 ac_cv_libuna_dummy=yes 33943else 33944 ac_cv_libuna=no 33945fi 33946 33947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 33948$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 33949if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 33950 $as_echo_n "(cached) " >&6 33951else 33952 ac_check_lib_save_LIBS=$LIBS 33953LIBS="-luna $LIBS" 33954cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33955/* end confdefs.h. */ 33956 33957/* Override any GCC internal prototype to avoid an error. 33958 Use char because int might match the return type of a GCC 33959 builtin and then its argument prototype would still apply. */ 33960#ifdef __cplusplus 33961extern "C" 33962#endif 33963char libuna_utf16_string_copy_from_utf32 (); 33964int 33965main () 33966{ 33967return libuna_utf16_string_copy_from_utf32 (); 33968 ; 33969 return 0; 33970} 33971_ACEOF 33972if ac_fn_c_try_link "$LINENO"; then : 33973 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 33974else 33975 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 33976fi 33977rm -f core conftest.err conftest.$ac_objext \ 33978 conftest$ac_exeext conftest.$ac_ext 33979LIBS=$ac_check_lib_save_LIBS 33980fi 33981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 33982$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 33983if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 33984 ac_cv_libuna_dummy=yes 33985else 33986 ac_cv_libuna=no 33987fi 33988 33989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 33990$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 33991if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 33992 $as_echo_n "(cached) " >&6 33993else 33994 ac_check_lib_save_LIBS=$LIBS 33995LIBS="-luna $LIBS" 33996cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33997/* end confdefs.h. */ 33998 33999/* Override any GCC internal prototype to avoid an error. 34000 Use char because int might match the return type of a GCC 34001 builtin and then its argument prototype would still apply. */ 34002#ifdef __cplusplus 34003extern "C" 34004#endif 34005char libuna_utf16_string_with_index_copy_from_utf32 (); 34006int 34007main () 34008{ 34009return libuna_utf16_string_with_index_copy_from_utf32 (); 34010 ; 34011 return 0; 34012} 34013_ACEOF 34014if ac_fn_c_try_link "$LINENO"; then : 34015 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34016else 34017 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34018fi 34019rm -f core conftest.err conftest.$ac_objext \ 34020 conftest$ac_exeext conftest.$ac_ext 34021LIBS=$ac_check_lib_save_LIBS 34022fi 34023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34024$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34025if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34026 ac_cv_libuna_dummy=yes 34027else 34028 ac_cv_libuna=no 34029fi 34030 34031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34032$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34033if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34034 $as_echo_n "(cached) " >&6 34035else 34036 ac_check_lib_save_LIBS=$LIBS 34037LIBS="-luna $LIBS" 34038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34039/* end confdefs.h. */ 34040 34041/* Override any GCC internal prototype to avoid an error. 34042 Use char because int might match the return type of a GCC 34043 builtin and then its argument prototype would still apply. */ 34044#ifdef __cplusplus 34045extern "C" 34046#endif 34047char libuna_utf16_string_size_from_scsu_stream (); 34048int 34049main () 34050{ 34051return libuna_utf16_string_size_from_scsu_stream (); 34052 ; 34053 return 0; 34054} 34055_ACEOF 34056if ac_fn_c_try_link "$LINENO"; then : 34057 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34058else 34059 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34060fi 34061rm -f core conftest.err conftest.$ac_objext \ 34062 conftest$ac_exeext conftest.$ac_ext 34063LIBS=$ac_check_lib_save_LIBS 34064fi 34065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34066$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34067if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34068 ac_cv_libuna_dummy=yes 34069else 34070 ac_cv_libuna=no 34071fi 34072 34073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34074$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34075if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34076 $as_echo_n "(cached) " >&6 34077else 34078 ac_check_lib_save_LIBS=$LIBS 34079LIBS="-luna $LIBS" 34080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34081/* end confdefs.h. */ 34082 34083/* Override any GCC internal prototype to avoid an error. 34084 Use char because int might match the return type of a GCC 34085 builtin and then its argument prototype would still apply. */ 34086#ifdef __cplusplus 34087extern "C" 34088#endif 34089char libuna_utf16_string_copy_from_scsu_stream (); 34090int 34091main () 34092{ 34093return libuna_utf16_string_copy_from_scsu_stream (); 34094 ; 34095 return 0; 34096} 34097_ACEOF 34098if ac_fn_c_try_link "$LINENO"; then : 34099 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34100else 34101 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34102fi 34103rm -f core conftest.err conftest.$ac_objext \ 34104 conftest$ac_exeext conftest.$ac_ext 34105LIBS=$ac_check_lib_save_LIBS 34106fi 34107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34108$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34109if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34110 ac_cv_libuna_dummy=yes 34111else 34112 ac_cv_libuna=no 34113fi 34114 34115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34116$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34117if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34118 $as_echo_n "(cached) " >&6 34119else 34120 ac_check_lib_save_LIBS=$LIBS 34121LIBS="-luna $LIBS" 34122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34123/* end confdefs.h. */ 34124 34125/* Override any GCC internal prototype to avoid an error. 34126 Use char because int might match the return type of a GCC 34127 builtin and then its argument prototype would still apply. */ 34128#ifdef __cplusplus 34129extern "C" 34130#endif 34131char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34132int 34133main () 34134{ 34135return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34136 ; 34137 return 0; 34138} 34139_ACEOF 34140if ac_fn_c_try_link "$LINENO"; then : 34141 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34142else 34143 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34144fi 34145rm -f core conftest.err conftest.$ac_objext \ 34146 conftest$ac_exeext conftest.$ac_ext 34147LIBS=$ac_check_lib_save_LIBS 34148fi 34149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34150$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34151if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34152 ac_cv_libuna_dummy=yes 34153else 34154 ac_cv_libuna=no 34155fi 34156 34157 34158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34159$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34160if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34161 $as_echo_n "(cached) " >&6 34162else 34163 ac_check_lib_save_LIBS=$LIBS 34164LIBS="-luna $LIBS" 34165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34166/* end confdefs.h. */ 34167 34168/* Override any GCC internal prototype to avoid an error. 34169 Use char because int might match the return type of a GCC 34170 builtin and then its argument prototype would still apply. */ 34171#ifdef __cplusplus 34172extern "C" 34173#endif 34174char libuna_utf32_string_size_from_byte_stream (); 34175int 34176main () 34177{ 34178return libuna_utf32_string_size_from_byte_stream (); 34179 ; 34180 return 0; 34181} 34182_ACEOF 34183if ac_fn_c_try_link "$LINENO"; then : 34184 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34185else 34186 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34187fi 34188rm -f core conftest.err conftest.$ac_objext \ 34189 conftest$ac_exeext conftest.$ac_ext 34190LIBS=$ac_check_lib_save_LIBS 34191fi 34192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34193$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34194if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34195 ac_cv_libuna_dummy=yes 34196else 34197 ac_cv_libuna=no 34198fi 34199 34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34201$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34202if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34203 $as_echo_n "(cached) " >&6 34204else 34205 ac_check_lib_save_LIBS=$LIBS 34206LIBS="-luna $LIBS" 34207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34208/* end confdefs.h. */ 34209 34210/* Override any GCC internal prototype to avoid an error. 34211 Use char because int might match the return type of a GCC 34212 builtin and then its argument prototype would still apply. */ 34213#ifdef __cplusplus 34214extern "C" 34215#endif 34216char libuna_utf32_string_copy_from_byte_stream (); 34217int 34218main () 34219{ 34220return libuna_utf32_string_copy_from_byte_stream (); 34221 ; 34222 return 0; 34223} 34224_ACEOF 34225if ac_fn_c_try_link "$LINENO"; then : 34226 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34227else 34228 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34229fi 34230rm -f core conftest.err conftest.$ac_objext \ 34231 conftest$ac_exeext conftest.$ac_ext 34232LIBS=$ac_check_lib_save_LIBS 34233fi 34234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34235$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34236if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34237 ac_cv_libuna_dummy=yes 34238else 34239 ac_cv_libuna=no 34240fi 34241 34242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34243$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34244if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34245 $as_echo_n "(cached) " >&6 34246else 34247 ac_check_lib_save_LIBS=$LIBS 34248LIBS="-luna $LIBS" 34249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34250/* end confdefs.h. */ 34251 34252/* Override any GCC internal prototype to avoid an error. 34253 Use char because int might match the return type of a GCC 34254 builtin and then its argument prototype would still apply. */ 34255#ifdef __cplusplus 34256extern "C" 34257#endif 34258char libuna_utf32_string_with_index_copy_from_byte_stream (); 34259int 34260main () 34261{ 34262return libuna_utf32_string_with_index_copy_from_byte_stream (); 34263 ; 34264 return 0; 34265} 34266_ACEOF 34267if ac_fn_c_try_link "$LINENO"; then : 34268 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34269else 34270 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34271fi 34272rm -f core conftest.err conftest.$ac_objext \ 34273 conftest$ac_exeext conftest.$ac_ext 34274LIBS=$ac_check_lib_save_LIBS 34275fi 34276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34277$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34278if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34279 ac_cv_libuna_dummy=yes 34280else 34281 ac_cv_libuna=no 34282fi 34283 34284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34285$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34286if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34287 $as_echo_n "(cached) " >&6 34288else 34289 ac_check_lib_save_LIBS=$LIBS 34290LIBS="-luna $LIBS" 34291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34292/* end confdefs.h. */ 34293 34294/* Override any GCC internal prototype to avoid an error. 34295 Use char because int might match the return type of a GCC 34296 builtin and then its argument prototype would still apply. */ 34297#ifdef __cplusplus 34298extern "C" 34299#endif 34300char libuna_utf32_string_size_from_utf7_stream (); 34301int 34302main () 34303{ 34304return libuna_utf32_string_size_from_utf7_stream (); 34305 ; 34306 return 0; 34307} 34308_ACEOF 34309if ac_fn_c_try_link "$LINENO"; then : 34310 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34311else 34312 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34313fi 34314rm -f core conftest.err conftest.$ac_objext \ 34315 conftest$ac_exeext conftest.$ac_ext 34316LIBS=$ac_check_lib_save_LIBS 34317fi 34318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34319$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34320if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34321 ac_cv_libuna_dummy=yes 34322else 34323 ac_cv_libuna=no 34324fi 34325 34326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34327$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34328if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34329 $as_echo_n "(cached) " >&6 34330else 34331 ac_check_lib_save_LIBS=$LIBS 34332LIBS="-luna $LIBS" 34333cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34334/* end confdefs.h. */ 34335 34336/* Override any GCC internal prototype to avoid an error. 34337 Use char because int might match the return type of a GCC 34338 builtin and then its argument prototype would still apply. */ 34339#ifdef __cplusplus 34340extern "C" 34341#endif 34342char libuna_utf32_string_copy_from_utf7_stream (); 34343int 34344main () 34345{ 34346return libuna_utf32_string_copy_from_utf7_stream (); 34347 ; 34348 return 0; 34349} 34350_ACEOF 34351if ac_fn_c_try_link "$LINENO"; then : 34352 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34353else 34354 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34355fi 34356rm -f core conftest.err conftest.$ac_objext \ 34357 conftest$ac_exeext conftest.$ac_ext 34358LIBS=$ac_check_lib_save_LIBS 34359fi 34360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34361$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34362if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34363 ac_cv_libuna_dummy=yes 34364else 34365 ac_cv_libuna=no 34366fi 34367 34368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34369$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34370if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34371 $as_echo_n "(cached) " >&6 34372else 34373 ac_check_lib_save_LIBS=$LIBS 34374LIBS="-luna $LIBS" 34375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34376/* end confdefs.h. */ 34377 34378/* Override any GCC internal prototype to avoid an error. 34379 Use char because int might match the return type of a GCC 34380 builtin and then its argument prototype would still apply. */ 34381#ifdef __cplusplus 34382extern "C" 34383#endif 34384char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34385int 34386main () 34387{ 34388return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34389 ; 34390 return 0; 34391} 34392_ACEOF 34393if ac_fn_c_try_link "$LINENO"; then : 34394 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34395else 34396 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34397fi 34398rm -f core conftest.err conftest.$ac_objext \ 34399 conftest$ac_exeext conftest.$ac_ext 34400LIBS=$ac_check_lib_save_LIBS 34401fi 34402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34403$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34404if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34405 ac_cv_libuna_dummy=yes 34406else 34407 ac_cv_libuna=no 34408fi 34409 34410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34411$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34412if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34413 $as_echo_n "(cached) " >&6 34414else 34415 ac_check_lib_save_LIBS=$LIBS 34416LIBS="-luna $LIBS" 34417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34418/* end confdefs.h. */ 34419 34420/* Override any GCC internal prototype to avoid an error. 34421 Use char because int might match the return type of a GCC 34422 builtin and then its argument prototype would still apply. */ 34423#ifdef __cplusplus 34424extern "C" 34425#endif 34426char libuna_utf32_string_size_from_utf8_stream (); 34427int 34428main () 34429{ 34430return libuna_utf32_string_size_from_utf8_stream (); 34431 ; 34432 return 0; 34433} 34434_ACEOF 34435if ac_fn_c_try_link "$LINENO"; then : 34436 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34437else 34438 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34439fi 34440rm -f core conftest.err conftest.$ac_objext \ 34441 conftest$ac_exeext conftest.$ac_ext 34442LIBS=$ac_check_lib_save_LIBS 34443fi 34444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34445$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34446if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34447 ac_cv_libuna_dummy=yes 34448else 34449 ac_cv_libuna=no 34450fi 34451 34452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34453$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34454if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34455 $as_echo_n "(cached) " >&6 34456else 34457 ac_check_lib_save_LIBS=$LIBS 34458LIBS="-luna $LIBS" 34459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34460/* end confdefs.h. */ 34461 34462/* Override any GCC internal prototype to avoid an error. 34463 Use char because int might match the return type of a GCC 34464 builtin and then its argument prototype would still apply. */ 34465#ifdef __cplusplus 34466extern "C" 34467#endif 34468char libuna_utf32_string_copy_from_utf8_stream (); 34469int 34470main () 34471{ 34472return libuna_utf32_string_copy_from_utf8_stream (); 34473 ; 34474 return 0; 34475} 34476_ACEOF 34477if ac_fn_c_try_link "$LINENO"; then : 34478 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34479else 34480 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34481fi 34482rm -f core conftest.err conftest.$ac_objext \ 34483 conftest$ac_exeext conftest.$ac_ext 34484LIBS=$ac_check_lib_save_LIBS 34485fi 34486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34487$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34488if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34489 ac_cv_libuna_dummy=yes 34490else 34491 ac_cv_libuna=no 34492fi 34493 34494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34495$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34496if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34497 $as_echo_n "(cached) " >&6 34498else 34499 ac_check_lib_save_LIBS=$LIBS 34500LIBS="-luna $LIBS" 34501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34502/* end confdefs.h. */ 34503 34504/* Override any GCC internal prototype to avoid an error. 34505 Use char because int might match the return type of a GCC 34506 builtin and then its argument prototype would still apply. */ 34507#ifdef __cplusplus 34508extern "C" 34509#endif 34510char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34511int 34512main () 34513{ 34514return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34515 ; 34516 return 0; 34517} 34518_ACEOF 34519if ac_fn_c_try_link "$LINENO"; then : 34520 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34521else 34522 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34523fi 34524rm -f core conftest.err conftest.$ac_objext \ 34525 conftest$ac_exeext conftest.$ac_ext 34526LIBS=$ac_check_lib_save_LIBS 34527fi 34528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34529$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34530if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34531 ac_cv_libuna_dummy=yes 34532else 34533 ac_cv_libuna=no 34534fi 34535 34536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34537$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34538if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34539 $as_echo_n "(cached) " >&6 34540else 34541 ac_check_lib_save_LIBS=$LIBS 34542LIBS="-luna $LIBS" 34543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34544/* end confdefs.h. */ 34545 34546/* Override any GCC internal prototype to avoid an error. 34547 Use char because int might match the return type of a GCC 34548 builtin and then its argument prototype would still apply. */ 34549#ifdef __cplusplus 34550extern "C" 34551#endif 34552char libuna_utf32_string_size_from_utf16_stream (); 34553int 34554main () 34555{ 34556return libuna_utf32_string_size_from_utf16_stream (); 34557 ; 34558 return 0; 34559} 34560_ACEOF 34561if ac_fn_c_try_link "$LINENO"; then : 34562 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34563else 34564 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34565fi 34566rm -f core conftest.err conftest.$ac_objext \ 34567 conftest$ac_exeext conftest.$ac_ext 34568LIBS=$ac_check_lib_save_LIBS 34569fi 34570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34571$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34572if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34573 ac_cv_libuna_dummy=yes 34574else 34575 ac_cv_libuna=no 34576fi 34577 34578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34579$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34580if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34581 $as_echo_n "(cached) " >&6 34582else 34583 ac_check_lib_save_LIBS=$LIBS 34584LIBS="-luna $LIBS" 34585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34586/* end confdefs.h. */ 34587 34588/* Override any GCC internal prototype to avoid an error. 34589 Use char because int might match the return type of a GCC 34590 builtin and then its argument prototype would still apply. */ 34591#ifdef __cplusplus 34592extern "C" 34593#endif 34594char libuna_utf32_string_copy_from_utf16_stream (); 34595int 34596main () 34597{ 34598return libuna_utf32_string_copy_from_utf16_stream (); 34599 ; 34600 return 0; 34601} 34602_ACEOF 34603if ac_fn_c_try_link "$LINENO"; then : 34604 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34605else 34606 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34607fi 34608rm -f core conftest.err conftest.$ac_objext \ 34609 conftest$ac_exeext conftest.$ac_ext 34610LIBS=$ac_check_lib_save_LIBS 34611fi 34612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34613$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34614if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34615 ac_cv_libuna_dummy=yes 34616else 34617 ac_cv_libuna=no 34618fi 34619 34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34621$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34622if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34623 $as_echo_n "(cached) " >&6 34624else 34625 ac_check_lib_save_LIBS=$LIBS 34626LIBS="-luna $LIBS" 34627cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34628/* end confdefs.h. */ 34629 34630/* Override any GCC internal prototype to avoid an error. 34631 Use char because int might match the return type of a GCC 34632 builtin and then its argument prototype would still apply. */ 34633#ifdef __cplusplus 34634extern "C" 34635#endif 34636char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34637int 34638main () 34639{ 34640return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34641 ; 34642 return 0; 34643} 34644_ACEOF 34645if ac_fn_c_try_link "$LINENO"; then : 34646 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34647else 34648 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34649fi 34650rm -f core conftest.err conftest.$ac_objext \ 34651 conftest$ac_exeext conftest.$ac_ext 34652LIBS=$ac_check_lib_save_LIBS 34653fi 34654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34655$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34656if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34657 ac_cv_libuna_dummy=yes 34658else 34659 ac_cv_libuna=no 34660fi 34661 34662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34663$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34664if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34665 $as_echo_n "(cached) " >&6 34666else 34667 ac_check_lib_save_LIBS=$LIBS 34668LIBS="-luna $LIBS" 34669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34670/* end confdefs.h. */ 34671 34672/* Override any GCC internal prototype to avoid an error. 34673 Use char because int might match the return type of a GCC 34674 builtin and then its argument prototype would still apply. */ 34675#ifdef __cplusplus 34676extern "C" 34677#endif 34678char libuna_utf32_string_size_from_utf32_stream (); 34679int 34680main () 34681{ 34682return libuna_utf32_string_size_from_utf32_stream (); 34683 ; 34684 return 0; 34685} 34686_ACEOF 34687if ac_fn_c_try_link "$LINENO"; then : 34688 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34689else 34690 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34691fi 34692rm -f core conftest.err conftest.$ac_objext \ 34693 conftest$ac_exeext conftest.$ac_ext 34694LIBS=$ac_check_lib_save_LIBS 34695fi 34696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34697$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34698if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34699 ac_cv_libuna_dummy=yes 34700else 34701 ac_cv_libuna=no 34702fi 34703 34704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34705$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34706if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34707 $as_echo_n "(cached) " >&6 34708else 34709 ac_check_lib_save_LIBS=$LIBS 34710LIBS="-luna $LIBS" 34711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34712/* end confdefs.h. */ 34713 34714/* Override any GCC internal prototype to avoid an error. 34715 Use char because int might match the return type of a GCC 34716 builtin and then its argument prototype would still apply. */ 34717#ifdef __cplusplus 34718extern "C" 34719#endif 34720char libuna_utf32_string_copy_from_utf32_stream (); 34721int 34722main () 34723{ 34724return libuna_utf32_string_copy_from_utf32_stream (); 34725 ; 34726 return 0; 34727} 34728_ACEOF 34729if ac_fn_c_try_link "$LINENO"; then : 34730 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34731else 34732 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34733fi 34734rm -f core conftest.err conftest.$ac_objext \ 34735 conftest$ac_exeext conftest.$ac_ext 34736LIBS=$ac_check_lib_save_LIBS 34737fi 34738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34739$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34740if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34741 ac_cv_libuna_dummy=yes 34742else 34743 ac_cv_libuna=no 34744fi 34745 34746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34747$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34748if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34749 $as_echo_n "(cached) " >&6 34750else 34751 ac_check_lib_save_LIBS=$LIBS 34752LIBS="-luna $LIBS" 34753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34754/* end confdefs.h. */ 34755 34756/* Override any GCC internal prototype to avoid an error. 34757 Use char because int might match the return type of a GCC 34758 builtin and then its argument prototype would still apply. */ 34759#ifdef __cplusplus 34760extern "C" 34761#endif 34762char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34763int 34764main () 34765{ 34766return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34767 ; 34768 return 0; 34769} 34770_ACEOF 34771if ac_fn_c_try_link "$LINENO"; then : 34772 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34773else 34774 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34775fi 34776rm -f core conftest.err conftest.$ac_objext \ 34777 conftest$ac_exeext conftest.$ac_ext 34778LIBS=$ac_check_lib_save_LIBS 34779fi 34780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34781$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34782if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34783 ac_cv_libuna_dummy=yes 34784else 34785 ac_cv_libuna=no 34786fi 34787 34788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34789$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34790if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34791 $as_echo_n "(cached) " >&6 34792else 34793 ac_check_lib_save_LIBS=$LIBS 34794LIBS="-luna $LIBS" 34795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34796/* end confdefs.h. */ 34797 34798/* Override any GCC internal prototype to avoid an error. 34799 Use char because int might match the return type of a GCC 34800 builtin and then its argument prototype would still apply. */ 34801#ifdef __cplusplus 34802extern "C" 34803#endif 34804char libuna_utf32_string_size_from_utf8 (); 34805int 34806main () 34807{ 34808return libuna_utf32_string_size_from_utf8 (); 34809 ; 34810 return 0; 34811} 34812_ACEOF 34813if ac_fn_c_try_link "$LINENO"; then : 34814 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34815else 34816 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34817fi 34818rm -f core conftest.err conftest.$ac_objext \ 34819 conftest$ac_exeext conftest.$ac_ext 34820LIBS=$ac_check_lib_save_LIBS 34821fi 34822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34823$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34824if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34825 ac_cv_libuna_dummy=yes 34826else 34827 ac_cv_libuna=no 34828fi 34829 34830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34831$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34832if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34833 $as_echo_n "(cached) " >&6 34834else 34835 ac_check_lib_save_LIBS=$LIBS 34836LIBS="-luna $LIBS" 34837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34838/* end confdefs.h. */ 34839 34840/* Override any GCC internal prototype to avoid an error. 34841 Use char because int might match the return type of a GCC 34842 builtin and then its argument prototype would still apply. */ 34843#ifdef __cplusplus 34844extern "C" 34845#endif 34846char libuna_utf32_string_copy_from_utf8 (); 34847int 34848main () 34849{ 34850return libuna_utf32_string_copy_from_utf8 (); 34851 ; 34852 return 0; 34853} 34854_ACEOF 34855if ac_fn_c_try_link "$LINENO"; then : 34856 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34857else 34858 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34859fi 34860rm -f core conftest.err conftest.$ac_objext \ 34861 conftest$ac_exeext conftest.$ac_ext 34862LIBS=$ac_check_lib_save_LIBS 34863fi 34864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34865$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34866if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34867 ac_cv_libuna_dummy=yes 34868else 34869 ac_cv_libuna=no 34870fi 34871 34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34873$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34874if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34875 $as_echo_n "(cached) " >&6 34876else 34877 ac_check_lib_save_LIBS=$LIBS 34878LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34879cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34880/* end confdefs.h. */ 34881 34882/* Override any GCC internal prototype to avoid an error. 34883 Use char because int might match the return type of a GCC 34884 builtin and then its argument prototype would still apply. */ 34885#ifdef __cplusplus 34886extern "C" 34887#endif 34888char ac_cv_libuna_dummy=yes (); 34889int 34890main () 34891{ 34892return ac_cv_libuna_dummy=yes (); 34893 ; 34894 return 0; 34895} 34896_ACEOF 34897if ac_fn_c_try_link "$LINENO"; then : 34898 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34899else 34900 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34901fi 34902rm -f core conftest.err conftest.$ac_objext \ 34903 conftest$ac_exeext conftest.$ac_ext 34904LIBS=$ac_check_lib_save_LIBS 34905fi 34906{ $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 34907$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34908if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34909 ac_cv_libuna=no 34910fi 34911 34912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34913$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34914if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34915 $as_echo_n "(cached) " >&6 34916else 34917 ac_check_lib_save_LIBS=$LIBS 34918LIBS="-luna $LIBS" 34919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34920/* end confdefs.h. */ 34921 34922/* Override any GCC internal prototype to avoid an error. 34923 Use char because int might match the return type of a GCC 34924 builtin and then its argument prototype would still apply. */ 34925#ifdef __cplusplus 34926extern "C" 34927#endif 34928char libuna_utf32_string_size_from_utf16 (); 34929int 34930main () 34931{ 34932return libuna_utf32_string_size_from_utf16 (); 34933 ; 34934 return 0; 34935} 34936_ACEOF 34937if ac_fn_c_try_link "$LINENO"; then : 34938 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 34939else 34940 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 34941fi 34942rm -f core conftest.err conftest.$ac_objext \ 34943 conftest$ac_exeext conftest.$ac_ext 34944LIBS=$ac_check_lib_save_LIBS 34945fi 34946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 34947$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 34948if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 34949 ac_cv_libuna_dummy=yes 34950else 34951 ac_cv_libuna=no 34952fi 34953 34954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 34955$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 34956if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 34957 $as_echo_n "(cached) " >&6 34958else 34959 ac_check_lib_save_LIBS=$LIBS 34960LIBS="-luna $LIBS" 34961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34962/* end confdefs.h. */ 34963 34964/* Override any GCC internal prototype to avoid an error. 34965 Use char because int might match the return type of a GCC 34966 builtin and then its argument prototype would still apply. */ 34967#ifdef __cplusplus 34968extern "C" 34969#endif 34970char libuna_utf32_string_copy_from_utf16 (); 34971int 34972main () 34973{ 34974return libuna_utf32_string_copy_from_utf16 (); 34975 ; 34976 return 0; 34977} 34978_ACEOF 34979if ac_fn_c_try_link "$LINENO"; then : 34980 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 34981else 34982 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 34983fi 34984rm -f core conftest.err conftest.$ac_objext \ 34985 conftest$ac_exeext conftest.$ac_ext 34986LIBS=$ac_check_lib_save_LIBS 34987fi 34988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 34989$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 34990if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 34991 ac_cv_libuna_dummy=yes 34992else 34993 ac_cv_libuna=no 34994fi 34995 34996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 34997$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 34998if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 34999 $as_echo_n "(cached) " >&6 35000else 35001 ac_check_lib_save_LIBS=$LIBS 35002LIBS="-luna $LIBS" 35003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35004/* end confdefs.h. */ 35005 35006/* Override any GCC internal prototype to avoid an error. 35007 Use char because int might match the return type of a GCC 35008 builtin and then its argument prototype would still apply. */ 35009#ifdef __cplusplus 35010extern "C" 35011#endif 35012char libuna_utf32_string_with_index_copy_from_utf16 (); 35013int 35014main () 35015{ 35016return libuna_utf32_string_with_index_copy_from_utf16 (); 35017 ; 35018 return 0; 35019} 35020_ACEOF 35021if ac_fn_c_try_link "$LINENO"; then : 35022 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35023else 35024 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35025fi 35026rm -f core conftest.err conftest.$ac_objext \ 35027 conftest$ac_exeext conftest.$ac_ext 35028LIBS=$ac_check_lib_save_LIBS 35029fi 35030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35031$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35032if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35033 ac_cv_libuna_dummy=yes 35034else 35035 ac_cv_libuna=no 35036fi 35037 35038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35039$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35040if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35041 $as_echo_n "(cached) " >&6 35042else 35043 ac_check_lib_save_LIBS=$LIBS 35044LIBS="-luna $LIBS" 35045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35046/* end confdefs.h. */ 35047 35048/* Override any GCC internal prototype to avoid an error. 35049 Use char because int might match the return type of a GCC 35050 builtin and then its argument prototype would still apply. */ 35051#ifdef __cplusplus 35052extern "C" 35053#endif 35054char libuna_utf32_string_size_from_scsu_stream (); 35055int 35056main () 35057{ 35058return libuna_utf32_string_size_from_scsu_stream (); 35059 ; 35060 return 0; 35061} 35062_ACEOF 35063if ac_fn_c_try_link "$LINENO"; then : 35064 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35065else 35066 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35067fi 35068rm -f core conftest.err conftest.$ac_objext \ 35069 conftest$ac_exeext conftest.$ac_ext 35070LIBS=$ac_check_lib_save_LIBS 35071fi 35072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35073$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35074if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35075 ac_cv_libuna_dummy=yes 35076else 35077 ac_cv_libuna=no 35078fi 35079 35080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35081$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35082if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35083 $as_echo_n "(cached) " >&6 35084else 35085 ac_check_lib_save_LIBS=$LIBS 35086LIBS="-luna $LIBS" 35087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35088/* end confdefs.h. */ 35089 35090/* Override any GCC internal prototype to avoid an error. 35091 Use char because int might match the return type of a GCC 35092 builtin and then its argument prototype would still apply. */ 35093#ifdef __cplusplus 35094extern "C" 35095#endif 35096char libuna_utf32_string_copy_from_scsu_stream (); 35097int 35098main () 35099{ 35100return libuna_utf32_string_copy_from_scsu_stream (); 35101 ; 35102 return 0; 35103} 35104_ACEOF 35105if ac_fn_c_try_link "$LINENO"; then : 35106 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35107else 35108 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35109fi 35110rm -f core conftest.err conftest.$ac_objext \ 35111 conftest$ac_exeext conftest.$ac_ext 35112LIBS=$ac_check_lib_save_LIBS 35113fi 35114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35115$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35116if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35117 ac_cv_libuna_dummy=yes 35118else 35119 ac_cv_libuna=no 35120fi 35121 35122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35123$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35124if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35125 $as_echo_n "(cached) " >&6 35126else 35127 ac_check_lib_save_LIBS=$LIBS 35128LIBS="-luna $LIBS" 35129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35130/* end confdefs.h. */ 35131 35132/* Override any GCC internal prototype to avoid an error. 35133 Use char because int might match the return type of a GCC 35134 builtin and then its argument prototype would still apply. */ 35135#ifdef __cplusplus 35136extern "C" 35137#endif 35138char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35139int 35140main () 35141{ 35142return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35143 ; 35144 return 0; 35145} 35146_ACEOF 35147if ac_fn_c_try_link "$LINENO"; then : 35148 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35149else 35150 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35151fi 35152rm -f core conftest.err conftest.$ac_objext \ 35153 conftest$ac_exeext conftest.$ac_ext 35154LIBS=$ac_check_lib_save_LIBS 35155fi 35156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35157$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35158if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35159 ac_cv_libuna_dummy=yes 35160else 35161 ac_cv_libuna=no 35162fi 35163 35164 35165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35166$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35167if ${ac_cv_libuna_defines_compare_less+:} false; then : 35168 $as_echo_n "(cached) " >&6 35169else 35170 ac_ext=c 35171ac_cpp='$CPP $CPPFLAGS' 35172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35174ac_compiler_gnu=$ac_cv_c_compiler_gnu 35175 35176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35177/* end confdefs.h. */ 35178#include <libuna.h> 35179int 35180main () 35181{ 35182int test = LIBUNA_COMPARE_LESS; 35183 35184return( 0 ); 35185 ; 35186 return 0; 35187} 35188_ACEOF 35189if ac_fn_c_try_link "$LINENO"; then : 35190 ac_cv_libuna_defines_compare_less=yes 35191else 35192 ac_cv_libuna_defines_compare_less=no 35193fi 35194rm -f core conftest.err conftest.$ac_objext \ 35195 conftest$ac_exeext conftest.$ac_ext 35196 ac_ext=c 35197ac_cpp='$CPP $CPPFLAGS' 35198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35200ac_compiler_gnu=$ac_cv_c_compiler_gnu 35201 35202fi 35203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35204$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35205 35206 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35207 ac_cv_libuna=no 35208fi 35209 35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35211$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35212if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35213 $as_echo_n "(cached) " >&6 35214else 35215 ac_ext=c 35216ac_cpp='$CPP $CPPFLAGS' 35217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35219ac_compiler_gnu=$ac_cv_c_compiler_gnu 35220 35221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35222/* end confdefs.h. */ 35223#include <libuna.h> 35224int 35225main () 35226{ 35227int test = LIBUNA_COMPARE_EQUAL; 35228 35229return( 0 ); 35230 ; 35231 return 0; 35232} 35233_ACEOF 35234if ac_fn_c_try_link "$LINENO"; then : 35235 ac_cv_libuna_defines_compare_equal=yes 35236else 35237 ac_cv_libuna_defines_compare_equal=no 35238fi 35239rm -f core conftest.err conftest.$ac_objext \ 35240 conftest$ac_exeext conftest.$ac_ext 35241 ac_ext=c 35242ac_cpp='$CPP $CPPFLAGS' 35243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35245ac_compiler_gnu=$ac_cv_c_compiler_gnu 35246 35247fi 35248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35249$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35250 35251 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35252 ac_cv_libuna=no 35253fi 35254 35255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35256$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35257if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35258 $as_echo_n "(cached) " >&6 35259else 35260 ac_ext=c 35261ac_cpp='$CPP $CPPFLAGS' 35262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35264ac_compiler_gnu=$ac_cv_c_compiler_gnu 35265 35266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35267/* end confdefs.h. */ 35268#include <libuna.h> 35269int 35270main () 35271{ 35272int test = LIBUNA_COMPARE_GREATER; 35273 35274return( 0 ); 35275 ; 35276 return 0; 35277} 35278_ACEOF 35279if ac_fn_c_try_link "$LINENO"; then : 35280 ac_cv_libuna_defines_compare_greater=yes 35281else 35282 ac_cv_libuna_defines_compare_greater=no 35283fi 35284rm -f core conftest.err conftest.$ac_objext \ 35285 conftest$ac_exeext conftest.$ac_ext 35286 ac_ext=c 35287ac_cpp='$CPP $CPPFLAGS' 35288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35290ac_compiler_gnu=$ac_cv_c_compiler_gnu 35291 35292fi 35293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35294$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35295 35296 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35297 ac_cv_libuna=no 35298fi 35299 35300 ac_cv_libuna_LIBADD="-luna" 35301fi 35302 35303fi 35304 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35307as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35308See \`config.log' for more details" "$LINENO" 5; } 35309 35310fi 35311 35312fi 35313 35314 if test "x$ac_cv_libuna" = xyes; then : 35315 35316$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35317 35318 35319fi 35320 35321 if test "x$ac_cv_libuna" = xyes; then : 35322 HAVE_LIBUNA=1 35323 35324else 35325 HAVE_LIBUNA=0 35326 35327 35328fi 35329 35330 35331 if test "x$ac_cv_libuna" != xyes; then : 35332 35333 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35334 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35335 35336 ac_cv_libuna=local 35337 35338 35339 35340$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35341 35342 HAVE_LOCAL_LIBUNA=1 35343 35344 35345fi 35346 35347 if test "x$ac_cv_libuna" = xlocal; then 35348 HAVE_LOCAL_LIBUNA_TRUE= 35349 HAVE_LOCAL_LIBUNA_FALSE='#' 35350else 35351 HAVE_LOCAL_LIBUNA_TRUE='#' 35352 HAVE_LOCAL_LIBUNA_FALSE= 35353fi 35354 35355 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35356 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35357 35358 35359fi 35360 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35361 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35362 35363 35364fi 35365 35366 if test "x$ac_cv_libuna" = xyes; then : 35367 ax_libuna_pc_libs_private=-luna 35368 35369 35370fi 35371 35372 if test "x$ac_cv_libuna" = xyes; then : 35373 ax_libuna_spec_requires=libuna 35374 35375 ax_libuna_spec_build_requires=libuna-devel 35376 35377 35378fi 35379 35380 35381 35382 35383# Check whether --with-libcfile was given. 35384if test "${with_libcfile+set}" = set; then : 35385 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35386else 35387 ac_cv_with_libcfile=auto-detect 35388fi 35389 35390 { $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 35391$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; } 35392if ${ac_cv_with_libcfile+:} false; then : 35393 $as_echo_n "(cached) " >&6 35394else 35395 ac_cv_with_libcfile=auto-detect 35396fi 35397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35398$as_echo "$ac_cv_with_libcfile" >&6; } 35399 35400 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35401 ac_cv_libcfile=no 35402else 35403 ac_cv_libcfile=check 35404 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35405 if test -d "$ac_cv_with_libcfile"; then : 35406 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35407 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35408else 35409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35411as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35412See \`config.log' for more details" "$LINENO" 5; } 35413 35414fi 35415 35416else 35417 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35418 35419pkg_failed=no 35420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35421$as_echo_n "checking for libcfile... " >&6; } 35422 35423if test -n "$libcfile_CFLAGS"; then 35424 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35425 elif test -n "$PKG_CONFIG"; then 35426 if test -n "$PKG_CONFIG" && \ 35427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35428 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35429 ac_status=$? 35430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35431 test $ac_status = 0; }; then 35432 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35433 test "x$?" != "x0" && pkg_failed=yes 35434else 35435 pkg_failed=yes 35436fi 35437 else 35438 pkg_failed=untried 35439fi 35440if test -n "$libcfile_LIBS"; then 35441 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35442 elif test -n "$PKG_CONFIG"; then 35443 if test -n "$PKG_CONFIG" && \ 35444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35445 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35446 ac_status=$? 35447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35448 test $ac_status = 0; }; then 35449 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35450 test "x$?" != "x0" && pkg_failed=yes 35451else 35452 pkg_failed=yes 35453fi 35454 else 35455 pkg_failed=untried 35456fi 35457 35458 35459 35460if test $pkg_failed = yes; then 35461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35462$as_echo "no" >&6; } 35463 35464if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35465 _pkg_short_errors_supported=yes 35466else 35467 _pkg_short_errors_supported=no 35468fi 35469 if test $_pkg_short_errors_supported = yes; then 35470 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35471 else 35472 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35473 fi 35474 # Put the nasty error message in config.log where it belongs 35475 echo "$libcfile_PKG_ERRORS" >&5 35476 35477 ac_cv_libcfile=check 35478elif test $pkg_failed = untried; then 35479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35480$as_echo "no" >&6; } 35481 ac_cv_libcfile=check 35482else 35483 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35484 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35486$as_echo "yes" >&6; } 35487 ac_cv_libcfile=yes 35488fi 35489 35490fi 35491 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35493$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35494if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35495 $as_echo_n "(cached) " >&6 35496else 35497 ac_ext=c 35498ac_cpp='$CPP $CPPFLAGS' 35499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35501ac_compiler_gnu=$ac_cv_c_compiler_gnu 35502 35503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35504/* end confdefs.h. */ 35505#include <libcfile/features.h> 35506int 35507main () 35508{ 35509#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35510#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35511#endif 35512 ; 35513 return 0; 35514} 35515_ACEOF 35516if ac_fn_c_try_compile "$LINENO"; then : 35517 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35518else 35519 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35520fi 35521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35522 ac_ext=c 35523ac_cpp='$CPP $CPPFLAGS' 35524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35526ac_compiler_gnu=$ac_cv_c_compiler_gnu 35527 35528fi 35529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35530$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35531 35532 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35533 ac_cv_libcfile=no 35534fi 35535 35536fi 35537 if test "x$ac_cv_libcfile" = xyes; then : 35538 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35539 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35540fi 35541 35542fi 35543 35544 if test "x$ac_cv_libcfile" = xcheck; then : 35545 for ac_header in libcfile.h 35546do : 35547 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35548if test "x$ac_cv_header_libcfile_h" = xyes; then : 35549 cat >>confdefs.h <<_ACEOF 35550#define HAVE_LIBCFILE_H 1 35551_ACEOF 35552 35553fi 35554 35555done 35556 35557 35558 if test "x$ac_cv_header_libcfile_h" = xno; then : 35559 ac_cv_libcfile=no 35560else 35561 ac_cv_libcfile=yes 35562 35563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35564$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35565if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35566 $as_echo_n "(cached) " >&6 35567else 35568 ac_check_lib_save_LIBS=$LIBS 35569LIBS="-lcfile $LIBS" 35570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35571/* end confdefs.h. */ 35572 35573/* Override any GCC internal prototype to avoid an error. 35574 Use char because int might match the return type of a GCC 35575 builtin and then its argument prototype would still apply. */ 35576#ifdef __cplusplus 35577extern "C" 35578#endif 35579char libcfile_get_version (); 35580int 35581main () 35582{ 35583return libcfile_get_version (); 35584 ; 35585 return 0; 35586} 35587_ACEOF 35588if ac_fn_c_try_link "$LINENO"; then : 35589 ac_cv_lib_cfile_libcfile_get_version=yes 35590else 35591 ac_cv_lib_cfile_libcfile_get_version=no 35592fi 35593rm -f core conftest.err conftest.$ac_objext \ 35594 conftest$ac_exeext conftest.$ac_ext 35595LIBS=$ac_check_lib_save_LIBS 35596fi 35597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35598$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35599if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35600 ac_cv_libcfile_dummy=yes 35601else 35602 ac_cv_libcfile=no 35603fi 35604 35605 35606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35607$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35608if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35609 $as_echo_n "(cached) " >&6 35610else 35611 ac_check_lib_save_LIBS=$LIBS 35612LIBS="-lcfile $LIBS" 35613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35614/* end confdefs.h. */ 35615 35616/* Override any GCC internal prototype to avoid an error. 35617 Use char because int might match the return type of a GCC 35618 builtin and then its argument prototype would still apply. */ 35619#ifdef __cplusplus 35620extern "C" 35621#endif 35622char libcfile_file_initialize (); 35623int 35624main () 35625{ 35626return libcfile_file_initialize (); 35627 ; 35628 return 0; 35629} 35630_ACEOF 35631if ac_fn_c_try_link "$LINENO"; then : 35632 ac_cv_lib_cfile_libcfile_file_initialize=yes 35633else 35634 ac_cv_lib_cfile_libcfile_file_initialize=no 35635fi 35636rm -f core conftest.err conftest.$ac_objext \ 35637 conftest$ac_exeext conftest.$ac_ext 35638LIBS=$ac_check_lib_save_LIBS 35639fi 35640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35641$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35642if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35643 ac_cv_libcfile_dummy=yes 35644else 35645 ac_cv_libcfile=no 35646fi 35647 35648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35649$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35650if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35651 $as_echo_n "(cached) " >&6 35652else 35653 ac_check_lib_save_LIBS=$LIBS 35654LIBS="-lcfile $LIBS" 35655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35656/* end confdefs.h. */ 35657 35658/* Override any GCC internal prototype to avoid an error. 35659 Use char because int might match the return type of a GCC 35660 builtin and then its argument prototype would still apply. */ 35661#ifdef __cplusplus 35662extern "C" 35663#endif 35664char libcfile_file_free (); 35665int 35666main () 35667{ 35668return libcfile_file_free (); 35669 ; 35670 return 0; 35671} 35672_ACEOF 35673if ac_fn_c_try_link "$LINENO"; then : 35674 ac_cv_lib_cfile_libcfile_file_free=yes 35675else 35676 ac_cv_lib_cfile_libcfile_file_free=no 35677fi 35678rm -f core conftest.err conftest.$ac_objext \ 35679 conftest$ac_exeext conftest.$ac_ext 35680LIBS=$ac_check_lib_save_LIBS 35681fi 35682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35683$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35684if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35685 ac_cv_libcfile_dummy=yes 35686else 35687 ac_cv_libcfile=no 35688fi 35689 35690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35691$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35692if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35693 $as_echo_n "(cached) " >&6 35694else 35695 ac_check_lib_save_LIBS=$LIBS 35696LIBS="-lcfile $LIBS" 35697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35698/* end confdefs.h. */ 35699 35700/* Override any GCC internal prototype to avoid an error. 35701 Use char because int might match the return type of a GCC 35702 builtin and then its argument prototype would still apply. */ 35703#ifdef __cplusplus 35704extern "C" 35705#endif 35706char libcfile_file_open (); 35707int 35708main () 35709{ 35710return libcfile_file_open (); 35711 ; 35712 return 0; 35713} 35714_ACEOF 35715if ac_fn_c_try_link "$LINENO"; then : 35716 ac_cv_lib_cfile_libcfile_file_open=yes 35717else 35718 ac_cv_lib_cfile_libcfile_file_open=no 35719fi 35720rm -f core conftest.err conftest.$ac_objext \ 35721 conftest$ac_exeext conftest.$ac_ext 35722LIBS=$ac_check_lib_save_LIBS 35723fi 35724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35725$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35726if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35727 ac_cv_libcfile_dummy=yes 35728else 35729 ac_cv_libcfile=no 35730fi 35731 35732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35733$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35734if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35735 $as_echo_n "(cached) " >&6 35736else 35737 ac_check_lib_save_LIBS=$LIBS 35738LIBS="-lcfile $LIBS" 35739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35740/* end confdefs.h. */ 35741 35742/* Override any GCC internal prototype to avoid an error. 35743 Use char because int might match the return type of a GCC 35744 builtin and then its argument prototype would still apply. */ 35745#ifdef __cplusplus 35746extern "C" 35747#endif 35748char libcfile_file_open_with_error_code (); 35749int 35750main () 35751{ 35752return libcfile_file_open_with_error_code (); 35753 ; 35754 return 0; 35755} 35756_ACEOF 35757if ac_fn_c_try_link "$LINENO"; then : 35758 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35759else 35760 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35761fi 35762rm -f core conftest.err conftest.$ac_objext \ 35763 conftest$ac_exeext conftest.$ac_ext 35764LIBS=$ac_check_lib_save_LIBS 35765fi 35766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35767$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35768if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35769 ac_cv_libcfile_dummy=yes 35770else 35771 ac_cv_libcfile=no 35772fi 35773 35774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35775$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35776if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35777 $as_echo_n "(cached) " >&6 35778else 35779 ac_check_lib_save_LIBS=$LIBS 35780LIBS="-lcfile $LIBS" 35781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35782/* end confdefs.h. */ 35783 35784/* Override any GCC internal prototype to avoid an error. 35785 Use char because int might match the return type of a GCC 35786 builtin and then its argument prototype would still apply. */ 35787#ifdef __cplusplus 35788extern "C" 35789#endif 35790char libcfile_file_close (); 35791int 35792main () 35793{ 35794return libcfile_file_close (); 35795 ; 35796 return 0; 35797} 35798_ACEOF 35799if ac_fn_c_try_link "$LINENO"; then : 35800 ac_cv_lib_cfile_libcfile_file_close=yes 35801else 35802 ac_cv_lib_cfile_libcfile_file_close=no 35803fi 35804rm -f core conftest.err conftest.$ac_objext \ 35805 conftest$ac_exeext conftest.$ac_ext 35806LIBS=$ac_check_lib_save_LIBS 35807fi 35808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35809$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35810if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35811 ac_cv_libcfile_dummy=yes 35812else 35813 ac_cv_libcfile=no 35814fi 35815 35816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35817$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35818if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35819 $as_echo_n "(cached) " >&6 35820else 35821 ac_check_lib_save_LIBS=$LIBS 35822LIBS="-lcfile $LIBS" 35823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35824/* end confdefs.h. */ 35825 35826/* Override any GCC internal prototype to avoid an error. 35827 Use char because int might match the return type of a GCC 35828 builtin and then its argument prototype would still apply. */ 35829#ifdef __cplusplus 35830extern "C" 35831#endif 35832char libcfile_file_read_buffer (); 35833int 35834main () 35835{ 35836return libcfile_file_read_buffer (); 35837 ; 35838 return 0; 35839} 35840_ACEOF 35841if ac_fn_c_try_link "$LINENO"; then : 35842 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35843else 35844 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35845fi 35846rm -f core conftest.err conftest.$ac_objext \ 35847 conftest$ac_exeext conftest.$ac_ext 35848LIBS=$ac_check_lib_save_LIBS 35849fi 35850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35851$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35852if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35853 ac_cv_libcfile_dummy=yes 35854else 35855 ac_cv_libcfile=no 35856fi 35857 35858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35859$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35860if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35861 $as_echo_n "(cached) " >&6 35862else 35863 ac_check_lib_save_LIBS=$LIBS 35864LIBS="-lcfile $LIBS" 35865cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35866/* end confdefs.h. */ 35867 35868/* Override any GCC internal prototype to avoid an error. 35869 Use char because int might match the return type of a GCC 35870 builtin and then its argument prototype would still apply. */ 35871#ifdef __cplusplus 35872extern "C" 35873#endif 35874char libcfile_file_read_buffer_with_error_code (); 35875int 35876main () 35877{ 35878return libcfile_file_read_buffer_with_error_code (); 35879 ; 35880 return 0; 35881} 35882_ACEOF 35883if ac_fn_c_try_link "$LINENO"; then : 35884 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35885else 35886 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35887fi 35888rm -f core conftest.err conftest.$ac_objext \ 35889 conftest$ac_exeext conftest.$ac_ext 35890LIBS=$ac_check_lib_save_LIBS 35891fi 35892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35893$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35894if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35895 ac_cv_libcfile_dummy=yes 35896else 35897 ac_cv_libcfile=no 35898fi 35899 35900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35901$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35902if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35903 $as_echo_n "(cached) " >&6 35904else 35905 ac_check_lib_save_LIBS=$LIBS 35906LIBS="-lcfile $LIBS" 35907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35908/* end confdefs.h. */ 35909 35910/* Override any GCC internal prototype to avoid an error. 35911 Use char because int might match the return type of a GCC 35912 builtin and then its argument prototype would still apply. */ 35913#ifdef __cplusplus 35914extern "C" 35915#endif 35916char libcfile_file_write_buffer (); 35917int 35918main () 35919{ 35920return libcfile_file_write_buffer (); 35921 ; 35922 return 0; 35923} 35924_ACEOF 35925if ac_fn_c_try_link "$LINENO"; then : 35926 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 35927else 35928 ac_cv_lib_cfile_libcfile_file_write_buffer=no 35929fi 35930rm -f core conftest.err conftest.$ac_objext \ 35931 conftest$ac_exeext conftest.$ac_ext 35932LIBS=$ac_check_lib_save_LIBS 35933fi 35934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 35935$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 35936if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 35937 ac_cv_libcfile_dummy=yes 35938else 35939 ac_cv_libcfile=no 35940fi 35941 35942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 35943$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 35944if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 35945 $as_echo_n "(cached) " >&6 35946else 35947 ac_check_lib_save_LIBS=$LIBS 35948LIBS="-lcfile $LIBS" 35949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35950/* end confdefs.h. */ 35951 35952/* Override any GCC internal prototype to avoid an error. 35953 Use char because int might match the return type of a GCC 35954 builtin and then its argument prototype would still apply. */ 35955#ifdef __cplusplus 35956extern "C" 35957#endif 35958char libcfile_file_write_buffer_with_error_code (); 35959int 35960main () 35961{ 35962return libcfile_file_write_buffer_with_error_code (); 35963 ; 35964 return 0; 35965} 35966_ACEOF 35967if ac_fn_c_try_link "$LINENO"; then : 35968 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 35969else 35970 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 35971fi 35972rm -f core conftest.err conftest.$ac_objext \ 35973 conftest$ac_exeext conftest.$ac_ext 35974LIBS=$ac_check_lib_save_LIBS 35975fi 35976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 35977$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 35978if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 35979 ac_cv_libcfile_dummy=yes 35980else 35981 ac_cv_libcfile=no 35982fi 35983 35984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 35985$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 35986if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 35987 $as_echo_n "(cached) " >&6 35988else 35989 ac_check_lib_save_LIBS=$LIBS 35990LIBS="-lcfile $LIBS" 35991cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35992/* end confdefs.h. */ 35993 35994/* Override any GCC internal prototype to avoid an error. 35995 Use char because int might match the return type of a GCC 35996 builtin and then its argument prototype would still apply. */ 35997#ifdef __cplusplus 35998extern "C" 35999#endif 36000char libcfile_file_seek_offset (); 36001int 36002main () 36003{ 36004return libcfile_file_seek_offset (); 36005 ; 36006 return 0; 36007} 36008_ACEOF 36009if ac_fn_c_try_link "$LINENO"; then : 36010 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36011else 36012 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36013fi 36014rm -f core conftest.err conftest.$ac_objext \ 36015 conftest$ac_exeext conftest.$ac_ext 36016LIBS=$ac_check_lib_save_LIBS 36017fi 36018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36019$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36020if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36021 ac_cv_libcfile_dummy=yes 36022else 36023 ac_cv_libcfile=no 36024fi 36025 36026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36027$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36028if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36029 $as_echo_n "(cached) " >&6 36030else 36031 ac_check_lib_save_LIBS=$LIBS 36032LIBS="-lcfile $LIBS" 36033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36034/* end confdefs.h. */ 36035 36036/* Override any GCC internal prototype to avoid an error. 36037 Use char because int might match the return type of a GCC 36038 builtin and then its argument prototype would still apply. */ 36039#ifdef __cplusplus 36040extern "C" 36041#endif 36042char libcfile_file_resize (); 36043int 36044main () 36045{ 36046return libcfile_file_resize (); 36047 ; 36048 return 0; 36049} 36050_ACEOF 36051if ac_fn_c_try_link "$LINENO"; then : 36052 ac_cv_lib_cfile_libcfile_file_resize=yes 36053else 36054 ac_cv_lib_cfile_libcfile_file_resize=no 36055fi 36056rm -f core conftest.err conftest.$ac_objext \ 36057 conftest$ac_exeext conftest.$ac_ext 36058LIBS=$ac_check_lib_save_LIBS 36059fi 36060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36061$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36062if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36063 ac_cv_libcfile_dummy=yes 36064else 36065 ac_cv_libcfile=no 36066fi 36067 36068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36069$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36070if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36071 $as_echo_n "(cached) " >&6 36072else 36073 ac_check_lib_save_LIBS=$LIBS 36074LIBS="-lcfile $LIBS" 36075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36076/* end confdefs.h. */ 36077 36078/* Override any GCC internal prototype to avoid an error. 36079 Use char because int might match the return type of a GCC 36080 builtin and then its argument prototype would still apply. */ 36081#ifdef __cplusplus 36082extern "C" 36083#endif 36084char libcfile_file_is_open (); 36085int 36086main () 36087{ 36088return libcfile_file_is_open (); 36089 ; 36090 return 0; 36091} 36092_ACEOF 36093if ac_fn_c_try_link "$LINENO"; then : 36094 ac_cv_lib_cfile_libcfile_file_is_open=yes 36095else 36096 ac_cv_lib_cfile_libcfile_file_is_open=no 36097fi 36098rm -f core conftest.err conftest.$ac_objext \ 36099 conftest$ac_exeext conftest.$ac_ext 36100LIBS=$ac_check_lib_save_LIBS 36101fi 36102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36103$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36104if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36105 ac_cv_libcfile_dummy=yes 36106else 36107 ac_cv_libcfile=no 36108fi 36109 36110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36111$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36112if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36113 $as_echo_n "(cached) " >&6 36114else 36115 ac_check_lib_save_LIBS=$LIBS 36116LIBS="-lcfile $LIBS" 36117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36118/* end confdefs.h. */ 36119 36120/* Override any GCC internal prototype to avoid an error. 36121 Use char because int might match the return type of a GCC 36122 builtin and then its argument prototype would still apply. */ 36123#ifdef __cplusplus 36124extern "C" 36125#endif 36126char libcfile_file_get_offset (); 36127int 36128main () 36129{ 36130return libcfile_file_get_offset (); 36131 ; 36132 return 0; 36133} 36134_ACEOF 36135if ac_fn_c_try_link "$LINENO"; then : 36136 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36137else 36138 ac_cv_lib_cfile_libcfile_file_get_offset=no 36139fi 36140rm -f core conftest.err conftest.$ac_objext \ 36141 conftest$ac_exeext conftest.$ac_ext 36142LIBS=$ac_check_lib_save_LIBS 36143fi 36144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36145$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36146if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36147 ac_cv_libcfile_dummy=yes 36148else 36149 ac_cv_libcfile=no 36150fi 36151 36152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36153$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36154if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36155 $as_echo_n "(cached) " >&6 36156else 36157 ac_check_lib_save_LIBS=$LIBS 36158LIBS="-lcfile $LIBS" 36159cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36160/* end confdefs.h. */ 36161 36162/* Override any GCC internal prototype to avoid an error. 36163 Use char because int might match the return type of a GCC 36164 builtin and then its argument prototype would still apply. */ 36165#ifdef __cplusplus 36166extern "C" 36167#endif 36168char libcfile_file_get_size (); 36169int 36170main () 36171{ 36172return libcfile_file_get_size (); 36173 ; 36174 return 0; 36175} 36176_ACEOF 36177if ac_fn_c_try_link "$LINENO"; then : 36178 ac_cv_lib_cfile_libcfile_file_get_size=yes 36179else 36180 ac_cv_lib_cfile_libcfile_file_get_size=no 36181fi 36182rm -f core conftest.err conftest.$ac_objext \ 36183 conftest$ac_exeext conftest.$ac_ext 36184LIBS=$ac_check_lib_save_LIBS 36185fi 36186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36187$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36188if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36189 ac_cv_libcfile_dummy=yes 36190else 36191 ac_cv_libcfile=no 36192fi 36193 36194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36195$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36196if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36197 $as_echo_n "(cached) " >&6 36198else 36199 ac_check_lib_save_LIBS=$LIBS 36200LIBS="-lcfile $LIBS" 36201cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36202/* end confdefs.h. */ 36203 36204/* Override any GCC internal prototype to avoid an error. 36205 Use char because int might match the return type of a GCC 36206 builtin and then its argument prototype would still apply. */ 36207#ifdef __cplusplus 36208extern "C" 36209#endif 36210char libcfile_file_is_device (); 36211int 36212main () 36213{ 36214return libcfile_file_is_device (); 36215 ; 36216 return 0; 36217} 36218_ACEOF 36219if ac_fn_c_try_link "$LINENO"; then : 36220 ac_cv_lib_cfile_libcfile_file_is_device=yes 36221else 36222 ac_cv_lib_cfile_libcfile_file_is_device=no 36223fi 36224rm -f core conftest.err conftest.$ac_objext \ 36225 conftest$ac_exeext conftest.$ac_ext 36226LIBS=$ac_check_lib_save_LIBS 36227fi 36228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36229$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36230if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36231 ac_cv_libcfile_dummy=yes 36232else 36233 ac_cv_libcfile=no 36234fi 36235 36236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36237$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36238if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36239 $as_echo_n "(cached) " >&6 36240else 36241 ac_check_lib_save_LIBS=$LIBS 36242LIBS="-lcfile $LIBS" 36243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36244/* end confdefs.h. */ 36245 36246/* Override any GCC internal prototype to avoid an error. 36247 Use char because int might match the return type of a GCC 36248 builtin and then its argument prototype would still apply. */ 36249#ifdef __cplusplus 36250extern "C" 36251#endif 36252char libcfile_file_io_control_read (); 36253int 36254main () 36255{ 36256return libcfile_file_io_control_read (); 36257 ; 36258 return 0; 36259} 36260_ACEOF 36261if ac_fn_c_try_link "$LINENO"; then : 36262 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36263else 36264 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36265fi 36266rm -f core conftest.err conftest.$ac_objext \ 36267 conftest$ac_exeext conftest.$ac_ext 36268LIBS=$ac_check_lib_save_LIBS 36269fi 36270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36271$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36272if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36273 ac_cv_libcfile_dummy=yes 36274else 36275 ac_cv_libcfile=no 36276fi 36277 36278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36279$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36280if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36281 $as_echo_n "(cached) " >&6 36282else 36283 ac_check_lib_save_LIBS=$LIBS 36284LIBS="-lcfile $LIBS" 36285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36286/* end confdefs.h. */ 36287 36288/* Override any GCC internal prototype to avoid an error. 36289 Use char because int might match the return type of a GCC 36290 builtin and then its argument prototype would still apply. */ 36291#ifdef __cplusplus 36292extern "C" 36293#endif 36294char libcfile_file_io_control_read_with_error_code (); 36295int 36296main () 36297{ 36298return libcfile_file_io_control_read_with_error_code (); 36299 ; 36300 return 0; 36301} 36302_ACEOF 36303if ac_fn_c_try_link "$LINENO"; then : 36304 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36305else 36306 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36307fi 36308rm -f core conftest.err conftest.$ac_objext \ 36309 conftest$ac_exeext conftest.$ac_ext 36310LIBS=$ac_check_lib_save_LIBS 36311fi 36312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36313$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36314if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36315 ac_cv_libcfile_dummy=yes 36316else 36317 ac_cv_libcfile=no 36318fi 36319 36320 36321 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36323$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36324if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36325 $as_echo_n "(cached) " >&6 36326else 36327 ac_check_lib_save_LIBS=$LIBS 36328LIBS="-lcfile $LIBS" 36329cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36330/* end confdefs.h. */ 36331 36332/* Override any GCC internal prototype to avoid an error. 36333 Use char because int might match the return type of a GCC 36334 builtin and then its argument prototype would still apply. */ 36335#ifdef __cplusplus 36336extern "C" 36337#endif 36338char libcfile_file_open_wide (); 36339int 36340main () 36341{ 36342return libcfile_file_open_wide (); 36343 ; 36344 return 0; 36345} 36346_ACEOF 36347if ac_fn_c_try_link "$LINENO"; then : 36348 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36349else 36350 ac_cv_lib_cfile_libcfile_file_open_wide=no 36351fi 36352rm -f core conftest.err conftest.$ac_objext \ 36353 conftest$ac_exeext conftest.$ac_ext 36354LIBS=$ac_check_lib_save_LIBS 36355fi 36356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36357$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36358if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36359 ac_cv_libcfile_dummy=yes 36360else 36361 ac_cv_libcfile=no 36362fi 36363 36364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36365$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36366if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36367 $as_echo_n "(cached) " >&6 36368else 36369 ac_check_lib_save_LIBS=$LIBS 36370LIBS="-lcfile $LIBS" 36371cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36372/* end confdefs.h. */ 36373 36374/* Override any GCC internal prototype to avoid an error. 36375 Use char because int might match the return type of a GCC 36376 builtin and then its argument prototype would still apply. */ 36377#ifdef __cplusplus 36378extern "C" 36379#endif 36380char libcfile_file_open_wide_with_error_code (); 36381int 36382main () 36383{ 36384return libcfile_file_open_wide_with_error_code (); 36385 ; 36386 return 0; 36387} 36388_ACEOF 36389if ac_fn_c_try_link "$LINENO"; then : 36390 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36391else 36392 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36393fi 36394rm -f core conftest.err conftest.$ac_objext \ 36395 conftest$ac_exeext conftest.$ac_ext 36396LIBS=$ac_check_lib_save_LIBS 36397fi 36398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36399$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36400if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36401 ac_cv_libcfile_dummy=yes 36402else 36403 ac_cv_libcfile=no 36404fi 36405 36406 36407fi 36408 36409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36410$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36411if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36412 $as_echo_n "(cached) " >&6 36413else 36414 ac_check_lib_save_LIBS=$LIBS 36415LIBS="-lcfile $LIBS" 36416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36417/* end confdefs.h. */ 36418 36419/* Override any GCC internal prototype to avoid an error. 36420 Use char because int might match the return type of a GCC 36421 builtin and then its argument prototype would still apply. */ 36422#ifdef __cplusplus 36423extern "C" 36424#endif 36425char libcfile_file_exists (); 36426int 36427main () 36428{ 36429return libcfile_file_exists (); 36430 ; 36431 return 0; 36432} 36433_ACEOF 36434if ac_fn_c_try_link "$LINENO"; then : 36435 ac_cv_lib_cfile_libcfile_file_exists=yes 36436else 36437 ac_cv_lib_cfile_libcfile_file_exists=no 36438fi 36439rm -f core conftest.err conftest.$ac_objext \ 36440 conftest$ac_exeext conftest.$ac_ext 36441LIBS=$ac_check_lib_save_LIBS 36442fi 36443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36444$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36445if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36446 ac_cv_libcfile_dummy=yes 36447else 36448 ac_cv_libcfile=no 36449fi 36450 36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36452$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36453if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36454 $as_echo_n "(cached) " >&6 36455else 36456 ac_check_lib_save_LIBS=$LIBS 36457LIBS="-lcfile $LIBS" 36458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36459/* end confdefs.h. */ 36460 36461/* Override any GCC internal prototype to avoid an error. 36462 Use char because int might match the return type of a GCC 36463 builtin and then its argument prototype would still apply. */ 36464#ifdef __cplusplus 36465extern "C" 36466#endif 36467char libcfile_file_remove (); 36468int 36469main () 36470{ 36471return libcfile_file_remove (); 36472 ; 36473 return 0; 36474} 36475_ACEOF 36476if ac_fn_c_try_link "$LINENO"; then : 36477 ac_cv_lib_cfile_libcfile_file_remove=yes 36478else 36479 ac_cv_lib_cfile_libcfile_file_remove=no 36480fi 36481rm -f core conftest.err conftest.$ac_objext \ 36482 conftest$ac_exeext conftest.$ac_ext 36483LIBS=$ac_check_lib_save_LIBS 36484fi 36485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36486$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36487if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36488 ac_cv_libcfile_dummy=yes 36489else 36490 ac_cv_libcfile=no 36491fi 36492 36493 36494 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36496$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36497if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36498 $as_echo_n "(cached) " >&6 36499else 36500 ac_check_lib_save_LIBS=$LIBS 36501LIBS="-lcfile $LIBS" 36502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36503/* end confdefs.h. */ 36504 36505/* Override any GCC internal prototype to avoid an error. 36506 Use char because int might match the return type of a GCC 36507 builtin and then its argument prototype would still apply. */ 36508#ifdef __cplusplus 36509extern "C" 36510#endif 36511char libcfile_file_exists_wide (); 36512int 36513main () 36514{ 36515return libcfile_file_exists_wide (); 36516 ; 36517 return 0; 36518} 36519_ACEOF 36520if ac_fn_c_try_link "$LINENO"; then : 36521 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36522else 36523 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36524fi 36525rm -f core conftest.err conftest.$ac_objext \ 36526 conftest$ac_exeext conftest.$ac_ext 36527LIBS=$ac_check_lib_save_LIBS 36528fi 36529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36530$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36531if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36532 ac_cv_libcfile_dummy=yes 36533else 36534 ac_cv_libcfile=no 36535fi 36536 36537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36538$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36539if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36540 $as_echo_n "(cached) " >&6 36541else 36542 ac_check_lib_save_LIBS=$LIBS 36543LIBS="-lcfile $LIBS" 36544cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36545/* end confdefs.h. */ 36546 36547/* Override any GCC internal prototype to avoid an error. 36548 Use char because int might match the return type of a GCC 36549 builtin and then its argument prototype would still apply. */ 36550#ifdef __cplusplus 36551extern "C" 36552#endif 36553char libcfile_file_remove_wide (); 36554int 36555main () 36556{ 36557return libcfile_file_remove_wide (); 36558 ; 36559 return 0; 36560} 36561_ACEOF 36562if ac_fn_c_try_link "$LINENO"; then : 36563 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36564else 36565 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36566fi 36567rm -f core conftest.err conftest.$ac_objext \ 36568 conftest$ac_exeext conftest.$ac_ext 36569LIBS=$ac_check_lib_save_LIBS 36570fi 36571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36572$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36573if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36574 ac_cv_libcfile_dummy=yes 36575else 36576 ac_cv_libcfile=no 36577fi 36578 36579 36580fi 36581 36582 ac_cv_libcfile_LIBADD="-lcfile" 36583fi 36584 36585fi 36586 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36589as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36590See \`config.log' for more details" "$LINENO" 5; } 36591 36592fi 36593 36594fi 36595 36596 if test "x$ac_cv_libcfile" = xyes; then : 36597 36598$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36599 36600 36601fi 36602 36603 if test "x$ac_cv_libcfile" = xyes; then : 36604 HAVE_LIBCFILE=1 36605 36606else 36607 HAVE_LIBCFILE=0 36608 36609 36610fi 36611 36612 36613 if test "x$ac_cv_libcfile" != xyes; then : 36614 for ac_header in errno.h stdio.h sys/stat.h 36615do : 36616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36617ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36618if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36619 cat >>confdefs.h <<_ACEOF 36620#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36621_ACEOF 36622 36623fi 36624 36625done 36626 36627 36628 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36629do : 36630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36631ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36632if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36633 cat >>confdefs.h <<_ACEOF 36634#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36635_ACEOF 36636 36637fi 36638 36639done 36640 36641 36642 for ac_func in close fstat ftruncate ioctl lseek open read write 36643do : 36644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36645ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36646if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36647 cat >>confdefs.h <<_ACEOF 36648#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36649_ACEOF 36650 36651fi 36652done 36653 36654 36655 if test "x$ac_cv_func_close" != xyes; then : 36656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36657$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36658as_fn_error 1 "Missing function: close 36659See \`config.log' for more details" "$LINENO" 5; } 36660 36661fi 36662 36663 for ac_func in posix_fadvise 36664do : 36665 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36666if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36667 cat >>confdefs.h <<_ACEOF 36668#define HAVE_POSIX_FADVISE 1 36669_ACEOF 36670 36671fi 36672done 36673 36674 36675 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36677$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36678 36679 SAVE_CFLAGS="$CFLAGS" 36680 CFLAGS="$CFLAGS -Wall -Werror" 36681 ac_ext=c 36682ac_cpp='$CPP $CPPFLAGS' 36683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36685ac_compiler_gnu=$ac_cv_c_compiler_gnu 36686 36687 36688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36689/* end confdefs.h. */ 36690#include <fcntl.h> 36691int 36692main () 36693{ 36694#if !defined( POSIX_FADV_SEQUENTIAL ) 36695#define POSIX_FADV_SEQUENTIAL 2 36696#endif 36697posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36698 ; 36699 return 0; 36700} 36701_ACEOF 36702if ac_fn_c_try_link "$LINENO"; then : 36703 ac_cv_func_posix_fadvise=yes 36704else 36705 ac_cv_func_posix_fadvise=no 36706fi 36707rm -f core conftest.err conftest.$ac_objext \ 36708 conftest$ac_exeext conftest.$ac_ext 36709 36710 ac_ext=c 36711ac_cpp='$CPP $CPPFLAGS' 36712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36714ac_compiler_gnu=$ac_cv_c_compiler_gnu 36715 36716 CFLAGS="$SAVE_CFLAGS" 36717 36718 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36720$as_echo "yes" >&6; } 36721 36722$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36723 36724else 36725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36726$as_echo "no" >&6; } 36727fi 36728 36729fi 36730 36731 36732 if test "x$ac_cv_func_fstat" != xyes; then : 36733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36734$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36735as_fn_error 1 "Missing function: fstat 36736See \`config.log' for more details" "$LINENO" 5; } 36737 36738fi 36739 36740 if test "x$ac_cv_func_ftruncate" != xyes; then : 36741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36742$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36743as_fn_error 1 "Missing function: ftruncate 36744See \`config.log' for more details" "$LINENO" 5; } 36745 36746fi 36747 36748 if test x"$ac_cv_enable_winapi" = xno; then : 36749 if test "x$ac_cv_func_ioctl" != xyes; then : 36750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36752as_fn_error 1 "Missing function: ioctl 36753See \`config.log' for more details" "$LINENO" 5; } 36754 36755fi 36756 36757fi 36758 36759 if test "x$ac_cv_func_lseek" != xyes; then : 36760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36762as_fn_error 1 "Missing function: lseek 36763See \`config.log' for more details" "$LINENO" 5; } 36764 36765fi 36766 36767 if test "x$ac_cv_func_open" != xyes; then : 36768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36770as_fn_error 1 "Missing function: open 36771See \`config.log' for more details" "$LINENO" 5; } 36772 36773fi 36774 36775 if test "x$ac_cv_func_read" != xyes; then : 36776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36777$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36778as_fn_error 1 "Missing function: read 36779See \`config.log' for more details" "$LINENO" 5; } 36780 36781fi 36782 36783 if test "x$ac_cv_func_write" != xyes; then : 36784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36785$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36786as_fn_error 1 "Missing function: write 36787See \`config.log' for more details" "$LINENO" 5; } 36788 36789fi 36790 36791 for ac_func in stat unlink 36792do : 36793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36794ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36795if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36796 cat >>confdefs.h <<_ACEOF 36797#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36798_ACEOF 36799 36800fi 36801done 36802 36803 36804 if test "x$ac_cv_func_stat" != xyes; then : 36805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36806$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36807as_fn_error 1 "Missing function: stat 36808See \`config.log' for more details" "$LINENO" 5; } 36809 36810fi 36811 36812 if test "x$ac_cv_func_unlink" != xyes; then : 36813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36815as_fn_error 1 "Missing function: unlink 36816See \`config.log' for more details" "$LINENO" 5; } 36817 36818fi 36819 36820 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36821 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36822 36823 ac_cv_libcfile=local 36824 36825 36826 36827$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36828 36829 HAVE_LOCAL_LIBCFILE=1 36830 36831 36832fi 36833 36834 if test "x$ac_cv_libcfile" = xlocal; then 36835 HAVE_LOCAL_LIBCFILE_TRUE= 36836 HAVE_LOCAL_LIBCFILE_FALSE='#' 36837else 36838 HAVE_LOCAL_LIBCFILE_TRUE='#' 36839 HAVE_LOCAL_LIBCFILE_FALSE= 36840fi 36841 36842 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36843 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36844 36845 36846fi 36847 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36848 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36849 36850 36851fi 36852 36853 if test "x$ac_cv_libcfile" = xyes; then : 36854 ax_libcfile_pc_libs_private=-lcfile 36855 36856 36857fi 36858 36859 if test "x$ac_cv_libcfile" = xyes; then : 36860 ax_libcfile_spec_requires=libcfile 36861 36862 ax_libcfile_spec_build_requires=libcfile-devel 36863 36864 36865fi 36866 36867 36868 36869 36870# Check whether --with-libcpath was given. 36871if test "${with_libcpath+set}" = set; then : 36872 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36873else 36874 ac_cv_with_libcpath=auto-detect 36875fi 36876 36877 { $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 36878$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; } 36879if ${ac_cv_with_libcpath+:} false; then : 36880 $as_echo_n "(cached) " >&6 36881else 36882 ac_cv_with_libcpath=auto-detect 36883fi 36884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36885$as_echo "$ac_cv_with_libcpath" >&6; } 36886 36887 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36888 ac_cv_libcpath=no 36889else 36890 ac_cv_libcpath=check 36891 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36892 if test -d "$ac_cv_with_libcpath"; then : 36893 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36894 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36895else 36896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36898as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36899See \`config.log' for more details" "$LINENO" 5; } 36900 36901fi 36902 36903else 36904 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36905 36906pkg_failed=no 36907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36908$as_echo_n "checking for libcpath... " >&6; } 36909 36910if test -n "$libcpath_CFLAGS"; then 36911 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36912 elif test -n "$PKG_CONFIG"; then 36913 if test -n "$PKG_CONFIG" && \ 36914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36915 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36916 ac_status=$? 36917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36918 test $ac_status = 0; }; then 36919 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36920 test "x$?" != "x0" && pkg_failed=yes 36921else 36922 pkg_failed=yes 36923fi 36924 else 36925 pkg_failed=untried 36926fi 36927if test -n "$libcpath_LIBS"; then 36928 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 36929 elif test -n "$PKG_CONFIG"; then 36930 if test -n "$PKG_CONFIG" && \ 36931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36932 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36933 ac_status=$? 36934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36935 test $ac_status = 0; }; then 36936 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 36937 test "x$?" != "x0" && pkg_failed=yes 36938else 36939 pkg_failed=yes 36940fi 36941 else 36942 pkg_failed=untried 36943fi 36944 36945 36946 36947if test $pkg_failed = yes; then 36948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36949$as_echo "no" >&6; } 36950 36951if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 36952 _pkg_short_errors_supported=yes 36953else 36954 _pkg_short_errors_supported=no 36955fi 36956 if test $_pkg_short_errors_supported = yes; then 36957 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 36958 else 36959 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 36960 fi 36961 # Put the nasty error message in config.log where it belongs 36962 echo "$libcpath_PKG_ERRORS" >&5 36963 36964 ac_cv_libcpath=check 36965elif test $pkg_failed = untried; then 36966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36967$as_echo "no" >&6; } 36968 ac_cv_libcpath=check 36969else 36970 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 36971 libcpath_LIBS=$pkg_cv_libcpath_LIBS 36972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36973$as_echo "yes" >&6; } 36974 ac_cv_libcpath=yes 36975fi 36976 36977fi 36978 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 36979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 36980$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 36981if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 36982 $as_echo_n "(cached) " >&6 36983else 36984 ac_ext=c 36985ac_cpp='$CPP $CPPFLAGS' 36986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36988ac_compiler_gnu=$ac_cv_c_compiler_gnu 36989 36990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36991/* end confdefs.h. */ 36992#include <libcpath/features.h> 36993int 36994main () 36995{ 36996#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 36997#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 36998#endif 36999 ; 37000 return 0; 37001} 37002_ACEOF 37003if ac_fn_c_try_compile "$LINENO"; then : 37004 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37005else 37006 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37007fi 37008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37009 ac_ext=c 37010ac_cpp='$CPP $CPPFLAGS' 37011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37013ac_compiler_gnu=$ac_cv_c_compiler_gnu 37014 37015fi 37016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37017$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37018 37019 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37020 ac_cv_libcpath=no 37021fi 37022 37023fi 37024 if test "x$ac_cv_libcpath" = xyes; then : 37025 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37026 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37027fi 37028 37029fi 37030 37031 if test "x$ac_cv_libcpath" = xcheck; then : 37032 for ac_header in libcpath.h 37033do : 37034 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37035if test "x$ac_cv_header_libcpath_h" = xyes; then : 37036 cat >>confdefs.h <<_ACEOF 37037#define HAVE_LIBCPATH_H 1 37038_ACEOF 37039 37040fi 37041 37042done 37043 37044 37045 if test "x$ac_cv_header_libcpath_h" = xno; then : 37046 ac_cv_libcpath=no 37047else 37048 ac_cv_libcpath=yes 37049 37050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37051$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37052if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37053 $as_echo_n "(cached) " >&6 37054else 37055 ac_check_lib_save_LIBS=$LIBS 37056LIBS="-lcpath $LIBS" 37057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37058/* end confdefs.h. */ 37059 37060/* Override any GCC internal prototype to avoid an error. 37061 Use char because int might match the return type of a GCC 37062 builtin and then its argument prototype would still apply. */ 37063#ifdef __cplusplus 37064extern "C" 37065#endif 37066char libcpath_get_version (); 37067int 37068main () 37069{ 37070return libcpath_get_version (); 37071 ; 37072 return 0; 37073} 37074_ACEOF 37075if ac_fn_c_try_link "$LINENO"; then : 37076 ac_cv_lib_cpath_libcpath_get_version=yes 37077else 37078 ac_cv_lib_cpath_libcpath_get_version=no 37079fi 37080rm -f core conftest.err conftest.$ac_objext \ 37081 conftest$ac_exeext conftest.$ac_ext 37082LIBS=$ac_check_lib_save_LIBS 37083fi 37084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37085$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37086if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37087 ac_cv_libcpath_dummy=yes 37088else 37089 ac_cv_libcpath=no 37090fi 37091 37092 37093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37094$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37095if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37096 $as_echo_n "(cached) " >&6 37097else 37098 ac_check_lib_save_LIBS=$LIBS 37099LIBS="-lcpath $LIBS" 37100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37101/* end confdefs.h. */ 37102 37103/* Override any GCC internal prototype to avoid an error. 37104 Use char because int might match the return type of a GCC 37105 builtin and then its argument prototype would still apply. */ 37106#ifdef __cplusplus 37107extern "C" 37108#endif 37109char libcpath_path_change_directory (); 37110int 37111main () 37112{ 37113return libcpath_path_change_directory (); 37114 ; 37115 return 0; 37116} 37117_ACEOF 37118if ac_fn_c_try_link "$LINENO"; then : 37119 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37120else 37121 ac_cv_lib_cpath_libcpath_path_change_directory=no 37122fi 37123rm -f core conftest.err conftest.$ac_objext \ 37124 conftest$ac_exeext conftest.$ac_ext 37125LIBS=$ac_check_lib_save_LIBS 37126fi 37127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37128$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37129if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37130 ac_cv_libcpath_dummy=yes 37131else 37132 ac_cv_libcpath=no 37133fi 37134 37135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37136$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37137if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37138 $as_echo_n "(cached) " >&6 37139else 37140 ac_check_lib_save_LIBS=$LIBS 37141LIBS="-lcpath $LIBS" 37142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37143/* end confdefs.h. */ 37144 37145/* Override any GCC internal prototype to avoid an error. 37146 Use char because int might match the return type of a GCC 37147 builtin and then its argument prototype would still apply. */ 37148#ifdef __cplusplus 37149extern "C" 37150#endif 37151char libcpath_path_get_current_working_directory (); 37152int 37153main () 37154{ 37155return libcpath_path_get_current_working_directory (); 37156 ; 37157 return 0; 37158} 37159_ACEOF 37160if ac_fn_c_try_link "$LINENO"; then : 37161 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37162else 37163 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37164fi 37165rm -f core conftest.err conftest.$ac_objext \ 37166 conftest$ac_exeext conftest.$ac_ext 37167LIBS=$ac_check_lib_save_LIBS 37168fi 37169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37170$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37171if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37172 ac_cv_libcpath_dummy=yes 37173else 37174 ac_cv_libcpath=no 37175fi 37176 37177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37178$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37179if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37180 $as_echo_n "(cached) " >&6 37181else 37182 ac_check_lib_save_LIBS=$LIBS 37183LIBS="-lcpath $LIBS" 37184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37185/* end confdefs.h. */ 37186 37187/* Override any GCC internal prototype to avoid an error. 37188 Use char because int might match the return type of a GCC 37189 builtin and then its argument prototype would still apply. */ 37190#ifdef __cplusplus 37191extern "C" 37192#endif 37193char libcpath_path_get_full_path (); 37194int 37195main () 37196{ 37197return libcpath_path_get_full_path (); 37198 ; 37199 return 0; 37200} 37201_ACEOF 37202if ac_fn_c_try_link "$LINENO"; then : 37203 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37204else 37205 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37206fi 37207rm -f core conftest.err conftest.$ac_objext \ 37208 conftest$ac_exeext conftest.$ac_ext 37209LIBS=$ac_check_lib_save_LIBS 37210fi 37211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37212$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37213if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37214 ac_cv_libcpath_dummy=yes 37215else 37216 ac_cv_libcpath=no 37217fi 37218 37219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37220$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37221if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37222 $as_echo_n "(cached) " >&6 37223else 37224 ac_check_lib_save_LIBS=$LIBS 37225LIBS="-lcpath $LIBS" 37226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37227/* end confdefs.h. */ 37228 37229/* Override any GCC internal prototype to avoid an error. 37230 Use char because int might match the return type of a GCC 37231 builtin and then its argument prototype would still apply. */ 37232#ifdef __cplusplus 37233extern "C" 37234#endif 37235char libcpath_path_get_sanitized_filename (); 37236int 37237main () 37238{ 37239return libcpath_path_get_sanitized_filename (); 37240 ; 37241 return 0; 37242} 37243_ACEOF 37244if ac_fn_c_try_link "$LINENO"; then : 37245 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37246else 37247 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37248fi 37249rm -f core conftest.err conftest.$ac_objext \ 37250 conftest$ac_exeext conftest.$ac_ext 37251LIBS=$ac_check_lib_save_LIBS 37252fi 37253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37254$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37255if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37256 ac_cv_libcpath_dummy=yes 37257else 37258 ac_cv_libcpath=no 37259fi 37260 37261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37262$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37263if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37264 $as_echo_n "(cached) " >&6 37265else 37266 ac_check_lib_save_LIBS=$LIBS 37267LIBS="-lcpath $LIBS" 37268cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37269/* end confdefs.h. */ 37270 37271/* Override any GCC internal prototype to avoid an error. 37272 Use char because int might match the return type of a GCC 37273 builtin and then its argument prototype would still apply. */ 37274#ifdef __cplusplus 37275extern "C" 37276#endif 37277char libcpath_path_get_sanitized_path (); 37278int 37279main () 37280{ 37281return libcpath_path_get_sanitized_path (); 37282 ; 37283 return 0; 37284} 37285_ACEOF 37286if ac_fn_c_try_link "$LINENO"; then : 37287 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37288else 37289 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37290fi 37291rm -f core conftest.err conftest.$ac_objext \ 37292 conftest$ac_exeext conftest.$ac_ext 37293LIBS=$ac_check_lib_save_LIBS 37294fi 37295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37296$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37297if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37298 ac_cv_libcpath_dummy=yes 37299else 37300 ac_cv_libcpath=no 37301fi 37302 37303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37304$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37305if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37306 $as_echo_n "(cached) " >&6 37307else 37308 ac_check_lib_save_LIBS=$LIBS 37309LIBS="-lcpath $LIBS" 37310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37311/* end confdefs.h. */ 37312 37313/* Override any GCC internal prototype to avoid an error. 37314 Use char because int might match the return type of a GCC 37315 builtin and then its argument prototype would still apply. */ 37316#ifdef __cplusplus 37317extern "C" 37318#endif 37319char libcpath_path_join (); 37320int 37321main () 37322{ 37323return libcpath_path_join (); 37324 ; 37325 return 0; 37326} 37327_ACEOF 37328if ac_fn_c_try_link "$LINENO"; then : 37329 ac_cv_lib_cpath_libcpath_path_join=yes 37330else 37331 ac_cv_lib_cpath_libcpath_path_join=no 37332fi 37333rm -f core conftest.err conftest.$ac_objext \ 37334 conftest$ac_exeext conftest.$ac_ext 37335LIBS=$ac_check_lib_save_LIBS 37336fi 37337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37338$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37339if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37340 ac_cv_libcpath_dummy=yes 37341else 37342 ac_cv_libcpath=no 37343fi 37344 37345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37346$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37347if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37348 $as_echo_n "(cached) " >&6 37349else 37350 ac_check_lib_save_LIBS=$LIBS 37351LIBS="-lcpath $LIBS" 37352cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37353/* end confdefs.h. */ 37354 37355/* Override any GCC internal prototype to avoid an error. 37356 Use char because int might match the return type of a GCC 37357 builtin and then its argument prototype would still apply. */ 37358#ifdef __cplusplus 37359extern "C" 37360#endif 37361char libcpath_path_make_directory (); 37362int 37363main () 37364{ 37365return libcpath_path_make_directory (); 37366 ; 37367 return 0; 37368} 37369_ACEOF 37370if ac_fn_c_try_link "$LINENO"; then : 37371 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37372else 37373 ac_cv_lib_cpath_libcpath_path_make_directory=no 37374fi 37375rm -f core conftest.err conftest.$ac_objext \ 37376 conftest$ac_exeext conftest.$ac_ext 37377LIBS=$ac_check_lib_save_LIBS 37378fi 37379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37380$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37381if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37382 ac_cv_libcpath_dummy=yes 37383else 37384 ac_cv_libcpath=no 37385fi 37386 37387 37388 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37390$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37391if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37392 $as_echo_n "(cached) " >&6 37393else 37394 ac_check_lib_save_LIBS=$LIBS 37395LIBS="-lcpath $LIBS" 37396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37397/* end confdefs.h. */ 37398 37399/* Override any GCC internal prototype to avoid an error. 37400 Use char because int might match the return type of a GCC 37401 builtin and then its argument prototype would still apply. */ 37402#ifdef __cplusplus 37403extern "C" 37404#endif 37405char libcpath_path_change_directory_wide (); 37406int 37407main () 37408{ 37409return libcpath_path_change_directory_wide (); 37410 ; 37411 return 0; 37412} 37413_ACEOF 37414if ac_fn_c_try_link "$LINENO"; then : 37415 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37416else 37417 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37418fi 37419rm -f core conftest.err conftest.$ac_objext \ 37420 conftest$ac_exeext conftest.$ac_ext 37421LIBS=$ac_check_lib_save_LIBS 37422fi 37423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37424$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37425if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37426 ac_cv_libcpath_dummy=yes 37427else 37428 ac_cv_libcpath=no 37429fi 37430 37431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37432$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37433if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37434 $as_echo_n "(cached) " >&6 37435else 37436 ac_check_lib_save_LIBS=$LIBS 37437LIBS="-lcpath $LIBS" 37438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37439/* end confdefs.h. */ 37440 37441/* Override any GCC internal prototype to avoid an error. 37442 Use char because int might match the return type of a GCC 37443 builtin and then its argument prototype would still apply. */ 37444#ifdef __cplusplus 37445extern "C" 37446#endif 37447char libcpath_path_get_current_working_directory_wide (); 37448int 37449main () 37450{ 37451return libcpath_path_get_current_working_directory_wide (); 37452 ; 37453 return 0; 37454} 37455_ACEOF 37456if ac_fn_c_try_link "$LINENO"; then : 37457 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37458else 37459 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37460fi 37461rm -f core conftest.err conftest.$ac_objext \ 37462 conftest$ac_exeext conftest.$ac_ext 37463LIBS=$ac_check_lib_save_LIBS 37464fi 37465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37466$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37467if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37468 ac_cv_libcpath_dummy=yes 37469else 37470 ac_cv_libcpath=no 37471fi 37472 37473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37474$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37475if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37476 $as_echo_n "(cached) " >&6 37477else 37478 ac_check_lib_save_LIBS=$LIBS 37479LIBS="-lcpath $LIBS" 37480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37481/* end confdefs.h. */ 37482 37483/* Override any GCC internal prototype to avoid an error. 37484 Use char because int might match the return type of a GCC 37485 builtin and then its argument prototype would still apply. */ 37486#ifdef __cplusplus 37487extern "C" 37488#endif 37489char libcpath_path_get_full_path_wide (); 37490int 37491main () 37492{ 37493return libcpath_path_get_full_path_wide (); 37494 ; 37495 return 0; 37496} 37497_ACEOF 37498if ac_fn_c_try_link "$LINENO"; then : 37499 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37500else 37501 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37502fi 37503rm -f core conftest.err conftest.$ac_objext \ 37504 conftest$ac_exeext conftest.$ac_ext 37505LIBS=$ac_check_lib_save_LIBS 37506fi 37507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37508$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37509if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37510 ac_cv_libcpath_dummy=yes 37511else 37512 ac_cv_libcpath=no 37513fi 37514 37515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37516$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37517if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37518 $as_echo_n "(cached) " >&6 37519else 37520 ac_check_lib_save_LIBS=$LIBS 37521LIBS="-lcpath $LIBS" 37522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37523/* end confdefs.h. */ 37524 37525/* Override any GCC internal prototype to avoid an error. 37526 Use char because int might match the return type of a GCC 37527 builtin and then its argument prototype would still apply. */ 37528#ifdef __cplusplus 37529extern "C" 37530#endif 37531char libcpath_path_get_sanitized_filename_wide (); 37532int 37533main () 37534{ 37535return libcpath_path_get_sanitized_filename_wide (); 37536 ; 37537 return 0; 37538} 37539_ACEOF 37540if ac_fn_c_try_link "$LINENO"; then : 37541 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37542else 37543 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37544fi 37545rm -f core conftest.err conftest.$ac_objext \ 37546 conftest$ac_exeext conftest.$ac_ext 37547LIBS=$ac_check_lib_save_LIBS 37548fi 37549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37550$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37551if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37552 ac_cv_libcpath_dummy=yes 37553else 37554 ac_cv_libcpath=no 37555fi 37556 37557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37558$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37559if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37560 $as_echo_n "(cached) " >&6 37561else 37562 ac_check_lib_save_LIBS=$LIBS 37563LIBS="-lcpath $LIBS" 37564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37565/* end confdefs.h. */ 37566 37567/* Override any GCC internal prototype to avoid an error. 37568 Use char because int might match the return type of a GCC 37569 builtin and then its argument prototype would still apply. */ 37570#ifdef __cplusplus 37571extern "C" 37572#endif 37573char libcpath_path_get_sanitized_path_wide (); 37574int 37575main () 37576{ 37577return libcpath_path_get_sanitized_path_wide (); 37578 ; 37579 return 0; 37580} 37581_ACEOF 37582if ac_fn_c_try_link "$LINENO"; then : 37583 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37584else 37585 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37586fi 37587rm -f core conftest.err conftest.$ac_objext \ 37588 conftest$ac_exeext conftest.$ac_ext 37589LIBS=$ac_check_lib_save_LIBS 37590fi 37591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37592$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37593if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37594 ac_cv_libcpath_dummy=yes 37595else 37596 ac_cv_libcpath=no 37597fi 37598 37599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37600$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37601if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37602 $as_echo_n "(cached) " >&6 37603else 37604 ac_check_lib_save_LIBS=$LIBS 37605LIBS="-lcpath $LIBS" 37606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37607/* end confdefs.h. */ 37608 37609/* Override any GCC internal prototype to avoid an error. 37610 Use char because int might match the return type of a GCC 37611 builtin and then its argument prototype would still apply. */ 37612#ifdef __cplusplus 37613extern "C" 37614#endif 37615char libcpath_path_join_wide (); 37616int 37617main () 37618{ 37619return libcpath_path_join_wide (); 37620 ; 37621 return 0; 37622} 37623_ACEOF 37624if ac_fn_c_try_link "$LINENO"; then : 37625 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37626else 37627 ac_cv_lib_cpath_libcpath_path_join_wide=no 37628fi 37629rm -f core conftest.err conftest.$ac_objext \ 37630 conftest$ac_exeext conftest.$ac_ext 37631LIBS=$ac_check_lib_save_LIBS 37632fi 37633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37634$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37635if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37636 ac_cv_libcpath_dummy=yes 37637else 37638 ac_cv_libcpath=no 37639fi 37640 37641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37642$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37643if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37644 $as_echo_n "(cached) " >&6 37645else 37646 ac_check_lib_save_LIBS=$LIBS 37647LIBS="-lcpath $LIBS" 37648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37649/* end confdefs.h. */ 37650 37651/* Override any GCC internal prototype to avoid an error. 37652 Use char because int might match the return type of a GCC 37653 builtin and then its argument prototype would still apply. */ 37654#ifdef __cplusplus 37655extern "C" 37656#endif 37657char libcpath_path_make_directory_wide (); 37658int 37659main () 37660{ 37661return libcpath_path_make_directory_wide (); 37662 ; 37663 return 0; 37664} 37665_ACEOF 37666if ac_fn_c_try_link "$LINENO"; then : 37667 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37668else 37669 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37670fi 37671rm -f core conftest.err conftest.$ac_objext \ 37672 conftest$ac_exeext conftest.$ac_ext 37673LIBS=$ac_check_lib_save_LIBS 37674fi 37675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37676$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37677if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37678 ac_cv_libcpath_dummy=yes 37679else 37680 ac_cv_libcpath=no 37681fi 37682 37683 37684fi 37685 37686 ac_cv_libcpath_LIBADD="-lcpath" 37687fi 37688 37689fi 37690 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37693as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37694See \`config.log' for more details" "$LINENO" 5; } 37695 37696fi 37697 37698fi 37699 37700 if test "x$ac_cv_libcpath" = xyes; then : 37701 37702$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37703 37704 37705fi 37706 37707 if test "x$ac_cv_libcpath" = xyes; then : 37708 HAVE_LIBCPATH=1 37709 37710else 37711 HAVE_LIBCPATH=0 37712 37713 37714fi 37715 37716 37717 if test "x$ac_cv_libcpath" != xyes; then : 37718 for ac_header in errno.h sys/stat.h sys/syslimits.h 37719do : 37720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37721ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37722if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37723 cat >>confdefs.h <<_ACEOF 37724#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37725_ACEOF 37726 37727fi 37728 37729done 37730 37731 37732 for ac_func in chdir getcwd 37733do : 37734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37735ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37736if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37737 cat >>confdefs.h <<_ACEOF 37738#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37739_ACEOF 37740 37741fi 37742done 37743 37744 37745 if test "x$ac_cv_func_chdir" != xyes; then : 37746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37747$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37748as_fn_error 1 "Missing functions: chdir 37749See \`config.log' for more details" "$LINENO" 5; } 37750 37751fi 37752 37753 if test "x$ac_cv_func_getcwd" != xyes; then : 37754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37755$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37756as_fn_error 1 "Missing functions: getcwd 37757See \`config.log' for more details" "$LINENO" 5; } 37758 37759fi 37760 37761 for ac_func in mkdir 37762do : 37763 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37764if test "x$ac_cv_func_mkdir" = xyes; then : 37765 cat >>confdefs.h <<_ACEOF 37766#define HAVE_MKDIR 1 37767_ACEOF 37768 37769fi 37770done 37771 37772 37773 if test "x$ac_cv_func_mkdir" = xyes; then : 37774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37775$as_echo_n "checking how to use mkdir... " >&6; } 37776 37777 SAVE_CFLAGS="$CFLAGS" 37778 CFLAGS="$CFLAGS -Wall -Werror" 37779 ac_ext=c 37780ac_cpp='$CPP $CPPFLAGS' 37781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37783ac_compiler_gnu=$ac_cv_c_compiler_gnu 37784 37785 37786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37787/* end confdefs.h. */ 37788#include <sys/stat.h> 37789#include <sys/types.h> 37790int 37791main () 37792{ 37793mkdir( "", 0 ) 37794 ; 37795 return 0; 37796} 37797_ACEOF 37798if ac_fn_c_try_link "$LINENO"; then : 37799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37800$as_echo "with additional mode argument" >&6; } 37801 ac_cv_cv_mkdir_mode=yes 37802else 37803 ac_cv_cv_mkdir_mode=no 37804fi 37805rm -f core conftest.err conftest.$ac_objext \ 37806 conftest$ac_exeext conftest.$ac_ext 37807 37808 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37810/* end confdefs.h. */ 37811#include <io.h> 37812int 37813main () 37814{ 37815mkdir( "" ) 37816 ; 37817 return 0; 37818} 37819_ACEOF 37820if ac_fn_c_try_link "$LINENO"; then : 37821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37822$as_echo "with single argument" >&6; } 37823 ac_cv_cv_mkdir=yes 37824else 37825 ac_cv_cv_mkdir=no 37826fi 37827rm -f core conftest.err conftest.$ac_objext \ 37828 conftest$ac_exeext conftest.$ac_ext 37829 37830fi 37831 37832 ac_ext=c 37833ac_cpp='$CPP $CPPFLAGS' 37834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37836ac_compiler_gnu=$ac_cv_c_compiler_gnu 37837 37838 CFLAGS="$SAVE_CFLAGS" 37839 37840 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37842$as_echo "$as_me: WARNING: unknown" >&2;} 37843 ac_cv_func_mkdir=no 37844fi 37845 37846 if test "x$ac_cv_func_mkdir" = xyes; then : 37847 37848$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37849 37850 37851fi 37852 37853 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37854 37855$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37856 37857 37858fi 37859 37860fi 37861 37862 if test "x$ac_cv_func_mkdir" = xno; then : 37863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37864$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37865as_fn_error 1 "Missing function: mkdir 37866See \`config.log' for more details" "$LINENO" 5; } 37867 37868fi 37869 37870 37871 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37872 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37873 37874 ac_cv_libcpath=local 37875 37876 37877 37878$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37879 37880 HAVE_LOCAL_LIBCPATH=1 37881 37882 37883fi 37884 37885 if test "x$ac_cv_libcpath" = xlocal; then 37886 HAVE_LOCAL_LIBCPATH_TRUE= 37887 HAVE_LOCAL_LIBCPATH_FALSE='#' 37888else 37889 HAVE_LOCAL_LIBCPATH_TRUE='#' 37890 HAVE_LOCAL_LIBCPATH_FALSE= 37891fi 37892 37893 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37894 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37895 37896 37897fi 37898 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37899 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37900 37901 37902fi 37903 37904 if test "x$ac_cv_libcpath" = xyes; then : 37905 ax_libcpath_pc_libs_private=-lcpath 37906 37907 37908fi 37909 37910 if test "x$ac_cv_libcpath" = xyes; then : 37911 ax_libcpath_spec_requires=libcpath 37912 37913 ax_libcpath_spec_build_requires=libcpath-devel 37914 37915 37916fi 37917 37918 37919 37920 37921# Check whether --with-libbfio was given. 37922if test "${with_libbfio+set}" = set; then : 37923 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37924else 37925 ac_cv_with_libbfio=auto-detect 37926fi 37927 37928 { $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 37929$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; } 37930if ${ac_cv_with_libbfio+:} false; then : 37931 $as_echo_n "(cached) " >&6 37932else 37933 ac_cv_with_libbfio=auto-detect 37934fi 37935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 37936$as_echo "$ac_cv_with_libbfio" >&6; } 37937 37938 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 37939 ac_cv_libbfio=no 37940else 37941 ac_cv_libbfio=check 37942 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 37943 if test -d "$ac_cv_with_libbfio"; then : 37944 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 37945 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 37946else 37947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37949as_fn_error 1 "no such directory: $ac_cv_with_libbfio 37950See \`config.log' for more details" "$LINENO" 5; } 37951 37952fi 37953 37954else 37955 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 37956 37957pkg_failed=no 37958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 37959$as_echo_n "checking for libbfio... " >&6; } 37960 37961if test -n "$libbfio_CFLAGS"; then 37962 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 37963 elif test -n "$PKG_CONFIG"; then 37964 if test -n "$PKG_CONFIG" && \ 37965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 37966 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 37967 ac_status=$? 37968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37969 test $ac_status = 0; }; then 37970 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 37971 test "x$?" != "x0" && pkg_failed=yes 37972else 37973 pkg_failed=yes 37974fi 37975 else 37976 pkg_failed=untried 37977fi 37978if test -n "$libbfio_LIBS"; then 37979 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 37980 elif test -n "$PKG_CONFIG"; then 37981 if test -n "$PKG_CONFIG" && \ 37982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 37983 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 37984 ac_status=$? 37985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37986 test $ac_status = 0; }; then 37987 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 37988 test "x$?" != "x0" && pkg_failed=yes 37989else 37990 pkg_failed=yes 37991fi 37992 else 37993 pkg_failed=untried 37994fi 37995 37996 37997 37998if test $pkg_failed = yes; then 37999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38000$as_echo "no" >&6; } 38001 38002if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38003 _pkg_short_errors_supported=yes 38004else 38005 _pkg_short_errors_supported=no 38006fi 38007 if test $_pkg_short_errors_supported = yes; then 38008 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38009 else 38010 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38011 fi 38012 # Put the nasty error message in config.log where it belongs 38013 echo "$libbfio_PKG_ERRORS" >&5 38014 38015 ac_cv_libbfio=check 38016elif test $pkg_failed = untried; then 38017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38018$as_echo "no" >&6; } 38019 ac_cv_libbfio=check 38020else 38021 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38022 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38024$as_echo "yes" >&6; } 38025 ac_cv_libbfio=yes 38026fi 38027 38028fi 38029 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38031$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38032if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38033 $as_echo_n "(cached) " >&6 38034else 38035 ac_ext=c 38036ac_cpp='$CPP $CPPFLAGS' 38037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38039ac_compiler_gnu=$ac_cv_c_compiler_gnu 38040 38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38042/* end confdefs.h. */ 38043#include <libbfio/features.h> 38044int 38045main () 38046{ 38047#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38048#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38049#endif 38050 ; 38051 return 0; 38052} 38053_ACEOF 38054if ac_fn_c_try_compile "$LINENO"; then : 38055 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38056else 38057 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38058fi 38059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38060 ac_ext=c 38061ac_cpp='$CPP $CPPFLAGS' 38062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38064ac_compiler_gnu=$ac_cv_c_compiler_gnu 38065 38066fi 38067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38068$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38069 38070 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38071 ac_cv_libbfio=no 38072fi 38073 38074fi 38075 if test "x$ac_cv_libbfio" = xyes; then : 38076 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38077 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38078fi 38079 38080fi 38081 38082 if test "x$ac_cv_libbfio" = xcheck; then : 38083 for ac_header in libbfio.h 38084do : 38085 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38086if test "x$ac_cv_header_libbfio_h" = xyes; then : 38087 cat >>confdefs.h <<_ACEOF 38088#define HAVE_LIBBFIO_H 1 38089_ACEOF 38090 38091fi 38092 38093done 38094 38095 38096 if test "x$ac_cv_header_libbfio_h" = xno; then : 38097 ac_cv_libbfio=no 38098else 38099 ac_cv_libbfio=yes 38100 38101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38102$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38103if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38104 $as_echo_n "(cached) " >&6 38105else 38106 ac_check_lib_save_LIBS=$LIBS 38107LIBS="-lbfio $LIBS" 38108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38109/* end confdefs.h. */ 38110 38111/* Override any GCC internal prototype to avoid an error. 38112 Use char because int might match the return type of a GCC 38113 builtin and then its argument prototype would still apply. */ 38114#ifdef __cplusplus 38115extern "C" 38116#endif 38117char libbfio_get_version (); 38118int 38119main () 38120{ 38121return libbfio_get_version (); 38122 ; 38123 return 0; 38124} 38125_ACEOF 38126if ac_fn_c_try_link "$LINENO"; then : 38127 ac_cv_lib_bfio_libbfio_get_version=yes 38128else 38129 ac_cv_lib_bfio_libbfio_get_version=no 38130fi 38131rm -f core conftest.err conftest.$ac_objext \ 38132 conftest$ac_exeext conftest.$ac_ext 38133LIBS=$ac_check_lib_save_LIBS 38134fi 38135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38136$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38137if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38138 ac_cv_libbfio_dummy=yes 38139else 38140 ac_cv_libbfio=no 38141fi 38142 38143 38144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38145$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38146if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38147 $as_echo_n "(cached) " >&6 38148else 38149 ac_check_lib_save_LIBS=$LIBS 38150LIBS="-lbfio $LIBS" 38151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38152/* end confdefs.h. */ 38153 38154/* Override any GCC internal prototype to avoid an error. 38155 Use char because int might match the return type of a GCC 38156 builtin and then its argument prototype would still apply. */ 38157#ifdef __cplusplus 38158extern "C" 38159#endif 38160char libbfio_handle_free (); 38161int 38162main () 38163{ 38164return libbfio_handle_free (); 38165 ; 38166 return 0; 38167} 38168_ACEOF 38169if ac_fn_c_try_link "$LINENO"; then : 38170 ac_cv_lib_bfio_libbfio_handle_free=yes 38171else 38172 ac_cv_lib_bfio_libbfio_handle_free=no 38173fi 38174rm -f core conftest.err conftest.$ac_objext \ 38175 conftest$ac_exeext conftest.$ac_ext 38176LIBS=$ac_check_lib_save_LIBS 38177fi 38178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38179$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38180if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38181 ac_cv_libbfio_dummy=yes 38182else 38183 ac_cv_libbfio=no 38184fi 38185 38186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38187$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38188if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38189 $as_echo_n "(cached) " >&6 38190else 38191 ac_check_lib_save_LIBS=$LIBS 38192LIBS="-lbfio $LIBS" 38193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38194/* end confdefs.h. */ 38195 38196/* Override any GCC internal prototype to avoid an error. 38197 Use char because int might match the return type of a GCC 38198 builtin and then its argument prototype would still apply. */ 38199#ifdef __cplusplus 38200extern "C" 38201#endif 38202char libbfio_handle_open (); 38203int 38204main () 38205{ 38206return libbfio_handle_open (); 38207 ; 38208 return 0; 38209} 38210_ACEOF 38211if ac_fn_c_try_link "$LINENO"; then : 38212 ac_cv_lib_bfio_libbfio_handle_open=yes 38213else 38214 ac_cv_lib_bfio_libbfio_handle_open=no 38215fi 38216rm -f core conftest.err conftest.$ac_objext \ 38217 conftest$ac_exeext conftest.$ac_ext 38218LIBS=$ac_check_lib_save_LIBS 38219fi 38220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38221$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38222if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38223 ac_cv_libbfio_dummy=yes 38224else 38225 ac_cv_libbfio=no 38226fi 38227 38228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38229$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38230if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38231 $as_echo_n "(cached) " >&6 38232else 38233 ac_check_lib_save_LIBS=$LIBS 38234LIBS="-lbfio $LIBS" 38235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38236/* end confdefs.h. */ 38237 38238/* Override any GCC internal prototype to avoid an error. 38239 Use char because int might match the return type of a GCC 38240 builtin and then its argument prototype would still apply. */ 38241#ifdef __cplusplus 38242extern "C" 38243#endif 38244char libbfio_handle_close (); 38245int 38246main () 38247{ 38248return libbfio_handle_close (); 38249 ; 38250 return 0; 38251} 38252_ACEOF 38253if ac_fn_c_try_link "$LINENO"; then : 38254 ac_cv_lib_bfio_libbfio_handle_close=yes 38255else 38256 ac_cv_lib_bfio_libbfio_handle_close=no 38257fi 38258rm -f core conftest.err conftest.$ac_objext \ 38259 conftest$ac_exeext conftest.$ac_ext 38260LIBS=$ac_check_lib_save_LIBS 38261fi 38262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38263$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38264if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38265 ac_cv_libbfio_dummy=yes 38266else 38267 ac_cv_libbfio=no 38268fi 38269 38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38271$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38272if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38273 $as_echo_n "(cached) " >&6 38274else 38275 ac_check_lib_save_LIBS=$LIBS 38276LIBS="-lbfio $LIBS" 38277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38278/* end confdefs.h. */ 38279 38280/* Override any GCC internal prototype to avoid an error. 38281 Use char because int might match the return type of a GCC 38282 builtin and then its argument prototype would still apply. */ 38283#ifdef __cplusplus 38284extern "C" 38285#endif 38286char libbfio_handle_exists (); 38287int 38288main () 38289{ 38290return libbfio_handle_exists (); 38291 ; 38292 return 0; 38293} 38294_ACEOF 38295if ac_fn_c_try_link "$LINENO"; then : 38296 ac_cv_lib_bfio_libbfio_handle_exists=yes 38297else 38298 ac_cv_lib_bfio_libbfio_handle_exists=no 38299fi 38300rm -f core conftest.err conftest.$ac_objext \ 38301 conftest$ac_exeext conftest.$ac_ext 38302LIBS=$ac_check_lib_save_LIBS 38303fi 38304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38305$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38306if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38307 ac_cv_libbfio_dummy=yes 38308else 38309 ac_cv_libbfio=no 38310fi 38311 38312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38313$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38314if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38315 $as_echo_n "(cached) " >&6 38316else 38317 ac_check_lib_save_LIBS=$LIBS 38318LIBS="-lbfio $LIBS" 38319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38320/* end confdefs.h. */ 38321 38322/* Override any GCC internal prototype to avoid an error. 38323 Use char because int might match the return type of a GCC 38324 builtin and then its argument prototype would still apply. */ 38325#ifdef __cplusplus 38326extern "C" 38327#endif 38328char libbfio_handle_read_buffer (); 38329int 38330main () 38331{ 38332return libbfio_handle_read_buffer (); 38333 ; 38334 return 0; 38335} 38336_ACEOF 38337if ac_fn_c_try_link "$LINENO"; then : 38338 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38339else 38340 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38341fi 38342rm -f core conftest.err conftest.$ac_objext \ 38343 conftest$ac_exeext conftest.$ac_ext 38344LIBS=$ac_check_lib_save_LIBS 38345fi 38346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38347$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38348if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38349 ac_cv_libbfio_dummy=yes 38350else 38351 ac_cv_libbfio=no 38352fi 38353 38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38355$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38356if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38357 $as_echo_n "(cached) " >&6 38358else 38359 ac_check_lib_save_LIBS=$LIBS 38360LIBS="-lbfio $LIBS" 38361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38362/* end confdefs.h. */ 38363 38364/* Override any GCC internal prototype to avoid an error. 38365 Use char because int might match the return type of a GCC 38366 builtin and then its argument prototype would still apply. */ 38367#ifdef __cplusplus 38368extern "C" 38369#endif 38370char libbfio_handle_read_buffer_at_offset (); 38371int 38372main () 38373{ 38374return libbfio_handle_read_buffer_at_offset (); 38375 ; 38376 return 0; 38377} 38378_ACEOF 38379if ac_fn_c_try_link "$LINENO"; then : 38380 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38381else 38382 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38383fi 38384rm -f core conftest.err conftest.$ac_objext \ 38385 conftest$ac_exeext conftest.$ac_ext 38386LIBS=$ac_check_lib_save_LIBS 38387fi 38388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38389$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38390if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38391 ac_cv_libbfio_dummy=yes 38392else 38393 ac_cv_libbfio=no 38394fi 38395 38396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38397$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38398if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38399 $as_echo_n "(cached) " >&6 38400else 38401 ac_check_lib_save_LIBS=$LIBS 38402LIBS="-lbfio $LIBS" 38403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38404/* end confdefs.h. */ 38405 38406/* Override any GCC internal prototype to avoid an error. 38407 Use char because int might match the return type of a GCC 38408 builtin and then its argument prototype would still apply. */ 38409#ifdef __cplusplus 38410extern "C" 38411#endif 38412char libbfio_handle_write_buffer (); 38413int 38414main () 38415{ 38416return libbfio_handle_write_buffer (); 38417 ; 38418 return 0; 38419} 38420_ACEOF 38421if ac_fn_c_try_link "$LINENO"; then : 38422 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38423else 38424 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38425fi 38426rm -f core conftest.err conftest.$ac_objext \ 38427 conftest$ac_exeext conftest.$ac_ext 38428LIBS=$ac_check_lib_save_LIBS 38429fi 38430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38431$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38432if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38433 ac_cv_libbfio_dummy=yes 38434else 38435 ac_cv_libbfio=no 38436fi 38437 38438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38439$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38440if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38441 $as_echo_n "(cached) " >&6 38442else 38443 ac_check_lib_save_LIBS=$LIBS 38444LIBS="-lbfio $LIBS" 38445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38446/* end confdefs.h. */ 38447 38448/* Override any GCC internal prototype to avoid an error. 38449 Use char because int might match the return type of a GCC 38450 builtin and then its argument prototype would still apply. */ 38451#ifdef __cplusplus 38452extern "C" 38453#endif 38454char libbfio_handle_write_buffer_at_offset (); 38455int 38456main () 38457{ 38458return libbfio_handle_write_buffer_at_offset (); 38459 ; 38460 return 0; 38461} 38462_ACEOF 38463if ac_fn_c_try_link "$LINENO"; then : 38464 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38465else 38466 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38467fi 38468rm -f core conftest.err conftest.$ac_objext \ 38469 conftest$ac_exeext conftest.$ac_ext 38470LIBS=$ac_check_lib_save_LIBS 38471fi 38472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38473$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38474if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38475 ac_cv_libbfio_dummy=yes 38476else 38477 ac_cv_libbfio=no 38478fi 38479 38480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38481$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38482if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38483 $as_echo_n "(cached) " >&6 38484else 38485 ac_check_lib_save_LIBS=$LIBS 38486LIBS="-lbfio $LIBS" 38487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38488/* end confdefs.h. */ 38489 38490/* Override any GCC internal prototype to avoid an error. 38491 Use char because int might match the return type of a GCC 38492 builtin and then its argument prototype would still apply. */ 38493#ifdef __cplusplus 38494extern "C" 38495#endif 38496char libbfio_handle_seek_offset (); 38497int 38498main () 38499{ 38500return libbfio_handle_seek_offset (); 38501 ; 38502 return 0; 38503} 38504_ACEOF 38505if ac_fn_c_try_link "$LINENO"; then : 38506 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38507else 38508 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38509fi 38510rm -f core conftest.err conftest.$ac_objext \ 38511 conftest$ac_exeext conftest.$ac_ext 38512LIBS=$ac_check_lib_save_LIBS 38513fi 38514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38515$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38516if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38517 ac_cv_libbfio_dummy=yes 38518else 38519 ac_cv_libbfio=no 38520fi 38521 38522 38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38524$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38525if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38526 $as_echo_n "(cached) " >&6 38527else 38528 ac_check_lib_save_LIBS=$LIBS 38529LIBS="-lbfio $LIBS" 38530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38531/* end confdefs.h. */ 38532 38533/* Override any GCC internal prototype to avoid an error. 38534 Use char because int might match the return type of a GCC 38535 builtin and then its argument prototype would still apply. */ 38536#ifdef __cplusplus 38537extern "C" 38538#endif 38539char libbfio_handle_is_open (); 38540int 38541main () 38542{ 38543return libbfio_handle_is_open (); 38544 ; 38545 return 0; 38546} 38547_ACEOF 38548if ac_fn_c_try_link "$LINENO"; then : 38549 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38550else 38551 ac_cv_lib_bfio_libbfio_handle_is_open=no 38552fi 38553rm -f core conftest.err conftest.$ac_objext \ 38554 conftest$ac_exeext conftest.$ac_ext 38555LIBS=$ac_check_lib_save_LIBS 38556fi 38557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38558$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38559if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38560 ac_cv_libbfio_dummy=yes 38561else 38562 ac_cv_libbfio=no 38563fi 38564 38565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38566$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38567if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38568 $as_echo_n "(cached) " >&6 38569else 38570 ac_check_lib_save_LIBS=$LIBS 38571LIBS="-lbfio $LIBS" 38572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38573/* end confdefs.h. */ 38574 38575/* Override any GCC internal prototype to avoid an error. 38576 Use char because int might match the return type of a GCC 38577 builtin and then its argument prototype would still apply. */ 38578#ifdef __cplusplus 38579extern "C" 38580#endif 38581char libbfio_handle_get_offset (); 38582int 38583main () 38584{ 38585return libbfio_handle_get_offset (); 38586 ; 38587 return 0; 38588} 38589_ACEOF 38590if ac_fn_c_try_link "$LINENO"; then : 38591 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38592else 38593 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38594fi 38595rm -f core conftest.err conftest.$ac_objext \ 38596 conftest$ac_exeext conftest.$ac_ext 38597LIBS=$ac_check_lib_save_LIBS 38598fi 38599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38600$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38601if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38602 ac_cv_libbfio_dummy=yes 38603else 38604 ac_cv_libbfio=no 38605fi 38606 38607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38608$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38609if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38610 $as_echo_n "(cached) " >&6 38611else 38612 ac_check_lib_save_LIBS=$LIBS 38613LIBS="-lbfio $LIBS" 38614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38615/* end confdefs.h. */ 38616 38617/* Override any GCC internal prototype to avoid an error. 38618 Use char because int might match the return type of a GCC 38619 builtin and then its argument prototype would still apply. */ 38620#ifdef __cplusplus 38621extern "C" 38622#endif 38623char libbfio_handle_get_size (); 38624int 38625main () 38626{ 38627return libbfio_handle_get_size (); 38628 ; 38629 return 0; 38630} 38631_ACEOF 38632if ac_fn_c_try_link "$LINENO"; then : 38633 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38634else 38635 ac_cv_lib_bfio_libbfio_handle_get_size=no 38636fi 38637rm -f core conftest.err conftest.$ac_objext \ 38638 conftest$ac_exeext conftest.$ac_ext 38639LIBS=$ac_check_lib_save_LIBS 38640fi 38641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38642$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38643if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38644 ac_cv_libbfio_dummy=yes 38645else 38646 ac_cv_libbfio=no 38647fi 38648 38649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38650$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38651if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38652 $as_echo_n "(cached) " >&6 38653else 38654 ac_check_lib_save_LIBS=$LIBS 38655LIBS="-lbfio $LIBS" 38656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38657/* end confdefs.h. */ 38658 38659/* Override any GCC internal prototype to avoid an error. 38660 Use char because int might match the return type of a GCC 38661 builtin and then its argument prototype would still apply. */ 38662#ifdef __cplusplus 38663extern "C" 38664#endif 38665char libbfio_handle_set_track_offsets_read (); 38666int 38667main () 38668{ 38669return libbfio_handle_set_track_offsets_read (); 38670 ; 38671 return 0; 38672} 38673_ACEOF 38674if ac_fn_c_try_link "$LINENO"; then : 38675 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38676else 38677 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38678fi 38679rm -f core conftest.err conftest.$ac_objext \ 38680 conftest$ac_exeext conftest.$ac_ext 38681LIBS=$ac_check_lib_save_LIBS 38682fi 38683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38684$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38685if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38686 ac_cv_libbfio_dummy=yes 38687else 38688 ac_cv_libbfio=no 38689fi 38690 38691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38692$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38693if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38694 $as_echo_n "(cached) " >&6 38695else 38696 ac_check_lib_save_LIBS=$LIBS 38697LIBS="-lbfio $LIBS" 38698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38699/* end confdefs.h. */ 38700 38701/* Override any GCC internal prototype to avoid an error. 38702 Use char because int might match the return type of a GCC 38703 builtin and then its argument prototype would still apply. */ 38704#ifdef __cplusplus 38705extern "C" 38706#endif 38707char libbfio_handle_get_number_of_offsets_read (); 38708int 38709main () 38710{ 38711return libbfio_handle_get_number_of_offsets_read (); 38712 ; 38713 return 0; 38714} 38715_ACEOF 38716if ac_fn_c_try_link "$LINENO"; then : 38717 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38718else 38719 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38720fi 38721rm -f core conftest.err conftest.$ac_objext \ 38722 conftest$ac_exeext conftest.$ac_ext 38723LIBS=$ac_check_lib_save_LIBS 38724fi 38725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38726$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38727if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38728 ac_cv_libbfio_dummy=yes 38729else 38730 ac_cv_libbfio=no 38731fi 38732 38733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38734$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38735if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38736 $as_echo_n "(cached) " >&6 38737else 38738 ac_check_lib_save_LIBS=$LIBS 38739LIBS="-lbfio $LIBS" 38740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38741/* end confdefs.h. */ 38742 38743/* Override any GCC internal prototype to avoid an error. 38744 Use char because int might match the return type of a GCC 38745 builtin and then its argument prototype would still apply. */ 38746#ifdef __cplusplus 38747extern "C" 38748#endif 38749char libbfio_handle_get_offset_read (); 38750int 38751main () 38752{ 38753return libbfio_handle_get_offset_read (); 38754 ; 38755 return 0; 38756} 38757_ACEOF 38758if ac_fn_c_try_link "$LINENO"; then : 38759 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38760else 38761 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38762fi 38763rm -f core conftest.err conftest.$ac_objext \ 38764 conftest$ac_exeext conftest.$ac_ext 38765LIBS=$ac_check_lib_save_LIBS 38766fi 38767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38768$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38769if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38770 ac_cv_libbfio_dummy=yes 38771else 38772 ac_cv_libbfio=no 38773fi 38774 38775 38776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38777$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38778if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38779 $as_echo_n "(cached) " >&6 38780else 38781 ac_check_lib_save_LIBS=$LIBS 38782LIBS="-lbfio $LIBS" 38783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38784/* end confdefs.h. */ 38785 38786/* Override any GCC internal prototype to avoid an error. 38787 Use char because int might match the return type of a GCC 38788 builtin and then its argument prototype would still apply. */ 38789#ifdef __cplusplus 38790extern "C" 38791#endif 38792char libbfio_file_initialize (); 38793int 38794main () 38795{ 38796return libbfio_file_initialize (); 38797 ; 38798 return 0; 38799} 38800_ACEOF 38801if ac_fn_c_try_link "$LINENO"; then : 38802 ac_cv_lib_bfio_libbfio_file_initialize=yes 38803else 38804 ac_cv_lib_bfio_libbfio_file_initialize=no 38805fi 38806rm -f core conftest.err conftest.$ac_objext \ 38807 conftest$ac_exeext conftest.$ac_ext 38808LIBS=$ac_check_lib_save_LIBS 38809fi 38810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38811$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38812if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38813 ac_cv_libbfio_dummy=yes 38814else 38815 ac_cv_libbfio=no 38816fi 38817 38818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38819$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38820if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38821 $as_echo_n "(cached) " >&6 38822else 38823 ac_check_lib_save_LIBS=$LIBS 38824LIBS="-lbfio $LIBS" 38825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38826/* end confdefs.h. */ 38827 38828/* Override any GCC internal prototype to avoid an error. 38829 Use char because int might match the return type of a GCC 38830 builtin and then its argument prototype would still apply. */ 38831#ifdef __cplusplus 38832extern "C" 38833#endif 38834char libbfio_file_get_name_size (); 38835int 38836main () 38837{ 38838return libbfio_file_get_name_size (); 38839 ; 38840 return 0; 38841} 38842_ACEOF 38843if ac_fn_c_try_link "$LINENO"; then : 38844 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38845else 38846 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38847fi 38848rm -f core conftest.err conftest.$ac_objext \ 38849 conftest$ac_exeext conftest.$ac_ext 38850LIBS=$ac_check_lib_save_LIBS 38851fi 38852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38853$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38854if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38855 ac_cv_libbfio_dummy=yes 38856else 38857 ac_cv_libbfio=no 38858fi 38859 38860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38861$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38862if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38863 $as_echo_n "(cached) " >&6 38864else 38865 ac_check_lib_save_LIBS=$LIBS 38866LIBS="-lbfio $LIBS" 38867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38868/* end confdefs.h. */ 38869 38870/* Override any GCC internal prototype to avoid an error. 38871 Use char because int might match the return type of a GCC 38872 builtin and then its argument prototype would still apply. */ 38873#ifdef __cplusplus 38874extern "C" 38875#endif 38876char libbfio_file_get_name (); 38877int 38878main () 38879{ 38880return libbfio_file_get_name (); 38881 ; 38882 return 0; 38883} 38884_ACEOF 38885if ac_fn_c_try_link "$LINENO"; then : 38886 ac_cv_lib_bfio_libbfio_file_get_name=yes 38887else 38888 ac_cv_lib_bfio_libbfio_file_get_name=no 38889fi 38890rm -f core conftest.err conftest.$ac_objext \ 38891 conftest$ac_exeext conftest.$ac_ext 38892LIBS=$ac_check_lib_save_LIBS 38893fi 38894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38895$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38896if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38897 ac_cv_libbfio_dummy=yes 38898else 38899 ac_cv_libbfio=no 38900fi 38901 38902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38903$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38904if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38905 $as_echo_n "(cached) " >&6 38906else 38907 ac_check_lib_save_LIBS=$LIBS 38908LIBS="-lbfio $LIBS" 38909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38910/* end confdefs.h. */ 38911 38912/* Override any GCC internal prototype to avoid an error. 38913 Use char because int might match the return type of a GCC 38914 builtin and then its argument prototype would still apply. */ 38915#ifdef __cplusplus 38916extern "C" 38917#endif 38918char libbfio_file_set_name (); 38919int 38920main () 38921{ 38922return libbfio_file_set_name (); 38923 ; 38924 return 0; 38925} 38926_ACEOF 38927if ac_fn_c_try_link "$LINENO"; then : 38928 ac_cv_lib_bfio_libbfio_file_set_name=yes 38929else 38930 ac_cv_lib_bfio_libbfio_file_set_name=no 38931fi 38932rm -f core conftest.err conftest.$ac_objext \ 38933 conftest$ac_exeext conftest.$ac_ext 38934LIBS=$ac_check_lib_save_LIBS 38935fi 38936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 38937$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 38938if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 38939 ac_cv_libbfio_dummy=yes 38940else 38941 ac_cv_libbfio=no 38942fi 38943 38944 38945 if test "x$ac_cv_enable_wide_character_type" != xno; then : 38946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 38947$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 38948if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 38949 $as_echo_n "(cached) " >&6 38950else 38951 ac_check_lib_save_LIBS=$LIBS 38952LIBS="-lbfio $LIBS" 38953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38954/* end confdefs.h. */ 38955 38956/* Override any GCC internal prototype to avoid an error. 38957 Use char because int might match the return type of a GCC 38958 builtin and then its argument prototype would still apply. */ 38959#ifdef __cplusplus 38960extern "C" 38961#endif 38962char libbfio_file_get_name_size_wide (); 38963int 38964main () 38965{ 38966return libbfio_file_get_name_size_wide (); 38967 ; 38968 return 0; 38969} 38970_ACEOF 38971if ac_fn_c_try_link "$LINENO"; then : 38972 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 38973else 38974 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 38975fi 38976rm -f core conftest.err conftest.$ac_objext \ 38977 conftest$ac_exeext conftest.$ac_ext 38978LIBS=$ac_check_lib_save_LIBS 38979fi 38980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 38981$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 38982if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 38983 ac_cv_libbfio_dummy=yes 38984else 38985 ac_cv_libbfio=no 38986fi 38987 38988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 38989$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 38990if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 38991 $as_echo_n "(cached) " >&6 38992else 38993 ac_check_lib_save_LIBS=$LIBS 38994LIBS="-lbfio $LIBS" 38995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38996/* end confdefs.h. */ 38997 38998/* Override any GCC internal prototype to avoid an error. 38999 Use char because int might match the return type of a GCC 39000 builtin and then its argument prototype would still apply. */ 39001#ifdef __cplusplus 39002extern "C" 39003#endif 39004char libbfio_file_get_name_wide (); 39005int 39006main () 39007{ 39008return libbfio_file_get_name_wide (); 39009 ; 39010 return 0; 39011} 39012_ACEOF 39013if ac_fn_c_try_link "$LINENO"; then : 39014 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39015else 39016 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39017fi 39018rm -f core conftest.err conftest.$ac_objext \ 39019 conftest$ac_exeext conftest.$ac_ext 39020LIBS=$ac_check_lib_save_LIBS 39021fi 39022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39023$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39024if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39025 ac_cv_libbfio_dummy=yes 39026else 39027 ac_cv_libbfio=no 39028fi 39029 39030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39031$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39032if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39033 $as_echo_n "(cached) " >&6 39034else 39035 ac_check_lib_save_LIBS=$LIBS 39036LIBS="-lbfio $LIBS" 39037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39038/* end confdefs.h. */ 39039 39040/* Override any GCC internal prototype to avoid an error. 39041 Use char because int might match the return type of a GCC 39042 builtin and then its argument prototype would still apply. */ 39043#ifdef __cplusplus 39044extern "C" 39045#endif 39046char libbfio_file_set_name_wide (); 39047int 39048main () 39049{ 39050return libbfio_file_set_name_wide (); 39051 ; 39052 return 0; 39053} 39054_ACEOF 39055if ac_fn_c_try_link "$LINENO"; then : 39056 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39057else 39058 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39059fi 39060rm -f core conftest.err conftest.$ac_objext \ 39061 conftest$ac_exeext conftest.$ac_ext 39062LIBS=$ac_check_lib_save_LIBS 39063fi 39064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39065$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39066if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39067 ac_cv_libbfio_dummy=yes 39068else 39069 ac_cv_libbfio=no 39070fi 39071 39072 39073fi 39074 39075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39076$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39077if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39078 $as_echo_n "(cached) " >&6 39079else 39080 ac_check_lib_save_LIBS=$LIBS 39081LIBS="-lbfio $LIBS" 39082cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39083/* end confdefs.h. */ 39084 39085/* Override any GCC internal prototype to avoid an error. 39086 Use char because int might match the return type of a GCC 39087 builtin and then its argument prototype would still apply. */ 39088#ifdef __cplusplus 39089extern "C" 39090#endif 39091char libbfio_pool_initialize (); 39092int 39093main () 39094{ 39095return libbfio_pool_initialize (); 39096 ; 39097 return 0; 39098} 39099_ACEOF 39100if ac_fn_c_try_link "$LINENO"; then : 39101 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39102else 39103 ac_cv_lib_bfio_libbfio_pool_initialize=no 39104fi 39105rm -f core conftest.err conftest.$ac_objext \ 39106 conftest$ac_exeext conftest.$ac_ext 39107LIBS=$ac_check_lib_save_LIBS 39108fi 39109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39110$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39111if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39112 ac_cv_libbfio_dummy=yes 39113else 39114 ac_cv_libbfio=no 39115fi 39116 39117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39118$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39119if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39120 $as_echo_n "(cached) " >&6 39121else 39122 ac_check_lib_save_LIBS=$LIBS 39123LIBS="-lbfio $LIBS" 39124cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39125/* end confdefs.h. */ 39126 39127/* Override any GCC internal prototype to avoid an error. 39128 Use char because int might match the return type of a GCC 39129 builtin and then its argument prototype would still apply. */ 39130#ifdef __cplusplus 39131extern "C" 39132#endif 39133char libbfio_pool_free (); 39134int 39135main () 39136{ 39137return libbfio_pool_free (); 39138 ; 39139 return 0; 39140} 39141_ACEOF 39142if ac_fn_c_try_link "$LINENO"; then : 39143 ac_cv_lib_bfio_libbfio_pool_free=yes 39144else 39145 ac_cv_lib_bfio_libbfio_pool_free=no 39146fi 39147rm -f core conftest.err conftest.$ac_objext \ 39148 conftest$ac_exeext conftest.$ac_ext 39149LIBS=$ac_check_lib_save_LIBS 39150fi 39151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39152$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39153if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39154 ac_cv_libbfio_dummy=yes 39155else 39156 ac_cv_libbfio=no 39157fi 39158 39159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39160$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39161if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39162 $as_echo_n "(cached) " >&6 39163else 39164 ac_check_lib_save_LIBS=$LIBS 39165LIBS="-lbfio $LIBS" 39166cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39167/* end confdefs.h. */ 39168 39169/* Override any GCC internal prototype to avoid an error. 39170 Use char because int might match the return type of a GCC 39171 builtin and then its argument prototype would still apply. */ 39172#ifdef __cplusplus 39173extern "C" 39174#endif 39175char libbfio_pool_clone (); 39176int 39177main () 39178{ 39179return libbfio_pool_clone (); 39180 ; 39181 return 0; 39182} 39183_ACEOF 39184if ac_fn_c_try_link "$LINENO"; then : 39185 ac_cv_lib_bfio_libbfio_pool_clone=yes 39186else 39187 ac_cv_lib_bfio_libbfio_pool_clone=no 39188fi 39189rm -f core conftest.err conftest.$ac_objext \ 39190 conftest$ac_exeext conftest.$ac_ext 39191LIBS=$ac_check_lib_save_LIBS 39192fi 39193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39194$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39195if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39196 ac_cv_libbfio_dummy=yes 39197else 39198 ac_cv_libbfio=no 39199fi 39200 39201 39202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39203$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39204if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39205 $as_echo_n "(cached) " >&6 39206else 39207 ac_check_lib_save_LIBS=$LIBS 39208LIBS="-lbfio $LIBS" 39209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39210/* end confdefs.h. */ 39211 39212/* Override any GCC internal prototype to avoid an error. 39213 Use char because int might match the return type of a GCC 39214 builtin and then its argument prototype would still apply. */ 39215#ifdef __cplusplus 39216extern "C" 39217#endif 39218char libbfio_pool_get_number_of_handles (); 39219int 39220main () 39221{ 39222return libbfio_pool_get_number_of_handles (); 39223 ; 39224 return 0; 39225} 39226_ACEOF 39227if ac_fn_c_try_link "$LINENO"; then : 39228 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39229else 39230 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39231fi 39232rm -f core conftest.err conftest.$ac_objext \ 39233 conftest$ac_exeext conftest.$ac_ext 39234LIBS=$ac_check_lib_save_LIBS 39235fi 39236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39237$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39238if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39239 ac_cv_libbfio_dummy=yes 39240else 39241 ac_cv_libbfio=no 39242fi 39243 39244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39245$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39246if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39247 $as_echo_n "(cached) " >&6 39248else 39249 ac_check_lib_save_LIBS=$LIBS 39250LIBS="-lbfio $LIBS" 39251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39252/* end confdefs.h. */ 39253 39254/* Override any GCC internal prototype to avoid an error. 39255 Use char because int might match the return type of a GCC 39256 builtin and then its argument prototype would still apply. */ 39257#ifdef __cplusplus 39258extern "C" 39259#endif 39260char libbfio_pool_get_handle (); 39261int 39262main () 39263{ 39264return libbfio_pool_get_handle (); 39265 ; 39266 return 0; 39267} 39268_ACEOF 39269if ac_fn_c_try_link "$LINENO"; then : 39270 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39271else 39272 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39273fi 39274rm -f core conftest.err conftest.$ac_objext \ 39275 conftest$ac_exeext conftest.$ac_ext 39276LIBS=$ac_check_lib_save_LIBS 39277fi 39278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39279$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39280if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39281 ac_cv_libbfio_dummy=yes 39282else 39283 ac_cv_libbfio=no 39284fi 39285 39286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39287$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39288if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39289 $as_echo_n "(cached) " >&6 39290else 39291 ac_check_lib_save_LIBS=$LIBS 39292LIBS="-lbfio $LIBS" 39293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39294/* end confdefs.h. */ 39295 39296/* Override any GCC internal prototype to avoid an error. 39297 Use char because int might match the return type of a GCC 39298 builtin and then its argument prototype would still apply. */ 39299#ifdef __cplusplus 39300extern "C" 39301#endif 39302char libbfio_pool_set_handle (); 39303int 39304main () 39305{ 39306return libbfio_pool_set_handle (); 39307 ; 39308 return 0; 39309} 39310_ACEOF 39311if ac_fn_c_try_link "$LINENO"; then : 39312 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39313else 39314 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39315fi 39316rm -f core conftest.err conftest.$ac_objext \ 39317 conftest$ac_exeext conftest.$ac_ext 39318LIBS=$ac_check_lib_save_LIBS 39319fi 39320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39321$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39322if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39323 ac_cv_libbfio_dummy=yes 39324else 39325 ac_cv_libbfio=no 39326fi 39327 39328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39329$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39330if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39331 $as_echo_n "(cached) " >&6 39332else 39333 ac_check_lib_save_LIBS=$LIBS 39334LIBS="-lbfio $LIBS" 39335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39336/* end confdefs.h. */ 39337 39338/* Override any GCC internal prototype to avoid an error. 39339 Use char because int might match the return type of a GCC 39340 builtin and then its argument prototype would still apply. */ 39341#ifdef __cplusplus 39342extern "C" 39343#endif 39344char libbfio_pool_append_handle (); 39345int 39346main () 39347{ 39348return libbfio_pool_append_handle (); 39349 ; 39350 return 0; 39351} 39352_ACEOF 39353if ac_fn_c_try_link "$LINENO"; then : 39354 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39355else 39356 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39357fi 39358rm -f core conftest.err conftest.$ac_objext \ 39359 conftest$ac_exeext conftest.$ac_ext 39360LIBS=$ac_check_lib_save_LIBS 39361fi 39362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39363$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39364if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39365 ac_cv_libbfio_dummy=yes 39366else 39367 ac_cv_libbfio=no 39368fi 39369 39370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39371$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39372if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39373 $as_echo_n "(cached) " >&6 39374else 39375 ac_check_lib_save_LIBS=$LIBS 39376LIBS="-lbfio $LIBS" 39377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39378/* end confdefs.h. */ 39379 39380/* Override any GCC internal prototype to avoid an error. 39381 Use char because int might match the return type of a GCC 39382 builtin and then its argument prototype would still apply. */ 39383#ifdef __cplusplus 39384extern "C" 39385#endif 39386char libbfio_pool_remove_handle (); 39387int 39388main () 39389{ 39390return libbfio_pool_remove_handle (); 39391 ; 39392 return 0; 39393} 39394_ACEOF 39395if ac_fn_c_try_link "$LINENO"; then : 39396 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39397else 39398 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39399fi 39400rm -f core conftest.err conftest.$ac_objext \ 39401 conftest$ac_exeext conftest.$ac_ext 39402LIBS=$ac_check_lib_save_LIBS 39403fi 39404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39405$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39406if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39407 ac_cv_libbfio_dummy=yes 39408else 39409 ac_cv_libbfio=no 39410fi 39411 39412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39413$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39414if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39415 $as_echo_n "(cached) " >&6 39416else 39417 ac_check_lib_save_LIBS=$LIBS 39418LIBS="-lbfio $LIBS" 39419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39420/* end confdefs.h. */ 39421 39422/* Override any GCC internal prototype to avoid an error. 39423 Use char because int might match the return type of a GCC 39424 builtin and then its argument prototype would still apply. */ 39425#ifdef __cplusplus 39426extern "C" 39427#endif 39428char libbfio_pool_get_maximum_number_of_open_handles (); 39429int 39430main () 39431{ 39432return libbfio_pool_get_maximum_number_of_open_handles (); 39433 ; 39434 return 0; 39435} 39436_ACEOF 39437if ac_fn_c_try_link "$LINENO"; then : 39438 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39439else 39440 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39441fi 39442rm -f core conftest.err conftest.$ac_objext \ 39443 conftest$ac_exeext conftest.$ac_ext 39444LIBS=$ac_check_lib_save_LIBS 39445fi 39446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39447$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39448if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39449 ac_cv_libbfio_dummy=yes 39450else 39451 ac_cv_libbfio=no 39452fi 39453 39454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39455$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39456if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39457 $as_echo_n "(cached) " >&6 39458else 39459 ac_check_lib_save_LIBS=$LIBS 39460LIBS="-lbfio $LIBS" 39461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39462/* end confdefs.h. */ 39463 39464/* Override any GCC internal prototype to avoid an error. 39465 Use char because int might match the return type of a GCC 39466 builtin and then its argument prototype would still apply. */ 39467#ifdef __cplusplus 39468extern "C" 39469#endif 39470char libbfio_pool_set_maximum_number_of_open_handles (); 39471int 39472main () 39473{ 39474return libbfio_pool_set_maximum_number_of_open_handles (); 39475 ; 39476 return 0; 39477} 39478_ACEOF 39479if ac_fn_c_try_link "$LINENO"; then : 39480 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39481else 39482 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39483fi 39484rm -f core conftest.err conftest.$ac_objext \ 39485 conftest$ac_exeext conftest.$ac_ext 39486LIBS=$ac_check_lib_save_LIBS 39487fi 39488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39489$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39490if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39491 ac_cv_libbfio_dummy=yes 39492else 39493 ac_cv_libbfio=no 39494fi 39495 39496 39497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39498$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39499if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39500 $as_echo_n "(cached) " >&6 39501else 39502 ac_check_lib_save_LIBS=$LIBS 39503LIBS="-lbfio $LIBS" 39504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39505/* end confdefs.h. */ 39506 39507/* Override any GCC internal prototype to avoid an error. 39508 Use char because int might match the return type of a GCC 39509 builtin and then its argument prototype would still apply. */ 39510#ifdef __cplusplus 39511extern "C" 39512#endif 39513char libbfio_pool_open (); 39514int 39515main () 39516{ 39517return libbfio_pool_open (); 39518 ; 39519 return 0; 39520} 39521_ACEOF 39522if ac_fn_c_try_link "$LINENO"; then : 39523 ac_cv_lib_bfio_libbfio_pool_open=yes 39524else 39525 ac_cv_lib_bfio_libbfio_pool_open=no 39526fi 39527rm -f core conftest.err conftest.$ac_objext \ 39528 conftest$ac_exeext conftest.$ac_ext 39529LIBS=$ac_check_lib_save_LIBS 39530fi 39531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39532$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39533if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39534 ac_cv_libbfio_dummy=yes 39535else 39536 ac_cv_libbfio=no 39537fi 39538 39539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39540$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39541if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39542 $as_echo_n "(cached) " >&6 39543else 39544 ac_check_lib_save_LIBS=$LIBS 39545LIBS="-lbfio $LIBS" 39546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39547/* end confdefs.h. */ 39548 39549/* Override any GCC internal prototype to avoid an error. 39550 Use char because int might match the return type of a GCC 39551 builtin and then its argument prototype would still apply. */ 39552#ifdef __cplusplus 39553extern "C" 39554#endif 39555char libbfio_pool_reopen (); 39556int 39557main () 39558{ 39559return libbfio_pool_reopen (); 39560 ; 39561 return 0; 39562} 39563_ACEOF 39564if ac_fn_c_try_link "$LINENO"; then : 39565 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39566else 39567 ac_cv_lib_bfio_libbfio_pool_reopen=no 39568fi 39569rm -f core conftest.err conftest.$ac_objext \ 39570 conftest$ac_exeext conftest.$ac_ext 39571LIBS=$ac_check_lib_save_LIBS 39572fi 39573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39574$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39575if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39576 ac_cv_libbfio_dummy=yes 39577else 39578 ac_cv_libbfio=no 39579fi 39580 39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39582$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39583if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39584 $as_echo_n "(cached) " >&6 39585else 39586 ac_check_lib_save_LIBS=$LIBS 39587LIBS="-lbfio $LIBS" 39588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39589/* end confdefs.h. */ 39590 39591/* Override any GCC internal prototype to avoid an error. 39592 Use char because int might match the return type of a GCC 39593 builtin and then its argument prototype would still apply. */ 39594#ifdef __cplusplus 39595extern "C" 39596#endif 39597char libbfio_pool_close (); 39598int 39599main () 39600{ 39601return libbfio_pool_close (); 39602 ; 39603 return 0; 39604} 39605_ACEOF 39606if ac_fn_c_try_link "$LINENO"; then : 39607 ac_cv_lib_bfio_libbfio_pool_close=yes 39608else 39609 ac_cv_lib_bfio_libbfio_pool_close=no 39610fi 39611rm -f core conftest.err conftest.$ac_objext \ 39612 conftest$ac_exeext conftest.$ac_ext 39613LIBS=$ac_check_lib_save_LIBS 39614fi 39615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39616$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39617if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39618 ac_cv_libbfio_dummy=yes 39619else 39620 ac_cv_libbfio=no 39621fi 39622 39623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39624$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39625if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39626 $as_echo_n "(cached) " >&6 39627else 39628 ac_check_lib_save_LIBS=$LIBS 39629LIBS="-lbfio $LIBS" 39630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39631/* end confdefs.h. */ 39632 39633/* Override any GCC internal prototype to avoid an error. 39634 Use char because int might match the return type of a GCC 39635 builtin and then its argument prototype would still apply. */ 39636#ifdef __cplusplus 39637extern "C" 39638#endif 39639char libbfio_pool_close_all (); 39640int 39641main () 39642{ 39643return libbfio_pool_close_all (); 39644 ; 39645 return 0; 39646} 39647_ACEOF 39648if ac_fn_c_try_link "$LINENO"; then : 39649 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39650else 39651 ac_cv_lib_bfio_libbfio_pool_close_all=no 39652fi 39653rm -f core conftest.err conftest.$ac_objext \ 39654 conftest$ac_exeext conftest.$ac_ext 39655LIBS=$ac_check_lib_save_LIBS 39656fi 39657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39658$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39659if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39660 ac_cv_libbfio_dummy=yes 39661else 39662 ac_cv_libbfio=no 39663fi 39664 39665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39666$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39667if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39668 $as_echo_n "(cached) " >&6 39669else 39670 ac_check_lib_save_LIBS=$LIBS 39671LIBS="-lbfio $LIBS" 39672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39673/* end confdefs.h. */ 39674 39675/* Override any GCC internal prototype to avoid an error. 39676 Use char because int might match the return type of a GCC 39677 builtin and then its argument prototype would still apply. */ 39678#ifdef __cplusplus 39679extern "C" 39680#endif 39681char libbfio_pool_read_buffer (); 39682int 39683main () 39684{ 39685return libbfio_pool_read_buffer (); 39686 ; 39687 return 0; 39688} 39689_ACEOF 39690if ac_fn_c_try_link "$LINENO"; then : 39691 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39692else 39693 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39694fi 39695rm -f core conftest.err conftest.$ac_objext \ 39696 conftest$ac_exeext conftest.$ac_ext 39697LIBS=$ac_check_lib_save_LIBS 39698fi 39699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39700$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39701if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39702 ac_cv_libbfio_dummy=yes 39703else 39704 ac_cv_libbfio=no 39705fi 39706 39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39708$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39709if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39710 $as_echo_n "(cached) " >&6 39711else 39712 ac_check_lib_save_LIBS=$LIBS 39713LIBS="-lbfio $LIBS" 39714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39715/* end confdefs.h. */ 39716 39717/* Override any GCC internal prototype to avoid an error. 39718 Use char because int might match the return type of a GCC 39719 builtin and then its argument prototype would still apply. */ 39720#ifdef __cplusplus 39721extern "C" 39722#endif 39723char libbfio_pool_read_buffer_at_offset (); 39724int 39725main () 39726{ 39727return libbfio_pool_read_buffer_at_offset (); 39728 ; 39729 return 0; 39730} 39731_ACEOF 39732if ac_fn_c_try_link "$LINENO"; then : 39733 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39734else 39735 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39736fi 39737rm -f core conftest.err conftest.$ac_objext \ 39738 conftest$ac_exeext conftest.$ac_ext 39739LIBS=$ac_check_lib_save_LIBS 39740fi 39741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39742$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39743if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39744 ac_cv_libbfio_dummy=yes 39745else 39746 ac_cv_libbfio=no 39747fi 39748 39749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39750$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39751if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39752 $as_echo_n "(cached) " >&6 39753else 39754 ac_check_lib_save_LIBS=$LIBS 39755LIBS="-lbfio $LIBS" 39756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39757/* end confdefs.h. */ 39758 39759/* Override any GCC internal prototype to avoid an error. 39760 Use char because int might match the return type of a GCC 39761 builtin and then its argument prototype would still apply. */ 39762#ifdef __cplusplus 39763extern "C" 39764#endif 39765char libbfio_pool_write_buffer (); 39766int 39767main () 39768{ 39769return libbfio_pool_write_buffer (); 39770 ; 39771 return 0; 39772} 39773_ACEOF 39774if ac_fn_c_try_link "$LINENO"; then : 39775 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39776else 39777 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39778fi 39779rm -f core conftest.err conftest.$ac_objext \ 39780 conftest$ac_exeext conftest.$ac_ext 39781LIBS=$ac_check_lib_save_LIBS 39782fi 39783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39784$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39785if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39786 ac_cv_libbfio_dummy=yes 39787else 39788 ac_cv_libbfio=no 39789fi 39790 39791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39792$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39793if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39794 $as_echo_n "(cached) " >&6 39795else 39796 ac_check_lib_save_LIBS=$LIBS 39797LIBS="-lbfio $LIBS" 39798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39799/* end confdefs.h. */ 39800 39801/* Override any GCC internal prototype to avoid an error. 39802 Use char because int might match the return type of a GCC 39803 builtin and then its argument prototype would still apply. */ 39804#ifdef __cplusplus 39805extern "C" 39806#endif 39807char libbfio_pool_write_buffer_at_offset (); 39808int 39809main () 39810{ 39811return libbfio_pool_write_buffer_at_offset (); 39812 ; 39813 return 0; 39814} 39815_ACEOF 39816if ac_fn_c_try_link "$LINENO"; then : 39817 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39818else 39819 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39820fi 39821rm -f core conftest.err conftest.$ac_objext \ 39822 conftest$ac_exeext conftest.$ac_ext 39823LIBS=$ac_check_lib_save_LIBS 39824fi 39825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39826$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39827if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39828 ac_cv_libbfio_dummy=yes 39829else 39830 ac_cv_libbfio=no 39831fi 39832 39833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39834$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39835if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39836 $as_echo_n "(cached) " >&6 39837else 39838 ac_check_lib_save_LIBS=$LIBS 39839LIBS="-lbfio $LIBS" 39840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39841/* end confdefs.h. */ 39842 39843/* Override any GCC internal prototype to avoid an error. 39844 Use char because int might match the return type of a GCC 39845 builtin and then its argument prototype would still apply. */ 39846#ifdef __cplusplus 39847extern "C" 39848#endif 39849char libbfio_pool_seek_offset (); 39850int 39851main () 39852{ 39853return libbfio_pool_seek_offset (); 39854 ; 39855 return 0; 39856} 39857_ACEOF 39858if ac_fn_c_try_link "$LINENO"; then : 39859 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39860else 39861 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39862fi 39863rm -f core conftest.err conftest.$ac_objext \ 39864 conftest$ac_exeext conftest.$ac_ext 39865LIBS=$ac_check_lib_save_LIBS 39866fi 39867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39868$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39869if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39870 ac_cv_libbfio_dummy=yes 39871else 39872 ac_cv_libbfio=no 39873fi 39874 39875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39876$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39877if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39878 $as_echo_n "(cached) " >&6 39879else 39880 ac_check_lib_save_LIBS=$LIBS 39881LIBS="-lbfio $LIBS" 39882cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39883/* end confdefs.h. */ 39884 39885/* Override any GCC internal prototype to avoid an error. 39886 Use char because int might match the return type of a GCC 39887 builtin and then its argument prototype would still apply. */ 39888#ifdef __cplusplus 39889extern "C" 39890#endif 39891char libbfio_pool_get_offset (); 39892int 39893main () 39894{ 39895return libbfio_pool_get_offset (); 39896 ; 39897 return 0; 39898} 39899_ACEOF 39900if ac_fn_c_try_link "$LINENO"; then : 39901 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39902else 39903 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39904fi 39905rm -f core conftest.err conftest.$ac_objext \ 39906 conftest$ac_exeext conftest.$ac_ext 39907LIBS=$ac_check_lib_save_LIBS 39908fi 39909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39910$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39911if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39912 ac_cv_libbfio_dummy=yes 39913else 39914 ac_cv_libbfio=no 39915fi 39916 39917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39918$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39919if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 39920 $as_echo_n "(cached) " >&6 39921else 39922 ac_check_lib_save_LIBS=$LIBS 39923LIBS="-lbfio $LIBS" 39924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39925/* end confdefs.h. */ 39926 39927/* Override any GCC internal prototype to avoid an error. 39928 Use char because int might match the return type of a GCC 39929 builtin and then its argument prototype would still apply. */ 39930#ifdef __cplusplus 39931extern "C" 39932#endif 39933char libbfio_pool_get_size (); 39934int 39935main () 39936{ 39937return libbfio_pool_get_size (); 39938 ; 39939 return 0; 39940} 39941_ACEOF 39942if ac_fn_c_try_link "$LINENO"; then : 39943 ac_cv_lib_bfio_libbfio_pool_get_size=yes 39944else 39945 ac_cv_lib_bfio_libbfio_pool_get_size=no 39946fi 39947rm -f core conftest.err conftest.$ac_objext \ 39948 conftest$ac_exeext conftest.$ac_ext 39949LIBS=$ac_check_lib_save_LIBS 39950fi 39951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 39952$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 39953if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 39954 ac_cv_libbfio_dummy=yes 39955else 39956 ac_cv_libbfio=no 39957fi 39958 39959 39960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 39961$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 39962if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 39963 $as_echo_n "(cached) " >&6 39964else 39965 ac_check_lib_save_LIBS=$LIBS 39966LIBS="-lbfio $LIBS" 39967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39968/* end confdefs.h. */ 39969 39970/* Override any GCC internal prototype to avoid an error. 39971 Use char because int might match the return type of a GCC 39972 builtin and then its argument prototype would still apply. */ 39973#ifdef __cplusplus 39974extern "C" 39975#endif 39976char libbfio_file_pool_open (); 39977int 39978main () 39979{ 39980return libbfio_file_pool_open (); 39981 ; 39982 return 0; 39983} 39984_ACEOF 39985if ac_fn_c_try_link "$LINENO"; then : 39986 ac_cv_lib_bfio_libbfio_file_pool_open=yes 39987else 39988 ac_cv_lib_bfio_libbfio_file_pool_open=no 39989fi 39990rm -f core conftest.err conftest.$ac_objext \ 39991 conftest$ac_exeext conftest.$ac_ext 39992LIBS=$ac_check_lib_save_LIBS 39993fi 39994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 39995$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 39996if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 39997 ac_cv_libbfio_dummy=yes 39998else 39999 ac_cv_libbfio=no 40000fi 40001 40002 40003 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40005$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40006if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40007 $as_echo_n "(cached) " >&6 40008else 40009 ac_check_lib_save_LIBS=$LIBS 40010LIBS="-lbfio $LIBS" 40011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40012/* end confdefs.h. */ 40013 40014/* Override any GCC internal prototype to avoid an error. 40015 Use char because int might match the return type of a GCC 40016 builtin and then its argument prototype would still apply. */ 40017#ifdef __cplusplus 40018extern "C" 40019#endif 40020char libbfio_file_pool_open_wide (); 40021int 40022main () 40023{ 40024return libbfio_file_pool_open_wide (); 40025 ; 40026 return 0; 40027} 40028_ACEOF 40029if ac_fn_c_try_link "$LINENO"; then : 40030 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40031else 40032 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40033fi 40034rm -f core conftest.err conftest.$ac_objext \ 40035 conftest$ac_exeext conftest.$ac_ext 40036LIBS=$ac_check_lib_save_LIBS 40037fi 40038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40039$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40040if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40041 ac_cv_libbfio_dummy=yes 40042else 40043 ac_cv_libbfio=no 40044fi 40045 40046 40047fi 40048 40049 ac_cv_libbfio_LIBADD="-lbfio" 40050fi 40051 40052fi 40053 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40056as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40057See \`config.log' for more details" "$LINENO" 5; } 40058 40059fi 40060 40061fi 40062 40063 if test "x$ac_cv_libbfio" = xyes; then : 40064 40065$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40066 40067 40068fi 40069 40070 if test "x$ac_cv_libbfio" = xyes; then : 40071 HAVE_LIBBFIO=1 40072 40073else 40074 HAVE_LIBBFIO=0 40075 40076 40077fi 40078 40079 40080 if test "x$ac_cv_libbfio" != xyes; then : 40081 40082 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40083 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40084 40085 ac_cv_libbfio=local 40086 40087 40088 40089$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40090 40091 HAVE_LOCAL_LIBBFIO=1 40092 40093 40094fi 40095 40096 if test "x$ac_cv_libbfio" = xlocal; then 40097 HAVE_LOCAL_LIBBFIO_TRUE= 40098 HAVE_LOCAL_LIBBFIO_FALSE='#' 40099else 40100 HAVE_LOCAL_LIBBFIO_TRUE='#' 40101 HAVE_LOCAL_LIBBFIO_FALSE= 40102fi 40103 40104 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40105 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40106 40107 40108fi 40109 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40110 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40111 40112 40113fi 40114 40115 if test "x$ac_cv_libbfio" = xyes; then : 40116 ax_libbfio_pc_libs_private=-lbfio 40117 40118 40119fi 40120 40121 if test "x$ac_cv_libbfio" = xyes; then : 40122 ax_libbfio_spec_requires=libbfio 40123 40124 ax_libbfio_spec_build_requires=libbfio-devel 40125 40126 40127fi 40128 40129 40130 40131 40132# Check whether --with-libfdatetime was given. 40133if test "${with_libfdatetime+set}" = set; then : 40134 withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval 40135else 40136 ac_cv_with_libfdatetime=auto-detect 40137fi 40138 40139 { $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 40140$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; } 40141if ${ac_cv_with_libfdatetime+:} false; then : 40142 $as_echo_n "(cached) " >&6 40143else 40144 ac_cv_with_libfdatetime=auto-detect 40145fi 40146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5 40147$as_echo "$ac_cv_with_libfdatetime" >&6; } 40148 40149 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then : 40150 ac_cv_libfdatetime=no 40151else 40152 ac_cv_libfdatetime=check 40153 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then : 40154 if test -d "$ac_cv_with_libfdatetime"; then : 40155 CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include" 40156 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib" 40157else 40158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40160as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime 40161See \`config.log' for more details" "$LINENO" 5; } 40162 40163fi 40164 40165else 40166 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40167 40168pkg_failed=no 40169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5 40170$as_echo_n "checking for libfdatetime... " >&6; } 40171 40172if test -n "$libfdatetime_CFLAGS"; then 40173 pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS" 40174 elif test -n "$PKG_CONFIG"; then 40175 if test -n "$PKG_CONFIG" && \ 40176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40177 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40178 ac_status=$? 40179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40180 test $ac_status = 0; }; then 40181 pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null` 40182 test "x$?" != "x0" && pkg_failed=yes 40183else 40184 pkg_failed=yes 40185fi 40186 else 40187 pkg_failed=untried 40188fi 40189if test -n "$libfdatetime_LIBS"; then 40190 pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS" 40191 elif test -n "$PKG_CONFIG"; then 40192 if test -n "$PKG_CONFIG" && \ 40193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40194 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40195 ac_status=$? 40196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40197 test $ac_status = 0; }; then 40198 pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null` 40199 test "x$?" != "x0" && pkg_failed=yes 40200else 40201 pkg_failed=yes 40202fi 40203 else 40204 pkg_failed=untried 40205fi 40206 40207 40208 40209if test $pkg_failed = yes; then 40210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40211$as_echo "no" >&6; } 40212 40213if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40214 _pkg_short_errors_supported=yes 40215else 40216 _pkg_short_errors_supported=no 40217fi 40218 if test $_pkg_short_errors_supported = yes; then 40219 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40220 else 40221 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40222 fi 40223 # Put the nasty error message in config.log where it belongs 40224 echo "$libfdatetime_PKG_ERRORS" >&5 40225 40226 ac_cv_libfdatetime=check 40227elif test $pkg_failed = untried; then 40228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40229$as_echo "no" >&6; } 40230 ac_cv_libfdatetime=check 40231else 40232 libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS 40233 libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS 40234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40235$as_echo "yes" >&6; } 40236 ac_cv_libfdatetime=yes 40237fi 40238 40239fi 40240 if test "x$ac_cv_libfdatetime" = xyes; then : 40241 ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS" 40242 ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS" 40243fi 40244 40245fi 40246 40247 if test "x$ac_cv_libfdatetime" = xcheck; then : 40248 for ac_header in libfdatetime.h 40249do : 40250 ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default" 40251if test "x$ac_cv_header_libfdatetime_h" = xyes; then : 40252 cat >>confdefs.h <<_ACEOF 40253#define HAVE_LIBFDATETIME_H 1 40254_ACEOF 40255 40256fi 40257 40258done 40259 40260 40261 if test "x$ac_cv_header_libfdatetime_h" = xno; then : 40262 ac_cv_libfdatetime=no 40263else 40264 ac_cv_libfdatetime=yes 40265 40266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5 40267$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; } 40268if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then : 40269 $as_echo_n "(cached) " >&6 40270else 40271 ac_check_lib_save_LIBS=$LIBS 40272LIBS="-lfdatetime $LIBS" 40273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40274/* end confdefs.h. */ 40275 40276/* Override any GCC internal prototype to avoid an error. 40277 Use char because int might match the return type of a GCC 40278 builtin and then its argument prototype would still apply. */ 40279#ifdef __cplusplus 40280extern "C" 40281#endif 40282char libfdatetime_get_version (); 40283int 40284main () 40285{ 40286return libfdatetime_get_version (); 40287 ; 40288 return 0; 40289} 40290_ACEOF 40291if ac_fn_c_try_link "$LINENO"; then : 40292 ac_cv_lib_fdatetime_libfdatetime_get_version=yes 40293else 40294 ac_cv_lib_fdatetime_libfdatetime_get_version=no 40295fi 40296rm -f core conftest.err conftest.$ac_objext \ 40297 conftest$ac_exeext conftest.$ac_ext 40298LIBS=$ac_check_lib_save_LIBS 40299fi 40300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_get_version" >&5 40301$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; } 40302if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then : 40303 ac_cv_libfdatetime_dummy=yes 40304else 40305 ac_cv_libfdatetime=no 40306fi 40307 40308 40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5 40310$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; } 40311if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then : 40312 $as_echo_n "(cached) " >&6 40313else 40314 ac_check_lib_save_LIBS=$LIBS 40315LIBS="-lfdatetime $LIBS" 40316cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40317/* end confdefs.h. */ 40318 40319/* Override any GCC internal prototype to avoid an error. 40320 Use char because int might match the return type of a GCC 40321 builtin and then its argument prototype would still apply. */ 40322#ifdef __cplusplus 40323extern "C" 40324#endif 40325char libfdatetime_fat_date_time_initialize (); 40326int 40327main () 40328{ 40329return libfdatetime_fat_date_time_initialize (); 40330 ; 40331 return 0; 40332} 40333_ACEOF 40334if ac_fn_c_try_link "$LINENO"; then : 40335 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes 40336else 40337 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no 40338fi 40339rm -f core conftest.err conftest.$ac_objext \ 40340 conftest$ac_exeext conftest.$ac_ext 40341LIBS=$ac_check_lib_save_LIBS 40342fi 40343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5 40344$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; } 40345if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then : 40346 ac_cv_libfdatetime_dummy=yes 40347else 40348 ac_cv_libfdatetime=no 40349fi 40350 40351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5 40352$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; } 40353if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then : 40354 $as_echo_n "(cached) " >&6 40355else 40356 ac_check_lib_save_LIBS=$LIBS 40357LIBS="-lfdatetime $LIBS" 40358cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40359/* end confdefs.h. */ 40360 40361/* Override any GCC internal prototype to avoid an error. 40362 Use char because int might match the return type of a GCC 40363 builtin and then its argument prototype would still apply. */ 40364#ifdef __cplusplus 40365extern "C" 40366#endif 40367char libfdatetime_fat_date_time_free (); 40368int 40369main () 40370{ 40371return libfdatetime_fat_date_time_free (); 40372 ; 40373 return 0; 40374} 40375_ACEOF 40376if ac_fn_c_try_link "$LINENO"; then : 40377 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes 40378else 40379 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no 40380fi 40381rm -f core conftest.err conftest.$ac_objext \ 40382 conftest$ac_exeext conftest.$ac_ext 40383LIBS=$ac_check_lib_save_LIBS 40384fi 40385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5 40386$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; } 40387if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then : 40388 ac_cv_libfdatetime_dummy=yes 40389else 40390 ac_cv_libfdatetime=no 40391fi 40392 40393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5 40394$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; } 40395if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then : 40396 $as_echo_n "(cached) " >&6 40397else 40398 ac_check_lib_save_LIBS=$LIBS 40399LIBS="-lfdatetime $LIBS" 40400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40401/* end confdefs.h. */ 40402 40403/* Override any GCC internal prototype to avoid an error. 40404 Use char because int might match the return type of a GCC 40405 builtin and then its argument prototype would still apply. */ 40406#ifdef __cplusplus 40407extern "C" 40408#endif 40409char libfdatetime_fat_date_time_copy_from_byte_stream (); 40410int 40411main () 40412{ 40413return libfdatetime_fat_date_time_copy_from_byte_stream (); 40414 ; 40415 return 0; 40416} 40417_ACEOF 40418if ac_fn_c_try_link "$LINENO"; then : 40419 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes 40420else 40421 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no 40422fi 40423rm -f core conftest.err conftest.$ac_objext \ 40424 conftest$ac_exeext conftest.$ac_ext 40425LIBS=$ac_check_lib_save_LIBS 40426fi 40427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5 40428$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; } 40429if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then : 40430 ac_cv_libfdatetime_dummy=yes 40431else 40432 ac_cv_libfdatetime=no 40433fi 40434 40435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5 40436$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; } 40437if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then : 40438 $as_echo_n "(cached) " >&6 40439else 40440 ac_check_lib_save_LIBS=$LIBS 40441LIBS="-lfdatetime $LIBS" 40442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40443/* end confdefs.h. */ 40444 40445/* Override any GCC internal prototype to avoid an error. 40446 Use char because int might match the return type of a GCC 40447 builtin and then its argument prototype would still apply. */ 40448#ifdef __cplusplus 40449extern "C" 40450#endif 40451char libfdatetime_fat_date_time_copy_from_32bit (); 40452int 40453main () 40454{ 40455return libfdatetime_fat_date_time_copy_from_32bit (); 40456 ; 40457 return 0; 40458} 40459_ACEOF 40460if ac_fn_c_try_link "$LINENO"; then : 40461 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes 40462else 40463 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no 40464fi 40465rm -f core conftest.err conftest.$ac_objext \ 40466 conftest$ac_exeext conftest.$ac_ext 40467LIBS=$ac_check_lib_save_LIBS 40468fi 40469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5 40470$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; } 40471if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then : 40472 ac_cv_libfdatetime_dummy=yes 40473else 40474 ac_cv_libfdatetime=no 40475fi 40476 40477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5 40478$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; } 40479if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then : 40480 $as_echo_n "(cached) " >&6 40481else 40482 ac_check_lib_save_LIBS=$LIBS 40483LIBS="-lfdatetime $LIBS" 40484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40485/* end confdefs.h. */ 40486 40487/* Override any GCC internal prototype to avoid an error. 40488 Use char because int might match the return type of a GCC 40489 builtin and then its argument prototype would still apply. */ 40490#ifdef __cplusplus 40491extern "C" 40492#endif 40493char libfdatetime_fat_date_time_copy_to_32bit (); 40494int 40495main () 40496{ 40497return libfdatetime_fat_date_time_copy_to_32bit (); 40498 ; 40499 return 0; 40500} 40501_ACEOF 40502if ac_fn_c_try_link "$LINENO"; then : 40503 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes 40504else 40505 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no 40506fi 40507rm -f core conftest.err conftest.$ac_objext \ 40508 conftest$ac_exeext conftest.$ac_ext 40509LIBS=$ac_check_lib_save_LIBS 40510fi 40511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5 40512$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; } 40513if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then : 40514 ac_cv_libfdatetime_dummy=yes 40515else 40516 ac_cv_libfdatetime=no 40517fi 40518 40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5 40520$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; } 40521if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then : 40522 $as_echo_n "(cached) " >&6 40523else 40524 ac_check_lib_save_LIBS=$LIBS 40525LIBS="-lfdatetime $LIBS" 40526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40527/* end confdefs.h. */ 40528 40529/* Override any GCC internal prototype to avoid an error. 40530 Use char because int might match the return type of a GCC 40531 builtin and then its argument prototype would still apply. */ 40532#ifdef __cplusplus 40533extern "C" 40534#endif 40535char libfdatetime_fat_date_time_copy_to_utf8_string (); 40536int 40537main () 40538{ 40539return libfdatetime_fat_date_time_copy_to_utf8_string (); 40540 ; 40541 return 0; 40542} 40543_ACEOF 40544if ac_fn_c_try_link "$LINENO"; then : 40545 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes 40546else 40547 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no 40548fi 40549rm -f core conftest.err conftest.$ac_objext \ 40550 conftest$ac_exeext conftest.$ac_ext 40551LIBS=$ac_check_lib_save_LIBS 40552fi 40553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5 40554$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; } 40555if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then : 40556 ac_cv_libfdatetime_dummy=yes 40557else 40558 ac_cv_libfdatetime=no 40559fi 40560 40561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 40562$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 40563if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then : 40564 $as_echo_n "(cached) " >&6 40565else 40566 ac_check_lib_save_LIBS=$LIBS 40567LIBS="-lfdatetime $LIBS" 40568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40569/* end confdefs.h. */ 40570 40571/* Override any GCC internal prototype to avoid an error. 40572 Use char because int might match the return type of a GCC 40573 builtin and then its argument prototype would still apply. */ 40574#ifdef __cplusplus 40575extern "C" 40576#endif 40577char libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40578int 40579main () 40580{ 40581return libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40582 ; 40583 return 0; 40584} 40585_ACEOF 40586if ac_fn_c_try_link "$LINENO"; then : 40587 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes 40588else 40589 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no 40590fi 40591rm -f core conftest.err conftest.$ac_objext \ 40592 conftest$ac_exeext conftest.$ac_ext 40593LIBS=$ac_check_lib_save_LIBS 40594fi 40595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5 40596$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; } 40597if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then : 40598 ac_cv_libfdatetime_dummy=yes 40599else 40600 ac_cv_libfdatetime=no 40601fi 40602 40603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5 40604$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; } 40605if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then : 40606 $as_echo_n "(cached) " >&6 40607else 40608 ac_check_lib_save_LIBS=$LIBS 40609LIBS="-lfdatetime $LIBS" 40610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40611/* end confdefs.h. */ 40612 40613/* Override any GCC internal prototype to avoid an error. 40614 Use char because int might match the return type of a GCC 40615 builtin and then its argument prototype would still apply. */ 40616#ifdef __cplusplus 40617extern "C" 40618#endif 40619char libfdatetime_fat_date_time_copy_to_utf16_string (); 40620int 40621main () 40622{ 40623return libfdatetime_fat_date_time_copy_to_utf16_string (); 40624 ; 40625 return 0; 40626} 40627_ACEOF 40628if ac_fn_c_try_link "$LINENO"; then : 40629 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes 40630else 40631 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no 40632fi 40633rm -f core conftest.err conftest.$ac_objext \ 40634 conftest$ac_exeext conftest.$ac_ext 40635LIBS=$ac_check_lib_save_LIBS 40636fi 40637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5 40638$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; } 40639if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then : 40640 ac_cv_libfdatetime_dummy=yes 40641else 40642 ac_cv_libfdatetime=no 40643fi 40644 40645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 40646$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 40647if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then : 40648 $as_echo_n "(cached) " >&6 40649else 40650 ac_check_lib_save_LIBS=$LIBS 40651LIBS="-lfdatetime $LIBS" 40652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40653/* end confdefs.h. */ 40654 40655/* Override any GCC internal prototype to avoid an error. 40656 Use char because int might match the return type of a GCC 40657 builtin and then its argument prototype would still apply. */ 40658#ifdef __cplusplus 40659extern "C" 40660#endif 40661char libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40662int 40663main () 40664{ 40665return libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40666 ; 40667 return 0; 40668} 40669_ACEOF 40670if ac_fn_c_try_link "$LINENO"; then : 40671 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes 40672else 40673 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no 40674fi 40675rm -f core conftest.err conftest.$ac_objext \ 40676 conftest$ac_exeext conftest.$ac_ext 40677LIBS=$ac_check_lib_save_LIBS 40678fi 40679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5 40680$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; } 40681if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then : 40682 ac_cv_libfdatetime_dummy=yes 40683else 40684 ac_cv_libfdatetime=no 40685fi 40686 40687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5 40688$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; } 40689if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then : 40690 $as_echo_n "(cached) " >&6 40691else 40692 ac_check_lib_save_LIBS=$LIBS 40693LIBS="-lfdatetime $LIBS" 40694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40695/* end confdefs.h. */ 40696 40697/* Override any GCC internal prototype to avoid an error. 40698 Use char because int might match the return type of a GCC 40699 builtin and then its argument prototype would still apply. */ 40700#ifdef __cplusplus 40701extern "C" 40702#endif 40703char libfdatetime_fat_date_time_copy_to_utf32_string (); 40704int 40705main () 40706{ 40707return libfdatetime_fat_date_time_copy_to_utf32_string (); 40708 ; 40709 return 0; 40710} 40711_ACEOF 40712if ac_fn_c_try_link "$LINENO"; then : 40713 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes 40714else 40715 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no 40716fi 40717rm -f core conftest.err conftest.$ac_objext \ 40718 conftest$ac_exeext conftest.$ac_ext 40719LIBS=$ac_check_lib_save_LIBS 40720fi 40721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5 40722$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; } 40723if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then : 40724 ac_cv_libfdatetime_dummy=yes 40725else 40726 ac_cv_libfdatetime=no 40727fi 40728 40729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 40730$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 40731if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then : 40732 $as_echo_n "(cached) " >&6 40733else 40734 ac_check_lib_save_LIBS=$LIBS 40735LIBS="-lfdatetime $LIBS" 40736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40737/* end confdefs.h. */ 40738 40739/* Override any GCC internal prototype to avoid an error. 40740 Use char because int might match the return type of a GCC 40741 builtin and then its argument prototype would still apply. */ 40742#ifdef __cplusplus 40743extern "C" 40744#endif 40745char libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40746int 40747main () 40748{ 40749return libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40750 ; 40751 return 0; 40752} 40753_ACEOF 40754if ac_fn_c_try_link "$LINENO"; then : 40755 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes 40756else 40757 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=no 40758fi 40759rm -f core conftest.err conftest.$ac_objext \ 40760 conftest$ac_exeext conftest.$ac_ext 40761LIBS=$ac_check_lib_save_LIBS 40762fi 40763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5 40764$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; } 40765if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then : 40766 ac_cv_libfdatetime_dummy=yes 40767else 40768 ac_cv_libfdatetime=no 40769fi 40770 40771 40772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5 40773$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; } 40774if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then : 40775 $as_echo_n "(cached) " >&6 40776else 40777 ac_check_lib_save_LIBS=$LIBS 40778LIBS="-lfdatetime $LIBS" 40779cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40780/* end confdefs.h. */ 40781 40782/* Override any GCC internal prototype to avoid an error. 40783 Use char because int might match the return type of a GCC 40784 builtin and then its argument prototype would still apply. */ 40785#ifdef __cplusplus 40786extern "C" 40787#endif 40788char libfdatetime_filetime_initialize (); 40789int 40790main () 40791{ 40792return libfdatetime_filetime_initialize (); 40793 ; 40794 return 0; 40795} 40796_ACEOF 40797if ac_fn_c_try_link "$LINENO"; then : 40798 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes 40799else 40800 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no 40801fi 40802rm -f core conftest.err conftest.$ac_objext \ 40803 conftest$ac_exeext conftest.$ac_ext 40804LIBS=$ac_check_lib_save_LIBS 40805fi 40806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5 40807$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; } 40808if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then : 40809 ac_cv_libfdatetime_dummy=yes 40810else 40811 ac_cv_libfdatetime=no 40812fi 40813 40814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5 40815$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; } 40816if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then : 40817 $as_echo_n "(cached) " >&6 40818else 40819 ac_check_lib_save_LIBS=$LIBS 40820LIBS="-lfdatetime $LIBS" 40821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40822/* end confdefs.h. */ 40823 40824/* Override any GCC internal prototype to avoid an error. 40825 Use char because int might match the return type of a GCC 40826 builtin and then its argument prototype would still apply. */ 40827#ifdef __cplusplus 40828extern "C" 40829#endif 40830char libfdatetime_filetime_free (); 40831int 40832main () 40833{ 40834return libfdatetime_filetime_free (); 40835 ; 40836 return 0; 40837} 40838_ACEOF 40839if ac_fn_c_try_link "$LINENO"; then : 40840 ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes 40841else 40842 ac_cv_lib_fdatetime_libfdatetime_filetime_free=no 40843fi 40844rm -f core conftest.err conftest.$ac_objext \ 40845 conftest$ac_exeext conftest.$ac_ext 40846LIBS=$ac_check_lib_save_LIBS 40847fi 40848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5 40849$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; } 40850if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then : 40851 ac_cv_libfdatetime_dummy=yes 40852else 40853 ac_cv_libfdatetime=no 40854fi 40855 40856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5 40857$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; } 40858if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then : 40859 $as_echo_n "(cached) " >&6 40860else 40861 ac_check_lib_save_LIBS=$LIBS 40862LIBS="-lfdatetime $LIBS" 40863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40864/* end confdefs.h. */ 40865 40866/* Override any GCC internal prototype to avoid an error. 40867 Use char because int might match the return type of a GCC 40868 builtin and then its argument prototype would still apply. */ 40869#ifdef __cplusplus 40870extern "C" 40871#endif 40872char libfdatetime_filetime_copy_from_byte_stream (); 40873int 40874main () 40875{ 40876return libfdatetime_filetime_copy_from_byte_stream (); 40877 ; 40878 return 0; 40879} 40880_ACEOF 40881if ac_fn_c_try_link "$LINENO"; then : 40882 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes 40883else 40884 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no 40885fi 40886rm -f core conftest.err conftest.$ac_objext \ 40887 conftest$ac_exeext conftest.$ac_ext 40888LIBS=$ac_check_lib_save_LIBS 40889fi 40890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5 40891$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; } 40892if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then : 40893 ac_cv_libfdatetime_dummy=yes 40894else 40895 ac_cv_libfdatetime=no 40896fi 40897 40898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5 40899$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; } 40900if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then : 40901 $as_echo_n "(cached) " >&6 40902else 40903 ac_check_lib_save_LIBS=$LIBS 40904LIBS="-lfdatetime $LIBS" 40905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40906/* end confdefs.h. */ 40907 40908/* Override any GCC internal prototype to avoid an error. 40909 Use char because int might match the return type of a GCC 40910 builtin and then its argument prototype would still apply. */ 40911#ifdef __cplusplus 40912extern "C" 40913#endif 40914char libfdatetime_filetime_copy_from_64bit (); 40915int 40916main () 40917{ 40918return libfdatetime_filetime_copy_from_64bit (); 40919 ; 40920 return 0; 40921} 40922_ACEOF 40923if ac_fn_c_try_link "$LINENO"; then : 40924 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes 40925else 40926 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=no 40927fi 40928rm -f core conftest.err conftest.$ac_objext \ 40929 conftest$ac_exeext conftest.$ac_ext 40930LIBS=$ac_check_lib_save_LIBS 40931fi 40932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5 40933$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; } 40934if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then : 40935 ac_cv_libfdatetime_dummy=yes 40936else 40937 ac_cv_libfdatetime=no 40938fi 40939 40940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5 40941$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; } 40942if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then : 40943 $as_echo_n "(cached) " >&6 40944else 40945 ac_check_lib_save_LIBS=$LIBS 40946LIBS="-lfdatetime $LIBS" 40947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40948/* end confdefs.h. */ 40949 40950/* Override any GCC internal prototype to avoid an error. 40951 Use char because int might match the return type of a GCC 40952 builtin and then its argument prototype would still apply. */ 40953#ifdef __cplusplus 40954extern "C" 40955#endif 40956char libfdatetime_filetime_copy_to_64bit (); 40957int 40958main () 40959{ 40960return libfdatetime_filetime_copy_to_64bit (); 40961 ; 40962 return 0; 40963} 40964_ACEOF 40965if ac_fn_c_try_link "$LINENO"; then : 40966 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes 40967else 40968 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=no 40969fi 40970rm -f core conftest.err conftest.$ac_objext \ 40971 conftest$ac_exeext conftest.$ac_ext 40972LIBS=$ac_check_lib_save_LIBS 40973fi 40974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5 40975$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; } 40976if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then : 40977 ac_cv_libfdatetime_dummy=yes 40978else 40979 ac_cv_libfdatetime=no 40980fi 40981 40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5 40983$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; } 40984if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then : 40985 $as_echo_n "(cached) " >&6 40986else 40987 ac_check_lib_save_LIBS=$LIBS 40988LIBS="-lfdatetime $LIBS" 40989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40990/* end confdefs.h. */ 40991 40992/* Override any GCC internal prototype to avoid an error. 40993 Use char because int might match the return type of a GCC 40994 builtin and then its argument prototype would still apply. */ 40995#ifdef __cplusplus 40996extern "C" 40997#endif 40998char libfdatetime_filetime_copy_to_utf8_string (); 40999int 41000main () 41001{ 41002return libfdatetime_filetime_copy_to_utf8_string (); 41003 ; 41004 return 0; 41005} 41006_ACEOF 41007if ac_fn_c_try_link "$LINENO"; then : 41008 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes 41009else 41010 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=no 41011fi 41012rm -f core conftest.err conftest.$ac_objext \ 41013 conftest$ac_exeext conftest.$ac_ext 41014LIBS=$ac_check_lib_save_LIBS 41015fi 41016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5 41017$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; } 41018if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then : 41019 ac_cv_libfdatetime_dummy=yes 41020else 41021 ac_cv_libfdatetime=no 41022fi 41023 41024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41025$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41026if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then : 41027 $as_echo_n "(cached) " >&6 41028else 41029 ac_check_lib_save_LIBS=$LIBS 41030LIBS="-lfdatetime $LIBS" 41031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41032/* end confdefs.h. */ 41033 41034/* Override any GCC internal prototype to avoid an error. 41035 Use char because int might match the return type of a GCC 41036 builtin and then its argument prototype would still apply. */ 41037#ifdef __cplusplus 41038extern "C" 41039#endif 41040char libfdatetime_filetime_copy_to_utf8_string_with_index (); 41041int 41042main () 41043{ 41044return libfdatetime_filetime_copy_to_utf8_string_with_index (); 41045 ; 41046 return 0; 41047} 41048_ACEOF 41049if ac_fn_c_try_link "$LINENO"; then : 41050 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes 41051else 41052 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=no 41053fi 41054rm -f core conftest.err conftest.$ac_objext \ 41055 conftest$ac_exeext conftest.$ac_ext 41056LIBS=$ac_check_lib_save_LIBS 41057fi 41058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5 41059$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; } 41060if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then : 41061 ac_cv_libfdatetime_dummy=yes 41062else 41063 ac_cv_libfdatetime=no 41064fi 41065 41066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5 41067$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; } 41068if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then : 41069 $as_echo_n "(cached) " >&6 41070else 41071 ac_check_lib_save_LIBS=$LIBS 41072LIBS="-lfdatetime $LIBS" 41073cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41074/* end confdefs.h. */ 41075 41076/* Override any GCC internal prototype to avoid an error. 41077 Use char because int might match the return type of a GCC 41078 builtin and then its argument prototype would still apply. */ 41079#ifdef __cplusplus 41080extern "C" 41081#endif 41082char libfdatetime_filetime_copy_to_utf16_string (); 41083int 41084main () 41085{ 41086return libfdatetime_filetime_copy_to_utf16_string (); 41087 ; 41088 return 0; 41089} 41090_ACEOF 41091if ac_fn_c_try_link "$LINENO"; then : 41092 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes 41093else 41094 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no 41095fi 41096rm -f core conftest.err conftest.$ac_objext \ 41097 conftest$ac_exeext conftest.$ac_ext 41098LIBS=$ac_check_lib_save_LIBS 41099fi 41100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5 41101$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; } 41102if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then : 41103 ac_cv_libfdatetime_dummy=yes 41104else 41105 ac_cv_libfdatetime=no 41106fi 41107 41108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41109$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41110if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then : 41111 $as_echo_n "(cached) " >&6 41112else 41113 ac_check_lib_save_LIBS=$LIBS 41114LIBS="-lfdatetime $LIBS" 41115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41116/* end confdefs.h. */ 41117 41118/* Override any GCC internal prototype to avoid an error. 41119 Use char because int might match the return type of a GCC 41120 builtin and then its argument prototype would still apply. */ 41121#ifdef __cplusplus 41122extern "C" 41123#endif 41124char libfdatetime_filetime_copy_to_utf16_string_with_index (); 41125int 41126main () 41127{ 41128return libfdatetime_filetime_copy_to_utf16_string_with_index (); 41129 ; 41130 return 0; 41131} 41132_ACEOF 41133if ac_fn_c_try_link "$LINENO"; then : 41134 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes 41135else 41136 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no 41137fi 41138rm -f core conftest.err conftest.$ac_objext \ 41139 conftest$ac_exeext conftest.$ac_ext 41140LIBS=$ac_check_lib_save_LIBS 41141fi 41142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5 41143$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; } 41144if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then : 41145 ac_cv_libfdatetime_dummy=yes 41146else 41147 ac_cv_libfdatetime=no 41148fi 41149 41150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5 41151$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; } 41152if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then : 41153 $as_echo_n "(cached) " >&6 41154else 41155 ac_check_lib_save_LIBS=$LIBS 41156LIBS="-lfdatetime $LIBS" 41157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41158/* end confdefs.h. */ 41159 41160/* Override any GCC internal prototype to avoid an error. 41161 Use char because int might match the return type of a GCC 41162 builtin and then its argument prototype would still apply. */ 41163#ifdef __cplusplus 41164extern "C" 41165#endif 41166char libfdatetime_filetime_copy_to_utf32_string (); 41167int 41168main () 41169{ 41170return libfdatetime_filetime_copy_to_utf32_string (); 41171 ; 41172 return 0; 41173} 41174_ACEOF 41175if ac_fn_c_try_link "$LINENO"; then : 41176 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes 41177else 41178 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no 41179fi 41180rm -f core conftest.err conftest.$ac_objext \ 41181 conftest$ac_exeext conftest.$ac_ext 41182LIBS=$ac_check_lib_save_LIBS 41183fi 41184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5 41185$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; } 41186if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then : 41187 ac_cv_libfdatetime_dummy=yes 41188else 41189 ac_cv_libfdatetime=no 41190fi 41191 41192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41193$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41194if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then : 41195 $as_echo_n "(cached) " >&6 41196else 41197 ac_check_lib_save_LIBS=$LIBS 41198LIBS="-lfdatetime $LIBS" 41199cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41200/* end confdefs.h. */ 41201 41202/* Override any GCC internal prototype to avoid an error. 41203 Use char because int might match the return type of a GCC 41204 builtin and then its argument prototype would still apply. */ 41205#ifdef __cplusplus 41206extern "C" 41207#endif 41208char libfdatetime_filetime_copy_to_utf32_string_with_index (); 41209int 41210main () 41211{ 41212return libfdatetime_filetime_copy_to_utf32_string_with_index (); 41213 ; 41214 return 0; 41215} 41216_ACEOF 41217if ac_fn_c_try_link "$LINENO"; then : 41218 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes 41219else 41220 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no 41221fi 41222rm -f core conftest.err conftest.$ac_objext \ 41223 conftest$ac_exeext conftest.$ac_ext 41224LIBS=$ac_check_lib_save_LIBS 41225fi 41226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5 41227$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; } 41228if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then : 41229 ac_cv_libfdatetime_dummy=yes 41230else 41231 ac_cv_libfdatetime=no 41232fi 41233 41234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5 41235$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; } 41236if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then : 41237 $as_echo_n "(cached) " >&6 41238else 41239 ac_check_lib_save_LIBS=$LIBS 41240LIBS="-lfdatetime $LIBS" 41241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41242/* end confdefs.h. */ 41243 41244/* Override any GCC internal prototype to avoid an error. 41245 Use char because int might match the return type of a GCC 41246 builtin and then its argument prototype would still apply. */ 41247#ifdef __cplusplus 41248extern "C" 41249#endif 41250char libfdatetime_filetime_add (); 41251int 41252main () 41253{ 41254return libfdatetime_filetime_add (); 41255 ; 41256 return 0; 41257} 41258_ACEOF 41259if ac_fn_c_try_link "$LINENO"; then : 41260 ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes 41261else 41262 ac_cv_lib_fdatetime_libfdatetime_filetime_add=no 41263fi 41264rm -f core conftest.err conftest.$ac_objext \ 41265 conftest$ac_exeext conftest.$ac_ext 41266LIBS=$ac_check_lib_save_LIBS 41267fi 41268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5 41269$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; } 41270if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then : 41271 ac_cv_libfdatetime_dummy=yes 41272else 41273 ac_cv_libfdatetime=no 41274fi 41275 41276 41277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5 41278$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; } 41279if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then : 41280 $as_echo_n "(cached) " >&6 41281else 41282 ac_check_lib_save_LIBS=$LIBS 41283LIBS="-lfdatetime $LIBS" 41284cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41285/* end confdefs.h. */ 41286 41287/* Override any GCC internal prototype to avoid an error. 41288 Use char because int might match the return type of a GCC 41289 builtin and then its argument prototype would still apply. */ 41290#ifdef __cplusplus 41291extern "C" 41292#endif 41293char libfdatetime_floatingtime_initialize (); 41294int 41295main () 41296{ 41297return libfdatetime_floatingtime_initialize (); 41298 ; 41299 return 0; 41300} 41301_ACEOF 41302if ac_fn_c_try_link "$LINENO"; then : 41303 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes 41304else 41305 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no 41306fi 41307rm -f core conftest.err conftest.$ac_objext \ 41308 conftest$ac_exeext conftest.$ac_ext 41309LIBS=$ac_check_lib_save_LIBS 41310fi 41311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5 41312$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; } 41313if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then : 41314 ac_cv_libfdatetime_dummy=yes 41315else 41316 ac_cv_libfdatetime=no 41317fi 41318 41319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5 41320$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; } 41321if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then : 41322 $as_echo_n "(cached) " >&6 41323else 41324 ac_check_lib_save_LIBS=$LIBS 41325LIBS="-lfdatetime $LIBS" 41326cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41327/* end confdefs.h. */ 41328 41329/* Override any GCC internal prototype to avoid an error. 41330 Use char because int might match the return type of a GCC 41331 builtin and then its argument prototype would still apply. */ 41332#ifdef __cplusplus 41333extern "C" 41334#endif 41335char libfdatetime_floatingtime_free (); 41336int 41337main () 41338{ 41339return libfdatetime_floatingtime_free (); 41340 ; 41341 return 0; 41342} 41343_ACEOF 41344if ac_fn_c_try_link "$LINENO"; then : 41345 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes 41346else 41347 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no 41348fi 41349rm -f core conftest.err conftest.$ac_objext \ 41350 conftest$ac_exeext conftest.$ac_ext 41351LIBS=$ac_check_lib_save_LIBS 41352fi 41353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5 41354$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; } 41355if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then : 41356 ac_cv_libfdatetime_dummy=yes 41357else 41358 ac_cv_libfdatetime=no 41359fi 41360 41361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5 41362$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; } 41363if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then : 41364 $as_echo_n "(cached) " >&6 41365else 41366 ac_check_lib_save_LIBS=$LIBS 41367LIBS="-lfdatetime $LIBS" 41368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41369/* end confdefs.h. */ 41370 41371/* Override any GCC internal prototype to avoid an error. 41372 Use char because int might match the return type of a GCC 41373 builtin and then its argument prototype would still apply. */ 41374#ifdef __cplusplus 41375extern "C" 41376#endif 41377char libfdatetime_floatingtime_copy_from_byte_stream (); 41378int 41379main () 41380{ 41381return libfdatetime_floatingtime_copy_from_byte_stream (); 41382 ; 41383 return 0; 41384} 41385_ACEOF 41386if ac_fn_c_try_link "$LINENO"; then : 41387 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes 41388else 41389 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no 41390fi 41391rm -f core conftest.err conftest.$ac_objext \ 41392 conftest$ac_exeext conftest.$ac_ext 41393LIBS=$ac_check_lib_save_LIBS 41394fi 41395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5 41396$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; } 41397if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then : 41398 ac_cv_libfdatetime_dummy=yes 41399else 41400 ac_cv_libfdatetime=no 41401fi 41402 41403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5 41404$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; } 41405if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then : 41406 $as_echo_n "(cached) " >&6 41407else 41408 ac_check_lib_save_LIBS=$LIBS 41409LIBS="-lfdatetime $LIBS" 41410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41411/* end confdefs.h. */ 41412 41413/* Override any GCC internal prototype to avoid an error. 41414 Use char because int might match the return type of a GCC 41415 builtin and then its argument prototype would still apply. */ 41416#ifdef __cplusplus 41417extern "C" 41418#endif 41419char libfdatetime_floatingtime_copy_from_64bit (); 41420int 41421main () 41422{ 41423return libfdatetime_floatingtime_copy_from_64bit (); 41424 ; 41425 return 0; 41426} 41427_ACEOF 41428if ac_fn_c_try_link "$LINENO"; then : 41429 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes 41430else 41431 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no 41432fi 41433rm -f core conftest.err conftest.$ac_objext \ 41434 conftest$ac_exeext conftest.$ac_ext 41435LIBS=$ac_check_lib_save_LIBS 41436fi 41437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5 41438$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; } 41439if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then : 41440 ac_cv_libfdatetime_dummy=yes 41441else 41442 ac_cv_libfdatetime=no 41443fi 41444 41445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5 41446$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; } 41447if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then : 41448 $as_echo_n "(cached) " >&6 41449else 41450 ac_check_lib_save_LIBS=$LIBS 41451LIBS="-lfdatetime $LIBS" 41452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41453/* end confdefs.h. */ 41454 41455/* Override any GCC internal prototype to avoid an error. 41456 Use char because int might match the return type of a GCC 41457 builtin and then its argument prototype would still apply. */ 41458#ifdef __cplusplus 41459extern "C" 41460#endif 41461char libfdatetime_floatingtime_copy_to_64bit (); 41462int 41463main () 41464{ 41465return libfdatetime_floatingtime_copy_to_64bit (); 41466 ; 41467 return 0; 41468} 41469_ACEOF 41470if ac_fn_c_try_link "$LINENO"; then : 41471 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes 41472else 41473 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no 41474fi 41475rm -f core conftest.err conftest.$ac_objext \ 41476 conftest$ac_exeext conftest.$ac_ext 41477LIBS=$ac_check_lib_save_LIBS 41478fi 41479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5 41480$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; } 41481if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then : 41482 ac_cv_libfdatetime_dummy=yes 41483else 41484 ac_cv_libfdatetime=no 41485fi 41486 41487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5 41488$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; } 41489if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then : 41490 $as_echo_n "(cached) " >&6 41491else 41492 ac_check_lib_save_LIBS=$LIBS 41493LIBS="-lfdatetime $LIBS" 41494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41495/* end confdefs.h. */ 41496 41497/* Override any GCC internal prototype to avoid an error. 41498 Use char because int might match the return type of a GCC 41499 builtin and then its argument prototype would still apply. */ 41500#ifdef __cplusplus 41501extern "C" 41502#endif 41503char libfdatetime_floatingtime_copy_to_utf8_string (); 41504int 41505main () 41506{ 41507return libfdatetime_floatingtime_copy_to_utf8_string (); 41508 ; 41509 return 0; 41510} 41511_ACEOF 41512if ac_fn_c_try_link "$LINENO"; then : 41513 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes 41514else 41515 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no 41516fi 41517rm -f core conftest.err conftest.$ac_objext \ 41518 conftest$ac_exeext conftest.$ac_ext 41519LIBS=$ac_check_lib_save_LIBS 41520fi 41521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5 41522$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; } 41523if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then : 41524 ac_cv_libfdatetime_dummy=yes 41525else 41526 ac_cv_libfdatetime=no 41527fi 41528 41529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41530$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41531if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then : 41532 $as_echo_n "(cached) " >&6 41533else 41534 ac_check_lib_save_LIBS=$LIBS 41535LIBS="-lfdatetime $LIBS" 41536cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41537/* end confdefs.h. */ 41538 41539/* Override any GCC internal prototype to avoid an error. 41540 Use char because int might match the return type of a GCC 41541 builtin and then its argument prototype would still apply. */ 41542#ifdef __cplusplus 41543extern "C" 41544#endif 41545char libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41546int 41547main () 41548{ 41549return libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41550 ; 41551 return 0; 41552} 41553_ACEOF 41554if ac_fn_c_try_link "$LINENO"; then : 41555 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes 41556else 41557 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no 41558fi 41559rm -f core conftest.err conftest.$ac_objext \ 41560 conftest$ac_exeext conftest.$ac_ext 41561LIBS=$ac_check_lib_save_LIBS 41562fi 41563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5 41564$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; } 41565if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then : 41566 ac_cv_libfdatetime_dummy=yes 41567else 41568 ac_cv_libfdatetime=no 41569fi 41570 41571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5 41572$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; } 41573if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then : 41574 $as_echo_n "(cached) " >&6 41575else 41576 ac_check_lib_save_LIBS=$LIBS 41577LIBS="-lfdatetime $LIBS" 41578cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41579/* end confdefs.h. */ 41580 41581/* Override any GCC internal prototype to avoid an error. 41582 Use char because int might match the return type of a GCC 41583 builtin and then its argument prototype would still apply. */ 41584#ifdef __cplusplus 41585extern "C" 41586#endif 41587char libfdatetime_floatingtime_copy_to_utf16_string (); 41588int 41589main () 41590{ 41591return libfdatetime_floatingtime_copy_to_utf16_string (); 41592 ; 41593 return 0; 41594} 41595_ACEOF 41596if ac_fn_c_try_link "$LINENO"; then : 41597 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes 41598else 41599 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no 41600fi 41601rm -f core conftest.err conftest.$ac_objext \ 41602 conftest$ac_exeext conftest.$ac_ext 41603LIBS=$ac_check_lib_save_LIBS 41604fi 41605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5 41606$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; } 41607if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then : 41608 ac_cv_libfdatetime_dummy=yes 41609else 41610 ac_cv_libfdatetime=no 41611fi 41612 41613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41614$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41615if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then : 41616 $as_echo_n "(cached) " >&6 41617else 41618 ac_check_lib_save_LIBS=$LIBS 41619LIBS="-lfdatetime $LIBS" 41620cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41621/* end confdefs.h. */ 41622 41623/* Override any GCC internal prototype to avoid an error. 41624 Use char because int might match the return type of a GCC 41625 builtin and then its argument prototype would still apply. */ 41626#ifdef __cplusplus 41627extern "C" 41628#endif 41629char libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41630int 41631main () 41632{ 41633return libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41634 ; 41635 return 0; 41636} 41637_ACEOF 41638if ac_fn_c_try_link "$LINENO"; then : 41639 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes 41640else 41641 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no 41642fi 41643rm -f core conftest.err conftest.$ac_objext \ 41644 conftest$ac_exeext conftest.$ac_ext 41645LIBS=$ac_check_lib_save_LIBS 41646fi 41647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5 41648$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; } 41649if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then : 41650 ac_cv_libfdatetime_dummy=yes 41651else 41652 ac_cv_libfdatetime=no 41653fi 41654 41655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5 41656$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; } 41657if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then : 41658 $as_echo_n "(cached) " >&6 41659else 41660 ac_check_lib_save_LIBS=$LIBS 41661LIBS="-lfdatetime $LIBS" 41662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41663/* end confdefs.h. */ 41664 41665/* Override any GCC internal prototype to avoid an error. 41666 Use char because int might match the return type of a GCC 41667 builtin and then its argument prototype would still apply. */ 41668#ifdef __cplusplus 41669extern "C" 41670#endif 41671char libfdatetime_floatingtime_copy_to_utf32_string (); 41672int 41673main () 41674{ 41675return libfdatetime_floatingtime_copy_to_utf32_string (); 41676 ; 41677 return 0; 41678} 41679_ACEOF 41680if ac_fn_c_try_link "$LINENO"; then : 41681 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes 41682else 41683 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no 41684fi 41685rm -f core conftest.err conftest.$ac_objext \ 41686 conftest$ac_exeext conftest.$ac_ext 41687LIBS=$ac_check_lib_save_LIBS 41688fi 41689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5 41690$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; } 41691if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then : 41692 ac_cv_libfdatetime_dummy=yes 41693else 41694 ac_cv_libfdatetime=no 41695fi 41696 41697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41698$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41699if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then : 41700 $as_echo_n "(cached) " >&6 41701else 41702 ac_check_lib_save_LIBS=$LIBS 41703LIBS="-lfdatetime $LIBS" 41704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41705/* end confdefs.h. */ 41706 41707/* Override any GCC internal prototype to avoid an error. 41708 Use char because int might match the return type of a GCC 41709 builtin and then its argument prototype would still apply. */ 41710#ifdef __cplusplus 41711extern "C" 41712#endif 41713char libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41714int 41715main () 41716{ 41717return libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41718 ; 41719 return 0; 41720} 41721_ACEOF 41722if ac_fn_c_try_link "$LINENO"; then : 41723 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes 41724else 41725 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no 41726fi 41727rm -f core conftest.err conftest.$ac_objext \ 41728 conftest$ac_exeext conftest.$ac_ext 41729LIBS=$ac_check_lib_save_LIBS 41730fi 41731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5 41732$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; } 41733if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then : 41734 ac_cv_libfdatetime_dummy=yes 41735else 41736 ac_cv_libfdatetime=no 41737fi 41738 41739 41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5 41741$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; } 41742if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then : 41743 $as_echo_n "(cached) " >&6 41744else 41745 ac_check_lib_save_LIBS=$LIBS 41746LIBS="-lfdatetime $LIBS" 41747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41748/* end confdefs.h. */ 41749 41750/* Override any GCC internal prototype to avoid an error. 41751 Use char because int might match the return type of a GCC 41752 builtin and then its argument prototype would still apply. */ 41753#ifdef __cplusplus 41754extern "C" 41755#endif 41756char libfdatetime_hfs_time_initialize (); 41757int 41758main () 41759{ 41760return libfdatetime_hfs_time_initialize (); 41761 ; 41762 return 0; 41763} 41764_ACEOF 41765if ac_fn_c_try_link "$LINENO"; then : 41766 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes 41767else 41768 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no 41769fi 41770rm -f core conftest.err conftest.$ac_objext \ 41771 conftest$ac_exeext conftest.$ac_ext 41772LIBS=$ac_check_lib_save_LIBS 41773fi 41774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5 41775$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; } 41776if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then : 41777 ac_cv_libfdatetime_dummy=yes 41778else 41779 ac_cv_libfdatetime=no 41780fi 41781 41782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5 41783$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; } 41784if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then : 41785 $as_echo_n "(cached) " >&6 41786else 41787 ac_check_lib_save_LIBS=$LIBS 41788LIBS="-lfdatetime $LIBS" 41789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41790/* end confdefs.h. */ 41791 41792/* Override any GCC internal prototype to avoid an error. 41793 Use char because int might match the return type of a GCC 41794 builtin and then its argument prototype would still apply. */ 41795#ifdef __cplusplus 41796extern "C" 41797#endif 41798char libfdatetime_hfs_time_free (); 41799int 41800main () 41801{ 41802return libfdatetime_hfs_time_free (); 41803 ; 41804 return 0; 41805} 41806_ACEOF 41807if ac_fn_c_try_link "$LINENO"; then : 41808 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes 41809else 41810 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no 41811fi 41812rm -f core conftest.err conftest.$ac_objext \ 41813 conftest$ac_exeext conftest.$ac_ext 41814LIBS=$ac_check_lib_save_LIBS 41815fi 41816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5 41817$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; } 41818if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then : 41819 ac_cv_libfdatetime_dummy=yes 41820else 41821 ac_cv_libfdatetime=no 41822fi 41823 41824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5 41825$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; } 41826if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then : 41827 $as_echo_n "(cached) " >&6 41828else 41829 ac_check_lib_save_LIBS=$LIBS 41830LIBS="-lfdatetime $LIBS" 41831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41832/* end confdefs.h. */ 41833 41834/* Override any GCC internal prototype to avoid an error. 41835 Use char because int might match the return type of a GCC 41836 builtin and then its argument prototype would still apply. */ 41837#ifdef __cplusplus 41838extern "C" 41839#endif 41840char libfdatetime_hfs_time_copy_from_byte_stream (); 41841int 41842main () 41843{ 41844return libfdatetime_hfs_time_copy_from_byte_stream (); 41845 ; 41846 return 0; 41847} 41848_ACEOF 41849if ac_fn_c_try_link "$LINENO"; then : 41850 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes 41851else 41852 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no 41853fi 41854rm -f core conftest.err conftest.$ac_objext \ 41855 conftest$ac_exeext conftest.$ac_ext 41856LIBS=$ac_check_lib_save_LIBS 41857fi 41858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5 41859$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; } 41860if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then : 41861 ac_cv_libfdatetime_dummy=yes 41862else 41863 ac_cv_libfdatetime=no 41864fi 41865 41866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5 41867$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; } 41868if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then : 41869 $as_echo_n "(cached) " >&6 41870else 41871 ac_check_lib_save_LIBS=$LIBS 41872LIBS="-lfdatetime $LIBS" 41873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41874/* end confdefs.h. */ 41875 41876/* Override any GCC internal prototype to avoid an error. 41877 Use char because int might match the return type of a GCC 41878 builtin and then its argument prototype would still apply. */ 41879#ifdef __cplusplus 41880extern "C" 41881#endif 41882char libfdatetime_hfs_time_copy_from_32bit (); 41883int 41884main () 41885{ 41886return libfdatetime_hfs_time_copy_from_32bit (); 41887 ; 41888 return 0; 41889} 41890_ACEOF 41891if ac_fn_c_try_link "$LINENO"; then : 41892 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes 41893else 41894 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no 41895fi 41896rm -f core conftest.err conftest.$ac_objext \ 41897 conftest$ac_exeext conftest.$ac_ext 41898LIBS=$ac_check_lib_save_LIBS 41899fi 41900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5 41901$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; } 41902if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then : 41903 ac_cv_libfdatetime_dummy=yes 41904else 41905 ac_cv_libfdatetime=no 41906fi 41907 41908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5 41909$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; } 41910if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then : 41911 $as_echo_n "(cached) " >&6 41912else 41913 ac_check_lib_save_LIBS=$LIBS 41914LIBS="-lfdatetime $LIBS" 41915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41916/* end confdefs.h. */ 41917 41918/* Override any GCC internal prototype to avoid an error. 41919 Use char because int might match the return type of a GCC 41920 builtin and then its argument prototype would still apply. */ 41921#ifdef __cplusplus 41922extern "C" 41923#endif 41924char libfdatetime_hfs_time_copy_to_32bit (); 41925int 41926main () 41927{ 41928return libfdatetime_hfs_time_copy_to_32bit (); 41929 ; 41930 return 0; 41931} 41932_ACEOF 41933if ac_fn_c_try_link "$LINENO"; then : 41934 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes 41935else 41936 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no 41937fi 41938rm -f core conftest.err conftest.$ac_objext \ 41939 conftest$ac_exeext conftest.$ac_ext 41940LIBS=$ac_check_lib_save_LIBS 41941fi 41942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5 41943$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; } 41944if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then : 41945 ac_cv_libfdatetime_dummy=yes 41946else 41947 ac_cv_libfdatetime=no 41948fi 41949 41950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5 41951$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; } 41952if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then : 41953 $as_echo_n "(cached) " >&6 41954else 41955 ac_check_lib_save_LIBS=$LIBS 41956LIBS="-lfdatetime $LIBS" 41957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41958/* end confdefs.h. */ 41959 41960/* Override any GCC internal prototype to avoid an error. 41961 Use char because int might match the return type of a GCC 41962 builtin and then its argument prototype would still apply. */ 41963#ifdef __cplusplus 41964extern "C" 41965#endif 41966char libfdatetime_hfs_time_copy_to_utf8_string (); 41967int 41968main () 41969{ 41970return libfdatetime_hfs_time_copy_to_utf8_string (); 41971 ; 41972 return 0; 41973} 41974_ACEOF 41975if ac_fn_c_try_link "$LINENO"; then : 41976 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes 41977else 41978 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no 41979fi 41980rm -f core conftest.err conftest.$ac_objext \ 41981 conftest$ac_exeext conftest.$ac_ext 41982LIBS=$ac_check_lib_save_LIBS 41983fi 41984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5 41985$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; } 41986if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then : 41987 ac_cv_libfdatetime_dummy=yes 41988else 41989 ac_cv_libfdatetime=no 41990fi 41991 41992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 41993$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41994if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then : 41995 $as_echo_n "(cached) " >&6 41996else 41997 ac_check_lib_save_LIBS=$LIBS 41998LIBS="-lfdatetime $LIBS" 41999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42000/* end confdefs.h. */ 42001 42002/* Override any GCC internal prototype to avoid an error. 42003 Use char because int might match the return type of a GCC 42004 builtin and then its argument prototype would still apply. */ 42005#ifdef __cplusplus 42006extern "C" 42007#endif 42008char libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42009int 42010main () 42011{ 42012return libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42013 ; 42014 return 0; 42015} 42016_ACEOF 42017if ac_fn_c_try_link "$LINENO"; then : 42018 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes 42019else 42020 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no 42021fi 42022rm -f core conftest.err conftest.$ac_objext \ 42023 conftest$ac_exeext conftest.$ac_ext 42024LIBS=$ac_check_lib_save_LIBS 42025fi 42026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5 42027$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; } 42028if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then : 42029 ac_cv_libfdatetime_dummy=yes 42030else 42031 ac_cv_libfdatetime=no 42032fi 42033 42034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5 42035$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; } 42036if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then : 42037 $as_echo_n "(cached) " >&6 42038else 42039 ac_check_lib_save_LIBS=$LIBS 42040LIBS="-lfdatetime $LIBS" 42041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42042/* end confdefs.h. */ 42043 42044/* Override any GCC internal prototype to avoid an error. 42045 Use char because int might match the return type of a GCC 42046 builtin and then its argument prototype would still apply. */ 42047#ifdef __cplusplus 42048extern "C" 42049#endif 42050char libfdatetime_hfs_time_copy_to_utf16_string (); 42051int 42052main () 42053{ 42054return libfdatetime_hfs_time_copy_to_utf16_string (); 42055 ; 42056 return 0; 42057} 42058_ACEOF 42059if ac_fn_c_try_link "$LINENO"; then : 42060 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes 42061else 42062 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no 42063fi 42064rm -f core conftest.err conftest.$ac_objext \ 42065 conftest$ac_exeext conftest.$ac_ext 42066LIBS=$ac_check_lib_save_LIBS 42067fi 42068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5 42069$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; } 42070if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then : 42071 ac_cv_libfdatetime_dummy=yes 42072else 42073 ac_cv_libfdatetime=no 42074fi 42075 42076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 42077$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42078if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then : 42079 $as_echo_n "(cached) " >&6 42080else 42081 ac_check_lib_save_LIBS=$LIBS 42082LIBS="-lfdatetime $LIBS" 42083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42084/* end confdefs.h. */ 42085 42086/* Override any GCC internal prototype to avoid an error. 42087 Use char because int might match the return type of a GCC 42088 builtin and then its argument prototype would still apply. */ 42089#ifdef __cplusplus 42090extern "C" 42091#endif 42092char libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42093int 42094main () 42095{ 42096return libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42097 ; 42098 return 0; 42099} 42100_ACEOF 42101if ac_fn_c_try_link "$LINENO"; then : 42102 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes 42103else 42104 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no 42105fi 42106rm -f core conftest.err conftest.$ac_objext \ 42107 conftest$ac_exeext conftest.$ac_ext 42108LIBS=$ac_check_lib_save_LIBS 42109fi 42110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5 42111$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; } 42112if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then : 42113 ac_cv_libfdatetime_dummy=yes 42114else 42115 ac_cv_libfdatetime=no 42116fi 42117 42118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5 42119$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; } 42120if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then : 42121 $as_echo_n "(cached) " >&6 42122else 42123 ac_check_lib_save_LIBS=$LIBS 42124LIBS="-lfdatetime $LIBS" 42125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42126/* end confdefs.h. */ 42127 42128/* Override any GCC internal prototype to avoid an error. 42129 Use char because int might match the return type of a GCC 42130 builtin and then its argument prototype would still apply. */ 42131#ifdef __cplusplus 42132extern "C" 42133#endif 42134char libfdatetime_hfs_time_copy_to_utf32_string (); 42135int 42136main () 42137{ 42138return libfdatetime_hfs_time_copy_to_utf32_string (); 42139 ; 42140 return 0; 42141} 42142_ACEOF 42143if ac_fn_c_try_link "$LINENO"; then : 42144 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes 42145else 42146 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no 42147fi 42148rm -f core conftest.err conftest.$ac_objext \ 42149 conftest$ac_exeext conftest.$ac_ext 42150LIBS=$ac_check_lib_save_LIBS 42151fi 42152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5 42153$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; } 42154if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then : 42155 ac_cv_libfdatetime_dummy=yes 42156else 42157 ac_cv_libfdatetime=no 42158fi 42159 42160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 42161$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42162if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then : 42163 $as_echo_n "(cached) " >&6 42164else 42165 ac_check_lib_save_LIBS=$LIBS 42166LIBS="-lfdatetime $LIBS" 42167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42168/* end confdefs.h. */ 42169 42170/* Override any GCC internal prototype to avoid an error. 42171 Use char because int might match the return type of a GCC 42172 builtin and then its argument prototype would still apply. */ 42173#ifdef __cplusplus 42174extern "C" 42175#endif 42176char libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42177int 42178main () 42179{ 42180return libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42181 ; 42182 return 0; 42183} 42184_ACEOF 42185if ac_fn_c_try_link "$LINENO"; then : 42186 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes 42187else 42188 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no 42189fi 42190rm -f core conftest.err conftest.$ac_objext \ 42191 conftest$ac_exeext conftest.$ac_ext 42192LIBS=$ac_check_lib_save_LIBS 42193fi 42194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5 42195$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; } 42196if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then : 42197 ac_cv_libfdatetime_dummy=yes 42198else 42199 ac_cv_libfdatetime=no 42200fi 42201 42202 42203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5 42204$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; } 42205if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then : 42206 $as_echo_n "(cached) " >&6 42207else 42208 ac_check_lib_save_LIBS=$LIBS 42209LIBS="-lfdatetime $LIBS" 42210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42211/* end confdefs.h. */ 42212 42213/* Override any GCC internal prototype to avoid an error. 42214 Use char because int might match the return type of a GCC 42215 builtin and then its argument prototype would still apply. */ 42216#ifdef __cplusplus 42217extern "C" 42218#endif 42219char libfdatetime_nsf_timedate_initialize (); 42220int 42221main () 42222{ 42223return libfdatetime_nsf_timedate_initialize (); 42224 ; 42225 return 0; 42226} 42227_ACEOF 42228if ac_fn_c_try_link "$LINENO"; then : 42229 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes 42230else 42231 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no 42232fi 42233rm -f core conftest.err conftest.$ac_objext \ 42234 conftest$ac_exeext conftest.$ac_ext 42235LIBS=$ac_check_lib_save_LIBS 42236fi 42237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5 42238$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; } 42239if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then : 42240 ac_cv_libfdatetime_dummy=yes 42241else 42242 ac_cv_libfdatetime=no 42243fi 42244 42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5 42246$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; } 42247if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then : 42248 $as_echo_n "(cached) " >&6 42249else 42250 ac_check_lib_save_LIBS=$LIBS 42251LIBS="-lfdatetime $LIBS" 42252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42253/* end confdefs.h. */ 42254 42255/* Override any GCC internal prototype to avoid an error. 42256 Use char because int might match the return type of a GCC 42257 builtin and then its argument prototype would still apply. */ 42258#ifdef __cplusplus 42259extern "C" 42260#endif 42261char libfdatetime_nsf_timedate_free (); 42262int 42263main () 42264{ 42265return libfdatetime_nsf_timedate_free (); 42266 ; 42267 return 0; 42268} 42269_ACEOF 42270if ac_fn_c_try_link "$LINENO"; then : 42271 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes 42272else 42273 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no 42274fi 42275rm -f core conftest.err conftest.$ac_objext \ 42276 conftest$ac_exeext conftest.$ac_ext 42277LIBS=$ac_check_lib_save_LIBS 42278fi 42279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5 42280$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; } 42281if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then : 42282 ac_cv_libfdatetime_dummy=yes 42283else 42284 ac_cv_libfdatetime=no 42285fi 42286 42287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5 42288$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; } 42289if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then : 42290 $as_echo_n "(cached) " >&6 42291else 42292 ac_check_lib_save_LIBS=$LIBS 42293LIBS="-lfdatetime $LIBS" 42294cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42295/* end confdefs.h. */ 42296 42297/* Override any GCC internal prototype to avoid an error. 42298 Use char because int might match the return type of a GCC 42299 builtin and then its argument prototype would still apply. */ 42300#ifdef __cplusplus 42301extern "C" 42302#endif 42303char libfdatetime_nsf_timedate_copy_from_byte_stream (); 42304int 42305main () 42306{ 42307return libfdatetime_nsf_timedate_copy_from_byte_stream (); 42308 ; 42309 return 0; 42310} 42311_ACEOF 42312if ac_fn_c_try_link "$LINENO"; then : 42313 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes 42314else 42315 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no 42316fi 42317rm -f core conftest.err conftest.$ac_objext \ 42318 conftest$ac_exeext conftest.$ac_ext 42319LIBS=$ac_check_lib_save_LIBS 42320fi 42321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5 42322$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; } 42323if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then : 42324 ac_cv_libfdatetime_dummy=yes 42325else 42326 ac_cv_libfdatetime=no 42327fi 42328 42329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5 42330$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; } 42331if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then : 42332 $as_echo_n "(cached) " >&6 42333else 42334 ac_check_lib_save_LIBS=$LIBS 42335LIBS="-lfdatetime $LIBS" 42336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42337/* end confdefs.h. */ 42338 42339/* Override any GCC internal prototype to avoid an error. 42340 Use char because int might match the return type of a GCC 42341 builtin and then its argument prototype would still apply. */ 42342#ifdef __cplusplus 42343extern "C" 42344#endif 42345char libfdatetime_nsf_timedate_copy_from_64bit (); 42346int 42347main () 42348{ 42349return libfdatetime_nsf_timedate_copy_from_64bit (); 42350 ; 42351 return 0; 42352} 42353_ACEOF 42354if ac_fn_c_try_link "$LINENO"; then : 42355 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes 42356else 42357 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no 42358fi 42359rm -f core conftest.err conftest.$ac_objext \ 42360 conftest$ac_exeext conftest.$ac_ext 42361LIBS=$ac_check_lib_save_LIBS 42362fi 42363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5 42364$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; } 42365if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then : 42366 ac_cv_libfdatetime_dummy=yes 42367else 42368 ac_cv_libfdatetime=no 42369fi 42370 42371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5 42372$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; } 42373if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then : 42374 $as_echo_n "(cached) " >&6 42375else 42376 ac_check_lib_save_LIBS=$LIBS 42377LIBS="-lfdatetime $LIBS" 42378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42379/* end confdefs.h. */ 42380 42381/* Override any GCC internal prototype to avoid an error. 42382 Use char because int might match the return type of a GCC 42383 builtin and then its argument prototype would still apply. */ 42384#ifdef __cplusplus 42385extern "C" 42386#endif 42387char libfdatetime_nsf_timedate_copy_to_64bit (); 42388int 42389main () 42390{ 42391return libfdatetime_nsf_timedate_copy_to_64bit (); 42392 ; 42393 return 0; 42394} 42395_ACEOF 42396if ac_fn_c_try_link "$LINENO"; then : 42397 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes 42398else 42399 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no 42400fi 42401rm -f core conftest.err conftest.$ac_objext \ 42402 conftest$ac_exeext conftest.$ac_ext 42403LIBS=$ac_check_lib_save_LIBS 42404fi 42405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5 42406$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; } 42407if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then : 42408 ac_cv_libfdatetime_dummy=yes 42409else 42410 ac_cv_libfdatetime=no 42411fi 42412 42413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5 42414$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; } 42415if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then : 42416 $as_echo_n "(cached) " >&6 42417else 42418 ac_check_lib_save_LIBS=$LIBS 42419LIBS="-lfdatetime $LIBS" 42420cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42421/* end confdefs.h. */ 42422 42423/* Override any GCC internal prototype to avoid an error. 42424 Use char because int might match the return type of a GCC 42425 builtin and then its argument prototype would still apply. */ 42426#ifdef __cplusplus 42427extern "C" 42428#endif 42429char libfdatetime_nsf_timedate_copy_to_utf8_string (); 42430int 42431main () 42432{ 42433return libfdatetime_nsf_timedate_copy_to_utf8_string (); 42434 ; 42435 return 0; 42436} 42437_ACEOF 42438if ac_fn_c_try_link "$LINENO"; then : 42439 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes 42440else 42441 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no 42442fi 42443rm -f core conftest.err conftest.$ac_objext \ 42444 conftest$ac_exeext conftest.$ac_ext 42445LIBS=$ac_check_lib_save_LIBS 42446fi 42447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5 42448$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; } 42449if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then : 42450 ac_cv_libfdatetime_dummy=yes 42451else 42452 ac_cv_libfdatetime=no 42453fi 42454 42455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5 42456$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42457if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then : 42458 $as_echo_n "(cached) " >&6 42459else 42460 ac_check_lib_save_LIBS=$LIBS 42461LIBS="-lfdatetime $LIBS" 42462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42463/* end confdefs.h. */ 42464 42465/* Override any GCC internal prototype to avoid an error. 42466 Use char because int might match the return type of a GCC 42467 builtin and then its argument prototype would still apply. */ 42468#ifdef __cplusplus 42469extern "C" 42470#endif 42471char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42472int 42473main () 42474{ 42475return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42476 ; 42477 return 0; 42478} 42479_ACEOF 42480if ac_fn_c_try_link "$LINENO"; then : 42481 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes 42482else 42483 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no 42484fi 42485rm -f core conftest.err conftest.$ac_objext \ 42486 conftest$ac_exeext conftest.$ac_ext 42487LIBS=$ac_check_lib_save_LIBS 42488fi 42489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5 42490$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; } 42491if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then : 42492 ac_cv_libfdatetime_dummy=yes 42493else 42494 ac_cv_libfdatetime=no 42495fi 42496 42497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5 42498$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; } 42499if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then : 42500 $as_echo_n "(cached) " >&6 42501else 42502 ac_check_lib_save_LIBS=$LIBS 42503LIBS="-lfdatetime $LIBS" 42504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42505/* end confdefs.h. */ 42506 42507/* Override any GCC internal prototype to avoid an error. 42508 Use char because int might match the return type of a GCC 42509 builtin and then its argument prototype would still apply. */ 42510#ifdef __cplusplus 42511extern "C" 42512#endif 42513char libfdatetime_nsf_timedate_copy_to_utf16_string (); 42514int 42515main () 42516{ 42517return libfdatetime_nsf_timedate_copy_to_utf16_string (); 42518 ; 42519 return 0; 42520} 42521_ACEOF 42522if ac_fn_c_try_link "$LINENO"; then : 42523 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes 42524else 42525 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no 42526fi 42527rm -f core conftest.err conftest.$ac_objext \ 42528 conftest$ac_exeext conftest.$ac_ext 42529LIBS=$ac_check_lib_save_LIBS 42530fi 42531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5 42532$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; } 42533if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then : 42534 ac_cv_libfdatetime_dummy=yes 42535else 42536 ac_cv_libfdatetime=no 42537fi 42538 42539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5 42540$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42541if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then : 42542 $as_echo_n "(cached) " >&6 42543else 42544 ac_check_lib_save_LIBS=$LIBS 42545LIBS="-lfdatetime $LIBS" 42546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42547/* end confdefs.h. */ 42548 42549/* Override any GCC internal prototype to avoid an error. 42550 Use char because int might match the return type of a GCC 42551 builtin and then its argument prototype would still apply. */ 42552#ifdef __cplusplus 42553extern "C" 42554#endif 42555char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42556int 42557main () 42558{ 42559return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42560 ; 42561 return 0; 42562} 42563_ACEOF 42564if ac_fn_c_try_link "$LINENO"; then : 42565 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes 42566else 42567 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no 42568fi 42569rm -f core conftest.err conftest.$ac_objext \ 42570 conftest$ac_exeext conftest.$ac_ext 42571LIBS=$ac_check_lib_save_LIBS 42572fi 42573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5 42574$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; } 42575if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then : 42576 ac_cv_libfdatetime_dummy=yes 42577else 42578 ac_cv_libfdatetime=no 42579fi 42580 42581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5 42582$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; } 42583if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then : 42584 $as_echo_n "(cached) " >&6 42585else 42586 ac_check_lib_save_LIBS=$LIBS 42587LIBS="-lfdatetime $LIBS" 42588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42589/* end confdefs.h. */ 42590 42591/* Override any GCC internal prototype to avoid an error. 42592 Use char because int might match the return type of a GCC 42593 builtin and then its argument prototype would still apply. */ 42594#ifdef __cplusplus 42595extern "C" 42596#endif 42597char libfdatetime_nsf_timedate_copy_to_utf32_string (); 42598int 42599main () 42600{ 42601return libfdatetime_nsf_timedate_copy_to_utf32_string (); 42602 ; 42603 return 0; 42604} 42605_ACEOF 42606if ac_fn_c_try_link "$LINENO"; then : 42607 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes 42608else 42609 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no 42610fi 42611rm -f core conftest.err conftest.$ac_objext \ 42612 conftest$ac_exeext conftest.$ac_ext 42613LIBS=$ac_check_lib_save_LIBS 42614fi 42615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5 42616$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; } 42617if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then : 42618 ac_cv_libfdatetime_dummy=yes 42619else 42620 ac_cv_libfdatetime=no 42621fi 42622 42623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5 42624$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42625if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then : 42626 $as_echo_n "(cached) " >&6 42627else 42628 ac_check_lib_save_LIBS=$LIBS 42629LIBS="-lfdatetime $LIBS" 42630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42631/* end confdefs.h. */ 42632 42633/* Override any GCC internal prototype to avoid an error. 42634 Use char because int might match the return type of a GCC 42635 builtin and then its argument prototype would still apply. */ 42636#ifdef __cplusplus 42637extern "C" 42638#endif 42639char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42640int 42641main () 42642{ 42643return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42644 ; 42645 return 0; 42646} 42647_ACEOF 42648if ac_fn_c_try_link "$LINENO"; then : 42649 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes 42650else 42651 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no 42652fi 42653rm -f core conftest.err conftest.$ac_objext \ 42654 conftest$ac_exeext conftest.$ac_ext 42655LIBS=$ac_check_lib_save_LIBS 42656fi 42657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5 42658$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; } 42659if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then : 42660 ac_cv_libfdatetime_dummy=yes 42661else 42662 ac_cv_libfdatetime=no 42663fi 42664 42665 42666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5 42667$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; } 42668if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then : 42669 $as_echo_n "(cached) " >&6 42670else 42671 ac_check_lib_save_LIBS=$LIBS 42672LIBS="-lfdatetime $LIBS" 42673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42674/* end confdefs.h. */ 42675 42676/* Override any GCC internal prototype to avoid an error. 42677 Use char because int might match the return type of a GCC 42678 builtin and then its argument prototype would still apply. */ 42679#ifdef __cplusplus 42680extern "C" 42681#endif 42682char libfdatetime_posix_time_initialize (); 42683int 42684main () 42685{ 42686return libfdatetime_posix_time_initialize (); 42687 ; 42688 return 0; 42689} 42690_ACEOF 42691if ac_fn_c_try_link "$LINENO"; then : 42692 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes 42693else 42694 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no 42695fi 42696rm -f core conftest.err conftest.$ac_objext \ 42697 conftest$ac_exeext conftest.$ac_ext 42698LIBS=$ac_check_lib_save_LIBS 42699fi 42700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5 42701$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; } 42702if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then : 42703 ac_cv_libfdatetime_dummy=yes 42704else 42705 ac_cv_libfdatetime=no 42706fi 42707 42708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5 42709$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; } 42710if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then : 42711 $as_echo_n "(cached) " >&6 42712else 42713 ac_check_lib_save_LIBS=$LIBS 42714LIBS="-lfdatetime $LIBS" 42715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42716/* end confdefs.h. */ 42717 42718/* Override any GCC internal prototype to avoid an error. 42719 Use char because int might match the return type of a GCC 42720 builtin and then its argument prototype would still apply. */ 42721#ifdef __cplusplus 42722extern "C" 42723#endif 42724char libfdatetime_posix_time_free (); 42725int 42726main () 42727{ 42728return libfdatetime_posix_time_free (); 42729 ; 42730 return 0; 42731} 42732_ACEOF 42733if ac_fn_c_try_link "$LINENO"; then : 42734 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes 42735else 42736 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no 42737fi 42738rm -f core conftest.err conftest.$ac_objext \ 42739 conftest$ac_exeext conftest.$ac_ext 42740LIBS=$ac_check_lib_save_LIBS 42741fi 42742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5 42743$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; } 42744if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then : 42745 ac_cv_libfdatetime_dummy=yes 42746else 42747 ac_cv_libfdatetime=no 42748fi 42749 42750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5 42751$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; } 42752if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then : 42753 $as_echo_n "(cached) " >&6 42754else 42755 ac_check_lib_save_LIBS=$LIBS 42756LIBS="-lfdatetime $LIBS" 42757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42758/* end confdefs.h. */ 42759 42760/* Override any GCC internal prototype to avoid an error. 42761 Use char because int might match the return type of a GCC 42762 builtin and then its argument prototype would still apply. */ 42763#ifdef __cplusplus 42764extern "C" 42765#endif 42766char libfdatetime_posix_time_copy_from_byte_stream (); 42767int 42768main () 42769{ 42770return libfdatetime_posix_time_copy_from_byte_stream (); 42771 ; 42772 return 0; 42773} 42774_ACEOF 42775if ac_fn_c_try_link "$LINENO"; then : 42776 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes 42777else 42778 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no 42779fi 42780rm -f core conftest.err conftest.$ac_objext \ 42781 conftest$ac_exeext conftest.$ac_ext 42782LIBS=$ac_check_lib_save_LIBS 42783fi 42784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5 42785$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; } 42786if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then : 42787 ac_cv_libfdatetime_dummy=yes 42788else 42789 ac_cv_libfdatetime=no 42790fi 42791 42792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5 42793$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; } 42794if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then : 42795 $as_echo_n "(cached) " >&6 42796else 42797 ac_check_lib_save_LIBS=$LIBS 42798LIBS="-lfdatetime $LIBS" 42799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42800/* end confdefs.h. */ 42801 42802/* Override any GCC internal prototype to avoid an error. 42803 Use char because int might match the return type of a GCC 42804 builtin and then its argument prototype would still apply. */ 42805#ifdef __cplusplus 42806extern "C" 42807#endif 42808char libfdatetime_posix_time_copy_from_32bit (); 42809int 42810main () 42811{ 42812return libfdatetime_posix_time_copy_from_32bit (); 42813 ; 42814 return 0; 42815} 42816_ACEOF 42817if ac_fn_c_try_link "$LINENO"; then : 42818 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes 42819else 42820 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no 42821fi 42822rm -f core conftest.err conftest.$ac_objext \ 42823 conftest$ac_exeext conftest.$ac_ext 42824LIBS=$ac_check_lib_save_LIBS 42825fi 42826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5 42827$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; } 42828if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then : 42829 ac_cv_libfdatetime_dummy=yes 42830else 42831 ac_cv_libfdatetime=no 42832fi 42833 42834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5 42835$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; } 42836if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then : 42837 $as_echo_n "(cached) " >&6 42838else 42839 ac_check_lib_save_LIBS=$LIBS 42840LIBS="-lfdatetime $LIBS" 42841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42842/* end confdefs.h. */ 42843 42844/* Override any GCC internal prototype to avoid an error. 42845 Use char because int might match the return type of a GCC 42846 builtin and then its argument prototype would still apply. */ 42847#ifdef __cplusplus 42848extern "C" 42849#endif 42850char libfdatetime_posix_time_copy_to_32bit (); 42851int 42852main () 42853{ 42854return libfdatetime_posix_time_copy_to_32bit (); 42855 ; 42856 return 0; 42857} 42858_ACEOF 42859if ac_fn_c_try_link "$LINENO"; then : 42860 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes 42861else 42862 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no 42863fi 42864rm -f core conftest.err conftest.$ac_objext \ 42865 conftest$ac_exeext conftest.$ac_ext 42866LIBS=$ac_check_lib_save_LIBS 42867fi 42868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5 42869$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; } 42870if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then : 42871 ac_cv_libfdatetime_dummy=yes 42872else 42873 ac_cv_libfdatetime=no 42874fi 42875 42876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5 42877$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; } 42878if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then : 42879 $as_echo_n "(cached) " >&6 42880else 42881 ac_check_lib_save_LIBS=$LIBS 42882LIBS="-lfdatetime $LIBS" 42883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42884/* end confdefs.h. */ 42885 42886/* Override any GCC internal prototype to avoid an error. 42887 Use char because int might match the return type of a GCC 42888 builtin and then its argument prototype would still apply. */ 42889#ifdef __cplusplus 42890extern "C" 42891#endif 42892char libfdatetime_posix_time_copy_from_64bit (); 42893int 42894main () 42895{ 42896return libfdatetime_posix_time_copy_from_64bit (); 42897 ; 42898 return 0; 42899} 42900_ACEOF 42901if ac_fn_c_try_link "$LINENO"; then : 42902 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes 42903else 42904 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no 42905fi 42906rm -f core conftest.err conftest.$ac_objext \ 42907 conftest$ac_exeext conftest.$ac_ext 42908LIBS=$ac_check_lib_save_LIBS 42909fi 42910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5 42911$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; } 42912if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then : 42913 ac_cv_libfdatetime_dummy=yes 42914else 42915 ac_cv_libfdatetime=no 42916fi 42917 42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5 42919$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; } 42920if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then : 42921 $as_echo_n "(cached) " >&6 42922else 42923 ac_check_lib_save_LIBS=$LIBS 42924LIBS="-lfdatetime $LIBS" 42925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42926/* end confdefs.h. */ 42927 42928/* Override any GCC internal prototype to avoid an error. 42929 Use char because int might match the return type of a GCC 42930 builtin and then its argument prototype would still apply. */ 42931#ifdef __cplusplus 42932extern "C" 42933#endif 42934char libfdatetime_posix_time_copy_to_64bit (); 42935int 42936main () 42937{ 42938return libfdatetime_posix_time_copy_to_64bit (); 42939 ; 42940 return 0; 42941} 42942_ACEOF 42943if ac_fn_c_try_link "$LINENO"; then : 42944 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes 42945else 42946 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=no 42947fi 42948rm -f core conftest.err conftest.$ac_objext \ 42949 conftest$ac_exeext conftest.$ac_ext 42950LIBS=$ac_check_lib_save_LIBS 42951fi 42952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5 42953$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; } 42954if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then : 42955 ac_cv_libfdatetime_dummy=yes 42956else 42957 ac_cv_libfdatetime=no 42958fi 42959 42960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5 42961$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; } 42962if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then : 42963 $as_echo_n "(cached) " >&6 42964else 42965 ac_check_lib_save_LIBS=$LIBS 42966LIBS="-lfdatetime $LIBS" 42967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42968/* end confdefs.h. */ 42969 42970/* Override any GCC internal prototype to avoid an error. 42971 Use char because int might match the return type of a GCC 42972 builtin and then its argument prototype would still apply. */ 42973#ifdef __cplusplus 42974extern "C" 42975#endif 42976char libfdatetime_posix_time_copy_to_utf8_string (); 42977int 42978main () 42979{ 42980return libfdatetime_posix_time_copy_to_utf8_string (); 42981 ; 42982 return 0; 42983} 42984_ACEOF 42985if ac_fn_c_try_link "$LINENO"; then : 42986 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes 42987else 42988 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=no 42989fi 42990rm -f core conftest.err conftest.$ac_objext \ 42991 conftest$ac_exeext conftest.$ac_ext 42992LIBS=$ac_check_lib_save_LIBS 42993fi 42994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5 42995$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; } 42996if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then : 42997 ac_cv_libfdatetime_dummy=yes 42998else 42999 ac_cv_libfdatetime=no 43000fi 43001 43002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 43003$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43004if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then : 43005 $as_echo_n "(cached) " >&6 43006else 43007 ac_check_lib_save_LIBS=$LIBS 43008LIBS="-lfdatetime $LIBS" 43009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43010/* end confdefs.h. */ 43011 43012/* Override any GCC internal prototype to avoid an error. 43013 Use char because int might match the return type of a GCC 43014 builtin and then its argument prototype would still apply. */ 43015#ifdef __cplusplus 43016extern "C" 43017#endif 43018char libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43019int 43020main () 43021{ 43022return libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43023 ; 43024 return 0; 43025} 43026_ACEOF 43027if ac_fn_c_try_link "$LINENO"; then : 43028 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes 43029else 43030 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=no 43031fi 43032rm -f core conftest.err conftest.$ac_objext \ 43033 conftest$ac_exeext conftest.$ac_ext 43034LIBS=$ac_check_lib_save_LIBS 43035fi 43036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5 43037$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; } 43038if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then : 43039 ac_cv_libfdatetime_dummy=yes 43040else 43041 ac_cv_libfdatetime=no 43042fi 43043 43044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5 43045$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; } 43046if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then : 43047 $as_echo_n "(cached) " >&6 43048else 43049 ac_check_lib_save_LIBS=$LIBS 43050LIBS="-lfdatetime $LIBS" 43051cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43052/* end confdefs.h. */ 43053 43054/* Override any GCC internal prototype to avoid an error. 43055 Use char because int might match the return type of a GCC 43056 builtin and then its argument prototype would still apply. */ 43057#ifdef __cplusplus 43058extern "C" 43059#endif 43060char libfdatetime_posix_time_copy_to_utf16_string (); 43061int 43062main () 43063{ 43064return libfdatetime_posix_time_copy_to_utf16_string (); 43065 ; 43066 return 0; 43067} 43068_ACEOF 43069if ac_fn_c_try_link "$LINENO"; then : 43070 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes 43071else 43072 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no 43073fi 43074rm -f core conftest.err conftest.$ac_objext \ 43075 conftest$ac_exeext conftest.$ac_ext 43076LIBS=$ac_check_lib_save_LIBS 43077fi 43078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5 43079$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; } 43080if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then : 43081 ac_cv_libfdatetime_dummy=yes 43082else 43083 ac_cv_libfdatetime=no 43084fi 43085 43086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 43087$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43088if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then : 43089 $as_echo_n "(cached) " >&6 43090else 43091 ac_check_lib_save_LIBS=$LIBS 43092LIBS="-lfdatetime $LIBS" 43093cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43094/* end confdefs.h. */ 43095 43096/* Override any GCC internal prototype to avoid an error. 43097 Use char because int might match the return type of a GCC 43098 builtin and then its argument prototype would still apply. */ 43099#ifdef __cplusplus 43100extern "C" 43101#endif 43102char libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43103int 43104main () 43105{ 43106return libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43107 ; 43108 return 0; 43109} 43110_ACEOF 43111if ac_fn_c_try_link "$LINENO"; then : 43112 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes 43113else 43114 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no 43115fi 43116rm -f core conftest.err conftest.$ac_objext \ 43117 conftest$ac_exeext conftest.$ac_ext 43118LIBS=$ac_check_lib_save_LIBS 43119fi 43120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5 43121$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; } 43122if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then : 43123 ac_cv_libfdatetime_dummy=yes 43124else 43125 ac_cv_libfdatetime=no 43126fi 43127 43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5 43129$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; } 43130if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then : 43131 $as_echo_n "(cached) " >&6 43132else 43133 ac_check_lib_save_LIBS=$LIBS 43134LIBS="-lfdatetime $LIBS" 43135cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43136/* end confdefs.h. */ 43137 43138/* Override any GCC internal prototype to avoid an error. 43139 Use char because int might match the return type of a GCC 43140 builtin and then its argument prototype would still apply. */ 43141#ifdef __cplusplus 43142extern "C" 43143#endif 43144char libfdatetime_posix_time_copy_to_utf32_string (); 43145int 43146main () 43147{ 43148return libfdatetime_posix_time_copy_to_utf32_string (); 43149 ; 43150 return 0; 43151} 43152_ACEOF 43153if ac_fn_c_try_link "$LINENO"; then : 43154 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes 43155else 43156 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no 43157fi 43158rm -f core conftest.err conftest.$ac_objext \ 43159 conftest$ac_exeext conftest.$ac_ext 43160LIBS=$ac_check_lib_save_LIBS 43161fi 43162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5 43163$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; } 43164if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then : 43165 ac_cv_libfdatetime_dummy=yes 43166else 43167 ac_cv_libfdatetime=no 43168fi 43169 43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 43171$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43172if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then : 43173 $as_echo_n "(cached) " >&6 43174else 43175 ac_check_lib_save_LIBS=$LIBS 43176LIBS="-lfdatetime $LIBS" 43177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43178/* end confdefs.h. */ 43179 43180/* Override any GCC internal prototype to avoid an error. 43181 Use char because int might match the return type of a GCC 43182 builtin and then its argument prototype would still apply. */ 43183#ifdef __cplusplus 43184extern "C" 43185#endif 43186char libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43187int 43188main () 43189{ 43190return libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43191 ; 43192 return 0; 43193} 43194_ACEOF 43195if ac_fn_c_try_link "$LINENO"; then : 43196 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes 43197else 43198 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no 43199fi 43200rm -f core conftest.err conftest.$ac_objext \ 43201 conftest$ac_exeext conftest.$ac_ext 43202LIBS=$ac_check_lib_save_LIBS 43203fi 43204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5 43205$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; } 43206if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then : 43207 ac_cv_libfdatetime_dummy=yes 43208else 43209 ac_cv_libfdatetime=no 43210fi 43211 43212 43213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5 43214$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; } 43215if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then : 43216 $as_echo_n "(cached) " >&6 43217else 43218 ac_check_lib_save_LIBS=$LIBS 43219LIBS="-lfdatetime $LIBS" 43220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43221/* end confdefs.h. */ 43222 43223/* Override any GCC internal prototype to avoid an error. 43224 Use char because int might match the return type of a GCC 43225 builtin and then its argument prototype would still apply. */ 43226#ifdef __cplusplus 43227extern "C" 43228#endif 43229char libfdatetime_systemetime_initialize (); 43230int 43231main () 43232{ 43233return libfdatetime_systemetime_initialize (); 43234 ; 43235 return 0; 43236} 43237_ACEOF 43238if ac_fn_c_try_link "$LINENO"; then : 43239 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes 43240else 43241 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no 43242fi 43243rm -f core conftest.err conftest.$ac_objext \ 43244 conftest$ac_exeext conftest.$ac_ext 43245LIBS=$ac_check_lib_save_LIBS 43246fi 43247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5 43248$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; } 43249if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then : 43250 ac_cv_libfdatetime_dummy=yes 43251else 43252 ac_cv_libfdatetime=no 43253fi 43254 43255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5 43256$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; } 43257if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then : 43258 $as_echo_n "(cached) " >&6 43259else 43260 ac_check_lib_save_LIBS=$LIBS 43261LIBS="-lfdatetime $LIBS" 43262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43263/* end confdefs.h. */ 43264 43265/* Override any GCC internal prototype to avoid an error. 43266 Use char because int might match the return type of a GCC 43267 builtin and then its argument prototype would still apply. */ 43268#ifdef __cplusplus 43269extern "C" 43270#endif 43271char libfdatetime_systemetime_free (); 43272int 43273main () 43274{ 43275return libfdatetime_systemetime_free (); 43276 ; 43277 return 0; 43278} 43279_ACEOF 43280if ac_fn_c_try_link "$LINENO"; then : 43281 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes 43282else 43283 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no 43284fi 43285rm -f core conftest.err conftest.$ac_objext \ 43286 conftest$ac_exeext conftest.$ac_ext 43287LIBS=$ac_check_lib_save_LIBS 43288fi 43289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5 43290$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; } 43291if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then : 43292 ac_cv_libfdatetime_dummy=yes 43293else 43294 ac_cv_libfdatetime=no 43295fi 43296 43297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5 43298$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; } 43299if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then : 43300 $as_echo_n "(cached) " >&6 43301else 43302 ac_check_lib_save_LIBS=$LIBS 43303LIBS="-lfdatetime $LIBS" 43304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43305/* end confdefs.h. */ 43306 43307/* Override any GCC internal prototype to avoid an error. 43308 Use char because int might match the return type of a GCC 43309 builtin and then its argument prototype would still apply. */ 43310#ifdef __cplusplus 43311extern "C" 43312#endif 43313char libfdatetime_systemetime_copy_from_byte_stream (); 43314int 43315main () 43316{ 43317return libfdatetime_systemetime_copy_from_byte_stream (); 43318 ; 43319 return 0; 43320} 43321_ACEOF 43322if ac_fn_c_try_link "$LINENO"; then : 43323 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes 43324else 43325 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no 43326fi 43327rm -f core conftest.err conftest.$ac_objext \ 43328 conftest$ac_exeext conftest.$ac_ext 43329LIBS=$ac_check_lib_save_LIBS 43330fi 43331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5 43332$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; } 43333if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then : 43334 ac_cv_libfdatetime_dummy=yes 43335else 43336 ac_cv_libfdatetime=no 43337fi 43338 43339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5 43340$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; } 43341if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then : 43342 $as_echo_n "(cached) " >&6 43343else 43344 ac_check_lib_save_LIBS=$LIBS 43345LIBS="-lfdatetime $LIBS" 43346cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43347/* end confdefs.h. */ 43348 43349/* Override any GCC internal prototype to avoid an error. 43350 Use char because int might match the return type of a GCC 43351 builtin and then its argument prototype would still apply. */ 43352#ifdef __cplusplus 43353extern "C" 43354#endif 43355char libfdatetime_systemetime_copy_to_utf8_string (); 43356int 43357main () 43358{ 43359return libfdatetime_systemetime_copy_to_utf8_string (); 43360 ; 43361 return 0; 43362} 43363_ACEOF 43364if ac_fn_c_try_link "$LINENO"; then : 43365 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes 43366else 43367 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no 43368fi 43369rm -f core conftest.err conftest.$ac_objext \ 43370 conftest$ac_exeext conftest.$ac_ext 43371LIBS=$ac_check_lib_save_LIBS 43372fi 43373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5 43374$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; } 43375if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then : 43376 ac_cv_libfdatetime_dummy=yes 43377else 43378 ac_cv_libfdatetime=no 43379fi 43380 43381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 43382$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43383if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then : 43384 $as_echo_n "(cached) " >&6 43385else 43386 ac_check_lib_save_LIBS=$LIBS 43387LIBS="-lfdatetime $LIBS" 43388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43389/* end confdefs.h. */ 43390 43391/* Override any GCC internal prototype to avoid an error. 43392 Use char because int might match the return type of a GCC 43393 builtin and then its argument prototype would still apply. */ 43394#ifdef __cplusplus 43395extern "C" 43396#endif 43397char libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43398int 43399main () 43400{ 43401return libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43402 ; 43403 return 0; 43404} 43405_ACEOF 43406if ac_fn_c_try_link "$LINENO"; then : 43407 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes 43408else 43409 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no 43410fi 43411rm -f core conftest.err conftest.$ac_objext \ 43412 conftest$ac_exeext conftest.$ac_ext 43413LIBS=$ac_check_lib_save_LIBS 43414fi 43415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5 43416$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; } 43417if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then : 43418 ac_cv_libfdatetime_dummy=yes 43419else 43420 ac_cv_libfdatetime=no 43421fi 43422 43423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5 43424$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; } 43425if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then : 43426 $as_echo_n "(cached) " >&6 43427else 43428 ac_check_lib_save_LIBS=$LIBS 43429LIBS="-lfdatetime $LIBS" 43430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43431/* end confdefs.h. */ 43432 43433/* Override any GCC internal prototype to avoid an error. 43434 Use char because int might match the return type of a GCC 43435 builtin and then its argument prototype would still apply. */ 43436#ifdef __cplusplus 43437extern "C" 43438#endif 43439char libfdatetime_systemetime_copy_to_utf16_string (); 43440int 43441main () 43442{ 43443return libfdatetime_systemetime_copy_to_utf16_string (); 43444 ; 43445 return 0; 43446} 43447_ACEOF 43448if ac_fn_c_try_link "$LINENO"; then : 43449 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes 43450else 43451 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no 43452fi 43453rm -f core conftest.err conftest.$ac_objext \ 43454 conftest$ac_exeext conftest.$ac_ext 43455LIBS=$ac_check_lib_save_LIBS 43456fi 43457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5 43458$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; } 43459if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then : 43460 ac_cv_libfdatetime_dummy=yes 43461else 43462 ac_cv_libfdatetime=no 43463fi 43464 43465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 43466$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43467if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then : 43468 $as_echo_n "(cached) " >&6 43469else 43470 ac_check_lib_save_LIBS=$LIBS 43471LIBS="-lfdatetime $LIBS" 43472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43473/* end confdefs.h. */ 43474 43475/* Override any GCC internal prototype to avoid an error. 43476 Use char because int might match the return type of a GCC 43477 builtin and then its argument prototype would still apply. */ 43478#ifdef __cplusplus 43479extern "C" 43480#endif 43481char libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43482int 43483main () 43484{ 43485return libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43486 ; 43487 return 0; 43488} 43489_ACEOF 43490if ac_fn_c_try_link "$LINENO"; then : 43491 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes 43492else 43493 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no 43494fi 43495rm -f core conftest.err conftest.$ac_objext \ 43496 conftest$ac_exeext conftest.$ac_ext 43497LIBS=$ac_check_lib_save_LIBS 43498fi 43499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5 43500$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; } 43501if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then : 43502 ac_cv_libfdatetime_dummy=yes 43503else 43504 ac_cv_libfdatetime=no 43505fi 43506 43507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5 43508$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; } 43509if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then : 43510 $as_echo_n "(cached) " >&6 43511else 43512 ac_check_lib_save_LIBS=$LIBS 43513LIBS="-lfdatetime $LIBS" 43514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43515/* end confdefs.h. */ 43516 43517/* Override any GCC internal prototype to avoid an error. 43518 Use char because int might match the return type of a GCC 43519 builtin and then its argument prototype would still apply. */ 43520#ifdef __cplusplus 43521extern "C" 43522#endif 43523char libfdatetime_systemetime_copy_to_utf32_string (); 43524int 43525main () 43526{ 43527return libfdatetime_systemetime_copy_to_utf32_string (); 43528 ; 43529 return 0; 43530} 43531_ACEOF 43532if ac_fn_c_try_link "$LINENO"; then : 43533 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes 43534else 43535 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no 43536fi 43537rm -f core conftest.err conftest.$ac_objext \ 43538 conftest$ac_exeext conftest.$ac_ext 43539LIBS=$ac_check_lib_save_LIBS 43540fi 43541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5 43542$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; } 43543if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then : 43544 ac_cv_libfdatetime_dummy=yes 43545else 43546 ac_cv_libfdatetime=no 43547fi 43548 43549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 43550$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43551if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then : 43552 $as_echo_n "(cached) " >&6 43553else 43554 ac_check_lib_save_LIBS=$LIBS 43555LIBS="-lfdatetime $LIBS" 43556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43557/* end confdefs.h. */ 43558 43559/* Override any GCC internal prototype to avoid an error. 43560 Use char because int might match the return type of a GCC 43561 builtin and then its argument prototype would still apply. */ 43562#ifdef __cplusplus 43563extern "C" 43564#endif 43565char libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43566int 43567main () 43568{ 43569return libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43570 ; 43571 return 0; 43572} 43573_ACEOF 43574if ac_fn_c_try_link "$LINENO"; then : 43575 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes 43576else 43577 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no 43578fi 43579rm -f core conftest.err conftest.$ac_objext \ 43580 conftest$ac_exeext conftest.$ac_ext 43581LIBS=$ac_check_lib_save_LIBS 43582fi 43583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5 43584$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; } 43585if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then : 43586 ac_cv_libfdatetime_dummy=yes 43587else 43588 ac_cv_libfdatetime=no 43589fi 43590 43591 43592 ac_cv_libfdatetime_LIBADD="-lfdatetime" 43593fi 43594 43595fi 43596 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then : 43597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43598$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43599as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime 43600See \`config.log' for more details" "$LINENO" 5; } 43601 43602fi 43603 43604fi 43605 43606 if test "x$ac_cv_libfdatetime" = xyes; then : 43607 43608$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h 43609 43610 43611fi 43612 43613 if test "x$ac_cv_libfdatetime" = xyes; then : 43614 HAVE_LIBFDATETIME=1 43615 43616else 43617 HAVE_LIBFDATETIME=0 43618 43619 43620fi 43621 43622 43623 if test "x$ac_cv_libfdatetime" != xyes; then : 43624 43625 ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime"; 43626 ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la"; 43627 43628 ac_cv_libfdatetime=local 43629 43630 43631 43632$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h 43633 43634 HAVE_LOCAL_LIBFDATETIME=1 43635 43636 43637fi 43638 43639 if test "x$ac_cv_libfdatetime" = xlocal; then 43640 HAVE_LOCAL_LIBFDATETIME_TRUE= 43641 HAVE_LOCAL_LIBFDATETIME_FALSE='#' 43642else 43643 HAVE_LOCAL_LIBFDATETIME_TRUE='#' 43644 HAVE_LOCAL_LIBFDATETIME_FALSE= 43645fi 43646 43647 if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then : 43648 LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS 43649 43650 43651fi 43652 if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then : 43653 LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD 43654 43655 43656fi 43657 43658 if test "x$ac_cv_libfdatetime" = xyes; then : 43659 ax_libfdatetime_pc_libs_private=-lfdatetime 43660 43661 43662fi 43663 43664 if test "x$ac_cv_libfdatetime" = xyes; then : 43665 ax_libfdatetime_spec_requires=libfdatetime 43666 43667 ax_libfdatetime_spec_build_requires=libfdatetime-devel 43668 43669 43670fi 43671 43672 43673 43674 43675# Check whether --with-libfguid was given. 43676if test "${with_libfguid+set}" = set; then : 43677 withval=$with_libfguid; ac_cv_with_libfguid=$withval 43678else 43679 ac_cv_with_libfguid=auto-detect 43680fi 43681 43682 { $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 43683$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; } 43684if ${ac_cv_with_libfguid+:} false; then : 43685 $as_echo_n "(cached) " >&6 43686else 43687 ac_cv_with_libfguid=auto-detect 43688fi 43689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5 43690$as_echo "$ac_cv_with_libfguid" >&6; } 43691 43692 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then : 43693 ac_cv_libfguid=no 43694else 43695 ac_cv_libfguid=check 43696 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then : 43697 if test -d "$ac_cv_with_libfguid"; then : 43698 CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include" 43699 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib" 43700else 43701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43702$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43703as_fn_error 1 "no such directory: $ac_cv_with_libfguid 43704See \`config.log' for more details" "$LINENO" 5; } 43705 43706fi 43707 43708else 43709 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 43710 43711pkg_failed=no 43712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5 43713$as_echo_n "checking for libfguid... " >&6; } 43714 43715if test -n "$libfguid_CFLAGS"; then 43716 pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS" 43717 elif test -n "$PKG_CONFIG"; then 43718 if test -n "$PKG_CONFIG" && \ 43719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43720 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43721 ac_status=$? 43722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43723 test $ac_status = 0; }; then 43724 pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null` 43725 test "x$?" != "x0" && pkg_failed=yes 43726else 43727 pkg_failed=yes 43728fi 43729 else 43730 pkg_failed=untried 43731fi 43732if test -n "$libfguid_LIBS"; then 43733 pkg_cv_libfguid_LIBS="$libfguid_LIBS" 43734 elif test -n "$PKG_CONFIG"; then 43735 if test -n "$PKG_CONFIG" && \ 43736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43737 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43738 ac_status=$? 43739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43740 test $ac_status = 0; }; then 43741 pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null` 43742 test "x$?" != "x0" && pkg_failed=yes 43743else 43744 pkg_failed=yes 43745fi 43746 else 43747 pkg_failed=untried 43748fi 43749 43750 43751 43752if test $pkg_failed = yes; then 43753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43754$as_echo "no" >&6; } 43755 43756if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 43757 _pkg_short_errors_supported=yes 43758else 43759 _pkg_short_errors_supported=no 43760fi 43761 if test $_pkg_short_errors_supported = yes; then 43762 libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43763 else 43764 libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43765 fi 43766 # Put the nasty error message in config.log where it belongs 43767 echo "$libfguid_PKG_ERRORS" >&5 43768 43769 ac_cv_libfguid=check 43770elif test $pkg_failed = untried; then 43771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43772$as_echo "no" >&6; } 43773 ac_cv_libfguid=check 43774else 43775 libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS 43776 libfguid_LIBS=$pkg_cv_libfguid_LIBS 43777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43778$as_echo "yes" >&6; } 43779 ac_cv_libfguid=yes 43780fi 43781 43782fi 43783 if test "x$ac_cv_libfguid" = xyes; then : 43784 ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS" 43785 ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS" 43786fi 43787 43788fi 43789 43790 if test "x$ac_cv_libfguid" = xcheck; then : 43791 for ac_header in libfguid.h 43792do : 43793 ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default" 43794if test "x$ac_cv_header_libfguid_h" = xyes; then : 43795 cat >>confdefs.h <<_ACEOF 43796#define HAVE_LIBFGUID_H 1 43797_ACEOF 43798 43799fi 43800 43801done 43802 43803 43804 if test "x$ac_cv_header_libfguid_h" = xno; then : 43805 ac_cv_libfguid=no 43806else 43807 ac_cv_libfguid=yes 43808 43809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5 43810$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; } 43811if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then : 43812 $as_echo_n "(cached) " >&6 43813else 43814 ac_check_lib_save_LIBS=$LIBS 43815LIBS="-lfguid $LIBS" 43816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43817/* end confdefs.h. */ 43818 43819/* Override any GCC internal prototype to avoid an error. 43820 Use char because int might match the return type of a GCC 43821 builtin and then its argument prototype would still apply. */ 43822#ifdef __cplusplus 43823extern "C" 43824#endif 43825char libfguid_get_version (); 43826int 43827main () 43828{ 43829return libfguid_get_version (); 43830 ; 43831 return 0; 43832} 43833_ACEOF 43834if ac_fn_c_try_link "$LINENO"; then : 43835 ac_cv_lib_fguid_libfguid_get_version=yes 43836else 43837 ac_cv_lib_fguid_libfguid_get_version=no 43838fi 43839rm -f core conftest.err conftest.$ac_objext \ 43840 conftest$ac_exeext conftest.$ac_ext 43841LIBS=$ac_check_lib_save_LIBS 43842fi 43843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5 43844$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; } 43845if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then : 43846 ac_cv_libfguid_dummy=yes 43847else 43848 ac_cv_libfguid=no 43849fi 43850 43851 43852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5 43853$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; } 43854if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then : 43855 $as_echo_n "(cached) " >&6 43856else 43857 ac_check_lib_save_LIBS=$LIBS 43858LIBS="-lfguid $LIBS" 43859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43860/* end confdefs.h. */ 43861 43862/* Override any GCC internal prototype to avoid an error. 43863 Use char because int might match the return type of a GCC 43864 builtin and then its argument prototype would still apply. */ 43865#ifdef __cplusplus 43866extern "C" 43867#endif 43868char libfguid_identifier_initialize (); 43869int 43870main () 43871{ 43872return libfguid_identifier_initialize (); 43873 ; 43874 return 0; 43875} 43876_ACEOF 43877if ac_fn_c_try_link "$LINENO"; then : 43878 ac_cv_lib_fguid_libfguid_identifier_initialize=yes 43879else 43880 ac_cv_lib_fguid_libfguid_identifier_initialize=no 43881fi 43882rm -f core conftest.err conftest.$ac_objext \ 43883 conftest$ac_exeext conftest.$ac_ext 43884LIBS=$ac_check_lib_save_LIBS 43885fi 43886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5 43887$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; } 43888if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then : 43889 ac_cv_libfguid_dummy=yes 43890else 43891 ac_cv_libfguid=no 43892fi 43893 43894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5 43895$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; } 43896if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then : 43897 $as_echo_n "(cached) " >&6 43898else 43899 ac_check_lib_save_LIBS=$LIBS 43900LIBS="-lfguid $LIBS" 43901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43902/* end confdefs.h. */ 43903 43904/* Override any GCC internal prototype to avoid an error. 43905 Use char because int might match the return type of a GCC 43906 builtin and then its argument prototype would still apply. */ 43907#ifdef __cplusplus 43908extern "C" 43909#endif 43910char libfguid_identifier_free (); 43911int 43912main () 43913{ 43914return libfguid_identifier_free (); 43915 ; 43916 return 0; 43917} 43918_ACEOF 43919if ac_fn_c_try_link "$LINENO"; then : 43920 ac_cv_lib_fguid_libfguid_identifier_free=yes 43921else 43922 ac_cv_lib_fguid_libfguid_identifier_free=no 43923fi 43924rm -f core conftest.err conftest.$ac_objext \ 43925 conftest$ac_exeext conftest.$ac_ext 43926LIBS=$ac_check_lib_save_LIBS 43927fi 43928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5 43929$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; } 43930if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then : 43931 ac_cv_libfguid_dummy=yes 43932else 43933 ac_cv_libfguid=no 43934fi 43935 43936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5 43937$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; } 43938if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then : 43939 $as_echo_n "(cached) " >&6 43940else 43941 ac_check_lib_save_LIBS=$LIBS 43942LIBS="-lfguid $LIBS" 43943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43944/* end confdefs.h. */ 43945 43946/* Override any GCC internal prototype to avoid an error. 43947 Use char because int might match the return type of a GCC 43948 builtin and then its argument prototype would still apply. */ 43949#ifdef __cplusplus 43950extern "C" 43951#endif 43952char libfguid_identifier_copy_from_byte_stream (); 43953int 43954main () 43955{ 43956return libfguid_identifier_copy_from_byte_stream (); 43957 ; 43958 return 0; 43959} 43960_ACEOF 43961if ac_fn_c_try_link "$LINENO"; then : 43962 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes 43963else 43964 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no 43965fi 43966rm -f core conftest.err conftest.$ac_objext \ 43967 conftest$ac_exeext conftest.$ac_ext 43968LIBS=$ac_check_lib_save_LIBS 43969fi 43970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5 43971$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; } 43972if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then : 43973 ac_cv_libfguid_dummy=yes 43974else 43975 ac_cv_libfguid=no 43976fi 43977 43978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5 43979$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; } 43980if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then : 43981 $as_echo_n "(cached) " >&6 43982else 43983 ac_check_lib_save_LIBS=$LIBS 43984LIBS="-lfguid $LIBS" 43985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43986/* end confdefs.h. */ 43987 43988/* Override any GCC internal prototype to avoid an error. 43989 Use char because int might match the return type of a GCC 43990 builtin and then its argument prototype would still apply. */ 43991#ifdef __cplusplus 43992extern "C" 43993#endif 43994char libfguid_identifier_get_string_size (); 43995int 43996main () 43997{ 43998return libfguid_identifier_get_string_size (); 43999 ; 44000 return 0; 44001} 44002_ACEOF 44003if ac_fn_c_try_link "$LINENO"; then : 44004 ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes 44005else 44006 ac_cv_lib_fguid_libfguid_identifier_get_string_size=no 44007fi 44008rm -f core conftest.err conftest.$ac_objext \ 44009 conftest$ac_exeext conftest.$ac_ext 44010LIBS=$ac_check_lib_save_LIBS 44011fi 44012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5 44013$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; } 44014if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then : 44015 ac_cv_libfguid_dummy=yes 44016else 44017 ac_cv_libfguid=no 44018fi 44019 44020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5 44021$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; } 44022if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then : 44023 $as_echo_n "(cached) " >&6 44024else 44025 ac_check_lib_save_LIBS=$LIBS 44026LIBS="-lfguid $LIBS" 44027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44028/* end confdefs.h. */ 44029 44030/* Override any GCC internal prototype to avoid an error. 44031 Use char because int might match the return type of a GCC 44032 builtin and then its argument prototype would still apply. */ 44033#ifdef __cplusplus 44034extern "C" 44035#endif 44036char libfguid_identifier_copy_to_utf8_string (); 44037int 44038main () 44039{ 44040return libfguid_identifier_copy_to_utf8_string (); 44041 ; 44042 return 0; 44043} 44044_ACEOF 44045if ac_fn_c_try_link "$LINENO"; then : 44046 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes 44047else 44048 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no 44049fi 44050rm -f core conftest.err conftest.$ac_objext \ 44051 conftest$ac_exeext conftest.$ac_ext 44052LIBS=$ac_check_lib_save_LIBS 44053fi 44054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5 44055$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; } 44056if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then : 44057 ac_cv_libfguid_dummy=yes 44058else 44059 ac_cv_libfguid=no 44060fi 44061 44062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5 44063$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; } 44064if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then : 44065 $as_echo_n "(cached) " >&6 44066else 44067 ac_check_lib_save_LIBS=$LIBS 44068LIBS="-lfguid $LIBS" 44069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44070/* end confdefs.h. */ 44071 44072/* Override any GCC internal prototype to avoid an error. 44073 Use char because int might match the return type of a GCC 44074 builtin and then its argument prototype would still apply. */ 44075#ifdef __cplusplus 44076extern "C" 44077#endif 44078char libfguid_identifier_copy_to_utf8_string_with_index (); 44079int 44080main () 44081{ 44082return libfguid_identifier_copy_to_utf8_string_with_index (); 44083 ; 44084 return 0; 44085} 44086_ACEOF 44087if ac_fn_c_try_link "$LINENO"; then : 44088 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes 44089else 44090 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no 44091fi 44092rm -f core conftest.err conftest.$ac_objext \ 44093 conftest$ac_exeext conftest.$ac_ext 44094LIBS=$ac_check_lib_save_LIBS 44095fi 44096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5 44097$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; } 44098if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then : 44099 ac_cv_libfguid_dummy=yes 44100else 44101 ac_cv_libfguid=no 44102fi 44103 44104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5 44105$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; } 44106if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then : 44107 $as_echo_n "(cached) " >&6 44108else 44109 ac_check_lib_save_LIBS=$LIBS 44110LIBS="-lfguid $LIBS" 44111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44112/* end confdefs.h. */ 44113 44114/* Override any GCC internal prototype to avoid an error. 44115 Use char because int might match the return type of a GCC 44116 builtin and then its argument prototype would still apply. */ 44117#ifdef __cplusplus 44118extern "C" 44119#endif 44120char libfguid_identifier_copy_to_utf16_string (); 44121int 44122main () 44123{ 44124return libfguid_identifier_copy_to_utf16_string (); 44125 ; 44126 return 0; 44127} 44128_ACEOF 44129if ac_fn_c_try_link "$LINENO"; then : 44130 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes 44131else 44132 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no 44133fi 44134rm -f core conftest.err conftest.$ac_objext \ 44135 conftest$ac_exeext conftest.$ac_ext 44136LIBS=$ac_check_lib_save_LIBS 44137fi 44138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5 44139$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; } 44140if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then : 44141 ac_cv_libfguid_dummy=yes 44142else 44143 ac_cv_libfguid=no 44144fi 44145 44146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5 44147$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; } 44148if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then : 44149 $as_echo_n "(cached) " >&6 44150else 44151 ac_check_lib_save_LIBS=$LIBS 44152LIBS="-lfguid $LIBS" 44153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44154/* end confdefs.h. */ 44155 44156/* Override any GCC internal prototype to avoid an error. 44157 Use char because int might match the return type of a GCC 44158 builtin and then its argument prototype would still apply. */ 44159#ifdef __cplusplus 44160extern "C" 44161#endif 44162char libfguid_identifier_copy_to_utf16_string_with_index (); 44163int 44164main () 44165{ 44166return libfguid_identifier_copy_to_utf16_string_with_index (); 44167 ; 44168 return 0; 44169} 44170_ACEOF 44171if ac_fn_c_try_link "$LINENO"; then : 44172 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes 44173else 44174 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no 44175fi 44176rm -f core conftest.err conftest.$ac_objext \ 44177 conftest$ac_exeext conftest.$ac_ext 44178LIBS=$ac_check_lib_save_LIBS 44179fi 44180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5 44181$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; } 44182if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then : 44183 ac_cv_libfguid_dummy=yes 44184else 44185 ac_cv_libfguid=no 44186fi 44187 44188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5 44189$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; } 44190if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then : 44191 $as_echo_n "(cached) " >&6 44192else 44193 ac_check_lib_save_LIBS=$LIBS 44194LIBS="-lfguid $LIBS" 44195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44196/* end confdefs.h. */ 44197 44198/* Override any GCC internal prototype to avoid an error. 44199 Use char because int might match the return type of a GCC 44200 builtin and then its argument prototype would still apply. */ 44201#ifdef __cplusplus 44202extern "C" 44203#endif 44204char libfguid_identifier_copy_to_utf32_string (); 44205int 44206main () 44207{ 44208return libfguid_identifier_copy_to_utf32_string (); 44209 ; 44210 return 0; 44211} 44212_ACEOF 44213if ac_fn_c_try_link "$LINENO"; then : 44214 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes 44215else 44216 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no 44217fi 44218rm -f core conftest.err conftest.$ac_objext \ 44219 conftest$ac_exeext conftest.$ac_ext 44220LIBS=$ac_check_lib_save_LIBS 44221fi 44222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5 44223$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; } 44224if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then : 44225 ac_cv_libfguid_dummy=yes 44226else 44227 ac_cv_libfguid=no 44228fi 44229 44230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5 44231$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; } 44232if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then : 44233 $as_echo_n "(cached) " >&6 44234else 44235 ac_check_lib_save_LIBS=$LIBS 44236LIBS="-lfguid $LIBS" 44237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44238/* end confdefs.h. */ 44239 44240/* Override any GCC internal prototype to avoid an error. 44241 Use char because int might match the return type of a GCC 44242 builtin and then its argument prototype would still apply. */ 44243#ifdef __cplusplus 44244extern "C" 44245#endif 44246char libfguid_identifier_copy_to_utf32_string_with_index (); 44247int 44248main () 44249{ 44250return libfguid_identifier_copy_to_utf32_string_with_index (); 44251 ; 44252 return 0; 44253} 44254_ACEOF 44255if ac_fn_c_try_link "$LINENO"; then : 44256 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes 44257else 44258 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no 44259fi 44260rm -f core conftest.err conftest.$ac_objext \ 44261 conftest$ac_exeext conftest.$ac_ext 44262LIBS=$ac_check_lib_save_LIBS 44263fi 44264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5 44265$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; } 44266if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then : 44267 ac_cv_libfguid_dummy=yes 44268else 44269 ac_cv_libfguid=no 44270fi 44271 44272 44273 ac_cv_libfguid_LIBADD="-lfguid" 44274fi 44275 44276fi 44277 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then : 44278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44280as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid 44281See \`config.log' for more details" "$LINENO" 5; } 44282 44283fi 44284 44285fi 44286 44287 if test "x$ac_cv_libfguid" = xyes; then : 44288 44289$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h 44290 44291 44292fi 44293 44294 if test "x$ac_cv_libfguid" = xyes; then : 44295 HAVE_LIBFGUID=1 44296 44297else 44298 HAVE_LIBFGUID=0 44299 44300 44301fi 44302 44303 44304 if test "x$ac_cv_libfguid" != xyes; then : 44305 44306 ac_cv_libfguid_CPPFLAGS="-I../libfguid"; 44307 ac_cv_libfguid_LIBADD="../libfguid/libfguid.la"; 44308 44309 ac_cv_libfguid=local 44310 44311 44312 44313$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h 44314 44315 HAVE_LOCAL_LIBFGUID=1 44316 44317 44318fi 44319 44320 if test "x$ac_cv_libfguid" = xlocal; then 44321 HAVE_LOCAL_LIBFGUID_TRUE= 44322 HAVE_LOCAL_LIBFGUID_FALSE='#' 44323else 44324 HAVE_LOCAL_LIBFGUID_TRUE='#' 44325 HAVE_LOCAL_LIBFGUID_FALSE= 44326fi 44327 44328 if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then : 44329 LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS 44330 44331 44332fi 44333 if test "x$ac_cv_libfguid_LIBADD" != "x"; then : 44334 LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD 44335 44336 44337fi 44338 44339 if test "x$ac_cv_libfguid" = xyes; then : 44340 ax_libfguid_pc_libs_private=-lfguid 44341 44342 44343fi 44344 44345 if test "x$ac_cv_libfguid" = xyes; then : 44346 ax_libfguid_spec_requires=libfguid 44347 44348 ax_libfguid_spec_build_requires=libfguid-devel 44349 44350 44351fi 44352 44353 44354 for ac_func in bindtextdomain 44355do : 44356 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 44357if test "x$ac_cv_func_bindtextdomain" = xyes; then : 44358 cat >>confdefs.h <<_ACEOF 44359#define HAVE_BINDTEXTDOMAIN 1 44360_ACEOF 44361 44362fi 44363done 44364 44365 44366 44367 44368 44369# Check whether --with-pyprefix was given. 44370if test "${with_pyprefix+set}" = set; then : 44371 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 44372else 44373 ac_cv_with_pyprefix=no 44374fi 44375 44376 { $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 44377$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 44378if ${ac_cv_with_pyprefix+:} false; then : 44379 $as_echo_n "(cached) " >&6 44380else 44381 ac_cv_with_pyprefix=no 44382fi 44383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 44384$as_echo "$ac_cv_with_pyprefix" >&6; } 44385 44386 44387 44388 # Check whether --enable-python was given. 44389if test "${enable_python+set}" = set; then : 44390 enableval=$enable_python; ac_cv_enable_python=$enableval 44391else 44392 ac_cv_enable_python=no 44393fi 44394 44395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 44396$as_echo_n "checking whether to enable build Python bindings... " >&6; } 44397if ${ac_cv_enable_python+:} false; then : 44398 $as_echo_n "(cached) " >&6 44399else 44400 ac_cv_enable_python=no 44401fi 44402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 44403$as_echo "$ac_cv_enable_python" >&6; } 44404 44405 44406# Check whether --with-pythondir was given. 44407if test "${with_pythondir+set}" = set; then : 44408 withval=$with_pythondir; ac_cv_with_pythondir=$withval 44409else 44410 ac_cv_with_pythondir=no 44411fi 44412 44413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 44414$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 44415if ${ac_cv_with_pythondir+:} false; then : 44416 $as_echo_n "(cached) " >&6 44417else 44418 ac_cv_with_pythondir=no 44419fi 44420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 44421$as_echo "$ac_cv_with_pythondir" >&6; } 44422 44423 44424 # Check whether --enable-python2 was given. 44425if test "${enable_python2+set}" = set; then : 44426 enableval=$enable_python2; ac_cv_enable_python2=$enableval 44427else 44428 ac_cv_enable_python2=no 44429fi 44430 44431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 44432$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 44433if ${ac_cv_enable_python2+:} false; then : 44434 $as_echo_n "(cached) " >&6 44435else 44436 ac_cv_enable_python2=no 44437fi 44438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 44439$as_echo "$ac_cv_enable_python2" >&6; } 44440 44441 44442# Check whether --with-pythondir2 was given. 44443if test "${with_pythondir2+set}" = set; then : 44444 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 44445else 44446 ac_cv_with_pythondir2=no 44447fi 44448 44449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 44450$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 44451if ${ac_cv_with_pythondir2+:} false; then : 44452 $as_echo_n "(cached) " >&6 44453else 44454 ac_cv_with_pythondir2=no 44455fi 44456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 44457$as_echo "$ac_cv_with_pythondir2" >&6; } 44458 44459 44460 # Check whether --enable-python3 was given. 44461if test "${enable_python3+set}" = set; then : 44462 enableval=$enable_python3; ac_cv_enable_python3=$enableval 44463else 44464 ac_cv_enable_python3=no 44465fi 44466 44467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 44468$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 44469if ${ac_cv_enable_python3+:} false; then : 44470 $as_echo_n "(cached) " >&6 44471else 44472 ac_cv_enable_python3=no 44473fi 44474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 44475$as_echo "$ac_cv_enable_python3" >&6; } 44476 44477 44478# Check whether --with-pythondir3 was given. 44479if test "${with_pythondir3+set}" = set; then : 44480 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 44481else 44482 ac_cv_with_pythondir3=no 44483fi 44484 44485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 44486$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 44487if ${ac_cv_with_pythondir3+:} false; then : 44488 $as_echo_n "(cached) " >&6 44489else 44490 ac_cv_with_pythondir3=no 44491fi 44492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 44493$as_echo "$ac_cv_with_pythondir3" >&6; } 44494 44495 if test "x${ac_cv_enable_python}" != xno; then : 44496 if test "x${PYTHON_VERSION}" != x; then : 44497 ax_python_progs="python${PYTHON_VERSION}" 44498else 44499 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" 44500fi 44501 for ac_prog in $ax_python_progs 44502do 44503 # Extract the first word of "$ac_prog", so it can be a program name with args. 44504set dummy $ac_prog; ac_word=$2 44505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44506$as_echo_n "checking for $ac_word... " >&6; } 44507if ${ac_cv_prog_PYTHON+:} false; then : 44508 $as_echo_n "(cached) " >&6 44509else 44510 if test -n "$PYTHON"; then 44511 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 44512else 44513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44514for as_dir in $PATH 44515do 44516 IFS=$as_save_IFS 44517 test -z "$as_dir" && as_dir=. 44518 for ac_exec_ext in '' $ac_executable_extensions; do 44519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 44520 ac_cv_prog_PYTHON="$ac_prog" 44521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44522 break 2 44523 fi 44524done 44525 done 44526IFS=$as_save_IFS 44527 44528fi 44529fi 44530PYTHON=$ac_cv_prog_PYTHON 44531if test -n "$PYTHON"; then 44532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 44533$as_echo "$PYTHON" >&6; } 44534else 44535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44536$as_echo "no" >&6; } 44537fi 44538 44539 44540 test -n "$PYTHON" && break 44541done 44542 44543 if test "x${PYTHON}" != x; then : 44544 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 44545 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 44546 PYTHON_PLATFORM=$ax_prog_python_platform 44547 44548 44549else 44550 as_fn_error $? "Unable to find python" "$LINENO" 5 44551 44552fi 44553 PYTHON=$PYTHON 44554 44555 44556 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 44557 for ac_prog in python${PYTHON_VERSION}-config 44558do 44559 # Extract the first word of "$ac_prog", so it can be a program name with args. 44560set dummy $ac_prog; ac_word=$2 44561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44562$as_echo_n "checking for $ac_word... " >&6; } 44563if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 44564 $as_echo_n "(cached) " >&6 44565else 44566 if test -n "$PYTHON_CONFIG"; then 44567 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 44568else 44569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44570for as_dir in $PATH 44571do 44572 IFS=$as_save_IFS 44573 test -z "$as_dir" && as_dir=. 44574 for ac_exec_ext in '' $ac_executable_extensions; do 44575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 44576 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 44577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44578 break 2 44579 fi 44580done 44581 done 44582IFS=$as_save_IFS 44583 44584fi 44585fi 44586PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 44587if test -n "$PYTHON_CONFIG"; then 44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 44589$as_echo "$PYTHON_CONFIG" >&6; } 44590else 44591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44592$as_echo "no" >&6; } 44593fi 44594 44595 44596 test -n "$PYTHON_CONFIG" && break 44597done 44598 44599 44600fi 44601 if test "x${PYTHON_CONFIG}" = x; then : 44602 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 44603do 44604 # Extract the first word of "$ac_prog", so it can be a program name with args. 44605set dummy $ac_prog; ac_word=$2 44606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44607$as_echo_n "checking for $ac_word... " >&6; } 44608if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 44609 $as_echo_n "(cached) " >&6 44610else 44611 if test -n "$PYTHON_CONFIG"; then 44612 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 44613else 44614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44615for as_dir in $PATH 44616do 44617 IFS=$as_save_IFS 44618 test -z "$as_dir" && as_dir=. 44619 for ac_exec_ext in '' $ac_executable_extensions; do 44620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 44621 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 44622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44623 break 2 44624 fi 44625done 44626 done 44627IFS=$as_save_IFS 44628 44629fi 44630fi 44631PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 44632if test -n "$PYTHON_CONFIG"; then 44633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 44634$as_echo "$PYTHON_CONFIG" >&6; } 44635else 44636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44637$as_echo "no" >&6; } 44638fi 44639 44640 44641 test -n "$PYTHON_CONFIG" && break 44642done 44643 44644 44645fi 44646 if test "x${PYTHON_CONFIG}" = x; then : 44647 as_fn_error $? "Unable to find python-config" "$LINENO" 5 44648 44649fi 44650 PYTHON_CONFIG=$PYTHON_CONFIG 44651 44652 44653 44654 if test "x${PYTHON_CONFIG}" != x; then : 44655 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 44656 44657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 44658$as_echo_n "checking for Python includes... " >&6; } 44659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 44660$as_echo "$PYTHON_INCLUDES" >&6; } 44661 44662 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 44663 44664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 44665$as_echo_n "checking for Python libraries... " >&6; } 44666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 44667$as_echo "$PYTHON_LDFLAGS" >&6; } 44668 44669 case $host_os in #( 44670 cygwin*) : 44671 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 44672 *) : 44673 ;; #( 44674 *) : 44675 ;; 44676esac 44677 44678 BACKUP_CPPFLAGS="${CPPFLAGS}" 44679 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 44680 44681 for ac_header in Python.h 44682do : 44683 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 44684if test "x$ac_cv_header_Python_h" = xyes; then : 44685 cat >>confdefs.h <<_ACEOF 44686#define HAVE_PYTHON_H 1 44687_ACEOF 44688 ac_cv_header_python_h=yes 44689else 44690 ac_cv_header_python_h=no 44691fi 44692 44693done 44694 44695 44696 CPPFLAGS="${BACKUP_CPPFLAGS}" 44697 44698fi 44699 44700 if test "x${ac_cv_header_python_h}" != xyes; then : 44701 ac_cv_enable_python=no 44702else 44703 ac_cv_enable_python=${ax_prog_python_version} 44704 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 44705 44706 44707 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 44708 44709 44710 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44711 ax_python_prefix="\${prefix}" 44712else 44713 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 44714fi 44715 44716 PYTHON_PREFIX=$ax_python_prefix 44717 44718 44719 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44720 ax_python_exec_prefix="\${exec_prefix}" 44721else 44722 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 44723fi 44724 44725 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 44726 44727 44728 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`; 44729 44730 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 44731 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44732 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 44733else 44734 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 44735fi 44736else 44737 ax_python_pythondir=$ac_cv_with_pythondir 44738fi 44739 44740 pythondir=$ax_python_pythondir 44741 44742 44743 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`; 44744 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 44745 44746 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44747 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 44748else 44749 ax_python_pyexecdir=$ax_python_library_dir 44750fi 44751 44752 pyexecdir=$ax_python_pyexecdir 44753 44754 44755 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 44756 44757 44758 PYTHON_PACKAGE_DIR=$ax_python_library_dir 44759 44760 44761fi 44762 44763fi 44764 44765 if test "x${ac_cv_enable_python2}" != xno; then : 44766 ax_python2_progs="python2 python2.7 python2.6 python2.5" 44767 for ac_prog in $ax_python2_progs 44768do 44769 # Extract the first word of "$ac_prog", so it can be a program name with args. 44770set dummy $ac_prog; ac_word=$2 44771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44772$as_echo_n "checking for $ac_word... " >&6; } 44773if ${ac_cv_prog_PYTHON2+:} false; then : 44774 $as_echo_n "(cached) " >&6 44775else 44776 if test -n "$PYTHON2"; then 44777 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 44778else 44779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44780for as_dir in $PATH 44781do 44782 IFS=$as_save_IFS 44783 test -z "$as_dir" && as_dir=. 44784 for ac_exec_ext in '' $ac_executable_extensions; do 44785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 44786 ac_cv_prog_PYTHON2="$ac_prog" 44787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44788 break 2 44789 fi 44790done 44791 done 44792IFS=$as_save_IFS 44793 44794fi 44795fi 44796PYTHON2=$ac_cv_prog_PYTHON2 44797if test -n "$PYTHON2"; then 44798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 44799$as_echo "$PYTHON2" >&6; } 44800else 44801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44802$as_echo "no" >&6; } 44803fi 44804 44805 44806 test -n "$PYTHON2" && break 44807done 44808 44809 if test "x${PYTHON2}" != x; then : 44810 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 44811 PYTHON2_VERSION=$ax_prog_python2_version 44812 44813 44814 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 44815 PYTHON2_PLATFORM=$ax_prog_python2_platform 44816 44817 44818else 44819 as_fn_error $? "Unable to find python2" "$LINENO" 5 44820 44821fi 44822 PYTHON2=$PYTHON2 44823 44824 44825 if test "x${PYTHON2_CONFIG}" = x; then : 44826 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 44827do 44828 # Extract the first word of "$ac_prog", so it can be a program name with args. 44829set dummy $ac_prog; ac_word=$2 44830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44831$as_echo_n "checking for $ac_word... " >&6; } 44832if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 44833 $as_echo_n "(cached) " >&6 44834else 44835 if test -n "$PYTHON2_CONFIG"; then 44836 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 44837else 44838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44839for as_dir in $PATH 44840do 44841 IFS=$as_save_IFS 44842 test -z "$as_dir" && as_dir=. 44843 for ac_exec_ext in '' $ac_executable_extensions; do 44844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 44845 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 44846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44847 break 2 44848 fi 44849done 44850 done 44851IFS=$as_save_IFS 44852 44853fi 44854fi 44855PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 44856if test -n "$PYTHON2_CONFIG"; then 44857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 44858$as_echo "$PYTHON2_CONFIG" >&6; } 44859else 44860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44861$as_echo "no" >&6; } 44862fi 44863 44864 44865 test -n "$PYTHON2_CONFIG" && break 44866done 44867 44868 44869fi 44870 if test "x${PYTHON2_CONFIG}" = x; then : 44871 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 44872 44873fi 44874 PYTHON2_CONFIG=$PYTHON2_CONFIG 44875 44876 44877 44878 if test "x${PYTHON2_CONFIG}" != x; then : 44879 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 44880 44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 44882$as_echo_n "checking for Python verison 2 includes... " >&6; } 44883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 44884$as_echo "$PYTHON2_INCLUDES" >&6; } 44885 44886 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 44887 44888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 44889$as_echo_n "checking for Python 2 libraries... " >&6; } 44890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 44891$as_echo "$PYTHON2_LDFLAGS" >&6; } 44892 44893 case $host_os in #( 44894 cygwin*) : 44895 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 44896 *) : 44897 ;; #( 44898 *) : 44899 ;; 44900esac 44901 44902 BACKUP_CPPFLAGS="${CPPFLAGS}" 44903 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 44904 44905 for ac_header in Python.h 44906do : 44907 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 44908if test "x$ac_cv_header_Python_h" = xyes; then : 44909 cat >>confdefs.h <<_ACEOF 44910#define HAVE_PYTHON_H 1 44911_ACEOF 44912 ac_cv_header_python2_h=yes 44913else 44914 ac_cv_header_python2_h=no 44915fi 44916 44917done 44918 44919 44920 CPPFLAGS="${BACKUP_CPPFLAGS}" 44921 44922fi 44923 44924 if test "x${ac_cv_header_python2_h}" != xyes; then : 44925 ac_cv_enable_python2=no 44926else 44927 ac_cv_enable_python2=$PYTHON2_VERSION 44928 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 44929 44930 44931 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 44932 44933 44934 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44935 ax_python2_prefix="\${prefix}" 44936else 44937 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 44938fi 44939 44940 PYTHON2_PREFIX=$ax_python2_prefix 44941 44942 44943 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44944 ax_python2_exec_prefix="\${exec_prefix}" 44945else 44946 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 44947fi 44948 44949 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 44950 44951 44952 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`; 44953 44954 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 44955 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44956 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 44957else 44958 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 44959fi 44960else 44961 ax_python2_pythondir=$ac_cv_with_pythondir2 44962fi 44963 44964 pythondir2=$ax_python2_pythondir 44965 44966 44967 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`; 44968 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 44969 44970 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 44971 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 44972else 44973 ax_python2_pyexecdir=$ax_python2_library_dir 44974fi 44975 44976 pyexecdir2=$ax_python2_pyexecdir 44977 44978 44979 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 44980 44981 44982 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 44983 44984 44985fi 44986 44987fi 44988 44989 if test "x${ac_cv_enable_python3}" != xno; then : 44990 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" 44991 for ac_prog in $ax_python3_progs 44992do 44993 # Extract the first word of "$ac_prog", so it can be a program name with args. 44994set dummy $ac_prog; ac_word=$2 44995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44996$as_echo_n "checking for $ac_word... " >&6; } 44997if ${ac_cv_prog_PYTHON3+:} false; then : 44998 $as_echo_n "(cached) " >&6 44999else 45000 if test -n "$PYTHON3"; then 45001 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 45002else 45003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45004for as_dir in $PATH 45005do 45006 IFS=$as_save_IFS 45007 test -z "$as_dir" && as_dir=. 45008 for ac_exec_ext in '' $ac_executable_extensions; do 45009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45010 ac_cv_prog_PYTHON3="$ac_prog" 45011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45012 break 2 45013 fi 45014done 45015 done 45016IFS=$as_save_IFS 45017 45018fi 45019fi 45020PYTHON3=$ac_cv_prog_PYTHON3 45021if test -n "$PYTHON3"; then 45022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 45023$as_echo "$PYTHON3" >&6; } 45024else 45025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45026$as_echo "no" >&6; } 45027fi 45028 45029 45030 test -n "$PYTHON3" && break 45031done 45032 45033 if test "x${PYTHON3}" != x; then : 45034 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 45035 PYTHON3_VERSION=$ax_prog_python3_version 45036 45037 45038 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 45039 PYTHON3_PLATFORM=$ax_prog_python3_platform 45040 45041 45042else 45043 as_fn_error $? "Unable to find python3" "$LINENO" 5 45044 45045fi 45046 PYTHON3=$PYTHON3 45047 45048 45049 if test "x${PYTHON3_CONFIG}" = x; then : 45050 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 45051do 45052 # Extract the first word of "$ac_prog", so it can be a program name with args. 45053set dummy $ac_prog; ac_word=$2 45054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45055$as_echo_n "checking for $ac_word... " >&6; } 45056if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 45057 $as_echo_n "(cached) " >&6 45058else 45059 if test -n "$PYTHON3_CONFIG"; then 45060 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 45061else 45062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 45063for as_dir in $PATH 45064do 45065 IFS=$as_save_IFS 45066 test -z "$as_dir" && as_dir=. 45067 for ac_exec_ext in '' $ac_executable_extensions; do 45068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 45069 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 45070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 45071 break 2 45072 fi 45073done 45074 done 45075IFS=$as_save_IFS 45076 45077fi 45078fi 45079PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 45080if test -n "$PYTHON3_CONFIG"; then 45081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 45082$as_echo "$PYTHON3_CONFIG" >&6; } 45083else 45084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45085$as_echo "no" >&6; } 45086fi 45087 45088 45089 test -n "$PYTHON3_CONFIG" && break 45090done 45091 45092 45093fi 45094 if test "x${PYTHON3_CONFIG}" = x; then : 45095 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 45096 45097fi 45098 PYTHON3_CONFIG=$PYTHON3_CONFIG 45099 45100 45101 45102 if test "x${PYTHON3_CONFIG}" != x; then : 45103 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 45104 45105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 45106$as_echo_n "checking for Python verison 3 includes... " >&6; } 45107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 45108$as_echo "$PYTHON3_INCLUDES" >&6; } 45109 45110 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 45111 45112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 45113$as_echo_n "checking for Python 3 libraries... " >&6; } 45114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 45115$as_echo "$PYTHON3_LDFLAGS" >&6; } 45116 45117 case $host_os in #( 45118 cygwin*) : 45119 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 45120 *) : 45121 ;; #( 45122 *) : 45123 ;; 45124esac 45125 45126 BACKUP_CPPFLAGS="${CPPFLAGS}" 45127 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 45128 45129 for ac_header in Python.h 45130do : 45131 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 45132if test "x$ac_cv_header_Python_h" = xyes; then : 45133 cat >>confdefs.h <<_ACEOF 45134#define HAVE_PYTHON_H 1 45135_ACEOF 45136 ac_cv_header_python3_h=yes 45137else 45138 ac_cv_header_python3_h=no 45139fi 45140 45141done 45142 45143 45144 CPPFLAGS="${BACKUP_CPPFLAGS}" 45145 45146fi 45147 45148 if test "x${ac_cv_header_python3_h}" != xyes; then : 45149 ac_cv_enable_python3=no 45150else 45151 ac_cv_enable_python3=$PYTHON3_VERSION 45152 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 45153 45154 45155 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 45156 45157 45158 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45159 ax_python3_prefix="\${prefix}" 45160else 45161 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 45162fi 45163 45164 PYTHON3_PREFIX=$ax_python3_prefix 45165 45166 45167 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45168 ax_python3_exec_prefix="\${exec_prefix}" 45169else 45170 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 45171fi 45172 45173 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 45174 45175 45176 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`; 45177 45178 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 45179 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45180 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 45181else 45182 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 45183fi 45184else 45185 ax_python3_pythondir=$ac_cv_with_pythondir3 45186fi 45187 45188 pythondir3=$ax_python3_pythondir 45189 45190 45191 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`; 45192 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 45193 45194 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 45195 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 45196else 45197 ax_python3_pyexecdir=$ax_python3_library_dir 45198fi 45199 45200 pyexecdir3=$ax_python3_pyexecdir 45201 45202 45203 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 45204 45205 45206 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 45207 45208 45209fi 45210 45211fi 45212 45213 if test "x${ac_cv_enable_python}" != xno; then 45214 HAVE_PYTHON_TRUE= 45215 HAVE_PYTHON_FALSE='#' 45216else 45217 HAVE_PYTHON_TRUE='#' 45218 HAVE_PYTHON_FALSE= 45219fi 45220 45221 45222 if test "x${ac_cv_enable_python2}" != xno; then 45223 HAVE_PYTHON2_TRUE= 45224 HAVE_PYTHON2_FALSE='#' 45225else 45226 HAVE_PYTHON2_TRUE='#' 45227 HAVE_PYTHON2_FALSE= 45228fi 45229 45230 45231 if test "x${ac_cv_enable_python3}" != xno; then 45232 HAVE_PYTHON3_TRUE= 45233 HAVE_PYTHON3_FALSE='#' 45234else 45235 HAVE_PYTHON3_TRUE='#' 45236 HAVE_PYTHON3_FALSE= 45237fi 45238 45239 45240 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 45241 HAVE_PYTHON_TESTS_TRUE= 45242 HAVE_PYTHON_TESTS_FALSE='#' 45243else 45244 HAVE_PYTHON_TESTS_TRUE='#' 45245 HAVE_PYTHON_TESTS_FALSE= 45246fi 45247 45248 45249 if test "x${ac_cv_enable_python}" = xno; then : 45250 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 45251 if test "x${ac_cv_enable_python2}" != xno; then : 45252 ac_cv_enable_python=${ac_cv_enable_python2} 45253else 45254 ac_cv_enable_python="" 45255fi 45256 if test "x${ac_cv_enable_python3}" != xno; then : 45257 if test "x${ac_cv_enable_python}" != x; then : 45258 ac_cv_enable_python="${ac_cv_enable_python}, " 45259fi 45260 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 45261fi 45262 45263fi 45264 45265fi 45266 45267 45268if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 45269 for ac_header in stdarg.h varargs.h 45270do : 45271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 45272ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 45273if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 45274 cat >>confdefs.h <<_ACEOF 45275#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 45276_ACEOF 45277 45278fi 45279 45280done 45281 45282 45283 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 45284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45285$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45286as_fn_error 1 "Missing headers: stdarg.h and varargs.h 45287See \`config.log' for more details" "$LINENO" 5; } 45288 45289fi 45290 45291fi 45292 45293 45294 45295# Check whether --with-libfuse was given. 45296if test "${with_libfuse+set}" = set; then : 45297 withval=$with_libfuse; ac_cv_with_libfuse=$withval 45298else 45299 ac_cv_with_libfuse=auto-detect 45300fi 45301 45302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfuse in includedir and libdir or in the specified DIR, or no if not to use libfuse" >&5 45303$as_echo_n "checking whether to use search for libfuse in includedir and libdir or in the specified DIR, or no if not to use libfuse... " >&6; } 45304if ${ac_cv_with_libfuse+:} false; then : 45305 $as_echo_n "(cached) " >&6 45306else 45307 ac_cv_with_libfuse=auto-detect 45308fi 45309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5 45310$as_echo "$ac_cv_with_libfuse" >&6; } 45311 45312 if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then : 45313 if test -d "$ac_cv_with_libfuse"; then : 45314 CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include" 45315 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib" 45316else 45317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5 45318$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;} 45319 45320fi 45321 45322fi 45323 45324 if test "x$ac_cv_with_libfuse" = xno; then : 45325 ac_cv_libfuse=no 45326else 45327 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 45328 45329pkg_failed=no 45330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5 45331$as_echo_n "checking for fuse... " >&6; } 45332 45333if test -n "$fuse_CFLAGS"; then 45334 pkg_cv_fuse_CFLAGS="$fuse_CFLAGS" 45335 elif test -n "$PKG_CONFIG"; then 45336 if test -n "$PKG_CONFIG" && \ 45337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 45338 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 45339 ac_status=$? 45340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45341 test $ac_status = 0; }; then 45342 pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null` 45343 test "x$?" != "x0" && pkg_failed=yes 45344else 45345 pkg_failed=yes 45346fi 45347 else 45348 pkg_failed=untried 45349fi 45350if test -n "$fuse_LIBS"; then 45351 pkg_cv_fuse_LIBS="$fuse_LIBS" 45352 elif test -n "$PKG_CONFIG"; then 45353 if test -n "$PKG_CONFIG" && \ 45354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 45355 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 45356 ac_status=$? 45357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45358 test $ac_status = 0; }; then 45359 pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null` 45360 test "x$?" != "x0" && pkg_failed=yes 45361else 45362 pkg_failed=yes 45363fi 45364 else 45365 pkg_failed=untried 45366fi 45367 45368 45369 45370if test $pkg_failed = yes; then 45371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45372$as_echo "no" >&6; } 45373 45374if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 45375 _pkg_short_errors_supported=yes 45376else 45377 _pkg_short_errors_supported=no 45378fi 45379 if test $_pkg_short_errors_supported = yes; then 45380 fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 45381 else 45382 fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 45383 fi 45384 # Put the nasty error message in config.log where it belongs 45385 echo "$fuse_PKG_ERRORS" >&5 45386 45387 ac_cv_libfuse=no 45388elif test $pkg_failed = untried; then 45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45390$as_echo "no" >&6; } 45391 ac_cv_libfuse=no 45392else 45393 fuse_CFLAGS=$pkg_cv_fuse_CFLAGS 45394 fuse_LIBS=$pkg_cv_fuse_LIBS 45395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45396$as_echo "yes" >&6; } 45397 ac_cv_libfuse=libfuse 45398fi 45399 45400fi 45401 45402 if test "x$ac_cv_libfuse" = xlibfuse; then : 45403 ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS" 45404 ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS" 45405else 45406 for ac_header in fuse.h 45407do : 45408 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 45409if test "x$ac_cv_header_fuse_h" = xyes; then : 45410 cat >>confdefs.h <<_ACEOF 45411#define HAVE_FUSE_H 1 45412_ACEOF 45413 ac_cv_header_fuse_h=yes 45414else 45415 ac_cv_header_fuse_h=no 45416fi 45417 45418done 45419 45420 45421 if test "x$ac_cv_header_fuse_h" = xno; then : 45422 { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;} 45423 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 45424 for ac_header in fuse.h 45425do : 45426 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 45427if test "x$ac_cv_header_fuse_h" = xyes; then : 45428 cat >>confdefs.h <<_ACEOF 45429#define HAVE_FUSE_H 1 45430_ACEOF 45431 45432fi 45433 45434done 45435 45436 45437fi 45438 45439 if test "x$ac_cv_header_fuse_h" = xno; then : 45440 ac_cv_libfuse=no 45441else 45442 ac_cv_libfuse=libfuse 45443 45444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5 45445$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; } 45446if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then : 45447 $as_echo_n "(cached) " >&6 45448else 45449 ac_check_lib_save_LIBS=$LIBS 45450LIBS="-lfuse $LIBS" 45451cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45452/* end confdefs.h. */ 45453 45454/* Override any GCC internal prototype to avoid an error. 45455 Use char because int might match the return type of a GCC 45456 builtin and then its argument prototype would still apply. */ 45457#ifdef __cplusplus 45458extern "C" 45459#endif 45460char fuse_daemonize (); 45461int 45462main () 45463{ 45464return fuse_daemonize (); 45465 ; 45466 return 0; 45467} 45468_ACEOF 45469if ac_fn_c_try_link "$LINENO"; then : 45470 ac_cv_lib_fuse_fuse_daemonize=yes 45471else 45472 ac_cv_lib_fuse_fuse_daemonize=no 45473fi 45474rm -f core conftest.err conftest.$ac_objext \ 45475 conftest$ac_exeext conftest.$ac_ext 45476LIBS=$ac_check_lib_save_LIBS 45477fi 45478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5 45479$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; } 45480if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then : 45481 ac_cv_libfuse_dummy=yes 45482else 45483 ac_cv_libfuse=no 45484fi 45485 45486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5 45487$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; } 45488if ${ac_cv_lib_fuse_fuse_destroy+:} false; then : 45489 $as_echo_n "(cached) " >&6 45490else 45491 ac_check_lib_save_LIBS=$LIBS 45492LIBS="-lfuse $LIBS" 45493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45494/* end confdefs.h. */ 45495 45496/* Override any GCC internal prototype to avoid an error. 45497 Use char because int might match the return type of a GCC 45498 builtin and then its argument prototype would still apply. */ 45499#ifdef __cplusplus 45500extern "C" 45501#endif 45502char fuse_destroy (); 45503int 45504main () 45505{ 45506return fuse_destroy (); 45507 ; 45508 return 0; 45509} 45510_ACEOF 45511if ac_fn_c_try_link "$LINENO"; then : 45512 ac_cv_lib_fuse_fuse_destroy=yes 45513else 45514 ac_cv_lib_fuse_fuse_destroy=no 45515fi 45516rm -f core conftest.err conftest.$ac_objext \ 45517 conftest$ac_exeext conftest.$ac_ext 45518LIBS=$ac_check_lib_save_LIBS 45519fi 45520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5 45521$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; } 45522if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then : 45523 ac_cv_libfuse_dummy=yes 45524else 45525 ac_cv_libfuse=no 45526fi 45527 45528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5 45529$as_echo_n "checking for fuse_mount in -lfuse... " >&6; } 45530if ${ac_cv_lib_fuse_fuse_mount+:} false; then : 45531 $as_echo_n "(cached) " >&6 45532else 45533 ac_check_lib_save_LIBS=$LIBS 45534LIBS="-lfuse $LIBS" 45535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45536/* end confdefs.h. */ 45537 45538/* Override any GCC internal prototype to avoid an error. 45539 Use char because int might match the return type of a GCC 45540 builtin and then its argument prototype would still apply. */ 45541#ifdef __cplusplus 45542extern "C" 45543#endif 45544char fuse_mount (); 45545int 45546main () 45547{ 45548return fuse_mount (); 45549 ; 45550 return 0; 45551} 45552_ACEOF 45553if ac_fn_c_try_link "$LINENO"; then : 45554 ac_cv_lib_fuse_fuse_mount=yes 45555else 45556 ac_cv_lib_fuse_fuse_mount=no 45557fi 45558rm -f core conftest.err conftest.$ac_objext \ 45559 conftest$ac_exeext conftest.$ac_ext 45560LIBS=$ac_check_lib_save_LIBS 45561fi 45562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5 45563$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; } 45564if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then : 45565 ac_cv_libfuse_dummy=yes 45566else 45567 ac_cv_libfuse=no 45568fi 45569 45570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5 45571$as_echo_n "checking for fuse_new in -lfuse... " >&6; } 45572if ${ac_cv_lib_fuse_fuse_new+:} false; then : 45573 $as_echo_n "(cached) " >&6 45574else 45575 ac_check_lib_save_LIBS=$LIBS 45576LIBS="-lfuse $LIBS" 45577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45578/* end confdefs.h. */ 45579 45580/* Override any GCC internal prototype to avoid an error. 45581 Use char because int might match the return type of a GCC 45582 builtin and then its argument prototype would still apply. */ 45583#ifdef __cplusplus 45584extern "C" 45585#endif 45586char fuse_new (); 45587int 45588main () 45589{ 45590return fuse_new (); 45591 ; 45592 return 0; 45593} 45594_ACEOF 45595if ac_fn_c_try_link "$LINENO"; then : 45596 ac_cv_lib_fuse_fuse_new=yes 45597else 45598 ac_cv_lib_fuse_fuse_new=no 45599fi 45600rm -f core conftest.err conftest.$ac_objext \ 45601 conftest$ac_exeext conftest.$ac_ext 45602LIBS=$ac_check_lib_save_LIBS 45603fi 45604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5 45605$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; } 45606if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then : 45607 ac_cv_libfuse_dummy=yes 45608else 45609 ac_cv_libfuse=no 45610fi 45611 45612 45613 ac_cv_libfuse_LIBADD="-lfuse"; 45614 45615fi 45616 45617fi 45618 45619 if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then : 45620 CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26" 45621 for ac_header in osxfuse/fuse.h 45622do : 45623 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 45624if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 45625 cat >>confdefs.h <<_ACEOF 45626#define HAVE_OSXFUSE_FUSE_H 1 45627_ACEOF 45628 45629fi 45630 45631done 45632 45633 45634 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 45635 { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;} 45636 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 45637 for ac_header in osxfuse/fuse.h 45638do : 45639 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 45640if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 45641 cat >>confdefs.h <<_ACEOF 45642#define HAVE_OSXFUSE_FUSE_H 1 45643_ACEOF 45644 45645fi 45646 45647done 45648 45649 45650fi 45651 45652 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 45653 ac_cv_libfuse=no 45654else 45655 ac_cv_libfuse=libosxfuse 45656 45657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5 45658$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; } 45659if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then : 45660 $as_echo_n "(cached) " >&6 45661else 45662 ac_check_lib_save_LIBS=$LIBS 45663LIBS="-losxfuse $LIBS" 45664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45665/* end confdefs.h. */ 45666 45667/* Override any GCC internal prototype to avoid an error. 45668 Use char because int might match the return type of a GCC 45669 builtin and then its argument prototype would still apply. */ 45670#ifdef __cplusplus 45671extern "C" 45672#endif 45673char fuse_daemonize (); 45674int 45675main () 45676{ 45677return fuse_daemonize (); 45678 ; 45679 return 0; 45680} 45681_ACEOF 45682if ac_fn_c_try_link "$LINENO"; then : 45683 ac_cv_lib_osxfuse_fuse_daemonize=yes 45684else 45685 ac_cv_lib_osxfuse_fuse_daemonize=no 45686fi 45687rm -f core conftest.err conftest.$ac_objext \ 45688 conftest$ac_exeext conftest.$ac_ext 45689LIBS=$ac_check_lib_save_LIBS 45690fi 45691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5 45692$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; } 45693if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then : 45694 ac_cv_libfuse_dummy=yes 45695else 45696 ac_cv_libfuse=no 45697fi 45698 45699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5 45700$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; } 45701if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then : 45702 $as_echo_n "(cached) " >&6 45703else 45704 ac_check_lib_save_LIBS=$LIBS 45705LIBS="-losxfuse $LIBS" 45706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45707/* end confdefs.h. */ 45708 45709/* Override any GCC internal prototype to avoid an error. 45710 Use char because int might match the return type of a GCC 45711 builtin and then its argument prototype would still apply. */ 45712#ifdef __cplusplus 45713extern "C" 45714#endif 45715char fuse_destroy (); 45716int 45717main () 45718{ 45719return fuse_destroy (); 45720 ; 45721 return 0; 45722} 45723_ACEOF 45724if ac_fn_c_try_link "$LINENO"; then : 45725 ac_cv_lib_osxfuse_fuse_destroy=yes 45726else 45727 ac_cv_lib_osxfuse_fuse_destroy=no 45728fi 45729rm -f core conftest.err conftest.$ac_objext \ 45730 conftest$ac_exeext conftest.$ac_ext 45731LIBS=$ac_check_lib_save_LIBS 45732fi 45733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5 45734$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; } 45735if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then : 45736 ac_cv_libfuse_dummy=yes 45737else 45738 ac_cv_libfuse=no 45739fi 45740 45741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5 45742$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; } 45743if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then : 45744 $as_echo_n "(cached) " >&6 45745else 45746 ac_check_lib_save_LIBS=$LIBS 45747LIBS="-losxfuse $LIBS" 45748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45749/* end confdefs.h. */ 45750 45751/* Override any GCC internal prototype to avoid an error. 45752 Use char because int might match the return type of a GCC 45753 builtin and then its argument prototype would still apply. */ 45754#ifdef __cplusplus 45755extern "C" 45756#endif 45757char fuse_mount (); 45758int 45759main () 45760{ 45761return fuse_mount (); 45762 ; 45763 return 0; 45764} 45765_ACEOF 45766if ac_fn_c_try_link "$LINENO"; then : 45767 ac_cv_lib_osxfuse_fuse_mount=yes 45768else 45769 ac_cv_lib_osxfuse_fuse_mount=no 45770fi 45771rm -f core conftest.err conftest.$ac_objext \ 45772 conftest$ac_exeext conftest.$ac_ext 45773LIBS=$ac_check_lib_save_LIBS 45774fi 45775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5 45776$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; } 45777if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then : 45778 ac_cv_libfuse_dummy=yes 45779else 45780 ac_cv_libfuse=no 45781fi 45782 45783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5 45784$as_echo_n "checking for fuse_new in -losxfuse... " >&6; } 45785if ${ac_cv_lib_osxfuse_fuse_new+:} false; then : 45786 $as_echo_n "(cached) " >&6 45787else 45788 ac_check_lib_save_LIBS=$LIBS 45789LIBS="-losxfuse $LIBS" 45790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45791/* end confdefs.h. */ 45792 45793/* Override any GCC internal prototype to avoid an error. 45794 Use char because int might match the return type of a GCC 45795 builtin and then its argument prototype would still apply. */ 45796#ifdef __cplusplus 45797extern "C" 45798#endif 45799char fuse_new (); 45800int 45801main () 45802{ 45803return fuse_new (); 45804 ; 45805 return 0; 45806} 45807_ACEOF 45808if ac_fn_c_try_link "$LINENO"; then : 45809 ac_cv_lib_osxfuse_fuse_new=yes 45810else 45811 ac_cv_lib_osxfuse_fuse_new=no 45812fi 45813rm -f core conftest.err conftest.$ac_objext \ 45814 conftest$ac_exeext conftest.$ac_ext 45815LIBS=$ac_check_lib_save_LIBS 45816fi 45817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5 45818$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; } 45819if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then : 45820 ac_cv_libfuse_dummy=yes 45821else 45822 ac_cv_libfuse=no 45823fi 45824 45825 45826 ac_cv_libfuse_LIBADD="-losxfuse"; 45827 45828fi 45829 45830fi 45831 45832fi 45833 45834 if test "x$ac_cv_libfuse" = xlibfuse; then : 45835 45836$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h 45837 45838 45839fi 45840 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 45841 45842$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h 45843 45844 45845fi 45846 45847 if test "x$ac_cv_libfuse" != xno; then : 45848 HAVE_LIBFUSE=1 45849 45850else 45851 HAVE_LIBFUSE=0 45852 45853 45854fi 45855 45856 45857 if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then : 45858 LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS 45859 45860 45861fi 45862 if test "x$ac_cv_libfuse_LIBADD" != "x"; then : 45863 LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD 45864 45865 45866fi 45867 45868 if test "x$ac_cv_libfuse" = xlibfuse; then : 45869 ax_libfuse_pc_libs_private=-lfuse 45870 45871 45872fi 45873 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 45874 ax_libfuse_pc_libs_private=-losxfuse 45875 45876 45877fi 45878 45879 if test "x$ac_cv_libfuse" = xlibfuse; then : 45880 ax_libfuse_spec_requires=fuse-libs 45881 45882 ax_libfuse_spec_build_requires=fuse-devel 45883 45884 45885fi 45886 45887 45888for ac_header in signal.h sys/signal.h unistd.h 45889do : 45890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 45891ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 45892if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 45893 cat >>confdefs.h <<_ACEOF 45894#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 45895_ACEOF 45896 45897fi 45898 45899done 45900 45901 45902 for ac_func in close getopt setvbuf 45903do : 45904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 45905ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 45906if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 45907 cat >>confdefs.h <<_ACEOF 45908#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 45909_ACEOF 45910 45911fi 45912done 45913 45914 45915 if test "x$ac_cv_func_close" != xyes; then : 45916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45917$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45918as_fn_error 1 "Missing function: close 45919See \`config.log' for more details" "$LINENO" 5; } 45920 45921fi 45922 45923 for ac_header in errno.h 45924do : 45925 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 45926if test "x$ac_cv_header_errno_h" = xyes; then : 45927 cat >>confdefs.h <<_ACEOF 45928#define HAVE_ERRNO_H 1 45929_ACEOF 45930 45931fi 45932 45933done 45934 45935 45936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 45937$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 45938if ${ac_cv_header_time+:} false; then : 45939 $as_echo_n "(cached) " >&6 45940else 45941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45942/* end confdefs.h. */ 45943#include <sys/types.h> 45944#include <sys/time.h> 45945#include <time.h> 45946 45947int 45948main () 45949{ 45950if ((struct tm *) 0) 45951return 0; 45952 ; 45953 return 0; 45954} 45955_ACEOF 45956if ac_fn_c_try_compile "$LINENO"; then : 45957 ac_cv_header_time=yes 45958else 45959 ac_cv_header_time=no 45960fi 45961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 45962fi 45963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 45964$as_echo "$ac_cv_header_time" >&6; } 45965if test $ac_cv_header_time = yes; then 45966 45967$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 45968 45969fi 45970 45971 45972 if test "x$ac_cv_enable_winapi" = xno; then : 45973 for ac_func in clock_gettime getegid geteuid time 45974do : 45975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 45976ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 45977if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 45978 cat >>confdefs.h <<_ACEOF 45979#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 45980_ACEOF 45981 45982fi 45983done 45984 45985 45986fi 45987 45988 45989if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 45990 case $host in #( 45991 *cygwin* | *mingw* | *msys*) : 45992 45993$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 45994 45995 HAVE_DLLMAIN=1 45996 45997 45998 LIBVSHADOW_DLL_EXPORT="-DLIBVSHADOW_DLL_EXPORT" 45999 46000 46001 LIBVSHADOW_DLL_IMPORT="-DLIBVSHADOW_DLL_IMPORT" 46002 46003 ;; #( 46004 *) : 46005 ;; 46006esac 46007 46008fi 46009 46010 46011for ac_header in dlfcn.h 46012do : 46013 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 46014if test "x$ac_cv_header_dlfcn_h" = xyes; then : 46015 cat >>confdefs.h <<_ACEOF 46016#define HAVE_DLFCN_H 1 46017_ACEOF 46018 46019fi 46020 46021done 46022 46023 46024 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 46025do : 46026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 46027ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 46028if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 46029 cat >>confdefs.h <<_ACEOF 46030#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 46031_ACEOF 46032 46033fi 46034done 46035 46036 46037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 46038$as_echo_n "checking for dlsym in -ldl... " >&6; } 46039if ${ac_cv_lib_dl_dlsym+:} false; then : 46040 $as_echo_n "(cached) " >&6 46041else 46042 ac_check_lib_save_LIBS=$LIBS 46043LIBS="-ldl $LIBS" 46044cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46045/* end confdefs.h. */ 46046 46047/* Override any GCC internal prototype to avoid an error. 46048 Use char because int might match the return type of a GCC 46049 builtin and then its argument prototype would still apply. */ 46050#ifdef __cplusplus 46051extern "C" 46052#endif 46053char dlsym (); 46054int 46055main () 46056{ 46057return dlsym (); 46058 ; 46059 return 0; 46060} 46061_ACEOF 46062if ac_fn_c_try_link "$LINENO"; then : 46063 ac_cv_lib_dl_dlsym=yes 46064else 46065 ac_cv_lib_dl_dlsym=no 46066fi 46067rm -f core conftest.err conftest.$ac_objext \ 46068 conftest$ac_exeext conftest.$ac_ext 46069LIBS=$ac_check_lib_save_LIBS 46070fi 46071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 46072$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 46073if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 46074 cat >>confdefs.h <<_ACEOF 46075#define HAVE_LIBDL 1 46076_ACEOF 46077 46078 LIBS="-ldl $LIBS" 46079 46080fi 46081 46082 46083 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 46084 46085$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 46086 46087 46088fi 46089 46090 if test "x${LIB_FUZZING_ENGINE}" != x; then 46091 HAVE_LIB_FUZZING_ENGINE_TRUE= 46092 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 46093else 46094 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 46095 HAVE_LIB_FUZZING_ENGINE_FALSE= 46096fi 46097 46098 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 46099 46100 46101 46102CFLAGS="$CFLAGS -Wall"; 46103 46104if 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; then : 46105 libvshadow_spec_requires=Requires: 46106 46107 46108fi 46109 46110if test "x$ac_cv_libfuse" != xno; then : 46111 libvshadow_spec_tools_build_requires=BuildRequires: 46112 46113 46114fi 46115 46116DPKG_DATE=`date -R 2> /dev/null` 46117 46118 46119SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 46120 46121 46122ac_config_files="$ac_config_files Makefile" 46123 46124ac_config_files="$ac_config_files include/Makefile" 46125 46126ac_config_files="$ac_config_files common/Makefile" 46127 46128ac_config_files="$ac_config_files libcerror/Makefile" 46129 46130ac_config_files="$ac_config_files libcthreads/Makefile" 46131 46132ac_config_files="$ac_config_files libcdata/Makefile" 46133 46134ac_config_files="$ac_config_files libclocale/Makefile" 46135 46136ac_config_files="$ac_config_files libcnotify/Makefile" 46137 46138ac_config_files="$ac_config_files libcsplit/Makefile" 46139 46140ac_config_files="$ac_config_files libuna/Makefile" 46141 46142ac_config_files="$ac_config_files libcfile/Makefile" 46143 46144ac_config_files="$ac_config_files libcpath/Makefile" 46145 46146ac_config_files="$ac_config_files libbfio/Makefile" 46147 46148ac_config_files="$ac_config_files libfdatetime/Makefile" 46149 46150ac_config_files="$ac_config_files libfguid/Makefile" 46151 46152ac_config_files="$ac_config_files libvshadow/Makefile" 46153 46154ac_config_files="$ac_config_files pyvshadow/Makefile" 46155 46156ac_config_files="$ac_config_files pyvshadow-python2/Makefile" 46157 46158ac_config_files="$ac_config_files pyvshadow-python3/Makefile" 46159 46160ac_config_files="$ac_config_files vshadowtools/Makefile" 46161 46162ac_config_files="$ac_config_files po/Makefile.in" 46163 46164ac_config_files="$ac_config_files po/Makevars" 46165 46166ac_config_files="$ac_config_files manuals/Makefile" 46167 46168ac_config_files="$ac_config_files tests/Makefile" 46169 46170ac_config_files="$ac_config_files ossfuzz/Makefile" 46171 46172ac_config_files="$ac_config_files msvscpp/Makefile" 46173 46174ac_config_files="$ac_config_files include/libvshadow.h" 46175 46176ac_config_files="$ac_config_files include/libvshadow/definitions.h" 46177 46178ac_config_files="$ac_config_files include/libvshadow/features.h" 46179 46180ac_config_files="$ac_config_files include/libvshadow/types.h" 46181 46182ac_config_files="$ac_config_files libvshadow/libvshadow_definitions.h" 46183 46184ac_config_files="$ac_config_files common/types.h" 46185 46186ac_config_files="$ac_config_files dpkg/changelog" 46187 46188ac_config_files="$ac_config_files libvshadow/libvshadow.rc" 46189 46190ac_config_files="$ac_config_files libvshadow.pc" 46191 46192ac_config_files="$ac_config_files libvshadow.spec" 46193 46194ac_config_headers="$ac_config_headers common/config.h" 46195 46196 46197cat >confcache <<\_ACEOF 46198# This file is a shell script that caches the results of configure 46199# tests run on this system so they can be shared between configure 46200# scripts and configure runs, see configure's option --config-cache. 46201# It is not useful on other systems. If it contains results you don't 46202# want to keep, you may remove or edit it. 46203# 46204# config.status only pays attention to the cache file if you give it 46205# the --recheck option to rerun configure. 46206# 46207# `ac_cv_env_foo' variables (set or unset) will be overridden when 46208# loading this file, other *unset* `ac_cv_foo' will be assigned the 46209# following values. 46210 46211_ACEOF 46212 46213# The following way of writing the cache mishandles newlines in values, 46214# but we know of no workaround that is simple, portable, and efficient. 46215# So, we kill variables containing newlines. 46216# Ultrix sh set writes to stderr and can't be redirected directly, 46217# and sets the high bit in the cache file unless we assign to the vars. 46218( 46219 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 46220 eval ac_val=\$$ac_var 46221 case $ac_val in #( 46222 *${as_nl}*) 46223 case $ac_var in #( 46224 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 46225$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 46226 esac 46227 case $ac_var in #( 46228 _ | IFS | as_nl) ;; #( 46229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 46230 *) { eval $ac_var=; unset $ac_var;} ;; 46231 esac ;; 46232 esac 46233 done 46234 46235 (set) 2>&1 | 46236 case $as_nl`(ac_space=' '; set) 2>&1` in #( 46237 *${as_nl}ac_space=\ *) 46238 # `set' does not quote correctly, so add quotes: double-quote 46239 # substitution turns \\\\ into \\, and sed turns \\ into \. 46240 sed -n \ 46241 "s/'/'\\\\''/g; 46242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 46243 ;; #( 46244 *) 46245 # `set' quotes correctly as required by POSIX, so do not add quotes. 46246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 46247 ;; 46248 esac | 46249 sort 46250) | 46251 sed ' 46252 /^ac_cv_env_/b end 46253 t clear 46254 :clear 46255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 46256 t end 46257 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 46258 :end' >>confcache 46259if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 46260 if test -w "$cache_file"; then 46261 if test "x$cache_file" != "x/dev/null"; then 46262 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 46263$as_echo "$as_me: updating cache $cache_file" >&6;} 46264 if test ! -f "$cache_file" || test -h "$cache_file"; then 46265 cat confcache >"$cache_file" 46266 else 46267 case $cache_file in #( 46268 */* | ?:*) 46269 mv -f confcache "$cache_file"$$ && 46270 mv -f "$cache_file"$$ "$cache_file" ;; #( 46271 *) 46272 mv -f confcache "$cache_file" ;; 46273 esac 46274 fi 46275 fi 46276 else 46277 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 46278$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 46279 fi 46280fi 46281rm -f confcache 46282 46283test "x$prefix" = xNONE && prefix=$ac_default_prefix 46284# Let make expand exec_prefix. 46285test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 46286 46287DEFS=-DHAVE_CONFIG_H 46288 46289ac_libobjs= 46290ac_ltlibobjs= 46291U= 46292for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 46293 # 1. Remove the extension, and $U if already installed. 46294 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 46295 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 46296 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 46297 # will be set to the directory where LIBOBJS objects are built. 46298 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 46299 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 46300done 46301LIBOBJS=$ac_libobjs 46302 46303LTLIBOBJS=$ac_ltlibobjs 46304 46305 46306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 46307$as_echo_n "checking that generated files are newer than configure... " >&6; } 46308 if test -n "$am_sleep_pid"; then 46309 # Hide warnings about reused PIDs. 46310 wait $am_sleep_pid 2>/dev/null 46311 fi 46312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 46313$as_echo "done" >&6; } 46314 if test -n "$EXEEXT"; then 46315 am__EXEEXT_TRUE= 46316 am__EXEEXT_FALSE='#' 46317else 46318 am__EXEEXT_TRUE='#' 46319 am__EXEEXT_FALSE= 46320fi 46321 46322if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 46323 as_fn_error $? "conditional \"AMDEP\" was never defined. 46324Usually this means the macro was only invoked conditionally." "$LINENO" 5 46325fi 46326if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 46327 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 46328Usually this means the macro was only invoked conditionally." "$LINENO" 5 46329fi 46330if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 46331 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 46332Usually this means the macro was only invoked conditionally." "$LINENO" 5 46333fi 46334if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 46335 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 46336Usually this means the macro was only invoked conditionally." "$LINENO" 5 46337fi 46338if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 46339 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 46340Usually this means the macro was only invoked conditionally." "$LINENO" 5 46341fi 46342if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 46343 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 46344Usually this means the macro was only invoked conditionally." "$LINENO" 5 46345fi 46346if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 46347 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 46348Usually this means the macro was only invoked conditionally." "$LINENO" 5 46349fi 46350if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 46351 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 46352Usually this means the macro was only invoked conditionally." "$LINENO" 5 46353fi 46354if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 46355 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 46356Usually this means the macro was only invoked conditionally." "$LINENO" 5 46357fi 46358if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 46359 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 46360Usually this means the macro was only invoked conditionally." "$LINENO" 5 46361fi 46362if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 46363 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 46364Usually this means the macro was only invoked conditionally." "$LINENO" 5 46365fi 46366if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 46367 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 46368Usually this means the macro was only invoked conditionally." "$LINENO" 5 46369fi 46370if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 46371 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 46372Usually this means the macro was only invoked conditionally." "$LINENO" 5 46373fi 46374if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then 46375 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined. 46376Usually this means the macro was only invoked conditionally." "$LINENO" 5 46377fi 46378if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then 46379 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined. 46380Usually this means the macro was only invoked conditionally." "$LINENO" 5 46381fi 46382if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 46383 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 46384Usually this means the macro was only invoked conditionally." "$LINENO" 5 46385fi 46386if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 46387 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 46388Usually this means the macro was only invoked conditionally." "$LINENO" 5 46389fi 46390if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 46391 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 46392Usually this means the macro was only invoked conditionally." "$LINENO" 5 46393fi 46394if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 46395 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 46396Usually this means the macro was only invoked conditionally." "$LINENO" 5 46397fi 46398if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 46399 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 46400Usually this means the macro was only invoked conditionally." "$LINENO" 5 46401fi 46402 46403: "${CONFIG_STATUS=./config.status}" 46404ac_write_fail=0 46405ac_clean_files_save=$ac_clean_files 46406ac_clean_files="$ac_clean_files $CONFIG_STATUS" 46407{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 46408$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 46409as_write_fail=0 46410cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 46411#! $SHELL 46412# Generated by $as_me. 46413# Run this file to recreate the current configuration. 46414# Compiler output produced by configure, useful for debugging 46415# configure, is in config.log if it exists. 46416 46417debug=false 46418ac_cs_recheck=false 46419ac_cs_silent=false 46420 46421SHELL=\${CONFIG_SHELL-$SHELL} 46422export SHELL 46423_ASEOF 46424cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 46425## -------------------- ## 46426## M4sh Initialization. ## 46427## -------------------- ## 46428 46429# Be more Bourne compatible 46430DUALCASE=1; export DUALCASE # for MKS sh 46431if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 46432 emulate sh 46433 NULLCMD=: 46434 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 46435 # is contrary to our usage. Disable this feature. 46436 alias -g '${1+"$@"}'='"$@"' 46437 setopt NO_GLOB_SUBST 46438else 46439 case `(set -o) 2>/dev/null` in #( 46440 *posix*) : 46441 set -o posix ;; #( 46442 *) : 46443 ;; 46444esac 46445fi 46446 46447 46448as_nl=' 46449' 46450export as_nl 46451# Printing a long string crashes Solaris 7 /usr/bin/printf. 46452as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 46453as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46454as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 46455# Prefer a ksh shell builtin over an external printf program on Solaris, 46456# but without wasting forks for bash or zsh. 46457if test -z "$BASH_VERSION$ZSH_VERSION" \ 46458 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 46459 as_echo='print -r --' 46460 as_echo_n='print -rn --' 46461elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 46462 as_echo='printf %s\n' 46463 as_echo_n='printf %s' 46464else 46465 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 46466 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 46467 as_echo_n='/usr/ucb/echo -n' 46468 else 46469 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 46470 as_echo_n_body='eval 46471 arg=$1; 46472 case $arg in #( 46473 *"$as_nl"*) 46474 expr "X$arg" : "X\\(.*\\)$as_nl"; 46475 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 46476 esac; 46477 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 46478 ' 46479 export as_echo_n_body 46480 as_echo_n='sh -c $as_echo_n_body as_echo' 46481 fi 46482 export as_echo_body 46483 as_echo='sh -c $as_echo_body as_echo' 46484fi 46485 46486# The user is always right. 46487if test "${PATH_SEPARATOR+set}" != set; then 46488 PATH_SEPARATOR=: 46489 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 46490 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 46491 PATH_SEPARATOR=';' 46492 } 46493fi 46494 46495 46496# IFS 46497# We need space, tab and new line, in precisely that order. Quoting is 46498# there to prevent editors from complaining about space-tab. 46499# (If _AS_PATH_WALK were called with IFS unset, it would disable word 46500# splitting by setting IFS to empty value.) 46501IFS=" "" $as_nl" 46502 46503# Find who we are. Look in the path if we contain no directory separator. 46504as_myself= 46505case $0 in #(( 46506 *[\\/]* ) as_myself=$0 ;; 46507 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46508for as_dir in $PATH 46509do 46510 IFS=$as_save_IFS 46511 test -z "$as_dir" && as_dir=. 46512 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 46513 done 46514IFS=$as_save_IFS 46515 46516 ;; 46517esac 46518# We did not find ourselves, most probably we were run as `sh COMMAND' 46519# in which case we are not to be found in the path. 46520if test "x$as_myself" = x; then 46521 as_myself=$0 46522fi 46523if test ! -f "$as_myself"; then 46524 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 46525 exit 1 46526fi 46527 46528# Unset variables that we do not need and which cause bugs (e.g. in 46529# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 46530# suppresses any "Segmentation fault" message there. '((' could 46531# trigger a bug in pdksh 5.2.14. 46532for as_var in BASH_ENV ENV MAIL MAILPATH 46533do eval test x\${$as_var+set} = xset \ 46534 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 46535done 46536PS1='$ ' 46537PS2='> ' 46538PS4='+ ' 46539 46540# NLS nuisances. 46541LC_ALL=C 46542export LC_ALL 46543LANGUAGE=C 46544export LANGUAGE 46545 46546# CDPATH. 46547(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 46548 46549 46550# as_fn_error STATUS ERROR [LINENO LOG_FD] 46551# ---------------------------------------- 46552# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 46553# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 46554# script with STATUS, using 1 if that was 0. 46555as_fn_error () 46556{ 46557 as_status=$1; test $as_status -eq 0 && as_status=1 46558 if test "$4"; then 46559 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 46560 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 46561 fi 46562 $as_echo "$as_me: error: $2" >&2 46563 as_fn_exit $as_status 46564} # as_fn_error 46565 46566 46567# as_fn_set_status STATUS 46568# ----------------------- 46569# Set $? to STATUS, without forking. 46570as_fn_set_status () 46571{ 46572 return $1 46573} # as_fn_set_status 46574 46575# as_fn_exit STATUS 46576# ----------------- 46577# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 46578as_fn_exit () 46579{ 46580 set +e 46581 as_fn_set_status $1 46582 exit $1 46583} # as_fn_exit 46584 46585# as_fn_unset VAR 46586# --------------- 46587# Portably unset VAR. 46588as_fn_unset () 46589{ 46590 { eval $1=; unset $1;} 46591} 46592as_unset=as_fn_unset 46593# as_fn_append VAR VALUE 46594# ---------------------- 46595# Append the text in VALUE to the end of the definition contained in VAR. Take 46596# advantage of any shell optimizations that allow amortized linear growth over 46597# repeated appends, instead of the typical quadratic growth present in naive 46598# implementations. 46599if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 46600 eval 'as_fn_append () 46601 { 46602 eval $1+=\$2 46603 }' 46604else 46605 as_fn_append () 46606 { 46607 eval $1=\$$1\$2 46608 } 46609fi # as_fn_append 46610 46611# as_fn_arith ARG... 46612# ------------------ 46613# Perform arithmetic evaluation on the ARGs, and store the result in the 46614# global $as_val. Take advantage of shells that can avoid forks. The arguments 46615# must be portable across $(()) and expr. 46616if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 46617 eval 'as_fn_arith () 46618 { 46619 as_val=$(( $* )) 46620 }' 46621else 46622 as_fn_arith () 46623 { 46624 as_val=`expr "$@" || test $? -eq 1` 46625 } 46626fi # as_fn_arith 46627 46628 46629if expr a : '\(a\)' >/dev/null 2>&1 && 46630 test "X`expr 00001 : '.*\(...\)'`" = X001; then 46631 as_expr=expr 46632else 46633 as_expr=false 46634fi 46635 46636if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 46637 as_basename=basename 46638else 46639 as_basename=false 46640fi 46641 46642if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 46643 as_dirname=dirname 46644else 46645 as_dirname=false 46646fi 46647 46648as_me=`$as_basename -- "$0" || 46649$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 46650 X"$0" : 'X\(//\)$' \| \ 46651 X"$0" : 'X\(/\)' \| . 2>/dev/null || 46652$as_echo X/"$0" | 46653 sed '/^.*\/\([^/][^/]*\)\/*$/{ 46654 s//\1/ 46655 q 46656 } 46657 /^X\/\(\/\/\)$/{ 46658 s//\1/ 46659 q 46660 } 46661 /^X\/\(\/\).*/{ 46662 s//\1/ 46663 q 46664 } 46665 s/.*/./; q'` 46666 46667# Avoid depending upon Character Ranges. 46668as_cr_letters='abcdefghijklmnopqrstuvwxyz' 46669as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 46670as_cr_Letters=$as_cr_letters$as_cr_LETTERS 46671as_cr_digits='0123456789' 46672as_cr_alnum=$as_cr_Letters$as_cr_digits 46673 46674ECHO_C= ECHO_N= ECHO_T= 46675case `echo -n x` in #((((( 46676-n*) 46677 case `echo 'xy\c'` in 46678 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 46679 xy) ECHO_C='\c';; 46680 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 46681 ECHO_T=' ';; 46682 esac;; 46683*) 46684 ECHO_N='-n';; 46685esac 46686 46687rm -f conf$$ conf$$.exe conf$$.file 46688if test -d conf$$.dir; then 46689 rm -f conf$$.dir/conf$$.file 46690else 46691 rm -f conf$$.dir 46692 mkdir conf$$.dir 2>/dev/null 46693fi 46694if (echo >conf$$.file) 2>/dev/null; then 46695 if ln -s conf$$.file conf$$ 2>/dev/null; then 46696 as_ln_s='ln -s' 46697 # ... but there are two gotchas: 46698 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 46699 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 46700 # In both cases, we have to default to `cp -pR'. 46701 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 46702 as_ln_s='cp -pR' 46703 elif ln conf$$.file conf$$ 2>/dev/null; then 46704 as_ln_s=ln 46705 else 46706 as_ln_s='cp -pR' 46707 fi 46708else 46709 as_ln_s='cp -pR' 46710fi 46711rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 46712rmdir conf$$.dir 2>/dev/null 46713 46714 46715# as_fn_mkdir_p 46716# ------------- 46717# Create "$as_dir" as a directory, including parents if necessary. 46718as_fn_mkdir_p () 46719{ 46720 46721 case $as_dir in #( 46722 -*) as_dir=./$as_dir;; 46723 esac 46724 test -d "$as_dir" || eval $as_mkdir_p || { 46725 as_dirs= 46726 while :; do 46727 case $as_dir in #( 46728 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 46729 *) as_qdir=$as_dir;; 46730 esac 46731 as_dirs="'$as_qdir' $as_dirs" 46732 as_dir=`$as_dirname -- "$as_dir" || 46733$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46734 X"$as_dir" : 'X\(//\)[^/]' \| \ 46735 X"$as_dir" : 'X\(//\)$' \| \ 46736 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 46737$as_echo X"$as_dir" | 46738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 46739 s//\1/ 46740 q 46741 } 46742 /^X\(\/\/\)[^/].*/{ 46743 s//\1/ 46744 q 46745 } 46746 /^X\(\/\/\)$/{ 46747 s//\1/ 46748 q 46749 } 46750 /^X\(\/\).*/{ 46751 s//\1/ 46752 q 46753 } 46754 s/.*/./; q'` 46755 test -d "$as_dir" && break 46756 done 46757 test -z "$as_dirs" || eval "mkdir $as_dirs" 46758 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 46759 46760 46761} # as_fn_mkdir_p 46762if mkdir -p . 2>/dev/null; then 46763 as_mkdir_p='mkdir -p "$as_dir"' 46764else 46765 test -d ./-p && rmdir ./-p 46766 as_mkdir_p=false 46767fi 46768 46769 46770# as_fn_executable_p FILE 46771# ----------------------- 46772# Test if FILE is an executable regular file. 46773as_fn_executable_p () 46774{ 46775 test -f "$1" && test -x "$1" 46776} # as_fn_executable_p 46777as_test_x='test -x' 46778as_executable_p=as_fn_executable_p 46779 46780# Sed expression to map a string onto a valid CPP name. 46781as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 46782 46783# Sed expression to map a string onto a valid variable name. 46784as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 46785 46786 46787exec 6>&1 46788## ----------------------------------- ## 46789## Main body of $CONFIG_STATUS script. ## 46790## ----------------------------------- ## 46791_ASEOF 46792test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 46793 46794cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 46795# Save the log message, to keep $0 and so on meaningful, and to 46796# report actual input values of CONFIG_FILES etc. instead of their 46797# values after options handling. 46798ac_log=" 46799This file was extended by libvshadow $as_me 20210425, which was 46800generated by GNU Autoconf 2.69. Invocation command line was 46801 46802 CONFIG_FILES = $CONFIG_FILES 46803 CONFIG_HEADERS = $CONFIG_HEADERS 46804 CONFIG_LINKS = $CONFIG_LINKS 46805 CONFIG_COMMANDS = $CONFIG_COMMANDS 46806 $ $0 $@ 46807 46808on `(hostname || uname -n) 2>/dev/null | sed 1q` 46809" 46810 46811_ACEOF 46812 46813case $ac_config_files in *" 46814"*) set x $ac_config_files; shift; ac_config_files=$*;; 46815esac 46816 46817case $ac_config_headers in *" 46818"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 46819esac 46820 46821 46822cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 46823# Files that config.status was made for. 46824config_files="$ac_config_files" 46825config_headers="$ac_config_headers" 46826config_commands="$ac_config_commands" 46827 46828_ACEOF 46829 46830cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 46831ac_cs_usage="\ 46832\`$as_me' instantiates files and other configuration actions 46833from templates according to the current configuration. Unless the files 46834and actions are specified as TAGs, all are instantiated by default. 46835 46836Usage: $0 [OPTION]... [TAG]... 46837 46838 -h, --help print this help, then exit 46839 -V, --version print version number and configuration settings, then exit 46840 --config print configuration, then exit 46841 -q, --quiet, --silent 46842 do not print progress messages 46843 -d, --debug don't remove temporary files 46844 --recheck update $as_me by reconfiguring in the same conditions 46845 --file=FILE[:TEMPLATE] 46846 instantiate the configuration file FILE 46847 --header=FILE[:TEMPLATE] 46848 instantiate the configuration header FILE 46849 46850Configuration files: 46851$config_files 46852 46853Configuration headers: 46854$config_headers 46855 46856Configuration commands: 46857$config_commands 46858 46859Report bugs to <joachim.metz@gmail.com>." 46860 46861_ACEOF 46862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 46863ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 46864ac_cs_version="\\ 46865libvshadow config.status 20210425 46866configured by $0, generated by GNU Autoconf 2.69, 46867 with options \\"\$ac_cs_config\\" 46868 46869Copyright (C) 2012 Free Software Foundation, Inc. 46870This config.status script is free software; the Free Software Foundation 46871gives unlimited permission to copy, distribute and modify it." 46872 46873ac_pwd='$ac_pwd' 46874srcdir='$srcdir' 46875INSTALL='$INSTALL' 46876MKDIR_P='$MKDIR_P' 46877AWK='$AWK' 46878test -n "\$AWK" || AWK=awk 46879_ACEOF 46880 46881cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 46882# The default lists apply if the user does not specify any file. 46883ac_need_defaults=: 46884while test $# != 0 46885do 46886 case $1 in 46887 --*=?*) 46888 ac_option=`expr "X$1" : 'X\([^=]*\)='` 46889 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 46890 ac_shift=: 46891 ;; 46892 --*=) 46893 ac_option=`expr "X$1" : 'X\([^=]*\)='` 46894 ac_optarg= 46895 ac_shift=: 46896 ;; 46897 *) 46898 ac_option=$1 46899 ac_optarg=$2 46900 ac_shift=shift 46901 ;; 46902 esac 46903 46904 case $ac_option in 46905 # Handling of the options. 46906 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 46907 ac_cs_recheck=: ;; 46908 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 46909 $as_echo "$ac_cs_version"; exit ;; 46910 --config | --confi | --conf | --con | --co | --c ) 46911 $as_echo "$ac_cs_config"; exit ;; 46912 --debug | --debu | --deb | --de | --d | -d ) 46913 debug=: ;; 46914 --file | --fil | --fi | --f ) 46915 $ac_shift 46916 case $ac_optarg in 46917 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 46918 '') as_fn_error $? "missing file argument" ;; 46919 esac 46920 as_fn_append CONFIG_FILES " '$ac_optarg'" 46921 ac_need_defaults=false;; 46922 --header | --heade | --head | --hea ) 46923 $ac_shift 46924 case $ac_optarg in 46925 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 46926 esac 46927 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 46928 ac_need_defaults=false;; 46929 --he | --h) 46930 # Conflict between --help and --header 46931 as_fn_error $? "ambiguous option: \`$1' 46932Try \`$0 --help' for more information.";; 46933 --help | --hel | -h ) 46934 $as_echo "$ac_cs_usage"; exit ;; 46935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 46936 | -silent | --silent | --silen | --sile | --sil | --si | --s) 46937 ac_cs_silent=: ;; 46938 46939 # This is an error. 46940 -*) as_fn_error $? "unrecognized option: \`$1' 46941Try \`$0 --help' for more information." ;; 46942 46943 *) as_fn_append ac_config_targets " $1" 46944 ac_need_defaults=false ;; 46945 46946 esac 46947 shift 46948done 46949 46950ac_configure_extra_args= 46951 46952if $ac_cs_silent; then 46953 exec 6>/dev/null 46954 ac_configure_extra_args="$ac_configure_extra_args --silent" 46955fi 46956 46957_ACEOF 46958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 46959if \$ac_cs_recheck; then 46960 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 46961 shift 46962 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 46963 CONFIG_SHELL='$SHELL' 46964 export CONFIG_SHELL 46965 exec "\$@" 46966fi 46967 46968_ACEOF 46969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 46970exec 5>>config.log 46971{ 46972 echo 46973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 46974## Running $as_me. ## 46975_ASBOX 46976 $as_echo "$ac_log" 46977} >&5 46978 46979_ACEOF 46980cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 46981# 46982# INIT-COMMANDS 46983# 46984AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 46985 46986 46987# The HP-UX ksh and POSIX shell print the target directory to stdout 46988# if CDPATH is set. 46989(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 46990 46991sed_quote_subst='$sed_quote_subst' 46992double_quote_subst='$double_quote_subst' 46993delay_variable_subst='$delay_variable_subst' 46994AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 46995DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 46996OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 46997macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 46998macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 46999enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 47000enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 47001pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 47002enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 47003shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 47004SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 47005ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 47006PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 47007host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 47008host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 47009host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 47010build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 47011build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 47012build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 47013SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 47014Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 47015GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 47016EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 47017FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 47018LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 47019NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 47020LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 47021max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 47022ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 47023exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 47024lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 47025lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 47026lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 47027lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 47028lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 47029reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 47030reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 47031deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 47032file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 47033file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 47034want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 47035sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 47036AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 47037AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 47038archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 47039STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 47040RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 47041old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 47042old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 47043old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 47044lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 47045CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 47046CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 47047compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 47048GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 47049lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 47050lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 47051lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 47052lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 47053lt_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"`' 47054lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 47055nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 47056lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 47057lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 47058objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 47059MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 47060lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 47061lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 47062lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 47063lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 47064lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 47065need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 47066MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 47067DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 47068NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 47069LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 47070OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 47071OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 47072libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 47073shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 47074extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 47075archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 47076enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 47077export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 47078whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 47079compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 47080old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 47081old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 47082archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 47083archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 47084module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 47085module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 47086with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 47087allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 47088no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 47089hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 47090hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 47091hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 47092hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 47093hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 47094hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 47095hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 47096inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 47097link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 47098always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 47099export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 47100exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 47101include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 47102prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 47103postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 47104file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 47105variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 47106need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 47107need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 47108version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 47109runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 47110shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 47111shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 47112libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 47113library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 47114soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 47115install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 47116postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 47117postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 47118finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 47119finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 47120hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 47121sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 47122configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 47123configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 47124hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 47125enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 47126enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 47127enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 47128old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 47129striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 47130compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 47131predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 47132postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 47133predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 47134postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 47135compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 47136LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 47137reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 47138reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47139old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47140compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 47141GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 47142lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 47143lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 47144lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 47145lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 47146lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 47147archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 47148enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 47149export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47150whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47151compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 47152old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47153old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47154archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47155archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47156module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47157module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47158with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 47159allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 47160no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 47161hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 47162hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 47163hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 47164hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 47165hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 47166hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 47167hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 47168inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 47169link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 47170always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 47171export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47172exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 47173include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 47174prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47175postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 47176file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 47177hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 47178compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 47179predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 47180postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 47181predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 47182postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 47183compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 47184 47185LTCC='$LTCC' 47186LTCFLAGS='$LTCFLAGS' 47187compiler='$compiler_DEFAULT' 47188 47189# A function that is used when there is no print builtin or printf. 47190func_fallback_echo () 47191{ 47192 eval 'cat <<_LTECHO_EOF 47193\$1 47194_LTECHO_EOF' 47195} 47196 47197# Quote evaled strings. 47198for var in AS \ 47199DLLTOOL \ 47200OBJDUMP \ 47201SHELL \ 47202ECHO \ 47203PATH_SEPARATOR \ 47204SED \ 47205GREP \ 47206EGREP \ 47207FGREP \ 47208LD \ 47209NM \ 47210LN_S \ 47211lt_SP2NL \ 47212lt_NL2SP \ 47213reload_flag \ 47214deplibs_check_method \ 47215file_magic_cmd \ 47216file_magic_glob \ 47217want_nocaseglob \ 47218sharedlib_from_linklib_cmd \ 47219AR \ 47220AR_FLAGS \ 47221archiver_list_spec \ 47222STRIP \ 47223RANLIB \ 47224CC \ 47225CFLAGS \ 47226compiler \ 47227lt_cv_sys_global_symbol_pipe \ 47228lt_cv_sys_global_symbol_to_cdecl \ 47229lt_cv_sys_global_symbol_to_import \ 47230lt_cv_sys_global_symbol_to_c_name_address \ 47231lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 47232lt_cv_nm_interface \ 47233nm_file_list_spec \ 47234lt_cv_truncate_bin \ 47235lt_prog_compiler_no_builtin_flag \ 47236lt_prog_compiler_pic \ 47237lt_prog_compiler_wl \ 47238lt_prog_compiler_static \ 47239lt_cv_prog_compiler_c_o \ 47240need_locks \ 47241MANIFEST_TOOL \ 47242DSYMUTIL \ 47243NMEDIT \ 47244LIPO \ 47245OTOOL \ 47246OTOOL64 \ 47247shrext_cmds \ 47248export_dynamic_flag_spec \ 47249whole_archive_flag_spec \ 47250compiler_needs_object \ 47251with_gnu_ld \ 47252allow_undefined_flag \ 47253no_undefined_flag \ 47254hardcode_libdir_flag_spec \ 47255hardcode_libdir_separator \ 47256exclude_expsyms \ 47257include_expsyms \ 47258file_list_spec \ 47259variables_saved_for_relink \ 47260libname_spec \ 47261library_names_spec \ 47262soname_spec \ 47263install_override_mode \ 47264finish_eval \ 47265old_striplib \ 47266striplib \ 47267compiler_lib_search_dirs \ 47268predep_objects \ 47269postdep_objects \ 47270predeps \ 47271postdeps \ 47272compiler_lib_search_path \ 47273LD_CXX \ 47274reload_flag_CXX \ 47275compiler_CXX \ 47276lt_prog_compiler_no_builtin_flag_CXX \ 47277lt_prog_compiler_pic_CXX \ 47278lt_prog_compiler_wl_CXX \ 47279lt_prog_compiler_static_CXX \ 47280lt_cv_prog_compiler_c_o_CXX \ 47281export_dynamic_flag_spec_CXX \ 47282whole_archive_flag_spec_CXX \ 47283compiler_needs_object_CXX \ 47284with_gnu_ld_CXX \ 47285allow_undefined_flag_CXX \ 47286no_undefined_flag_CXX \ 47287hardcode_libdir_flag_spec_CXX \ 47288hardcode_libdir_separator_CXX \ 47289exclude_expsyms_CXX \ 47290include_expsyms_CXX \ 47291file_list_spec_CXX \ 47292compiler_lib_search_dirs_CXX \ 47293predep_objects_CXX \ 47294postdep_objects_CXX \ 47295predeps_CXX \ 47296postdeps_CXX \ 47297compiler_lib_search_path_CXX; do 47298 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 47299 *[\\\\\\\`\\"\\\$]*) 47300 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 47301 ;; 47302 *) 47303 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 47304 ;; 47305 esac 47306done 47307 47308# Double-quote double-evaled strings. 47309for var in reload_cmds \ 47310old_postinstall_cmds \ 47311old_postuninstall_cmds \ 47312old_archive_cmds \ 47313extract_expsyms_cmds \ 47314old_archive_from_new_cmds \ 47315old_archive_from_expsyms_cmds \ 47316archive_cmds \ 47317archive_expsym_cmds \ 47318module_cmds \ 47319module_expsym_cmds \ 47320export_symbols_cmds \ 47321prelink_cmds \ 47322postlink_cmds \ 47323postinstall_cmds \ 47324postuninstall_cmds \ 47325finish_cmds \ 47326sys_lib_search_path_spec \ 47327configure_time_dlsearch_path \ 47328configure_time_lt_sys_library_path \ 47329reload_cmds_CXX \ 47330old_archive_cmds_CXX \ 47331old_archive_from_new_cmds_CXX \ 47332old_archive_from_expsyms_cmds_CXX \ 47333archive_cmds_CXX \ 47334archive_expsym_cmds_CXX \ 47335module_cmds_CXX \ 47336module_expsym_cmds_CXX \ 47337export_symbols_cmds_CXX \ 47338prelink_cmds_CXX \ 47339postlink_cmds_CXX; do 47340 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 47341 *[\\\\\\\`\\"\\\$]*) 47342 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 47343 ;; 47344 *) 47345 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 47346 ;; 47347 esac 47348done 47349 47350ac_aux_dir='$ac_aux_dir' 47351 47352# See if we are running on zsh, and set the options that allow our 47353# commands through without removal of \ escapes INIT. 47354if test -n "\${ZSH_VERSION+set}"; then 47355 setopt NO_GLOB_SUBST 47356fi 47357 47358 47359 PACKAGE='$PACKAGE' 47360 VERSION='$VERSION' 47361 RM='$RM' 47362 ofile='$ofile' 47363 47364 47365 47366 47367 47368# Capture the value of obsolete ALL_LINGUAS because we need it to compute 47369 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 47370 # from automake < 1.5. 47371 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 47372 # Capture the value of LINGUAS because we need it to compute CATALOGS. 47373 LINGUAS="${LINGUAS-%UNSET%}" 47374 47375 47376_ACEOF 47377 47378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47379 47380# Handling of arguments. 47381for ac_config_target in $ac_config_targets 47382do 47383 case $ac_config_target in 47384 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 47385 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 47386 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 47387 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 47388 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 47389 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 47390 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 47391 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 47392 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 47393 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 47394 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 47395 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 47396 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 47397 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 47398 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 47399 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 47400 "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;; 47401 "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;; 47402 "libvshadow/Makefile") CONFIG_FILES="$CONFIG_FILES libvshadow/Makefile" ;; 47403 "pyvshadow/Makefile") CONFIG_FILES="$CONFIG_FILES pyvshadow/Makefile" ;; 47404 "pyvshadow-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyvshadow-python2/Makefile" ;; 47405 "pyvshadow-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyvshadow-python3/Makefile" ;; 47406 "vshadowtools/Makefile") CONFIG_FILES="$CONFIG_FILES vshadowtools/Makefile" ;; 47407 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 47408 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 47409 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 47410 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 47411 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 47412 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 47413 "include/libvshadow.h") CONFIG_FILES="$CONFIG_FILES include/libvshadow.h" ;; 47414 "include/libvshadow/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libvshadow/definitions.h" ;; 47415 "include/libvshadow/features.h") CONFIG_FILES="$CONFIG_FILES include/libvshadow/features.h" ;; 47416 "include/libvshadow/types.h") CONFIG_FILES="$CONFIG_FILES include/libvshadow/types.h" ;; 47417 "libvshadow/libvshadow_definitions.h") CONFIG_FILES="$CONFIG_FILES libvshadow/libvshadow_definitions.h" ;; 47418 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 47419 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 47420 "libvshadow/libvshadow.rc") CONFIG_FILES="$CONFIG_FILES libvshadow/libvshadow.rc" ;; 47421 "libvshadow.pc") CONFIG_FILES="$CONFIG_FILES libvshadow.pc" ;; 47422 "libvshadow.spec") CONFIG_FILES="$CONFIG_FILES libvshadow.spec" ;; 47423 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 47424 47425 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 47426 esac 47427done 47428 47429 47430# If the user did not use the arguments to specify the items to instantiate, 47431# then the envvar interface is used. Set only those that are not. 47432# We use the long form for the default assignment because of an extremely 47433# bizarre bug on SunOS 4.1.3. 47434if $ac_need_defaults; then 47435 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 47436 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 47437 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 47438fi 47439 47440# Have a temporary directory for convenience. Make it in the build tree 47441# simply because there is no reason against having it here, and in addition, 47442# creating and moving files from /tmp can sometimes cause problems. 47443# Hook for its removal unless debugging. 47444# Note that there is a small window in which the directory will not be cleaned: 47445# after its creation but before its name has been assigned to `$tmp'. 47446$debug || 47447{ 47448 tmp= ac_tmp= 47449 trap 'exit_status=$? 47450 : "${ac_tmp:=$tmp}" 47451 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 47452' 0 47453 trap 'as_fn_exit 1' 1 2 13 15 47454} 47455# Create a (secure) tmp directory for tmp files. 47456 47457{ 47458 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 47459 test -d "$tmp" 47460} || 47461{ 47462 tmp=./conf$$-$RANDOM 47463 (umask 077 && mkdir "$tmp") 47464} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 47465ac_tmp=$tmp 47466 47467# Set up the scripts for CONFIG_FILES section. 47468# No need to generate them if there are no CONFIG_FILES. 47469# This happens for instance with `./config.status config.h'. 47470if test -n "$CONFIG_FILES"; then 47471 47472 47473ac_cr=`echo X | tr X '\015'` 47474# On cygwin, bash can eat \r inside `` if the user requested igncr. 47475# But we know of no other shell where ac_cr would be empty at this 47476# point, so we can use a bashism as a fallback. 47477if test "x$ac_cr" = x; then 47478 eval ac_cr=\$\'\\r\' 47479fi 47480ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 47481if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 47482 ac_cs_awk_cr='\\r' 47483else 47484 ac_cs_awk_cr=$ac_cr 47485fi 47486 47487echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 47488_ACEOF 47489 47490 47491{ 47492 echo "cat >conf$$subs.awk <<_ACEOF" && 47493 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 47494 echo "_ACEOF" 47495} >conf$$subs.sh || 47496 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 47497ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 47498ac_delim='%!_!# ' 47499for ac_last_try in false false false false false :; do 47500 . ./conf$$subs.sh || 47501 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 47502 47503 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 47504 if test $ac_delim_n = $ac_delim_num; then 47505 break 47506 elif $ac_last_try; then 47507 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 47508 else 47509 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 47510 fi 47511done 47512rm -f conf$$subs.sh 47513 47514cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47515cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 47516_ACEOF 47517sed -n ' 47518h 47519s/^/S["/; s/!.*/"]=/ 47520p 47521g 47522s/^[^!]*!// 47523:repl 47524t repl 47525s/'"$ac_delim"'$// 47526t delim 47527:nl 47528h 47529s/\(.\{148\}\)..*/\1/ 47530t more1 47531s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 47532p 47533n 47534b repl 47535:more1 47536s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 47537p 47538g 47539s/.\{148\}// 47540t nl 47541:delim 47542h 47543s/\(.\{148\}\)..*/\1/ 47544t more2 47545s/["\\]/\\&/g; s/^/"/; s/$/"/ 47546p 47547b 47548:more2 47549s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 47550p 47551g 47552s/.\{148\}// 47553t delim 47554' <conf$$subs.awk | sed ' 47555/^[^""]/{ 47556 N 47557 s/\n// 47558} 47559' >>$CONFIG_STATUS || ac_write_fail=1 47560rm -f conf$$subs.awk 47561cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47562_ACAWK 47563cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 47564 for (key in S) S_is_set[key] = 1 47565 FS = "" 47566 47567} 47568{ 47569 line = $ 0 47570 nfields = split(line, field, "@") 47571 substed = 0 47572 len = length(field[1]) 47573 for (i = 2; i < nfields; i++) { 47574 key = field[i] 47575 keylen = length(key) 47576 if (S_is_set[key]) { 47577 value = S[key] 47578 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 47579 len += length(value) + length(field[++i]) 47580 substed = 1 47581 } else 47582 len += 1 + keylen 47583 } 47584 47585 print line 47586} 47587 47588_ACAWK 47589_ACEOF 47590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47591if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 47592 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 47593else 47594 cat 47595fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 47596 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 47597_ACEOF 47598 47599# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 47600# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 47601# trailing colons and then remove the whole line if VPATH becomes empty 47602# (actually we leave an empty line to preserve line numbers). 47603if test "x$srcdir" = x.; then 47604 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 47605h 47606s/// 47607s/^/:/ 47608s/[ ]*$/:/ 47609s/:\$(srcdir):/:/g 47610s/:\${srcdir}:/:/g 47611s/:@srcdir@:/:/g 47612s/^:*// 47613s/:*$// 47614x 47615s/\(=[ ]*\).*/\1/ 47616G 47617s/\n// 47618s/^[^=]*=[ ]*$// 47619}' 47620fi 47621 47622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47623fi # test -n "$CONFIG_FILES" 47624 47625# Set up the scripts for CONFIG_HEADERS section. 47626# No need to generate them if there are no CONFIG_HEADERS. 47627# This happens for instance with `./config.status Makefile'. 47628if test -n "$CONFIG_HEADERS"; then 47629cat >"$ac_tmp/defines.awk" <<\_ACAWK || 47630BEGIN { 47631_ACEOF 47632 47633# Transform confdefs.h into an awk script `defines.awk', embedded as 47634# here-document in config.status, that substitutes the proper values into 47635# config.h.in to produce config.h. 47636 47637# Create a delimiter string that does not exist in confdefs.h, to ease 47638# handling of long lines. 47639ac_delim='%!_!# ' 47640for ac_last_try in false false :; do 47641 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 47642 if test -z "$ac_tt"; then 47643 break 47644 elif $ac_last_try; then 47645 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 47646 else 47647 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 47648 fi 47649done 47650 47651# For the awk script, D is an array of macro values keyed by name, 47652# likewise P contains macro parameters if any. Preserve backslash 47653# newline sequences. 47654 47655ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 47656sed -n ' 47657s/.\{148\}/&'"$ac_delim"'/g 47658t rset 47659:rset 47660s/^[ ]*#[ ]*define[ ][ ]*/ / 47661t def 47662d 47663:def 47664s/\\$// 47665t bsnl 47666s/["\\]/\\&/g 47667s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 47668D["\1"]=" \3"/p 47669s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 47670d 47671:bsnl 47672s/["\\]/\\&/g 47673s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 47674D["\1"]=" \3\\\\\\n"\\/p 47675t cont 47676s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 47677t cont 47678d 47679:cont 47680n 47681s/.\{148\}/&'"$ac_delim"'/g 47682t clear 47683:clear 47684s/\\$// 47685t bsnlc 47686s/["\\]/\\&/g; s/^/"/; s/$/"/p 47687d 47688:bsnlc 47689s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 47690b cont 47691' <confdefs.h | sed ' 47692s/'"$ac_delim"'/"\\\ 47693"/g' >>$CONFIG_STATUS || ac_write_fail=1 47694 47695cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47696 for (key in D) D_is_set[key] = 1 47697 FS = "" 47698} 47699/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 47700 line = \$ 0 47701 split(line, arg, " ") 47702 if (arg[1] == "#") { 47703 defundef = arg[2] 47704 mac1 = arg[3] 47705 } else { 47706 defundef = substr(arg[1], 2) 47707 mac1 = arg[2] 47708 } 47709 split(mac1, mac2, "(") #) 47710 macro = mac2[1] 47711 prefix = substr(line, 1, index(line, defundef) - 1) 47712 if (D_is_set[macro]) { 47713 # Preserve the white space surrounding the "#". 47714 print prefix "define", macro P[macro] D[macro] 47715 next 47716 } else { 47717 # Replace #undef with comments. This is necessary, for example, 47718 # in the case of _POSIX_SOURCE, which is predefined and required 47719 # on some systems where configure will not decide to define it. 47720 if (defundef == "undef") { 47721 print "/*", prefix defundef, macro, "*/" 47722 next 47723 } 47724 } 47725} 47726{ print } 47727_ACAWK 47728_ACEOF 47729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47730 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 47731fi # test -n "$CONFIG_HEADERS" 47732 47733 47734eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 47735shift 47736for ac_tag 47737do 47738 case $ac_tag in 47739 :[FHLC]) ac_mode=$ac_tag; continue;; 47740 esac 47741 case $ac_mode$ac_tag in 47742 :[FHL]*:*);; 47743 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 47744 :[FH]-) ac_tag=-:-;; 47745 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 47746 esac 47747 ac_save_IFS=$IFS 47748 IFS=: 47749 set x $ac_tag 47750 IFS=$ac_save_IFS 47751 shift 47752 ac_file=$1 47753 shift 47754 47755 case $ac_mode in 47756 :L) ac_source=$1;; 47757 :[FH]) 47758 ac_file_inputs= 47759 for ac_f 47760 do 47761 case $ac_f in 47762 -) ac_f="$ac_tmp/stdin";; 47763 *) # Look for the file first in the build tree, then in the source tree 47764 # (if the path is not absolute). The absolute path cannot be DOS-style, 47765 # because $ac_f cannot contain `:'. 47766 test -f "$ac_f" || 47767 case $ac_f in 47768 [\\/$]*) false;; 47769 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 47770 esac || 47771 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 47772 esac 47773 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 47774 as_fn_append ac_file_inputs " '$ac_f'" 47775 done 47776 47777 # Let's still pretend it is `configure' which instantiates (i.e., don't 47778 # use $as_me), people would be surprised to read: 47779 # /* config.h. Generated by config.status. */ 47780 configure_input='Generated from '` 47781 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 47782 `' by configure.' 47783 if test x"$ac_file" != x-; then 47784 configure_input="$ac_file. $configure_input" 47785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 47786$as_echo "$as_me: creating $ac_file" >&6;} 47787 fi 47788 # Neutralize special characters interpreted by sed in replacement strings. 47789 case $configure_input in #( 47790 *\&* | *\|* | *\\* ) 47791 ac_sed_conf_input=`$as_echo "$configure_input" | 47792 sed 's/[\\\\&|]/\\\\&/g'`;; #( 47793 *) ac_sed_conf_input=$configure_input;; 47794 esac 47795 47796 case $ac_tag in 47797 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 47798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 47799 esac 47800 ;; 47801 esac 47802 47803 ac_dir=`$as_dirname -- "$ac_file" || 47804$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 47805 X"$ac_file" : 'X\(//\)[^/]' \| \ 47806 X"$ac_file" : 'X\(//\)$' \| \ 47807 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 47808$as_echo X"$ac_file" | 47809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 47810 s//\1/ 47811 q 47812 } 47813 /^X\(\/\/\)[^/].*/{ 47814 s//\1/ 47815 q 47816 } 47817 /^X\(\/\/\)$/{ 47818 s//\1/ 47819 q 47820 } 47821 /^X\(\/\).*/{ 47822 s//\1/ 47823 q 47824 } 47825 s/.*/./; q'` 47826 as_dir="$ac_dir"; as_fn_mkdir_p 47827 ac_builddir=. 47828 47829case "$ac_dir" in 47830.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 47831*) 47832 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 47833 # A ".." for each directory in $ac_dir_suffix. 47834 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 47835 case $ac_top_builddir_sub in 47836 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 47837 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 47838 esac ;; 47839esac 47840ac_abs_top_builddir=$ac_pwd 47841ac_abs_builddir=$ac_pwd$ac_dir_suffix 47842# for backward compatibility: 47843ac_top_builddir=$ac_top_build_prefix 47844 47845case $srcdir in 47846 .) # We are building in place. 47847 ac_srcdir=. 47848 ac_top_srcdir=$ac_top_builddir_sub 47849 ac_abs_top_srcdir=$ac_pwd ;; 47850 [\\/]* | ?:[\\/]* ) # Absolute name. 47851 ac_srcdir=$srcdir$ac_dir_suffix; 47852 ac_top_srcdir=$srcdir 47853 ac_abs_top_srcdir=$srcdir ;; 47854 *) # Relative name. 47855 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 47856 ac_top_srcdir=$ac_top_build_prefix$srcdir 47857 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 47858esac 47859ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 47860 47861 47862 case $ac_mode in 47863 :F) 47864 # 47865 # CONFIG_FILE 47866 # 47867 47868 case $INSTALL in 47869 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 47870 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 47871 esac 47872 ac_MKDIR_P=$MKDIR_P 47873 case $MKDIR_P in 47874 [\\/$]* | ?:[\\/]* ) ;; 47875 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 47876 esac 47877_ACEOF 47878 47879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47880# If the template does not know about datarootdir, expand it. 47881# FIXME: This hack should be removed a few years after 2.60. 47882ac_datarootdir_hack=; ac_datarootdir_seen= 47883ac_sed_dataroot=' 47884/datarootdir/ { 47885 p 47886 q 47887} 47888/@datadir@/p 47889/@docdir@/p 47890/@infodir@/p 47891/@localedir@/p 47892/@mandir@/p' 47893case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 47894*datarootdir*) ac_datarootdir_seen=yes;; 47895*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 47896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 47897$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 47898_ACEOF 47899cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47900 ac_datarootdir_hack=' 47901 s&@datadir@&$datadir&g 47902 s&@docdir@&$docdir&g 47903 s&@infodir@&$infodir&g 47904 s&@localedir@&$localedir&g 47905 s&@mandir@&$mandir&g 47906 s&\\\${datarootdir}&$datarootdir&g' ;; 47907esac 47908_ACEOF 47909 47910# Neutralize VPATH when `$srcdir' = `.'. 47911# Shell code in configure.ac might set extrasub. 47912# FIXME: do we really want to maintain this feature? 47913cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47914ac_sed_extra="$ac_vpsub 47915$extrasub 47916_ACEOF 47917cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47918:t 47919/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 47920s|@configure_input@|$ac_sed_conf_input|;t t 47921s&@top_builddir@&$ac_top_builddir_sub&;t t 47922s&@top_build_prefix@&$ac_top_build_prefix&;t t 47923s&@srcdir@&$ac_srcdir&;t t 47924s&@abs_srcdir@&$ac_abs_srcdir&;t t 47925s&@top_srcdir@&$ac_top_srcdir&;t t 47926s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 47927s&@builddir@&$ac_builddir&;t t 47928s&@abs_builddir@&$ac_abs_builddir&;t t 47929s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 47930s&@INSTALL@&$ac_INSTALL&;t t 47931s&@MKDIR_P@&$ac_MKDIR_P&;t t 47932$ac_datarootdir_hack 47933" 47934eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 47935 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 47936 47937test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 47938 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 47939 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 47940 "$ac_tmp/out"`; test -z "$ac_out"; } && 47941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 47942which seems to be undefined. Please make sure it is defined" >&5 47943$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 47944which seems to be undefined. Please make sure it is defined" >&2;} 47945 47946 rm -f "$ac_tmp/stdin" 47947 case $ac_file in 47948 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 47949 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 47950 esac \ 47951 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 47952 ;; 47953 :H) 47954 # 47955 # CONFIG_HEADER 47956 # 47957 if test x"$ac_file" != x-; then 47958 { 47959 $as_echo "/* $configure_input */" \ 47960 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 47961 } >"$ac_tmp/config.h" \ 47962 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 47963 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 47964 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 47965$as_echo "$as_me: $ac_file is unchanged" >&6;} 47966 else 47967 rm -f "$ac_file" 47968 mv "$ac_tmp/config.h" "$ac_file" \ 47969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 47970 fi 47971 else 47972 $as_echo "/* $configure_input */" \ 47973 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 47974 || as_fn_error $? "could not create -" "$LINENO" 5 47975 fi 47976# Compute "$ac_file"'s index in $config_headers. 47977_am_arg="$ac_file" 47978_am_stamp_count=1 47979for _am_header in $config_headers :; do 47980 case $_am_header in 47981 $_am_arg | $_am_arg:* ) 47982 break ;; 47983 * ) 47984 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 47985 esac 47986done 47987echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 47988$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 47989 X"$_am_arg" : 'X\(//\)[^/]' \| \ 47990 X"$_am_arg" : 'X\(//\)$' \| \ 47991 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 47992$as_echo X"$_am_arg" | 47993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 47994 s//\1/ 47995 q 47996 } 47997 /^X\(\/\/\)[^/].*/{ 47998 s//\1/ 47999 q 48000 } 48001 /^X\(\/\/\)$/{ 48002 s//\1/ 48003 q 48004 } 48005 /^X\(\/\).*/{ 48006 s//\1/ 48007 q 48008 } 48009 s/.*/./; q'`/stamp-h$_am_stamp_count 48010 ;; 48011 48012 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 48013$as_echo "$as_me: executing $ac_file commands" >&6;} 48014 ;; 48015 esac 48016 48017 48018 case $ac_file$ac_mode in 48019 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 48020 # Older Autoconf quotes --file arguments for eval, but not when files 48021 # are listed without --file. Let's play safe and only enable the eval 48022 # if we detect the quoting. 48023 # TODO: see whether this extra hack can be removed once we start 48024 # requiring Autoconf 2.70 or later. 48025 case $CONFIG_FILES in #( 48026 *\'*) : 48027 eval set x "$CONFIG_FILES" ;; #( 48028 *) : 48029 set x $CONFIG_FILES ;; #( 48030 *) : 48031 ;; 48032esac 48033 shift 48034 # Used to flag and report bootstrapping failures. 48035 am_rc=0 48036 for am_mf 48037 do 48038 # Strip MF so we end up with the name of the file. 48039 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 48040 # Check whether this is an Automake generated Makefile which includes 48041 # dependency-tracking related rules and includes. 48042 # Grep'ing the whole file directly is not great: AIX grep has a line 48043 # limit of 2048, but all sed's we know have understand at least 4000. 48044 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 48045 || continue 48046 am_dirpart=`$as_dirname -- "$am_mf" || 48047$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48048 X"$am_mf" : 'X\(//\)[^/]' \| \ 48049 X"$am_mf" : 'X\(//\)$' \| \ 48050 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 48051$as_echo X"$am_mf" | 48052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48053 s//\1/ 48054 q 48055 } 48056 /^X\(\/\/\)[^/].*/{ 48057 s//\1/ 48058 q 48059 } 48060 /^X\(\/\/\)$/{ 48061 s//\1/ 48062 q 48063 } 48064 /^X\(\/\).*/{ 48065 s//\1/ 48066 q 48067 } 48068 s/.*/./; q'` 48069 am_filepart=`$as_basename -- "$am_mf" || 48070$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 48071 X"$am_mf" : 'X\(//\)$' \| \ 48072 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 48073$as_echo X/"$am_mf" | 48074 sed '/^.*\/\([^/][^/]*\)\/*$/{ 48075 s//\1/ 48076 q 48077 } 48078 /^X\/\(\/\/\)$/{ 48079 s//\1/ 48080 q 48081 } 48082 /^X\/\(\/\).*/{ 48083 s//\1/ 48084 q 48085 } 48086 s/.*/./; q'` 48087 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 48088 && sed -e '/# am--include-marker/d' "$am_filepart" \ 48089 | $MAKE -f - am--depfiles" >&5 48090 (cd "$am_dirpart" \ 48091 && sed -e '/# am--include-marker/d' "$am_filepart" \ 48092 | $MAKE -f - am--depfiles) >&5 2>&5 48093 ac_status=$? 48094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 48095 (exit $ac_status); } || am_rc=$? 48096 done 48097 if test $am_rc -ne 0; then 48098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 48099$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 48100as_fn_error $? "Something went wrong bootstrapping makefile fragments 48101 for automatic dependency tracking. If GNU make was not used, consider 48102 re-running the configure script with MAKE=\"gmake\" (or whatever is 48103 necessary). You can also try re-running configure with the 48104 '--disable-dependency-tracking' option to at least be able to build 48105 the package (albeit without support for automatic dependency tracking). 48106See \`config.log' for more details" "$LINENO" 5; } 48107 fi 48108 { am_dirpart=; unset am_dirpart;} 48109 { am_filepart=; unset am_filepart;} 48110 { am_mf=; unset am_mf;} 48111 { am_rc=; unset am_rc;} 48112 rm -f conftest-deps.mk 48113} 48114 ;; 48115 "libtool":C) 48116 48117 # See if we are running on zsh, and set the options that allow our 48118 # commands through without removal of \ escapes. 48119 if test -n "${ZSH_VERSION+set}"; then 48120 setopt NO_GLOB_SUBST 48121 fi 48122 48123 cfgfile=${ofile}T 48124 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 48125 $RM "$cfgfile" 48126 48127 cat <<_LT_EOF >> "$cfgfile" 48128#! $SHELL 48129# Generated automatically by $as_me ($PACKAGE) $VERSION 48130# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 48131# NOTE: Changes made to this file will be lost: look at ltmain.sh. 48132 48133# Provide generalized library-building support services. 48134# Written by Gordon Matzigkeit, 1996 48135 48136# Copyright (C) 2014 Free Software Foundation, Inc. 48137# This is free software; see the source for copying conditions. There is NO 48138# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 48139 48140# GNU Libtool is free software; you can redistribute it and/or modify 48141# it under the terms of the GNU General Public License as published by 48142# the Free Software Foundation; either version 2 of of the License, or 48143# (at your option) any later version. 48144# 48145# As a special exception to the GNU General Public License, if you 48146# distribute this file as part of a program or library that is built 48147# using GNU Libtool, you may include this file under the same 48148# distribution terms that you use for the rest of that program. 48149# 48150# GNU Libtool is distributed in the hope that it will be useful, but 48151# WITHOUT ANY WARRANTY; without even the implied warranty of 48152# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 48153# GNU General Public License for more details. 48154# 48155# You should have received a copy of the GNU General Public License 48156# along with this program. If not, see <http://www.gnu.org/licenses/>. 48157 48158 48159# The names of the tagged configurations supported by this script. 48160available_tags='CXX ' 48161 48162# Configured defaults for sys_lib_dlsearch_path munging. 48163: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 48164 48165# ### BEGIN LIBTOOL CONFIG 48166 48167# Assembler program. 48168AS=$lt_AS 48169 48170# DLL creation program. 48171DLLTOOL=$lt_DLLTOOL 48172 48173# Object dumper program. 48174OBJDUMP=$lt_OBJDUMP 48175 48176# Which release of libtool.m4 was used? 48177macro_version=$macro_version 48178macro_revision=$macro_revision 48179 48180# Whether or not to build shared libraries. 48181build_libtool_libs=$enable_shared 48182 48183# Whether or not to build static libraries. 48184build_old_libs=$enable_static 48185 48186# What type of objects to build. 48187pic_mode=$pic_mode 48188 48189# Whether or not to optimize for fast installation. 48190fast_install=$enable_fast_install 48191 48192# Shared archive member basename,for filename based shared library versioning on AIX. 48193shared_archive_member_spec=$shared_archive_member_spec 48194 48195# Shell to use when invoking shell scripts. 48196SHELL=$lt_SHELL 48197 48198# An echo program that protects backslashes. 48199ECHO=$lt_ECHO 48200 48201# The PATH separator for the build system. 48202PATH_SEPARATOR=$lt_PATH_SEPARATOR 48203 48204# The host system. 48205host_alias=$host_alias 48206host=$host 48207host_os=$host_os 48208 48209# The build system. 48210build_alias=$build_alias 48211build=$build 48212build_os=$build_os 48213 48214# A sed program that does not truncate output. 48215SED=$lt_SED 48216 48217# Sed that helps us avoid accidentally triggering echo(1) options like -n. 48218Xsed="\$SED -e 1s/^X//" 48219 48220# A grep program that handles long lines. 48221GREP=$lt_GREP 48222 48223# An ERE matcher. 48224EGREP=$lt_EGREP 48225 48226# A literal string matcher. 48227FGREP=$lt_FGREP 48228 48229# A BSD- or MS-compatible name lister. 48230NM=$lt_NM 48231 48232# Whether we need soft or hard links. 48233LN_S=$lt_LN_S 48234 48235# What is the maximum length of a command? 48236max_cmd_len=$max_cmd_len 48237 48238# Object file suffix (normally "o"). 48239objext=$ac_objext 48240 48241# Executable file suffix (normally ""). 48242exeext=$exeext 48243 48244# whether the shell understands "unset". 48245lt_unset=$lt_unset 48246 48247# turn spaces into newlines. 48248SP2NL=$lt_lt_SP2NL 48249 48250# turn newlines into spaces. 48251NL2SP=$lt_lt_NL2SP 48252 48253# convert \$build file names to \$host format. 48254to_host_file_cmd=$lt_cv_to_host_file_cmd 48255 48256# convert \$build files to toolchain format. 48257to_tool_file_cmd=$lt_cv_to_tool_file_cmd 48258 48259# Method to check whether dependent libraries are shared objects. 48260deplibs_check_method=$lt_deplibs_check_method 48261 48262# Command to use when deplibs_check_method = "file_magic". 48263file_magic_cmd=$lt_file_magic_cmd 48264 48265# How to find potential files when deplibs_check_method = "file_magic". 48266file_magic_glob=$lt_file_magic_glob 48267 48268# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 48269want_nocaseglob=$lt_want_nocaseglob 48270 48271# Command to associate shared and link libraries. 48272sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 48273 48274# The archiver. 48275AR=$lt_AR 48276 48277# Flags to create an archive. 48278AR_FLAGS=$lt_AR_FLAGS 48279 48280# How to feed a file listing to the archiver. 48281archiver_list_spec=$lt_archiver_list_spec 48282 48283# A symbol stripping program. 48284STRIP=$lt_STRIP 48285 48286# Commands used to install an old-style archive. 48287RANLIB=$lt_RANLIB 48288old_postinstall_cmds=$lt_old_postinstall_cmds 48289old_postuninstall_cmds=$lt_old_postuninstall_cmds 48290 48291# Whether to use a lock for old archive extraction. 48292lock_old_archive_extraction=$lock_old_archive_extraction 48293 48294# A C compiler. 48295LTCC=$lt_CC 48296 48297# LTCC compiler flags. 48298LTCFLAGS=$lt_CFLAGS 48299 48300# Take the output of nm and produce a listing of raw symbols and C names. 48301global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 48302 48303# Transform the output of nm in a proper C declaration. 48304global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 48305 48306# Transform the output of nm into a list of symbols to manually relocate. 48307global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 48308 48309# Transform the output of nm in a C name address pair. 48310global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 48311 48312# Transform the output of nm in a C name address pair when lib prefix is needed. 48313global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 48314 48315# The name lister interface. 48316nm_interface=$lt_lt_cv_nm_interface 48317 48318# Specify filename containing input files for \$NM. 48319nm_file_list_spec=$lt_nm_file_list_spec 48320 48321# The root where to search for dependent libraries,and where our libraries should be installed. 48322lt_sysroot=$lt_sysroot 48323 48324# Command to truncate a binary pipe. 48325lt_truncate_bin=$lt_lt_cv_truncate_bin 48326 48327# The name of the directory that contains temporary libtool files. 48328objdir=$objdir 48329 48330# Used to examine libraries when file_magic_cmd begins with "file". 48331MAGIC_CMD=$MAGIC_CMD 48332 48333# Must we lock files when doing compilation? 48334need_locks=$lt_need_locks 48335 48336# Manifest tool. 48337MANIFEST_TOOL=$lt_MANIFEST_TOOL 48338 48339# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 48340DSYMUTIL=$lt_DSYMUTIL 48341 48342# Tool to change global to local symbols on Mac OS X. 48343NMEDIT=$lt_NMEDIT 48344 48345# Tool to manipulate fat objects and archives on Mac OS X. 48346LIPO=$lt_LIPO 48347 48348# ldd/readelf like tool for Mach-O binaries on Mac OS X. 48349OTOOL=$lt_OTOOL 48350 48351# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 48352OTOOL64=$lt_OTOOL64 48353 48354# Old archive suffix (normally "a"). 48355libext=$libext 48356 48357# Shared library suffix (normally ".so"). 48358shrext_cmds=$lt_shrext_cmds 48359 48360# The commands to extract the exported symbol list from a shared archive. 48361extract_expsyms_cmds=$lt_extract_expsyms_cmds 48362 48363# Variables whose values should be saved in libtool wrapper scripts and 48364# restored at link time. 48365variables_saved_for_relink=$lt_variables_saved_for_relink 48366 48367# Do we need the "lib" prefix for modules? 48368need_lib_prefix=$need_lib_prefix 48369 48370# Do we need a version for libraries? 48371need_version=$need_version 48372 48373# Library versioning type. 48374version_type=$version_type 48375 48376# Shared library runtime path variable. 48377runpath_var=$runpath_var 48378 48379# Shared library path variable. 48380shlibpath_var=$shlibpath_var 48381 48382# Is shlibpath searched before the hard-coded library search path? 48383shlibpath_overrides_runpath=$shlibpath_overrides_runpath 48384 48385# Format of library name prefix. 48386libname_spec=$lt_libname_spec 48387 48388# List of archive names. First name is the real one, the rest are links. 48389# The last name is the one that the linker finds with -lNAME 48390library_names_spec=$lt_library_names_spec 48391 48392# The coded name of the library, if different from the real name. 48393soname_spec=$lt_soname_spec 48394 48395# Permission mode override for installation of shared libraries. 48396install_override_mode=$lt_install_override_mode 48397 48398# Command to use after installation of a shared archive. 48399postinstall_cmds=$lt_postinstall_cmds 48400 48401# Command to use after uninstallation of a shared archive. 48402postuninstall_cmds=$lt_postuninstall_cmds 48403 48404# Commands used to finish a libtool library installation in a directory. 48405finish_cmds=$lt_finish_cmds 48406 48407# As "finish_cmds", except a single script fragment to be evaled but 48408# not shown. 48409finish_eval=$lt_finish_eval 48410 48411# Whether we should hardcode library paths into libraries. 48412hardcode_into_libs=$hardcode_into_libs 48413 48414# Compile-time system search path for libraries. 48415sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 48416 48417# Detected run-time system search path for libraries. 48418sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 48419 48420# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 48421configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 48422 48423# Whether dlopen is supported. 48424dlopen_support=$enable_dlopen 48425 48426# Whether dlopen of programs is supported. 48427dlopen_self=$enable_dlopen_self 48428 48429# Whether dlopen of statically linked programs is supported. 48430dlopen_self_static=$enable_dlopen_self_static 48431 48432# Commands to strip libraries. 48433old_striplib=$lt_old_striplib 48434striplib=$lt_striplib 48435 48436 48437# The linker used to build libraries. 48438LD=$lt_LD 48439 48440# How to create reloadable object files. 48441reload_flag=$lt_reload_flag 48442reload_cmds=$lt_reload_cmds 48443 48444# Commands used to build an old-style archive. 48445old_archive_cmds=$lt_old_archive_cmds 48446 48447# A language specific compiler. 48448CC=$lt_compiler 48449 48450# Is the compiler the GNU compiler? 48451with_gcc=$GCC 48452 48453# Compiler flag to turn off builtin functions. 48454no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 48455 48456# Additional compiler flags for building library objects. 48457pic_flag=$lt_lt_prog_compiler_pic 48458 48459# How to pass a linker flag through the compiler. 48460wl=$lt_lt_prog_compiler_wl 48461 48462# Compiler flag to prevent dynamic linking. 48463link_static_flag=$lt_lt_prog_compiler_static 48464 48465# Does compiler simultaneously support -c and -o options? 48466compiler_c_o=$lt_lt_cv_prog_compiler_c_o 48467 48468# Whether or not to add -lc for building shared libraries. 48469build_libtool_need_lc=$archive_cmds_need_lc 48470 48471# Whether or not to disallow shared libs when runtime libs are static. 48472allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 48473 48474# Compiler flag to allow reflexive dlopens. 48475export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 48476 48477# Compiler flag to generate shared objects directly from archives. 48478whole_archive_flag_spec=$lt_whole_archive_flag_spec 48479 48480# Whether the compiler copes with passing no objects directly. 48481compiler_needs_object=$lt_compiler_needs_object 48482 48483# Create an old-style archive from a shared archive. 48484old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 48485 48486# Create a temporary old-style archive to link instead of a shared archive. 48487old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 48488 48489# Commands used to build a shared archive. 48490archive_cmds=$lt_archive_cmds 48491archive_expsym_cmds=$lt_archive_expsym_cmds 48492 48493# Commands used to build a loadable module if different from building 48494# a shared archive. 48495module_cmds=$lt_module_cmds 48496module_expsym_cmds=$lt_module_expsym_cmds 48497 48498# Whether we are building with GNU ld or not. 48499with_gnu_ld=$lt_with_gnu_ld 48500 48501# Flag that allows shared libraries with undefined symbols to be built. 48502allow_undefined_flag=$lt_allow_undefined_flag 48503 48504# Flag that enforces no undefined symbols. 48505no_undefined_flag=$lt_no_undefined_flag 48506 48507# Flag to hardcode \$libdir into a binary during linking. 48508# This must work even if \$libdir does not exist 48509hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 48510 48511# Whether we need a single "-rpath" flag with a separated argument. 48512hardcode_libdir_separator=$lt_hardcode_libdir_separator 48513 48514# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 48515# DIR into the resulting binary. 48516hardcode_direct=$hardcode_direct 48517 48518# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 48519# DIR into the resulting binary and the resulting library dependency is 48520# "absolute",i.e impossible to change by setting \$shlibpath_var if the 48521# library is relocated. 48522hardcode_direct_absolute=$hardcode_direct_absolute 48523 48524# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 48525# into the resulting binary. 48526hardcode_minus_L=$hardcode_minus_L 48527 48528# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 48529# into the resulting binary. 48530hardcode_shlibpath_var=$hardcode_shlibpath_var 48531 48532# Set to "yes" if building a shared library automatically hardcodes DIR 48533# into the library and all subsequent libraries and executables linked 48534# against it. 48535hardcode_automatic=$hardcode_automatic 48536 48537# Set to yes if linker adds runtime paths of dependent libraries 48538# to runtime path list. 48539inherit_rpath=$inherit_rpath 48540 48541# Whether libtool must link a program against all its dependency libraries. 48542link_all_deplibs=$link_all_deplibs 48543 48544# Set to "yes" if exported symbols are required. 48545always_export_symbols=$always_export_symbols 48546 48547# The commands to list exported symbols. 48548export_symbols_cmds=$lt_export_symbols_cmds 48549 48550# Symbols that should not be listed in the preloaded symbols. 48551exclude_expsyms=$lt_exclude_expsyms 48552 48553# Symbols that must always be exported. 48554include_expsyms=$lt_include_expsyms 48555 48556# Commands necessary for linking programs (against libraries) with templates. 48557prelink_cmds=$lt_prelink_cmds 48558 48559# Commands necessary for finishing linking programs. 48560postlink_cmds=$lt_postlink_cmds 48561 48562# Specify filename containing input files. 48563file_list_spec=$lt_file_list_spec 48564 48565# How to hardcode a shared library path into an executable. 48566hardcode_action=$hardcode_action 48567 48568# The directories searched by this compiler when creating a shared library. 48569compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 48570 48571# Dependencies to place before and after the objects being linked to 48572# create a shared library. 48573predep_objects=$lt_predep_objects 48574postdep_objects=$lt_postdep_objects 48575predeps=$lt_predeps 48576postdeps=$lt_postdeps 48577 48578# The library search path used internally by the compiler when linking 48579# a shared library. 48580compiler_lib_search_path=$lt_compiler_lib_search_path 48581 48582# ### END LIBTOOL CONFIG 48583 48584_LT_EOF 48585 48586 cat <<'_LT_EOF' >> "$cfgfile" 48587 48588# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 48589 48590# func_munge_path_list VARIABLE PATH 48591# ----------------------------------- 48592# VARIABLE is name of variable containing _space_ separated list of 48593# directories to be munged by the contents of PATH, which is string 48594# having a format: 48595# "DIR[:DIR]:" 48596# string "DIR[ DIR]" will be prepended to VARIABLE 48597# ":DIR[:DIR]" 48598# string "DIR[ DIR]" will be appended to VARIABLE 48599# "DIRP[:DIRP]::[DIRA:]DIRA" 48600# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 48601# "DIRA[ DIRA]" will be appended to VARIABLE 48602# "DIR[:DIR]" 48603# VARIABLE will be replaced by "DIR[ DIR]" 48604func_munge_path_list () 48605{ 48606 case x$2 in 48607 x) 48608 ;; 48609 *:) 48610 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 48611 ;; 48612 x:*) 48613 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 48614 ;; 48615 *::*) 48616 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 48617 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 48618 ;; 48619 *) 48620 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 48621 ;; 48622 esac 48623} 48624 48625 48626# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 48627func_cc_basename () 48628{ 48629 for cc_temp in $*""; do 48630 case $cc_temp in 48631 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 48632 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 48633 \-*) ;; 48634 *) break;; 48635 esac 48636 done 48637 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 48638} 48639 48640 48641# ### END FUNCTIONS SHARED WITH CONFIGURE 48642 48643_LT_EOF 48644 48645 case $host_os in 48646 aix3*) 48647 cat <<\_LT_EOF >> "$cfgfile" 48648# AIX sometimes has problems with the GCC collect2 program. For some 48649# reason, if we set the COLLECT_NAMES environment variable, the problems 48650# vanish in a puff of smoke. 48651if test set != "${COLLECT_NAMES+set}"; then 48652 COLLECT_NAMES= 48653 export COLLECT_NAMES 48654fi 48655_LT_EOF 48656 ;; 48657 esac 48658 48659 48660ltmain=$ac_aux_dir/ltmain.sh 48661 48662 48663 # We use sed instead of cat because bash on DJGPP gets confused if 48664 # if finds mixed CR/LF and LF-only lines. Since sed operates in 48665 # text mode, it properly converts lines to CR/LF. This bash problem 48666 # is reportedly fixed, but why not run on old versions too? 48667 sed '$q' "$ltmain" >> "$cfgfile" \ 48668 || (rm -f "$cfgfile"; exit 1) 48669 48670 mv -f "$cfgfile" "$ofile" || 48671 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 48672 chmod +x "$ofile" 48673 48674 48675 cat <<_LT_EOF >> "$ofile" 48676 48677# ### BEGIN LIBTOOL TAG CONFIG: CXX 48678 48679# The linker used to build libraries. 48680LD=$lt_LD_CXX 48681 48682# How to create reloadable object files. 48683reload_flag=$lt_reload_flag_CXX 48684reload_cmds=$lt_reload_cmds_CXX 48685 48686# Commands used to build an old-style archive. 48687old_archive_cmds=$lt_old_archive_cmds_CXX 48688 48689# A language specific compiler. 48690CC=$lt_compiler_CXX 48691 48692# Is the compiler the GNU compiler? 48693with_gcc=$GCC_CXX 48694 48695# Compiler flag to turn off builtin functions. 48696no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 48697 48698# Additional compiler flags for building library objects. 48699pic_flag=$lt_lt_prog_compiler_pic_CXX 48700 48701# How to pass a linker flag through the compiler. 48702wl=$lt_lt_prog_compiler_wl_CXX 48703 48704# Compiler flag to prevent dynamic linking. 48705link_static_flag=$lt_lt_prog_compiler_static_CXX 48706 48707# Does compiler simultaneously support -c and -o options? 48708compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 48709 48710# Whether or not to add -lc for building shared libraries. 48711build_libtool_need_lc=$archive_cmds_need_lc_CXX 48712 48713# Whether or not to disallow shared libs when runtime libs are static. 48714allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 48715 48716# Compiler flag to allow reflexive dlopens. 48717export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 48718 48719# Compiler flag to generate shared objects directly from archives. 48720whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 48721 48722# Whether the compiler copes with passing no objects directly. 48723compiler_needs_object=$lt_compiler_needs_object_CXX 48724 48725# Create an old-style archive from a shared archive. 48726old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 48727 48728# Create a temporary old-style archive to link instead of a shared archive. 48729old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 48730 48731# Commands used to build a shared archive. 48732archive_cmds=$lt_archive_cmds_CXX 48733archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 48734 48735# Commands used to build a loadable module if different from building 48736# a shared archive. 48737module_cmds=$lt_module_cmds_CXX 48738module_expsym_cmds=$lt_module_expsym_cmds_CXX 48739 48740# Whether we are building with GNU ld or not. 48741with_gnu_ld=$lt_with_gnu_ld_CXX 48742 48743# Flag that allows shared libraries with undefined symbols to be built. 48744allow_undefined_flag=$lt_allow_undefined_flag_CXX 48745 48746# Flag that enforces no undefined symbols. 48747no_undefined_flag=$lt_no_undefined_flag_CXX 48748 48749# Flag to hardcode \$libdir into a binary during linking. 48750# This must work even if \$libdir does not exist 48751hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 48752 48753# Whether we need a single "-rpath" flag with a separated argument. 48754hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 48755 48756# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 48757# DIR into the resulting binary. 48758hardcode_direct=$hardcode_direct_CXX 48759 48760# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 48761# DIR into the resulting binary and the resulting library dependency is 48762# "absolute",i.e impossible to change by setting \$shlibpath_var if the 48763# library is relocated. 48764hardcode_direct_absolute=$hardcode_direct_absolute_CXX 48765 48766# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 48767# into the resulting binary. 48768hardcode_minus_L=$hardcode_minus_L_CXX 48769 48770# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 48771# into the resulting binary. 48772hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 48773 48774# Set to "yes" if building a shared library automatically hardcodes DIR 48775# into the library and all subsequent libraries and executables linked 48776# against it. 48777hardcode_automatic=$hardcode_automatic_CXX 48778 48779# Set to yes if linker adds runtime paths of dependent libraries 48780# to runtime path list. 48781inherit_rpath=$inherit_rpath_CXX 48782 48783# Whether libtool must link a program against all its dependency libraries. 48784link_all_deplibs=$link_all_deplibs_CXX 48785 48786# Set to "yes" if exported symbols are required. 48787always_export_symbols=$always_export_symbols_CXX 48788 48789# The commands to list exported symbols. 48790export_symbols_cmds=$lt_export_symbols_cmds_CXX 48791 48792# Symbols that should not be listed in the preloaded symbols. 48793exclude_expsyms=$lt_exclude_expsyms_CXX 48794 48795# Symbols that must always be exported. 48796include_expsyms=$lt_include_expsyms_CXX 48797 48798# Commands necessary for linking programs (against libraries) with templates. 48799prelink_cmds=$lt_prelink_cmds_CXX 48800 48801# Commands necessary for finishing linking programs. 48802postlink_cmds=$lt_postlink_cmds_CXX 48803 48804# Specify filename containing input files. 48805file_list_spec=$lt_file_list_spec_CXX 48806 48807# How to hardcode a shared library path into an executable. 48808hardcode_action=$hardcode_action_CXX 48809 48810# The directories searched by this compiler when creating a shared library. 48811compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 48812 48813# Dependencies to place before and after the objects being linked to 48814# create a shared library. 48815predep_objects=$lt_predep_objects_CXX 48816postdep_objects=$lt_postdep_objects_CXX 48817predeps=$lt_predeps_CXX 48818postdeps=$lt_postdeps_CXX 48819 48820# The library search path used internally by the compiler when linking 48821# a shared library. 48822compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 48823 48824# ### END LIBTOOL TAG CONFIG: CXX 48825_LT_EOF 48826 48827 ;; 48828 "po-directories":C) 48829 for ac_file in $CONFIG_FILES; do 48830 # Support "outfile[:infile[:infile...]]" 48831 case "$ac_file" in 48832 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 48833 esac 48834 # PO directories have a Makefile.in generated from Makefile.in.in. 48835 case "$ac_file" in */Makefile.in) 48836 # Adjust a relative srcdir. 48837 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 48838 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 48839 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 48840 # In autoconf-2.13 it is called $ac_given_srcdir. 48841 # In autoconf-2.50 it is called $srcdir. 48842 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 48843 case "$ac_given_srcdir" in 48844 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 48845 /*) top_srcdir="$ac_given_srcdir" ;; 48846 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 48847 esac 48848 # Treat a directory as a PO directory if and only if it has a 48849 # POTFILES.in file. This allows packages to have multiple PO 48850 # directories under different names or in different locations. 48851 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 48852 rm -f "$ac_dir/POTFILES" 48853 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 48854 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 48855 POMAKEFILEDEPS="POTFILES.in" 48856 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 48857 # on $ac_dir but don't depend on user-specified configuration 48858 # parameters. 48859 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 48860 # The LINGUAS file contains the set of available languages. 48861 if test -n "$OBSOLETE_ALL_LINGUAS"; then 48862 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 48863 fi 48864 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 48865 # Hide the ALL_LINGUAS assigment from automake < 1.5. 48866 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 48867 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 48868 else 48869 # The set of available languages was given in configure.in. 48870 # Hide the ALL_LINGUAS assigment from automake < 1.5. 48871 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 48872 fi 48873 # Compute POFILES 48874 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 48875 # Compute UPDATEPOFILES 48876 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 48877 # Compute DUMMYPOFILES 48878 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 48879 # Compute GMOFILES 48880 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 48881 case "$ac_given_srcdir" in 48882 .) srcdirpre= ;; 48883 *) srcdirpre='$(srcdir)/' ;; 48884 esac 48885 POFILES= 48886 UPDATEPOFILES= 48887 DUMMYPOFILES= 48888 GMOFILES= 48889 for lang in $ALL_LINGUAS; do 48890 POFILES="$POFILES $srcdirpre$lang.po" 48891 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 48892 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 48893 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 48894 done 48895 # CATALOGS depends on both $ac_dir and the user's LINGUAS 48896 # environment variable. 48897 INST_LINGUAS= 48898 if test -n "$ALL_LINGUAS"; then 48899 for presentlang in $ALL_LINGUAS; do 48900 useit=no 48901 if test "%UNSET%" != "$LINGUAS"; then 48902 desiredlanguages="$LINGUAS" 48903 else 48904 desiredlanguages="$ALL_LINGUAS" 48905 fi 48906 for desiredlang in $desiredlanguages; do 48907 # Use the presentlang catalog if desiredlang is 48908 # a. equal to presentlang, or 48909 # b. a variant of presentlang (because in this case, 48910 # presentlang can be used as a fallback for messages 48911 # which are not translated in the desiredlang catalog). 48912 case "$desiredlang" in 48913 "$presentlang"*) useit=yes;; 48914 esac 48915 done 48916 if test $useit = yes; then 48917 INST_LINGUAS="$INST_LINGUAS $presentlang" 48918 fi 48919 done 48920 fi 48921 CATALOGS= 48922 if test -n "$INST_LINGUAS"; then 48923 for lang in $INST_LINGUAS; do 48924 CATALOGS="$CATALOGS $lang.gmo" 48925 done 48926 fi 48927 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 48928 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" 48929 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 48930 if test -f "$f"; then 48931 case "$f" in 48932 *.orig | *.bak | *~) ;; 48933 *) cat "$f" >> "$ac_dir/Makefile" ;; 48934 esac 48935 fi 48936 done 48937 fi 48938 ;; 48939 esac 48940 done ;; 48941 48942 esac 48943done # for ac_tag 48944 48945 48946as_fn_exit 0 48947_ACEOF 48948ac_clean_files=$ac_clean_files_save 48949 48950test $ac_write_fail = 0 || 48951 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 48952 48953 48954# configure is writing to config.log, and then calls config.status. 48955# config.status does its own redirection, appending to config.log. 48956# Unfortunately, on DOS this fails, as config.log is still kept open 48957# by configure, so config.status won't be able to write to it; its 48958# output is simply discarded. So we exec the FD to /dev/null, 48959# effectively closing config.log, so it can be properly (re)opened and 48960# appended to by config.status. When coming back to configure, we 48961# need to make the FD available again. 48962if test "$no_create" != yes; then 48963 ac_cs_success=: 48964 ac_config_status_args= 48965 test "$silent" = yes && 48966 ac_config_status_args="$ac_config_status_args --quiet" 48967 exec 5>/dev/null 48968 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 48969 exec 5>>config.log 48970 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 48971 # would make configure fail if this is the last instruction. 48972 $ac_cs_success || as_fn_exit 1 48973fi 48974if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 48975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 48976$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 48977fi 48978 48979 48980{ $as_echo "$as_me:${as_lineno-$LINENO}: 48981Building: 48982 libcerror support: $ac_cv_libcerror 48983 libcthreads support: $ac_cv_libcthreads 48984 libcdata support: $ac_cv_libcdata 48985 libclocale support: $ac_cv_libclocale 48986 libcnotify support: $ac_cv_libcnotify 48987 libcsplit support: $ac_cv_libcsplit 48988 libuna support: $ac_cv_libuna 48989 libcfile support: $ac_cv_libcfile 48990 libcpath support: $ac_cv_libcpath 48991 libbfio support: $ac_cv_libbfio 48992 libfdatetime support: $ac_cv_libfdatetime 48993 libfguid support: $ac_cv_libfguid 48994 FUSE support: $ac_cv_libfuse 48995 48996Features: 48997 Multi-threading support: $ac_cv_libcthreads_multi_threading 48998 Wide character type support: $ac_cv_enable_wide_character_type 48999 vshadowtools are build as static executables: $ac_cv_enable_static_executables 49000 Python (pyvshadow) support: $ac_cv_enable_python 49001 Verbose output: $ac_cv_enable_verbose_output 49002 Debug output: $ac_cv_enable_debug_output 49003" >&5 49004$as_echo "$as_me: 49005Building: 49006 libcerror support: $ac_cv_libcerror 49007 libcthreads support: $ac_cv_libcthreads 49008 libcdata support: $ac_cv_libcdata 49009 libclocale support: $ac_cv_libclocale 49010 libcnotify support: $ac_cv_libcnotify 49011 libcsplit support: $ac_cv_libcsplit 49012 libuna support: $ac_cv_libuna 49013 libcfile support: $ac_cv_libcfile 49014 libcpath support: $ac_cv_libcpath 49015 libbfio support: $ac_cv_libbfio 49016 libfdatetime support: $ac_cv_libfdatetime 49017 libfguid support: $ac_cv_libfguid 49018 FUSE support: $ac_cv_libfuse 49019 49020Features: 49021 Multi-threading support: $ac_cv_libcthreads_multi_threading 49022 Wide character type support: $ac_cv_enable_wide_character_type 49023 vshadowtools are build as static executables: $ac_cv_enable_static_executables 49024 Python (pyvshadow) support: $ac_cv_enable_python 49025 Verbose output: $ac_cv_enable_verbose_output 49026 Debug output: $ac_cv_enable_debug_output 49027" >&6;}; 49028 49029